This commit is contained in:
yanran200730
2023-04-27 15:18:51 +08:00
parent 89ffcc639a
commit b098a4e294
3 changed files with 11 additions and 5 deletions

View File

@@ -13,7 +13,7 @@
<i>{{ index + 1 }}</i>
<div class="left-item__top">
<h2>{{ item.gridName }}</h2>
<el-select v-model="gridId" size="mini" v-if="gridParentId === item.gridId && index !== 0" placeholder="请选择派出所">
<el-select v-model="gridId" @change="onStationChange" size="mini" v-if="gridParentId === item.gridId && index !== 0" placeholder="请选择派出所">
<el-option
:label="item.gridName"
:value="item.gridId"
@@ -836,6 +836,12 @@
this.getInfo()
},
onStationChange () {
this.$nextTick(() => {
this.getInfo()
})
},
onChange () {
this.instance.post(`/api/wxgridinfo/wxGridReportNew`, null, {
params: {