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/work/send.vue |   84 ++++++++++++++++++++----------------------
 1 files changed, 40 insertions(+), 44 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/work/send.vue b/Source/UBCS-WEB/src/views/work/send.vue
index c1931ee..77c1bae 100644
--- a/Source/UBCS-WEB/src/views/work/send.vue
+++ b/Source/UBCS-WEB/src/views/work/send.vue
@@ -65,6 +65,7 @@
         option: {
           height: 'auto',
           calcHeight: 20,
+          columnBtn:false,
           tip: false,
           searchShow: true,
           searchMenuSpan: 6,
@@ -78,50 +79,45 @@
           dialogWidth: 900,
           menuWidth: 150,
           dialogClickModal: false,
-          column: [
-            {
-              label: "娴佺▼鍒嗙被",
-              type: "select",
-              row: true,
-              dicUrl: "/api/ubcs-system/dict/dictionary?code=flow",
-              props: {
-                label: "dictValue",
-                value: "dictKey"
-              },
-              dataType: "number",
-              slot: true,
-              prop: "category",
-              search: true,
-              hide: true,
-              width: 100,
-            },
-            {
-              label: '娴佺▼鍚嶇О',
-              prop: 'processDefinitionName',
-              search: true,
-            },
-            {
-              label: '褰撳墠姝ラ',
-              prop: 'taskName',
-            },
-            {
-              label: '娴佺▼鐗堟湰',
-              prop: 'processDefinitionVersion',
-              slot: true,
-              width: 80,
-            },
-            {
-              label: '娴佺▼杩涘害',
-              prop: 'processIsFinished',
-              slot: true,
-              width: 80,
-            },
-            {
-              label: '鐢宠鏃堕棿',
-              prop: 'createTime',
-              width: 165,
-            },
-          ]
+          align: 'center',
+          column: [{
+            label: '娴佺▼鍚嶇О',
+            prop: 'processName',
+            search: true,
+            headerAlign:'center',
+            align:'left',
+            sortable:true,
+            overHidden:true,
+            formatter: (val) => {
+              return val.variables.processName
+            }
+          },  {
+            label: '娴佺▼杩涘害',
+            prop: 'processIsFinished',
+            slot: true,
+            width: 100,
+          }, {
+            label: '褰撳墠姝ラ',
+            prop: 'taskName',
+            width:150
+          }, {
+            label: '鍙戣捣鏃堕棿',
+            sortable:true,
+            width:180,
+            prop: 'processDefinitionStartTime'
+          },{
+            label: '鎵�灞炴祦绋嬫ā鏉�',
+            sortable:true,
+            prop: 'categoryName',
+            width:200
+          }, {
+            label: '娴佺▼鎻忚堪',
+            prop: 'processDesc',
+            overHidden:true,
+            formatter: (val) => {
+              return val.variables.processDesc
+            }
+          }]
         },
         data: []
       };

--
Gitblit v1.9.3