Răsfoiți Sursa

合同变更

yusheng 1 an în urmă
părinte
comite
54b9f55102

+ 2 - 2
src/views/contractManage/contractBook/components/changeList.vue

@@ -98,7 +98,7 @@
     methods: {
       //查看详情
       openDetail(row) {
-        this.$refs.contactDetailDialogRef.open(row);
+        this.$refs.contactDetailDialogRef.open({id:row.contractId});
       },
       init(id) {
         getTableList({
@@ -106,7 +106,7 @@
           size: 100,
           contractId: id
         }).then((res) => {
-          console.log(res, 'dsds');
+          this.datasource=res.list
         });
       }
     }

+ 1 - 0
src/views/contractManage/contractBook/components/detailDialog.vue

@@ -346,6 +346,7 @@
       },
       async open(row) {
         this.form = row;
+        this.activeComp='main'
         this.visible = true;
         this.activeName = '1';
         this.getDetailData(row.id);

+ 1 - 1
src/views/contractManage/contractBook/components/detailDialog1.vue

@@ -273,7 +273,7 @@
         tabOptions: [
           { key: 'main', name: '合同详情' },
           { key: 'bpm', name: '流程详情' },
-          { key: 'changeList', name: '变更记录' }
+          // { key: 'changeList', name: '变更记录' }
           // { key: 'dversion', name: '历史版本' },
         ],
         visible: false,

+ 1 - 1
src/views/contractManage/contractChange/index.vue

@@ -235,7 +235,7 @@
       },
       //查看详情
       openDetail(row) {
-        this.$refs.contactDetailDialogRef.open(row);
+        this.$refs.contactDetailDialogRef.open({id:row.contractId});
       },
       /* 表格数据源 */
       datasource({ page, limit, where, order }) {