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> <i>{{ index + 1 }}</i>
<div class="left-item__top"> <div class="left-item__top">
<h2>{{ item.gridName }}</h2> <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 <el-option
:label="item.gridName" :label="item.gridName"
:value="item.gridId" :value="item.gridId"
@@ -287,7 +287,7 @@
</ai-echart-v2> </ai-echart-v2>
</div> </div>
</AiDvPanel> </AiDvPanel>
<AiDvPanel class="bottom" style="width: 100%" border="border6" title="群动态多维度排行"> <AiDvPanel class="bottom" style="width: 655px" border="border6" title="群动态多维度排行">
<ai-table <ai-table
width="100%" width="100%"
height="310px" height="310px"

View File

@@ -13,7 +13,7 @@
<i>{{ index + 1 }}</i> <i>{{ index + 1 }}</i>
<div class="left-item__top"> <div class="left-item__top">
<h2>{{ item.gridName }}</h2> <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 <el-option
:label="item.gridName" :label="item.gridName"
:value="item.gridId" :value="item.gridId"
@@ -836,6 +836,12 @@
this.getInfo() this.getInfo()
}, },
onStationChange () {
this.$nextTick(() => {
this.getInfo()
})
},
onChange () { onChange () {
this.instance.post(`/api/wxgridinfo/wxGridReportNew`, null, { this.instance.post(`/api/wxgridinfo/wxGridReportNew`, null, {
params: { params: {

View File

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