feat:框架代码 关于流程信息变更的代码更新
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<FlowPanel
|
||||
<FlowPanel
|
||||
v-if="visible"
|
||||
:tab-position="position ? position : 'top'"
|
||||
:xml="data.xml"
|
||||
@ -7,7 +7,12 @@
|
||||
:predecessorTasks="[]"
|
||||
:processId="props.processId"
|
||||
position="top"
|
||||
>
|
||||
:currentTaskInfo="data.currentTaskInfo"
|
||||
:currentTaskAssigneeNames="data.currentTaskAssigneeNames"
|
||||
:currentTaskAssignees="data.currentTaskAssignees"
|
||||
:schemaId="props.schemaId"
|
||||
:formDataId="data.formInfos[0].formData.id"
|
||||
:formInfos="data.formInfos">
|
||||
<FormInformation
|
||||
:opinionsComponents="data.opinionsComponents"
|
||||
:opinions="data.opinions"
|
||||
@ -24,7 +29,7 @@
|
||||
import { getApprovalProcess } from '/@/api/workflow/task';
|
||||
import { onMounted, ref } from 'vue';
|
||||
import userTaskItem from './../../hooks/userTaskItem';
|
||||
let props = defineProps(['position', 'processId', 'taskId']);
|
||||
let props = defineProps(['position', 'processId', 'taskId', 'schemaId']);
|
||||
let visible = ref(false);
|
||||
const { data, initProcessData } = userTaskItem();
|
||||
onMounted(async () => {
|
||||
@ -32,6 +37,7 @@
|
||||
let res = await getApprovalProcess(props.taskId, props.processId);
|
||||
initProcessData(res);
|
||||
visible.value = true;
|
||||
console.error('555555', data)
|
||||
} catch (error) {}
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user