|
...
|
...
|
@@ -101,7 +101,8 @@ |
|
|
|
@pagination="getList"
|
|
|
|
/>
|
|
|
|
<el-dialog title="合同预览" :visible.sync="dialogVisibleContract" width="50%" center :before-close="handleClose" >
|
|
|
|
<pdf :src="pdfUrl" type="application/pdf" width="100%" height="800px" v-if="pdfUrl" />
|
|
|
|
<embed :src="pdfUrl" type="application/pdf" width="100%" height="800px" v-if="pdfUrl"
|
|
|
|
/>
|
|
|
|
</el-dialog>
|
|
|
|
<!-- 添加或修改【请填写功能名称】对话框 -->
|
|
|
|
<el-dialog :title="title" :visible.sync="open" width="700px" append-to-body>
|
|
...
|
...
|
@@ -193,6 +194,8 @@ export default { |
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
currentPage: 0, // 页码
|
|
|
|
pageCount: 0, // 总页数
|
|
|
|
headers: {
|
|
|
|
Authorization: "Bearer " + getToken(),
|
|
|
|
},
|
|
...
|
...
|
@@ -321,6 +324,15 @@ export default { |
|
|
|
this.getList();
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
setNumPages(numPages) {
|
|
|
|
this.numPages = numPages;
|
|
|
|
for (let i = 1; i <= numPages; i++) {
|
|
|
|
this.pages.push(i);
|
|
|
|
}
|
|
|
|
},
|
|
|
|
onPageLoaded(page) {
|
|
|
|
console.log(`Page ${page} loaded`);
|
|
|
|
},
|
|
|
|
|
|
|
|
handleUploadSealContract(row){
|
|
|
|
this.contractnoTemp = row.contractno
|
...
|
...
|
|