mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-23 23:39:47 +08:00
fix(projects): 修复抽屉问题
This commit is contained in:
@ -212,27 +212,25 @@ const modules = import.meta.glob('@/components/workflow/**/*.vue');
|
||||
const businessId = ref<CommonType.IdType>();
|
||||
|
||||
async function handleView(row: Api.Workflow.TaskOrHisTask) {
|
||||
dynamicComponent.value = null;
|
||||
viewVisible.value = false;
|
||||
businessId.value = row.businessId;
|
||||
const formPath = row.formPath;
|
||||
if (!formPath) {
|
||||
return;
|
||||
}
|
||||
if (!formPath) return;
|
||||
dynamicComponent.value = await loadDynamicComponent(modules, formPath);
|
||||
showViewDrawer();
|
||||
setTimeout(() => {
|
||||
showViewDrawer();
|
||||
}, 300);
|
||||
}
|
||||
|
||||
const taskId = ref<CommonType.IdType>('');
|
||||
const assigneeIds = ref<CommonType.IdType[]>([]);
|
||||
const assigneeNames = ref<string[]>([]);
|
||||
function handleIntervene(row: Api.Workflow.Task) {
|
||||
dynamicComponent.value = null;
|
||||
interveneVisible.value = false;
|
||||
taskId.value = row.id;
|
||||
assigneeIds.value = row.assigneeIds?.split(',') || [];
|
||||
assigneeNames.value = row.assigneeNames?.split(',') || [];
|
||||
setTimeout(() => {
|
||||
showInterveneDrawer();
|
||||
}, 300);
|
||||
showInterveneDrawer();
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user