!123 Merge branch 'refs/heads/master' into wsq-20260727
Merge pull request !123 from 王淑勤/wsq-20260727
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
<a-col v-if="toggleSearchStatus" :lg="6">
|
||||
<a-form-item name="proposalDeptId">
|
||||
<template #label><span title="提案部门">提案部门</span></template>
|
||||
<JDictSelectTag v-model:value="queryParam.proposalDeptId" dictCode="sys_depart,depart_name,id" placeholder="请选择提案部门" allow-clear />
|
||||
<sz-select-dept v-model:value="queryParam.proposalDeptId" :multiple="false" checkStrictly allow-clear />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||
@@ -92,6 +92,7 @@
|
||||
import {downloadFile} from '/@/utils/common/renderUtils';
|
||||
import JInput from "/@/components/Form/src/jeecg/components/JInput.vue";
|
||||
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
|
||||
import SzSelectDept from '/@/components/Form/src/jeecg/components/SzSelectDept.vue';
|
||||
|
||||
const [registerBpmModal, { openModal: bpmPicModal }] = useModal();
|
||||
const formRef = ref();
|
||||
|
||||
@@ -357,6 +357,12 @@
|
||||
// 普通编辑不加载子表,并清理弹窗复用时可能残留的表格数据。
|
||||
improvementDeptScoreTable.dataSource = [];
|
||||
improvementInstituteVoteTable.dataSource = [];
|
||||
// 加载改善前/后图片文件列表
|
||||
await nextTick();
|
||||
if (formData.id) {
|
||||
beforeFileRef.value?.loadFileList();
|
||||
afterFileRef.value?.loadFileList();
|
||||
}
|
||||
}
|
||||
|
||||
async function queryMainData(id) {
|
||||
@@ -409,8 +415,8 @@
|
||||
const newId = typeof result === 'string' ? result : (result?.id || result);
|
||||
if (newId) {
|
||||
formData.id = newId;
|
||||
await beforeFileRef.value?.bindBussinessId(`${newId}:before`);
|
||||
await afterFileRef.value?.bindBussinessId(`${newId}:after`);
|
||||
await beforeFileRef.value?.bindBussinessId(`${formData.proposalNo}:before`);
|
||||
await afterFileRef.value?.bindBussinessId(`${formData.proposalNo}:after`);
|
||||
}
|
||||
}
|
||||
emit('success');
|
||||
|
||||
Reference in New Issue
Block a user