From 6213ada8509b04562972ebc9942360a6bf7ec8a2 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 28 八月 2023 16:25:03 +0800
Subject: [PATCH] 集成表格数据联调修改

---
 Source/UBCS-WEB/src/api/docking/info.js    |    6 ++-
 Source/UBCS-WEB/src/views/docking/info.vue |   74 +++++++++++++++++-------------------
 2 files changed, 39 insertions(+), 41 deletions(-)

diff --git a/Source/UBCS-WEB/src/api/docking/info.js b/Source/UBCS-WEB/src/api/docking/info.js
index 4f62981..2af4194 100644
--- a/Source/UBCS-WEB/src/api/docking/info.js
+++ b/Source/UBCS-WEB/src/api/docking/info.js
@@ -30,12 +30,14 @@
 }
 
 // 鍒犻櫎
-export const del = (data) => {
+export const del = (params) => {
   let url = '/api/ubcs-code/dockingManagement/deleteSystemConfigsById'
   return request({
     url,
     method: 'delete',
-    data
+    params:{
+      ...params
+    }
   })
 }
 
diff --git a/Source/UBCS-WEB/src/views/docking/info.vue b/Source/UBCS-WEB/src/views/docking/info.vue
index 5d7cff7..915759b 100644
--- a/Source/UBCS-WEB/src/views/docking/info.vue
+++ b/Source/UBCS-WEB/src/views/docking/info.vue
@@ -52,28 +52,6 @@
   components: {infoForm},
   data() {
     return {
-      add: [
-        {
-          pushType: '1',
-          name: '灏忔槑',
-        },
-        {
-          pushType: '1',
-          name: '灏忔槑1',
-        },
-        {
-          pushType: '2',
-          name: '灏忔槑12',
-        },
-        {
-          pushType: '5',
-          name: '灏忔槑123',
-        },
-        {
-          pushType: '2',
-          name: '灏忕孩123',
-        }
-      ],
       //鎺ュ彛绫诲瀷涓嬫媺
       interfaceTypeList: [{
         label: 'webService', value: 'webService'
@@ -132,30 +110,51 @@
         editBtn: false,
         delBtn: false,
         columnBtn: false,
-        column: [{
+        column: [ {
+          label: '闆嗘垚绯荤粺',
+          prop: 'sysBaseName',
+          sortable: true,
+          width: 150
+        },{
+          label: '缂栫爜绫诲瀷',
+          prop: 'isGroupCodeFlag',
+          sortable: true,
+          width: 150,
+          formatter: d => d.isGroupCodeFlag ? '闆嗗洟鐮�' : '浼佷笟缂栫爜'
+        },{
+          label: '鎺ュ彛绫诲瀷',
+          prop:'dataFlowTypeText',
+          align:'center',
+          sortable: true,
+          width:150,
+        },{
           label: '鎺ㄩ�佺被鍨�',
-          prop: 'pushType',
+          prop: 'pushTypeText',
           sortable: true,
           overHidden:true,
+          align:'center',
           width: 150,
           //pushTypeList浣滅敤鍩�
-          formatter: (d) => {
-            return this.pushTypeList[d.pushType]
-          }
+          // formatter: (d) => {
+          //   return this.pushTypeList[d.pushType]
+          // }
         }, {
           label: '绯荤粺缂栧彿',
           prop: 'id',
           sortable: true,
+          hide:true,
           width: 150
         }, {
           label: '绯荤粺鍚嶇О',
           prop: 'name',
+          hide:true,
           sortable: true,
           width: 150
         }, {
           label: '鎺ュ彛鍑芥暟',
           prop: 'interfaceFunction',
           sortable: true,
+          align:'center',
           width: 150
         }, {
           label: '鍛藉悕绌洪棿',
@@ -165,11 +164,7 @@
         },{
           label: '鍒嗙被閫夋嫨',
           prop: 'classifyName',
-          // sortable: true,
-          width: 150
-        }, {
-          label: '闆嗘垚绯荤粺',
-          prop: 'targetSystemName',
+          align:'center',
           // sortable: true,
           width: 150
         },{
@@ -187,12 +182,7 @@
           prop: 'soapAction',
           sortable: true,
           width: 150
-        }, {
-          label: '鍙傛暟鍚嶇О',
-          prop: 'targName',
-          sortable: true,
-          width: 150
-        }, {
+        },  {
           label: '璋冪敤鏂瑰紡',
           prop: 'cxfaxis',
           sortable: true,
@@ -200,6 +190,7 @@
         }, {
             label: '璇锋眰鏂瑰紡',
             prop: 'requestMethod',
+            align:'center',
             // sortable: true,
             width: 150
           }, {
@@ -208,6 +199,11 @@
           sortable: true,
           width: 150
         }, {
+            label: '鍙傛暟鍚嶇О',
+            prop: 'targName',
+            sortable: true,
+            width: 150
+          },{
           label: '鍙傛暟绫诲瀷',
           prop: 'paramType',
           sortable: true,
@@ -314,7 +310,7 @@
         showClose: true,
         type: "warning"
       }).then(() => {
-        remove(row.oid).then(res => {
+        del({oids:row.oid}).then(res => {
           this.$message.success("鍒犻櫎鎴愬姛");
           this.refreshChange();
         });

--
Gitblit v1.9.3