ZaiZai 10 mēneši atpakaļ
vecāks
revīzija
db36279e45

+ 25 - 12
src/views/manager/projectinfo/treeTemplate/template/electronicSignature.vue

@@ -601,17 +601,16 @@ export default {
       }
 
     },
+    //电签配置
     async getSingInfo() {
-      console.log(this.excelId, 'this.excelId1111111');
-      const {data: res} = await getSigList(
-        {
-          current: 0,
-          size: 100,
-          tabId: this.pkeyId1,
-          type: 2,
-          excelId: this.excelId
-        }
-      )
+      const {data: res} = await getSigList({
+        current: 0,
+        size: 100,
+        tabId: this.pkeyId1,
+        type: 2,
+        excelId: this.excelId,
+        showType: 1
+      })
       if (res.code === 200) {
         this.setsignaTable = res.data.records;
         this.setsignaTable.forEach((ele) => {
@@ -619,6 +618,20 @@ export default {
         })
       }
     },
+    //系统识别
+    async getSingInfo1() {
+      const {data: res} = await getSigList({
+        current: 0,
+        size: 100,
+        tabId: this.pkeyId1,
+        type: 2,
+        excelId: this.excelId,
+        showType: 2
+      })
+      if (res.code === 200) {
+        this.setsignaTable2 = res.data.records;
+      }
+    },
     timeElementFocus() {
       this.isTimeElement = true
       this.$emit('timeFocus', true)
@@ -629,9 +642,9 @@ export default {
     },
     //电签配置和系统识别
     handleActiveClick(tab) {
+      //系统识别
       if (tab === 'tab2') {
-        //系统识别
-        
+        this.getSingInfo1()
       }
     },
   },