矛盾调解修复
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
<h2>上报网格</h2>
|
||||
</div>
|
||||
<div class="form-item__right">
|
||||
<AiPagePicker type="custom" v-model="form.girdId" @select="handleSelectGrid" self nodeKey="id"
|
||||
<AiPagePicker type="custom" @select="handleSelectGrid" self
|
||||
:ops="{url:'../AppGridManagement/SelectGird',label: 'girdName'}">
|
||||
<AiMore v-model="form.girdName"/>
|
||||
</AiPagePicker>
|
||||
@@ -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)
|
||||
}
|
||||
})
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user