From 28be9ca0c5892b89bc7d5699fac1b8f7f55047b2 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Wed, 16 Feb 2022 13:52:07 +0800 Subject: [PATCH] add --- src/saas/AppConflictMediation/add.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/saas/AppConflictMediation/add.vue b/src/saas/AppConflictMediation/add.vue index a989e9a2..76abb313 100644 --- a/src/saas/AppConflictMediation/add.vue +++ b/src/saas/AppConflictMediation/add.vue @@ -236,9 +236,9 @@ export default { if (!this.form.groupId) { return this.$u.toast('请选择事件类型') } - // if (!this.form.address) { - // return this.$u.toast('请选择发生地点') - // } + if (!this.form.address) { + return this.$u.toast('请选择发生地点') + } if (!this.form.girdName) { return this.$u.toast('请选择上报网格') } @@ -254,8 +254,6 @@ export default { this.$http .post(`/app/appclapeventinfo/addOrUpdate?`, { ...this.form, - lat: '120', - lng: '80', files: this.form.files, finishFiles: this.form.finishFiles, groupName: this.dictList.filter((v) => v.value === this.form.groupId)[0].label,