Explorar o código

首页待办部分字段添加字段描述

cfort %!s(int64=3) %!d(string=hai) anos
pai
achega
f89797bccb
Modificáronse 1 ficheiros con 27 adicións e 9 borrados
  1. 27 9
      src/views/system/dashboard/components/new-home.vue

+ 27 - 9
src/views/system/dashboard/components/new-home.vue

@@ -99,14 +99,32 @@
                                     prop="submitBy"
                                     show-overflow-tooltip
                                     width="100"
-                                    label="任务发起人"
-                                />
+                                >
+                                    <template slot="header" slot-scope="scope">
+                                        <span>事务发起人</span>
+                                        <el-tooltip effect="dark" placement="top">
+                                            <div slot="content">
+                                                该事务对应流程的发起人
+                                            </div>
+                                            <i class="el-icon-info"></i>
+                                        </el-tooltip>
+                                    </template>
+                                </el-table-column>
                                 <el-table-column
                                     prop="forwardBy"
                                     show-overflow-tooltip
                                     width="100"
-                                    label="任务提交人"
-                                />
+                                >
+                                    <template slot="header" slot-scope="scope">
+                                        <span>事务提交人</span>
+                                        <el-tooltip effect="dark" placement="top">
+                                            <div slot="content">
+                                                该事务对应流程上一节点的提交人
+                                            </div>
+                                            <i class="el-icon-info"></i>
+                                        </el-tooltip>
+                                    </template>
+                                </el-table-column>
                             </template>
                             <template v-else-if="['over', 'finish'].includes(activeTab)">
                                 <el-table-column
@@ -125,17 +143,17 @@
                                 </el-table-column>
                                 <el-table-column
                                     show-overflow-tooltip
-                                    label="任务提交人"
+                                    label="事务发起人"
                                     width="100"
                                 >
-                                    <template slot-scope="scope">{{ getParenthesesStr(scope.row.subject)[2] }}</template>
+                                    <template slot-scope="scope">{{ scope.row.createBy | getUserName(userList)}}</template>
                                 </el-table-column>
                                 <el-table-column
                                     show-overflow-tooltip
-                                    label="任务发起人"
+                                    label="事务提交人"
                                     width="100"
                                 >
-                                    <template slot-scope="scope">{{ scope.row.createBy | getUserName(userList)}}</template>
+                                    <template slot-scope="scope">{{ getParenthesesStr(scope.row.subject)[2] }}</template>
                                 </el-table-column>
                             </template>
                             <el-table-column
@@ -192,7 +210,7 @@
             label: '待办事宜',
             key: 'wait',
             icon: 'el-icon-edit',
-            time: ''
+            time: '提交'
         },
         {
             label: '已办事宜',