From f50ed6b2c54615fa3e540bc6788a08239084d8e2 Mon Sep 17 00:00:00 2001
From: gssong <1742057357@qq.com>
Date: 星期四, 21 三月 2024 21:02:41 +0800
Subject: [PATCH] add 添加流程表单配置

---
 src/components/Process/approvalRecord.vue |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/components/Process/approvalRecord.vue b/src/components/Process/approvalRecord.vue
index 5da0a56..c24b8a4 100644
--- a/src/components/Process/approvalRecord.vue
+++ b/src/components/Process/approvalRecord.vue
@@ -5,12 +5,16 @@
         <el-tab-pane label="娴佺▼鍥�" name="bpmn">
           <BpmnView ref="bpmnViewRef"></BpmnView>
         </el-tab-pane>
-        <el-tab-pane label="瀹℃壒淇℃伅" name="info">
+        <el-tab-pane label="瀹℃壒淇℃伅" name="info" v-loading="loading">
           <div>
             <el-table :data="historyList" style="width: 100%" border fit>
               <el-table-column type="index" label="搴忓彿" align="center" width="60"></el-table-column>
               <el-table-column prop="name" label="浠诲姟鍚嶇О" sortable align="center"></el-table-column>
-              <el-table-column prop="nickName" label="鍔炵悊浜�" sortable align="center"></el-table-column>
+              <el-table-column prop="nickName" label="鍔炵悊浜�" sortable align="center">
+                <template #default="scope">
+                  <el-tag type="success">{{ scope.row.nickName||'鏃�' }}</el-tag>
+                </template>
+              </el-table-column>
               <el-table-column label="鐘舵��" sortable align="center">
                 <template #default="scope">
                   <el-tag type="success">{{ scope.row.statusName }}</el-tag>
@@ -67,6 +71,7 @@
 const init = async (instanceId: string) => {
   visible.value = true;
   loading.value = true;
+  tabActiveName.value = 'bpmn'
   historyList.value = [];
   processApi.getHistoryRecord(instanceId).then((resp) => {
     historyList.value = resp.data.historyRecordList;

--
Gitblit v1.9.3