Commit 2827f519 by 胡鑫

流程信息

parent a2a01f2c
......@@ -60,19 +60,17 @@
}
});
async function look() {
showLoading.value = false;
if (props.processId) {
showLoading.value = false;
visible.value = true;
// if (props.processId) {
// showLoading.value = false;
// visible.value = true;
// } else {
// showLoading.value = false;
// notification.open({
// type: 'error',
// message: t('查看'),
// description: t('请选择一个流程进行查看'),
// });
// }
} else {
showLoading.value = false;
notification.open({
type: 'error',
message: t('查看'),
description: t('请选择一个流程进行查看'),
});
}
}
function close() {
visible.value = false;
......
......@@ -166,6 +166,7 @@
v-if="visibleLookProcess"
:visible="visibleLookProcess"
:taskId="taskIdProcess"
:processId="processIdProcess"
@close="visibleLookProcess = false"
/>
......@@ -372,11 +373,8 @@ import { getToken } from '/@/utils/auth';
function viewProcess(record) {
visibleLookProcess.value = true;
taskIdProcess.value = record.taskId;
processIdProcess.value = record.processId;
}
import { useConcurrentLock } from '/@/hooks/web/useConcurrentLock';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment