From b4c7c6a738f44afadbc388bb774ac044e7fafe38 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 12 十月 2023 11:24:21 +0800
Subject: [PATCH] 修改列显隐

---
 Source/UBCS-WEB/src/views/docking/loge.vue |   40 ++++++++++++++++++++++++++++++++++++----
 1 files changed, 36 insertions(+), 4 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/docking/loge.vue b/Source/UBCS-WEB/src/views/docking/loge.vue
index 36a1bd8..9964c04 100644
--- a/Source/UBCS-WEB/src/views/docking/loge.vue
+++ b/Source/UBCS-WEB/src/views/docking/loge.vue
@@ -23,7 +23,7 @@
 </template>
 
 <script>
-import {getList} from "@/api/docking/loge";
+import {getLogoList} from "@/api/docking/loge";
 import {validatenull} from "@/util/validate";
 import {mapGetters} from "vuex";
 
@@ -90,6 +90,20 @@
             prop: 'interfaceStatus',
             value:7
           },
+          {
+            label: '鏍囧噯鐢宠',
+            prop: 'applyCodeForBZ',
+            value:8          },
+          {
+            label: '閮ㄩ棬鐢宠',
+            prop: 'syncDataForOrg',
+            value:9
+          },
+          {
+            label: '浜哄憳鐢宠',
+            prop: 'syncDataForPerson',
+            value:10
+          },
         ],
       },
       loading: false,
@@ -104,9 +118,9 @@
       option: {
         height:'auto',
         calcHeight: 0,
+        columnBtn:false,
         tip: false,
         searchShow: false,
-        // searchMenuSpan: 12,
         border: true,
         index: true,
         viewBtn: true,
@@ -140,6 +154,24 @@
             sortable:true,
             overHidden: true,
             width: 140
+          },
+          {
+            label: '鏍囧噯鐢宠',
+            prop: 'applyCodeForBZ',
+            sortable:true,
+            width: 130
+          },
+          {
+            label: '閮ㄩ棬鐢宠',
+            prop: 'syncDataForOrg',
+            sortable:true,
+            width: 130
+          },
+          {
+            label: '浜哄憳鐢宠',
+            prop: 'syncDataForPerson',
+            sortable:true,
+            width: 130
           },
           {
             label: '闆嗘垚绯荤粺缂栧彿',
@@ -199,7 +231,7 @@
               value: "key"
             },
             formatter : function (row, column) {
-              return row.interfaceStatus == 'true' || row.interfaceStatus == '' ? '<i class="el-icon-check" style="color: limegreen;font-size: 20px;font-weight: 800"></i>' : '<i class="el-icon-close" style="color: red;font-size: 20px;font-weight: 800"></i>'
+              return row.interfaceStatus == 'true' || row.interfaceStatus == '' ? '<i class="el-icon-check" style="color: #32cd32;font-size: 20px;font-weight: 800"></i>' : '<i class="el-icon-close" style="color: #ff0000;font-size: 20px;font-weight: 800"></i>'
             }
           },
         ]
@@ -271,7 +303,7 @@
           query['conditionMap["' + key + '"]'] = this.query[key];
         }
       }
-      getList(page.currentPage, page.pageSize, Object.assign(params,this.params, query,this.query)).then(res => {
+      getLogoList(page.currentPage, page.pageSize, Object.assign(params,this.params, query,this.query)).then(res => {
         const data = res.data.data;
         this.page.total = data.total;
         this.data = data.records;

--
Gitblit v1.9.3