From 9b4433fddf5b401edb0aace8a404ac733b122702 Mon Sep 17 00:00:00 2001
From: 田源 <tianyuan@vci-tech.com>
Date: 星期四, 03 四月 2025 14:35:02 +0800
Subject: [PATCH] 添加非密字段显示

---
 Source/UBCS-WEB/src/views/work/done.vue |   95 +++++++++++++++++++++++++++--------------------
 1 files changed, 54 insertions(+), 41 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/work/done.vue b/Source/UBCS-WEB/src/views/work/done.vue
index 09160ea..85236e7 100644
--- a/Source/UBCS-WEB/src/views/work/done.vue
+++ b/Source/UBCS-WEB/src/views/work/done.vue
@@ -18,13 +18,13 @@
         <el-button type="text"
                    size="small"
                    icon="el-icon-info"
-                   v-if="permission.work_done_detail"
+                   v-if="permissionList.detailBtn"
                    @click.stop="handleDetail(scope.row)">璇︽儏
         </el-button>
         <el-button type="text"
                    size="small"
                    icon="el-icon-search"
-                   v-if="permission.work_done_follow"
+                   v-if="permissionList.follow"
                    @click.stop="handleImage(scope.row,scope.index)">娴佺▼鍥�
         </el-button>
       </template>
@@ -62,6 +62,7 @@
           height: 'auto',
           calcHeight: 0,
           tip: false,
+          columnBtn:false,
           searchShow: true,
           searchMenuSpan: 6,
           border: true,
@@ -74,50 +75,62 @@
           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: 'createTime',
-              width: 165,
-            },
-          ]
+          align: 'center',
+          column: [{
+            label: '娴佺▼鍚嶇О',
+            prop: 'processName',
+            search: true,
+            headerAlign: 'center',
+            align: 'left',
+            sortable: true,
+            overHidden:true,
+            width:300,
+            formatter: (val) => {
+              return val.variables.processName
+            }
+          }, {
+            label: '鍙戣捣浜�',
+            prop: 'createUser',
+            sortable: true,
+            width:150,
+            formatter: (val) => {
+              return val.variables.createUser
+            }
+          }, {
+            label: '鍙戣捣鏃堕棿',
+            sortable: true,
+            width:180,
+            prop: 'processDefinitionStartTime'
+          }, {
+            label: '瀹屾垚鏃堕棿',
+            sortable: true,
+            width:180,
+            prop: 'createTime'
+          }, {
+            label: '鎵�灞炴祦绋嬫ā鏉�',
+            sortable: true,
+            width:200,
+            prop: 'categoryName'
+          }, {
+            label: '娴佺▼鍚姩鏃舵弿杩�',
+            prop: 'processDesc',
+            overHidden:true,
+            formatter: (val) => {
+              return val.variables.processDesc
+            }
+          }]
         },
         data: []
       };
     },
     computed: {
-      ...mapGetters(["permission", "flowRoutes"]),
+      ...mapGetters(["permission", "flowRoutes","permission"]),
+      permissionList(){
+        return{
+          detailBtn:this.vaildData(this.permission.work_done.work_done_detail,false),
+          follow:this.vaildData(this.permission.work_done.work_done_follow,false),
+        }
+      },
       ids() {
         let ids = [];
         this.selectionList.forEach(ele => {

--
Gitblit v1.9.3