This commit is contained in:
yanran200730
2023-04-27 16:58:44 +08:00
parent 597189adb1
commit 8e501b0f7e
2 changed files with 28 additions and 13 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" @change="getInfo" v-if="gridParentId === item.gridId && index !== 0" placeholder="请选择派出所">
<el-select v-model="gridId" size="mini" @change="onChange" v-if="gridParentId === item.gridId && index !== 0" placeholder="请选择派出所">
<el-option
:label="item.gridName"
:value="item.gridId"
@@ -152,21 +152,21 @@
<h2>成员总数</h2>
<div class="item-bottom">
<span>{{ middleTotalInfo['成员总数'] }}</span>
<i></i>
<i></i>
</div>
</div>
<div class="item">
<h2>已激活</h2>
<div class="item-bottom">
<span>{{ middleTotalInfo['已激活'] }}</span>
<i></i>
<i></i>
</div>
</div>
<div class="item">
<h2>末激活</h2>
<div class="item-bottom">
<span>{{ middleTotalInfo['未激活'] }}</span>
<i></i>
<i></i>
</div>
</div>
</div>
@@ -616,14 +616,14 @@
wjwqgkInfo: {},
colConfigs: [
{ slot: 'index' },
{ prop: 'ownerName', label: '姓名', align: 'left', width: 56 },
{ prop: 'deptName', label: '单位', align: 'left', width: 82 },
{ prop: 'ownerName', label: '姓名', align: 'left', width: 58 },
{ prop: 'deptName', label: '单位', align: 'left' },
{ prop: 'groupCount', label: '群数量', align: 'center', width: 56 },
{ prop: 'groupMemberCount', label: '群人员', align: 'center', width: 56 },
{ prop: 'newMemberCount', label: '新增群人员', align: 'center', width: 80 },
{ prop: 'hasMsgGroupCount', label: '有消息的群', align: 'center', width: 80 },
{ prop: 'msgCount', label: '群聊人数', align: 'center', width: 68 },
{ prop: 'hasMsgMemberCount', label: '群消息总数', align: 'center' }
// { prop: 'hasMsgGroupCount', label: '有消息的群', align: 'center', width: 80 },
{ prop: 'msgCount', label: '群聊人数', align: 'center', width: 80 },
{ prop: 'hasMsgMemberCount', label: '群消息总数', align: 'center', width: 80 }
]
}
},
@@ -679,7 +679,7 @@
},
rhyData () {
return [{key: '活跃成员', value: this.wxGroupOverview['活跃群成员数量(7天)']}, {key: '群成员', value: this.wxGroupOverview['群成员数量']}]
return [{key: '活跃成员', value: this.wxGroupOverview['活跃群成员数量(7天)']}, {key: '群成员 ', value: this.wxGroupOverview['群成员数量']}]
},
rhyRate () {
@@ -762,6 +762,21 @@
},
methods: {
onChange () {
this.$nextTick(() => {
this.instance.post(`/api/wxgridinfo/tree`, null, {
params: {
gridParentId: this.gridId,
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA'
}
}).then(res => {
if (res.code === 0) {
}
})
this.getInfo()
})
},
init (gridId) {
this.gridId = ''
this.gridParentId = gridId || 'gr3AePMwAAFWlqlNvfJboAWkRNbnA14A'
@@ -1158,7 +1173,7 @@
}
}
.right-middle {
width: 512px;
width: 542px;
margin: 0 14px;
.right-middle__middle {
@@ -1172,7 +1187,7 @@
display: flex;
flex-direction: column;
// flex: 1;
width: 600px;
width: 570px;
overflow: hidden;
.bottom {

View File

@@ -3,7 +3,7 @@
<div class="chart-map" :class="v" style="width: 100%; height: 100%"></div>
<transition name="fade">
<div class="info" v-if="isShowInfo">
<div class="info-mask"></div>
<div class="info-mask" @click="isShowInfo = false"></div>
<div class="info-content">
<div class="info-title">
<h2>{{ title }}</h2>