消息发送
This commit is contained in:
@@ -5,25 +5,18 @@
|
||||
<span>居民群</span>
|
||||
<u-icon name="arrow-right" color="#ddd" size="32"></u-icon>
|
||||
</div>
|
||||
<div class="num"><span>12</span>个</div>
|
||||
<p class="text">共201位群成员</p>
|
||||
<div class="num"><span>{{totalInfo.groupNumber}}</span>个</div>
|
||||
<p class="text">共{{totalInfo.userNumber}}位群成员</p>
|
||||
</div>
|
||||
<div class="list">
|
||||
<div class="title">
|
||||
<span>组织信息</span>
|
||||
<i>共72人</i>
|
||||
<i>共{{orgInfo.total}}人</i>
|
||||
</div>
|
||||
<div class="item" @click="linkTo('./orgDetail')">
|
||||
<div class="item" v-for="(item, index) in orgInfo.Organizational" :key="index" @click="linkTo(`./orgList?id=${item.corpId}`)">
|
||||
<div class="left">
|
||||
<img src="./img/gird--select-icon.png" alt="">
|
||||
<span>曼城去应急管理处曼城去应急管理处曼城去应急管理处曼城去应急管理处</span>
|
||||
</div>
|
||||
<u-icon name="arrow-right" color="#ddd" size="32"></u-icon>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="left">
|
||||
<img src="./img/gird--select-icon.png" alt="">
|
||||
<span>曼城去应急管理处曼城</span>
|
||||
<span>{{item.name}}</span>
|
||||
</div>
|
||||
<u-icon name="arrow-right" color="#ddd" size="32"></u-icon>
|
||||
</div>
|
||||
@@ -40,11 +33,13 @@ export default {
|
||||
appName: "数据总览",
|
||||
data() {
|
||||
return {
|
||||
|
||||
totalInfo: {},
|
||||
orgInfo: {}
|
||||
}
|
||||
},
|
||||
computed: {...mapState(['user'])},
|
||||
created() {
|
||||
this.getTotal()
|
||||
},
|
||||
onShow() {
|
||||
document.title = '数据总览'
|
||||
@@ -52,6 +47,19 @@ export default {
|
||||
methods: {
|
||||
linkTo(url) {
|
||||
uni.navigateTo({ url })
|
||||
},
|
||||
getTotal() {
|
||||
this.$http.post(`/app/wxcp/wxgroup/getGoupAndUserCount`).then(res => {
|
||||
if (res?.code == 0) {
|
||||
this.totalInfo = res.data
|
||||
}
|
||||
})
|
||||
this.$http.post(`/app/appdvcpconfig/getOrganizationalInfo`).then(res => {
|
||||
if (res?.code == 0) {
|
||||
this.orgInfo = res.data
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user