From c1702bf33822ad49a8b51d14a4d6c13eab1de102 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期三, 30 八月 2023 16:26:19 +0800
Subject: [PATCH] 接口基本信息targetName

---
 Source/UBCS-WEB/src/views/docking/info.vue |   61 +++++++++++++++++-------------
 1 files changed, 35 insertions(+), 26 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/docking/info.vue b/Source/UBCS-WEB/src/views/docking/info.vue
index 7535d25..a961944 100644
--- a/Source/UBCS-WEB/src/views/docking/info.vue
+++ b/Source/UBCS-WEB/src/views/docking/info.vue
@@ -121,6 +121,12 @@
           sortable: true,
           width: 150
         },{
+          label: '鍒嗙被閫夋嫨',
+          prop: 'classifyName',
+          align:'center',
+          // sortable: true,
+          width: 150
+        },{
           label: '缂栫爜绫诲瀷',
           prop: 'isGroupCodeFlag',
           sortable: true,
@@ -155,23 +161,6 @@
           hide:true,
           sortable: true,
           width: 150
-        }, {
-          label: '鎺ュ彛鍑芥暟',
-          prop: 'interfaceFunction',
-          sortable: true,
-          align:'center',
-          width: 150
-        }, {
-          label: '鍛藉悕绌洪棿',
-          prop: 'nameSpace',
-          sortable: true,
-          width: 150
-        },{
-          label: '鍒嗙被閫夋嫨',
-          prop: 'classifyName',
-          align:'center',
-          // sortable: true,
-          width: 150
         },{
           label: '鎺ュ彛鏂瑰紡',
           prop: 'interfaceType',
@@ -203,9 +192,15 @@
           prop: 'requestUrl',
           sortable: true,
           width: 150
+        },  {
+          label: '鎺ュ彛鍑芥暟',
+          prop: 'interfaceFunction',
+          sortable: true,
+          align:'center',
+          width: 150
         }, {
             label: '鍙傛暟鍚嶇О',
-            prop: 'targName',
+            prop: 'targetName',
             sortable: true,
             width: 150
           },{
@@ -225,6 +220,11 @@
             return this.returnTypeList[d.returnType]
           }
         }, {
+          label: '鍛藉悕绌洪棿',
+          prop: 'nameSpace',
+          sortable: true,
+          width: 150
+        },{
           label: '绯荤粺鎻忚堪',
           prop: 'description',
           width: 150
@@ -251,11 +251,18 @@
       return oids.join(",");
     }
   },
+  watch:{
+    // editAttribute:{
+    //   immediate: true,
+    //   handler(newData) {
+    //     this.$refs.infoForm.formData  = Object.assign({}, newData);
+    //   }
+    // }
+  },
   methods: {
     //鍗曞厓鏍兼牱寮�
     cellStyle(row,column,rowIndex,columnIndex){
       if(row.columnIndex==2) {
-        console.log(row)
         if(row.row.usedFlag == 'false'){
           return {
             color: 'red',
@@ -300,11 +307,11 @@
     addSave() {
       this.$refs.infoForm.showSubmitDialog = true;
       this.$refs.infoForm.formData = {
-        dataFlowType: 'push',
-        pushType: '1',
-        sourceSystemName: '缂栫爜绯荤粺',
-        sourceSystemOid: 'code00000001',
-        sourceSystemId: 'CODE',
+        dataFlowType: '',
+        pushType: '',
+        sourceSystemName: '',
+        sourceSystemOid: '',
+        sourceSystemId: '',
         targetSystemName: '',
         targetSystemOid: '',
         targetSystemId: '',
@@ -319,6 +326,8 @@
       this.editAttribute.sysIntHeaderVOs = row.sysIntHeaderVOs || [];
       this.$refs.infoForm.formData = this.editAttribute;
       this.$refs.infoForm.showSubmitDialog = true;
+      console.log('row',row.dataFlowTypeText)
+      console.log('editAttribute',this.editAttribute.dataFlowTypeText)
     },
     deleteSave(row, index) {
       this.$confirm("鍒犻櫎鏁版嵁灏嗘棤娉曡鎭㈠, 鏄惁缁х画?", "鎻愮ず", {
@@ -408,7 +417,7 @@
         //   interfaceFunction:'',
         //   nameSpace:'',
         //   soapAction:'',
-        //   targName:'',
+        //   targetName:'',
         //   cxfaxis:''
         // };
         // this.pushTypeList.forEach(item => {
@@ -458,7 +467,7 @@
         fieldType: 'text'
       }, {
         title: '鍙傛暟鍚嶇О',
-        queryField: 'targName',
+        queryField: 'targetName',
         fieldType: 'text'
       }, {
         title: '璋冪敤鏂瑰紡',

--
Gitblit v1.9.3