yxk-20260430-党委会流程办理页面改造,将流程审批相关页面集成到表单下方一起办理

This commit is contained in:
ye1023
2026-04-30 11:15:04 +08:00
parent 8238acce55
commit cff7086134
5 changed files with 75 additions and 15 deletions
@@ -1,6 +1,6 @@
<template>
<a-card style="margin-top: 10px">
<template #title> <audit-outlined /><span style="margin-left: 10px">我的审批</span> </template>
<!-- <template #title> <audit-outlined /><span style="margin-left: 10px">我的审批</span> </template>-->
<a-spin :spinning="loading">
<a-list itemLayout="vertical">
<a-list-item>
@@ -20,9 +20,9 @@
</div>
</a-list-item>
<a-list-item>
<j-upload text="添加文件" bizPath="bpm" :returnUrl="false" v-model:value="model.fileList"></j-upload>
</a-list-item>
<!-- <a-list-item>-->
<!-- <j-upload text="添加文件" bizPath="bpm" :returnUrl="false" v-model:value="model.fileList"></j-upload>-->
<!-- </a-list-item>-->
<!-- 选择分支 -->
<a-list-item>
@@ -41,7 +41,7 @@
</span>
<span v-show="model.processModel == 3" v-if="historyCount > 0">
<a-select v-model:value="model.rejectModelNode" :getPopupContainer="(target) => target?.parentNode" style="width: 150px">
<a-select v-model:value="model.rejectModelNode" :getPopupContainer="(target) => target?.parentNode" style="width: 250px">
<template v-for="(item, index) in historyList">
<a-select-option v-if="item.NAME_ != currentTaskName" :value="item.TASK_DEF_KEY_">{{ item.NAME_ }}</a-select-option>
</template>
@@ -14,13 +14,20 @@
<a-tabs v-model="activeKey" tabPosition="left">
<a-tab-pane key="1">
<template #tab> <file-text-outlined /><span>附加单据</span> </template>
<BpmDynamicForm :path="taskFormUrl" :form-data="taskFormData" :parentNode="parentNode"/>
<BpmDynamicForm
:path="taskFormUrl"
:form-data="taskFormData"
:claim="claimStatus"
:parentNode="parentNode"
@success="handleSuccess"
@claimSuccess="claimSuccess"
/>
</a-tab-pane>
<a-tab-pane key="2">
<template #tab> <user-outlined /><span>任务处理</span> </template>
<task-handle-inner-content @success="handleSuccess" :form-data="taskFormData" :claim="claimStatus" @claimSuccess="claimSuccess"></task-handle-inner-content>
</a-tab-pane>
<!-- <a-tab-pane v-if="!isEmbeddedHandleForm" key="2">-->
<!-- <template #tab> <user-outlined /><span>任务处理</span> </template>-->
<!-- <task-handle-inner-content @success="handleSuccess" :form-data="taskFormData" :claim="claimStatus" @claimSuccess="claimSuccess"></task-handle-inner-content>-->
<!-- </a-tab-pane>-->
<a-tab-pane key="3">
<template #tab> <partition-outlined /><span>流程图</span> </template>
@@ -73,6 +80,7 @@
});
const activeKey = ref('1');
const isEmbeddedHandleForm = computed(() => taskFormUrl.value?.includes('BgPartymatterBPMForm'));
// desformView 父级滚动条,只有传了此参数才会突破内部弹窗
const modalRef = ref();
@@ -100,7 +108,8 @@
claimStatus,
claimSuccess,
modalRef,
parentNode
parentNode,
isEmbeddedHandleForm
};
},
};