yxk-20260509-党委会业务表单
流程发起成功后,更新业务表单bpmstatus状态为进行中
This commit is contained in:
@@ -122,7 +122,7 @@
|
||||
import BusinessProcessListModal from '/src/components/semri/process/BusinessProcessListModal.vue';
|
||||
import FlowScheduleStartModal from '/src/components/semri/process/FlowScheduleStartModal.vue';
|
||||
import { columns, superQuerySchema, bgPartymatterFeedbackColumns } from './BgPartymatter.data';
|
||||
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl, bgPartymatterFeedbackList } from './BgPartymatter.api';
|
||||
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl, bgPartymatterFeedbackList, saveOrUpdate } from './BgPartymatter.api';
|
||||
|
||||
const FLOW_CODE = 'dev_task_task_001';
|
||||
const FLOW_NAME = '党委会决议事项';
|
||||
@@ -372,11 +372,11 @@
|
||||
},
|
||||
auth: 'bgpartymatter:bg_partymatter:delete'
|
||||
},
|
||||
{
|
||||
label: '审批进度',
|
||||
onClick: handlePreviewPic.bind(null, record),
|
||||
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
||||
},
|
||||
// {
|
||||
// label: '审批进度',
|
||||
// onClick: handlePreviewPic.bind(null, record),
|
||||
// ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
||||
// },
|
||||
{
|
||||
label: '查询督办流程',
|
||||
onClick: handleQueryProcess.bind(null, record),
|
||||
@@ -385,7 +385,13 @@
|
||||
|
||||
if (record.bpmStatus == '1' || !record.bpmStatus) {
|
||||
dropDownAction.push({
|
||||
label: '发起流程',
|
||||
label: '发起督办流程',
|
||||
onClick: handleProcess.bind(null, record),
|
||||
});
|
||||
}
|
||||
if (record.bpmStatus == '2' || !record.bpmStatus) {
|
||||
dropDownAction.push({
|
||||
label: '再次督办',
|
||||
onClick: handleProcess.bind(null, record),
|
||||
});
|
||||
}
|
||||
@@ -461,6 +467,7 @@
|
||||
};
|
||||
|
||||
await startProcessSchedules(params);
|
||||
await saveOrUpdate({ id: record.id, bpmStatus: '2' }, true);
|
||||
handleSuccess();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user