发起督办收集流程可以选择是否直接发起收集流程,添加对应弹窗并将该信息写到中间表的json_data内
This commit is contained in:
@@ -98,6 +98,7 @@
|
||||
<!-- 审批记录 -->
|
||||
<BpmPictureModal @register="registerBpmModal" />
|
||||
<FlowScheduleStartModal ref="flowScheduleModalRef" @confirm="handleFlowScheduleConfirm" />
|
||||
<FeedbackRightNowModal ref="feedbackRightNowModalRef" @confirm="handleFeedbackRightNowConfirm" />
|
||||
<BusinessProcessListModal ref="businessProcessListModalRef" />
|
||||
</div>
|
||||
</template>
|
||||
@@ -116,6 +117,7 @@
|
||||
import SUploadFile from '/@/components/semri/fileComponent/SUploadFile.vue';
|
||||
import BusinessProcessListModal from '/src/components/semri/process/BusinessProcessListModal.vue';
|
||||
import FlowScheduleStartModal from '/src/components/semri/process/FlowScheduleStartModal.vue';
|
||||
import FeedbackRightNowModal from './components/FeedbackRightNowModal.vue';
|
||||
import { columns as taskTaskColumns } from '/@/views/taskProcess/TaskTask.data';
|
||||
import { columns, superQuerySchema, bgXiSpeakFeedbackColumns } from './BgXiSpeak.data';
|
||||
import {
|
||||
@@ -144,7 +146,9 @@
|
||||
const toggleSearchStatus = ref<boolean>(false);
|
||||
const registerModal = ref();
|
||||
const flowScheduleModalRef = ref();
|
||||
const feedbackRightNowModalRef = ref();
|
||||
const businessProcessListModalRef = ref();
|
||||
const pendingFeedbackRightNow = ref(0);
|
||||
const processColumns = taskTaskColumns;
|
||||
const selectedFeedbackId = ref<string | number | null>(null);
|
||||
const feedbackTableData = reactive<Record<string, Recordable[]>>({});
|
||||
@@ -532,6 +536,11 @@
|
||||
}
|
||||
|
||||
function handleProcess(record) {
|
||||
feedbackRightNowModalRef.value?.open(record);
|
||||
}
|
||||
|
||||
function handleFeedbackRightNowConfirm({ record, feedbackRightNow }) {
|
||||
pendingFeedbackRightNow.value = feedbackRightNow;
|
||||
flowScheduleModalRef.value?.open({
|
||||
title: '发起督办计划收集流程',
|
||||
payload: { record },
|
||||
@@ -581,6 +590,7 @@
|
||||
isNeedAppro: options.isNeedAppro ?? record.needSdwApproval ?? '',
|
||||
supDeptleaderid: options.supDeptleaderid ?? record.sdwLeaderList ?? '',
|
||||
supervisionCount: nextSuperviseCount,
|
||||
feedback_right_now: flowCode === FLOW_CODE ? pendingFeedbackRightNow.value : undefined,
|
||||
};
|
||||
|
||||
if (flowCode === FLOW_CODE_JBR) {
|
||||
|
||||
Reference in New Issue
Block a user