From b1f28ac1558589199b9f4c0a55e8e36b9c6cffc5 Mon Sep 17 00:00:00 2001 From: huangyuxuan Date: Sat, 8 Feb 2025 10:15:36 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D](pet=5F?= =?UTF-8?q?=E9=97=A8=E5=8F=A3=E9=97=A8=E7=A6=81):=20=20-=20=E9=97=A8?= =?UTF-8?q?=E5=8F=A3=E9=97=A8=E7=A6=81bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../filingAudit/components/sendUtil.vue | 30 +++++++++++-------- .../publicAuidt/components/list.vue | 1 + .../jgCarMessage/components/car_view.vue | 22 +++++++------- .../xgfCarMessage/components/car_view.vue | 22 +++++++------- .../zgCarMessage/components/car_view.vue | 22 +++++++------- 5 files changed, 52 insertions(+), 45 deletions(-) diff --git a/src/views/freightVehicles/filingAudit/components/sendUtil.vue b/src/views/freightVehicles/filingAudit/components/sendUtil.vue index 52e896c..5c11f13 100644 --- a/src/views/freightVehicles/filingAudit/components/sendUtil.vue +++ b/src/views/freightVehicles/filingAudit/components/sendUtil.vue @@ -113,6 +113,8 @@ export default { this.loading = true this.visible = true this.FILING_APPLICATION_ID = e.FILING_APPLICATION_ID + this.form.STATUS = '' + this.form.OPINION = '' this.loading = false }, beforeClose() { @@ -136,19 +138,23 @@ export default { this.$parent.activeName = 'List' }, sendMessage() { - requestFN( - '/mkmjManagement/filingAudit', - { - AUDITOR: JSON.parse(sessionStorage.getItem('user')).USER_ID, - FILING_APPLICATION_ID: this.FILING_APPLICATION_ID, - IS_AUDIT: this.form.STATUS, - REMARK: this.form.OPINION + this.$refs.form.validate(valid => { + if (valid) { + requestFN( + '/mkmjManagement/filingAudit', + { + AUDITOR: JSON.parse(sessionStorage.getItem('user')).USER_ID, + FILING_APPLICATION_ID: this.FILING_APPLICATION_ID, + IS_AUDIT: this.form.STATUS, + REMARK: this.form.OPINION + } + ).then((data) => { + this.visible = false + this.$emit('refresh', '') + }).catch((e) => { + this.loading = false + }) } - ).then((data) => { - this.visible = false - this.$emit('refresh', '') - }).catch((e) => { - this.loading = false }) }, handleStatusChange(){ diff --git a/src/views/freightVehicles/publicAuidt/components/list.vue b/src/views/freightVehicles/publicAuidt/components/list.vue index 95f66f1..20bccee 100644 --- a/src/views/freightVehicles/publicAuidt/components/list.vue +++ b/src/views/freightVehicles/publicAuidt/components/list.vue @@ -48,6 +48,7 @@ +