diff --git a/src/saas/AppConflictMediation/add.vue b/src/saas/AppConflictMediation/add.vue index 8ea6f608..4a05a27d 100644 --- a/src/saas/AppConflictMediation/add.vue +++ b/src/saas/AppConflictMediation/add.vue @@ -62,7 +62,7 @@

上报网格

- @@ -168,6 +168,7 @@ export default { methods: { handleSelectGrid(v) { + this.form.girdId = v?.id this.form.girdName = v?.girdName || "" }, chooseAddress() { @@ -250,24 +251,24 @@ export default { this.flag = true this.$http - .post(`/app/appclapeventinfo/addOrUpdate?`, { - ...this.form, - files: this.form.files, - finishFiles: this.form.finishFiles, - groupName: this.dictList.filter((v) => v.value === this.form.groupId)[0].label, - eventStatus: this.form.opts == 0 ? '2' : '0', - }) - .then((res) => { - this.$u.toast('上报成功') - this.flag = false - if (res.code == 0) { - uni.$emit('update') - this.$forceUpdate() - setTimeout(() => { - uni.navigateBack() - }, 600) - } - }) + .post(`/app/appclapeventinfo/addOrUpdate?`, { + ...this.form, + files: this.form.files, + finishFiles: this.form.finishFiles, + groupName: this.dictList.filter((v) => v.value === this.form.groupId)[0].label, + eventStatus: this.form.opts == 0 ? '2' : '0', + }) + .then((res) => { + this.$u.toast('上报成功') + this.flag = false + if (res.code == 0) { + uni.$emit('update') + this.$forceUpdate() + setTimeout(() => { + uni.navigateBack() + }, 600) + } + }) }, }, }