From aa3efde90b903ab1a7166e3f006882dd7b7d1df6 Mon Sep 17 00:00:00 2001 From: buaixuexideshitongxue <2936013465@qq.com> Date: Tue, 30 Dec 2025 18:48:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=89=E8=AE=BF=E6=B6=89=E8=AF=89--=E7=94=9F?= =?UTF-8?q?=E6=88=90=E9=97=AE=E9=A2=98=E6=97=B6=E6=B6=89=E5=AB=8C=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E6=B2=A1=E6=9C=89=E7=94=9F=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/negative/verify-sfss.vue | 7 +++++-- src/views/data/ComplaintCollection.vue | 3 +-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/negative/verify-sfss.vue b/src/components/negative/verify-sfss.vue index ef7e087..cf55425 100644 --- a/src/components/negative/verify-sfss.vue +++ b/src/components/negative/verify-sfss.vue @@ -1630,9 +1630,11 @@ watch(negative, () => { }); async function getFormData() { + const row = negative.value?.currentRow ?? {} form.value = { - ...negative.value.currentRow, - complaintId: negative.value?.currentRow?.id, + ...row, + complaintId: row?.id, + involveProblem:row.involveProblem ? String(row.involveProblem).split(/[,,]/).filter(Boolean) : [], involveDepartId: negative.value.involveDepartId, caseNumber: negative.value.caseNumber, checkStatus: negative.value.checkStatus, @@ -1680,6 +1682,7 @@ async function getFormData() { if (negative.value.problemSourcesCode === ProblemSources.JWDC) { form.value.accountabilityTarget = AccountabilityTarget.PERSONAL; } + console.log("传入之后解析的form的数据=======================") console.log(form.value); } diff --git a/src/views/data/ComplaintCollection.vue b/src/views/data/ComplaintCollection.vue index c43fbed..0d99e81 100644 --- a/src/views/data/ComplaintCollection.vue +++ b/src/views/data/ComplaintCollection.vue @@ -755,7 +755,6 @@ const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms)); const handleAction = async (row) => { negativeSfss.value.currentRow = JSON.parse(JSON.stringify(row)) negativeVerifySfssDailog.value = true - console.log(row) } const negativeVerifySfssRef = ref(); // 办理提交 @@ -766,8 +765,8 @@ const handleSubmit = async () => { try { // const formData = await negativeVerifySfssRef.value.validate(); const formData = negativeVerifySfssRef.value.getData() + console.log("提交前面==================") console.log(formData) - await sleep(3000); let res = await addComplaintCollectionBlame(formData); feedback.msgSuccess("提交成功"); negativeVerifySfssDailog.value = false;