diff --git a/src/api/data/complaintCollection.ts b/src/api/data/complaintCollection.ts index 3b42779..387e6fd 100644 --- a/src/api/data/complaintCollection.ts +++ b/src/api/data/complaintCollection.ts @@ -105,4 +105,14 @@ export async function exportData(body) { document.body.removeChild(a) window.URL.revokeObjectURL(url) -} \ No newline at end of file +} + +/** + * 办理页面保存:保存涉及人员/领导等 JSON + */ +export function saveInvolveJson(body) { + return request.post({ + url: `/data/complaintCollection/saveInvolveJson`, + body + }); +} diff --git a/src/components/negative/verify-sfss.vue b/src/components/negative/verify-sfss.vue index 2b3bb0b..1d2240e 100644 --- a/src/components/negative/verify-sfss.vue +++ b/src/components/negative/verify-sfss.vue @@ -83,10 +83,6 @@ - - - -
附件
@@ -259,6 +255,21 @@ :autosize="{ minRows: 4 }" /> + + +
+ +
+ +
@@ -1666,11 +1662,29 @@ const problemIsTrue = computed(() => { return form.value.checkStatusCode === '1' || form.value.checkStatusCode === '2' || form.value.checkStatusCode === '3'; }); -getFormData(); -watch(negative, () => { - getFormData(); -}); +// 只监听 complaintId(或 currentRow.id)变化才回显 +watch( + () => negative?.value?.currentRow?.id, + (id) => { + if (id) getFormData() + }, + {immediate: true} +) + +// 在 -