From 4b5dc3e42f657ad7c36a2a74bf07bc71601e1c98 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Wed, 27 Apr 2022 10:17:50 +0800 Subject: [PATCH] 29326 --- src/apps/AppMonitoringObject/Add.vue | 5 ----- src/apps/AppMonitoringObject/MonitorAddLog.vue | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/apps/AppMonitoringObject/Add.vue b/src/apps/AppMonitoringObject/Add.vue index 27f312cd..73a41d48 100644 --- a/src/apps/AppMonitoringObject/Add.vue +++ b/src/apps/AppMonitoringObject/Add.vue @@ -386,11 +386,6 @@ export default { }, methods: { - toSelect() { - // uni.navigateTo({ - // url: './residentList' - // }) - }, rules() { return { objectType: '请选择监测对象类型', diff --git a/src/apps/AppMonitoringObject/MonitorAddLog.vue b/src/apps/AppMonitoringObject/MonitorAddLog.vue index 05439fc7..80337646 100644 --- a/src/apps/AppMonitoringObject/MonitorAddLog.vue +++ b/src/apps/AppMonitoringObject/MonitorAddLog.vue @@ -36,6 +36,7 @@ export default { id: '', type: '', operationDesc: '', + flag: false, } }, onLoad(query) { @@ -65,12 +66,14 @@ export default { }) }, submit() { + if(this.flag) return if (!this.operationDesc) { return this.$u.toast('请选择帮扶类型') } if (!this.detail) { return this.$u.toast('请输入帮扶内容') } + this.flag = true this.$http.post('/app/apppreventionreturntopovertylog/addOrUpdate', { detail: this.detail, files: this.files,