矛盾调解修复
This commit is contained in:
@@ -62,7 +62,7 @@
|
|||||||
<h2>上报网格</h2>
|
<h2>上报网格</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-item__right">
|
<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'}">
|
:ops="{url:'../AppGridManagement/SelectGird',label: 'girdName'}">
|
||||||
<AiMore v-model="form.girdName"/>
|
<AiMore v-model="form.girdName"/>
|
||||||
</AiPagePicker>
|
</AiPagePicker>
|
||||||
@@ -168,6 +168,7 @@ export default {
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
handleSelectGrid(v) {
|
handleSelectGrid(v) {
|
||||||
|
this.form.girdId = v?.id
|
||||||
this.form.girdName = v?.girdName || ""
|
this.form.girdName = v?.girdName || ""
|
||||||
},
|
},
|
||||||
chooseAddress() {
|
chooseAddress() {
|
||||||
@@ -250,24 +251,24 @@ export default {
|
|||||||
this.flag = true
|
this.flag = true
|
||||||
|
|
||||||
this.$http
|
this.$http
|
||||||
.post(`/app/appclapeventinfo/addOrUpdate?`, {
|
.post(`/app/appclapeventinfo/addOrUpdate?`, {
|
||||||
...this.form,
|
...this.form,
|
||||||
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,
|
||||||
eventStatus: this.form.opts == 0 ? '2' : '0',
|
eventStatus: this.form.opts == 0 ? '2' : '0',
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.$u.toast('上报成功')
|
this.$u.toast('上报成功')
|
||||||
this.flag = false
|
this.flag = false
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
uni.$emit('update')
|
uni.$emit('update')
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
}, 600)
|
}, 600)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user