| | |
| | | <div class="mb-[10px]"> |
| | | <el-card shadow="hover" class="text-center"> |
| | | <el-radio-group v-model="tab" @change="changeTab(tab)"> |
| | | <el-radio-button label="running">运行中</el-radio-button> |
| | | <el-radio-button label="finish">已完成</el-radio-button> |
| | | <el-radio-button value="running">运行中</el-radio-button> |
| | | <el-radio-button value="finish">已完成</el-radio-button> |
| | | </el-radio-group> |
| | | </el-card> |
| | | </div> |
| | |
| | | proxy?.$modal.msgSuccess('删除成功'); |
| | | }; |
| | | const changeTab = async (data: string) => { |
| | | processInstanceList.value = [] |
| | | processInstanceList.value = []; |
| | | queryParams.value.pageNum = 1; |
| | | if ('running' === data) { |
| | | getProcessInstanceRunningList(); |
| | |
| | | taskId: row.id, |
| | | type: 'view' |
| | | }); |
| | | workflowCommon.routerJump(routerJumpVo,proxy) |
| | | workflowCommon.routerJump(routerJumpVo, proxy); |
| | | }; |
| | | |
| | | onMounted(() => { |