From 44ad38c2bf5cb11ca1c3fc3f4d47eba6714aacf5 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 31 八月 2023 14:26:04 +0800
Subject: [PATCH] 集成系统 样式表格修改

---
 Source/UBCS-WEB/src/views/docking/data.vue |   43 +++++++++++++++++++++++++++----------------
 1 files changed, 27 insertions(+), 16 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/docking/data.vue b/Source/UBCS-WEB/src/views/docking/data.vue
index 3216c5f..e81b923 100644
--- a/Source/UBCS-WEB/src/views/docking/data.vue
+++ b/Source/UBCS-WEB/src/views/docking/data.vue
@@ -55,52 +55,63 @@
           prop: "id",
           search: true,
           sortable:true,
-          width:150
+          // width:150
         },
         {
           label: "鍥惧彿",
-          prop: "uniquecode",
+          prop: "uniqueCode",
           search: true,
+          hide:true,
           sortable:true
         },
         {
-          label: '鍒嗙被id',
-          prop: 'classifyid',
+          label: '鍒嗙被浠e彿',
+          prop: 'classifyId',
           search: true,
           sortable:true,
-          width: 250
+          // width: 250
         },
         {
           label: '鍒嗙被鍚嶇О',
-          prop: 'classifyname',
+          prop: 'classifyName',
           search: true,
-          sortable:true
+          sortable:true,
         },
         {
           label: '涓氬姟绫诲瀷oid',
-          prop: 'btmoid',
+          prop: 'btmOid',
           sortable:true,
-          width: 150
+          hide:true,
+          // width: 250
         },
         {
           label: '涓氬姟绫诲瀷id',
-          prop: 'btmid',
+          prop: 'btmId',
           sortable:true,
-          width: 150
+          // width: 150
         },
         {
           label: '鎺ㄩ�佺被鍨�',
-          prop: 'sendtype',
+          prop: 'sendType',
           search: true,
           sortable:true,
-          width: 150
+          // width: 150,
+          formatter: function (row, column) {
+            if (row.sendType === 'Released') {
+              return '鍙戝竷';
+            } else if (row.sendType === 'TakeBack') {
+              return '鍥炴敹';
+            } else if (row.sendType === 'Disabled') {
+              return '鍋滅敤';
+            }
+          }
         },
         {
           label: '鏄惁鍒嗚В浠诲姟',
-          prop: 'sendflag',
+          prop: 'sendFlag',
           search: true,
           sortable:true,
-          width: 130,
+          // width: 130,
           html:true,
           align:'center',
           type:'select',
@@ -111,7 +122,7 @@
             value: "key"
           },
           formatter : function (row, column) {
-            return row.sendflag == 'true' || row.sendflag == '1' ? '<i class="el-icon-check" style="color: limegreen"></i>' : '<i class="el-icon-close" style="color: red"></i>'
+            return row.sendFlag == 'true' || row.sendFlag == '1' ? '<i class="el-icon-check" style="color: limegreen"></i>' : '<i class="el-icon-close" style="color: red"></i>'
           }
         }
       ]

--
Gitblit v1.9.3