yxk-20260423-党委会的字段调整

This commit is contained in:
ye1023
2026-04-24 09:44:42 +08:00
parent a73e0a6822
commit 5ee753b967
3 changed files with 34 additions and 17 deletions
@@ -69,9 +69,6 @@
import { columns, superQuerySchema } from './BgPartymatter.data';
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './BgPartymatter.api';
const FLOW_CODE = 'dev_task_task_001';
const BUSINESS_TABLE_NAME = 'bg_partymatter';
const FORM_URL = 'bgpartymatter/components/BgPartymatterForm';
const [registerBpmModal, { openModal: bpmPicModal }] = useModal();
const formRef = ref();
@@ -240,18 +237,27 @@
intervalType: options.intervalType,
startCount: options.startCount,
taskTask: {
flowCode: FLOW_CODE,
//重复督办字段
triggerType: options.triggerType,
startTime: options.intervalStartTime,
//流程相关字段
flowCode: 'dev_task_task_001',
formUrl: 'bgpartymatter/components/BgPartymatterForm',
flowName: '党委会决议事项',
// jsonData: { deptid: 'xxx', deptname: 'xxxx1' },
jsonData: record,
//台账相关字段
businessTablename: 'bg_partymatter',
businessId: record.id,
businessTablename: BUSINESS_TABLE_NAME,
// deptLeaderId: 'sdw01',
title: record.title,
content: record.content,
urgencyLevel: record.urgencyLevel,
deptId: record.responDeptid,
deptLeaderId: record.responDeptid,
requireFinishDate: formatDate(record.deadline, 'YYYY-MM-DD'),
startTime: options.intervalStartTime,
deadline: formatDate(record.deadline, 'YYYY-MM-DD HH:mm:ss'),
formUrl: FORM_URL,
},
};
@@ -262,7 +268,7 @@
async function handlePreviewPic(record) {
bpmPicModal(true, {
flowCode: FLOW_CODE,
flowCode: 'dev_task_task_001',
dataId: record.id,
});
}