矛盾调解修复

This commit is contained in:
aixianling
2022-05-06 21:07:45 +08:00
parent 456486b05f
commit 2c4a5cad4c

View File

@@ -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)
}
})
},
},
}