diff --git a/src/saas/AppConflictMediation/add.vue b/src/saas/AppConflictMediation/add.vue index b78627ed..e1e113cc 100644 --- a/src/saas/AppConflictMediation/add.vue +++ b/src/saas/AppConflictMediation/add.vue @@ -137,7 +137,9 @@ result: '', resultFiles: [], opts: 1, - name: '' + name: '', + lat: '', + lng: '' }, dictList: [], arr: [], @@ -162,6 +164,8 @@ uni.chooseLocation({ success: (res) => { this.form.address = res.address + this.form.lat = res.latitude + this.form.lng = res.longitude } }); }, @@ -244,13 +248,11 @@ if(this.flag) return this.flag = true - this.$loading() this.$http.post(`/app/appclapeventinfo/addOrUpdate?`, { ...this.form, files: this.form.files, groupName: this.dictList.filter(v => v.value === this.form.groupId)[0].label }).then(res => { - this.$hideLoading() this.$u.toast('上ζŠ₯成功') this.flag = false if (res.code == 0) { @@ -259,7 +261,6 @@ uni.navigateBack() }, 600) } - this.$hideLoading() }) } }