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" size="mini" @change="getInfo" v-if="gridParentId === item.gridId && index !== 0" placeholder="请选择派出所">
<el-option
:label="item.gridName"
:value="item.gridId"
@@ -287,7 +287,7 @@
</ai-echart-v2>
</div>
</AiDvPanel>
<AiDvPanel class="bottom" style="width: 100%" border="border6" title="群动态多维度排行">
<AiDvPanel class="bottom" style="width: 655px" border="border6" title="群动态多维度排行">
<ai-table
width="100%"
height="310px"

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: {

View File

@@ -127,7 +127,7 @@
.DoughnutChart-explain {
flex: 1;
margin-left: 12px;
margin-left: 10px;
.item {
display: flex;
@@ -142,7 +142,7 @@
}
span {
width: 86px;
width: 92px;
font-weight: 400;
font-size: 14px;
color: #9BB7D4;