From fb94a4d79c0883a543ce42379c5e6998c3cf5e6f Mon Sep 17 00:00:00 2001 From: gssong <1742057357@qq.com> Date: 星期一, 11 三月 2024 21:03:00 +0800 Subject: [PATCH] update 调整已办列表,添加审批记录加载 --- src/views/workflow/task/taskFinish.vue | 2 +- src/components/Process/approvalRecord.vue | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Process/approvalRecord.vue b/src/components/Process/approvalRecord.vue index 5da0a56..2ef5d73 100644 --- a/src/components/Process/approvalRecord.vue +++ b/src/components/Process/approvalRecord.vue @@ -5,7 +5,7 @@ <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> @@ -67,6 +67,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; diff --git a/src/views/workflow/task/taskFinish.vue b/src/views/workflow/task/taskFinish.vue index 0b092ea..fd9ce6e 100644 --- a/src/views/workflow/task/taskFinish.vue +++ b/src/views/workflow/task/taskFinish.vue @@ -41,7 +41,7 @@ </el-tag> </template> </el-table-column> - <el-table-column align="center" prop="createTime" label="鍒涘缓鏃堕棿" width="160"></el-table-column> + <el-table-column align="center" prop="startTime" label="鍒涘缓鏃堕棿" width="160"></el-table-column> <el-table-column label="鎿嶄綔" align="center" width="160" class-name="small-padding fixed-width"> <template #default="scope"> <el-button link type="primary" size="small" icon="Document" @click="handleApprovalRecord(scope.row)">瀹℃壒璁板綍</el-button> -- Gitblit v1.9.3