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 @@