From 2dfe2e9ee7a72a40d67138074403380a89e879c0 Mon Sep 17 00:00:00 2001 From: dearlin <1261008090@qq.com> Date: Sun, 4 Feb 2024 11:42:56 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E6=82=A3=E6=B8=85=E5=8D=95=E6=8E=92?= =?UTF-8?q?=E6=9F=A5=E7=8A=B6=E6=80=81=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/qualified.vue | 18 ++- .../components/un_qualified.vue | 4 +- .../inspect_custom.vue | 111 ++++++++++-------- 3 files changed, 78 insertions(+), 55 deletions(-) diff --git a/src/views/hazard_investigation/inventory_troubleshooting/components/qualified.vue b/src/views/hazard_investigation/inventory_troubleshooting/components/qualified.vue index db61a4b..29612a3 100644 --- a/src/views/hazard_investigation/inventory_troubleshooting/components/qualified.vue +++ b/src/views/hazard_investigation/inventory_troubleshooting/components/qualified.vue @@ -2,6 +2,11 @@ + + + + + { @@ -65,6 +80,7 @@ const fnSubmit = debounce( formData.append("FOREIGN_KEY", props.id); formData.append("TYPE", 14); await setUploadImg(formData); + emits("submit", form.value.CHECK_RESULT, props.index); fnClose(); ElMessage.success("保存成功"); }, diff --git a/src/views/hazard_investigation/inventory_troubleshooting/components/un_qualified.vue b/src/views/hazard_investigation/inventory_troubleshooting/components/un_qualified.vue index 4fffa7a..c4e08a8 100644 --- a/src/views/hazard_investigation/inventory_troubleshooting/components/un_qualified.vue +++ b/src/views/hazard_investigation/inventory_troubleshooting/components/un_qualified.vue @@ -97,7 +97,7 @@ const fnSubmit = debounce( if (props.hiddenType === "unqualified") { if (!props.longitude && !props.latitude) { ElMessage.error("正在获取当前位置中,请等待"); - return; + // return; } params = { ...params, @@ -144,7 +144,7 @@ const fnSubmit = debounce( if (form.value.rectifyImgs[i].raw) await fnUploadImage(currentHiddenId, form.value.rectifyImgs[i].raw, 4); } - emits("submit", currentHiddenId); + emits("submit", currentHiddenId, form.value.HIDDENDESCR); ElMessage.success("保存成功"); fnClose(); }, diff --git a/src/views/hazard_investigation/inventory_troubleshooting/inspect_custom.vue b/src/views/hazard_investigation/inventory_troubleshooting/inspect_custom.vue index f4d0a67..1b61746 100644 --- a/src/views/hazard_investigation/inventory_troubleshooting/inspect_custom.vue +++ b/src/views/hazard_investigation/inventory_troubleshooting/inspect_custom.vue @@ -44,16 +44,8 @@