BPM:增加「发起人自选」的任务审批人的分配策略

This commit is contained in:
YunaiV committed 2024-03-23 00:54:33 +08:00
1 parent 48f6624737
commit 728cf15c45
7 files changed
+182 -29

No files matched your search

@@ -34,14 +34,17 @@ const bpmnControlForm = ref({
})
const activityList = ref([]) // 任务列表
/** 初始化 */
onMounted(async () => {
if (props.id) {
activityList.value = await ActivityApi.getActivityList({
processInstanceId: props.id
})
/** 只有 loading 完成时,才去加载流程列表 */
watch(
() => props.loading,
async (value) => {
if (value && props.id) {
activityList.value = await ActivityApi.getActivityList({
processInstanceId: props.id
})
}
}
})
)
</script>
<style>
.box-card {