This commit is contained in:
shijingjing
2022-02-16 13:52:07 +08:00
parent e4a2ffb7d7
commit 28be9ca0c5

View File

@@ -236,9 +236,9 @@ export default {
if (!this.form.groupId) { if (!this.form.groupId) {
return this.$u.toast('请选择事件类型') return this.$u.toast('请选择事件类型')
} }
// if (!this.form.address) { if (!this.form.address) {
// return this.$u.toast('请选择发生地点') return this.$u.toast('请选择发生地点')
// } }
if (!this.form.girdName) { if (!this.form.girdName) {
return this.$u.toast('请选择上报网格') return this.$u.toast('请选择上报网格')
} }
@@ -254,8 +254,6 @@ export default {
this.$http this.$http
.post(`/app/appclapeventinfo/addOrUpdate?`, { .post(`/app/appclapeventinfo/addOrUpdate?`, {
...this.form, ...this.form,
lat: '120',
lng: '80',
files: this.form.files, files: this.form.files,
finishFiles: this.form.finishFiles, finishFiles: this.form.finishFiles,
groupName: this.dictList.filter((v) => v.value === this.form.groupId)[0].label, groupName: this.dictList.filter((v) => v.value === this.form.groupId)[0].label,