yxk-20260509-党委会反馈信息表单

1、新增反馈的时候,写入当前流程实例id,避免查询其他督办流程的反馈信息
2、查询反馈信息时,需要根据当前流程实例id查询
This commit is contained in:
ye1023
2026-05-11 16:28:02 +08:00
parent 3048c7a63f
commit 7fd4ed2169
3 changed files with 25 additions and 10 deletions
@@ -103,6 +103,7 @@
actualExect: '',
actualTime: '',
bpmStatus: '',
bpmProcessId: '',
mainId: '',
});
@@ -110,17 +111,18 @@
actualExect: [{ required: true, message: '请输入实际执行情况' }],
};
function resetForm(mainId = '') {
function resetForm(mainId = '', bpmProcessId = '') {
Object.keys(formData).forEach((key) => {
formData[key] = '';
});
formData.mainId = mainId;
formData.bpmProcessId = bpmProcessId;
uploadKey.value += 1;
nextTick(() => formRef.value?.clearValidate?.());
}
function open(mainId: string, secretLevel?: string | number) {
resetForm(mainId);
function open(mainId: string, secretLevel?: string | number, bpmProcessId = '') {
resetForm(mainId, bpmProcessId);
uploadSecretLevel.value = normalizeSecretLevel(secretLevel);
void applyCurrentUserFeedbackInfo();
visible.value = true;