add:管理员修正数据功能-指派流程、修改审批人、加减签、审批记录、流程变更记录、未完成流程表单变更功能
This commit is contained in:
@ -2,7 +2,9 @@
|
||||
<a-tabs :tab-position="props.position" v-model:activeKey="activeKey">
|
||||
<a-tab-pane :key="1" :tab="t('表单信息')" force-render><slot></slot></a-tab-pane>
|
||||
<a-tab-pane :key="2" :tab="t('流程信息')">
|
||||
<ProcessInformation :xml="xml" :processId="processId"
|
||||
<ProcessInformation :xml="xml" :processId="processId" :schemaId="schemaId"
|
||||
:currentTaskAssigneeNames="currentTaskAssigneeNames" :currentTaskAssignees="currentTaskAssignees"
|
||||
:canClick="true"
|
||||
/></a-tab-pane>
|
||||
<a-tab-pane :key="3" :tab="t('流转记录')" style="overflow: auto"
|
||||
><FlowRecord :list="taskRecords" :processId="processId"
|
||||
@ -10,6 +12,12 @@
|
||||
<a-tab-pane :key="4" :tab="t('附件汇总')"
|
||||
><SummaryOfAttachments :processId="processId"
|
||||
/></a-tab-pane>
|
||||
<a-tab-pane :key="5" :tab="t('流程变更记录')">
|
||||
<ChangeRecord :processId="processId" :formDataId="formDataId" :formInfos="formInfos" />
|
||||
</a-tab-pane>
|
||||
<a-tab-pane :key="6" :tab="t('审批记录')">
|
||||
<AuditRecord :processId="processId" :schemaId="schemaId" :xml="xml" />
|
||||
</a-tab-pane>
|
||||
<a-tab-pane :key="5 + index" v-for="(item, index) in predecessorTasks" :tab="item.schemaName">
|
||||
<LookRelationTask
|
||||
v-if="activeKey === 5 + index"
|
||||
@ -29,6 +37,8 @@
|
||||
import { ref } from 'vue';
|
||||
import { SchemaTaskItem } from '/@/model/workflow/bpmnConfig';
|
||||
import { useI18n } from '/@/hooks/web/useI18n';
|
||||
import ChangeRecord from '/@/views/formChange/formChangeLog/index.vue';
|
||||
import AuditRecord from '/@/views/auditOpt/auditRecord/index.vue'
|
||||
const { t } = useI18n();
|
||||
let props = withDefaults(
|
||||
defineProps<{
|
||||
@ -37,6 +47,12 @@
|
||||
taskRecords: Array<any> | undefined;
|
||||
processId: string | undefined;
|
||||
predecessorTasks: Array<SchemaTaskItem> | undefined;
|
||||
currentTaskAssignees: any;
|
||||
currentTaskAssigneeNames: string;
|
||||
currentTaskInfo: any;
|
||||
schemaId: string;
|
||||
formDataId: number;
|
||||
formInfos: Array<any>;
|
||||
}>(),
|
||||
{
|
||||
xml: '',
|
||||
@ -44,6 +60,14 @@
|
||||
predecessorTasks: () => {
|
||||
return [];
|
||||
},
|
||||
currentTaskAssigneeNames: '无',
|
||||
currentTaskAssignees: {},
|
||||
currentTaskInfo: {},
|
||||
schemaId: '',
|
||||
formDataId: 0,
|
||||
formInfos: () => {
|
||||
return [];
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user