bug
This commit is contained in:
@@ -9,11 +9,7 @@
|
||||
</div>
|
||||
<div class="bg-fff">
|
||||
<div class="flex">
|
||||
<span>系统后台</span>
|
||||
<div @click="copy">https://saasweb.icunwei.com/login<span class="copy">复制</span></div>
|
||||
</div>
|
||||
<div class="flex">
|
||||
<span>联系电话</span>
|
||||
<span>如有相关问题,请联系客服</span>
|
||||
<div @click="callPhone('18186229224')">18186229224<img src="./img/my/phone-icon.png" /></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -28,7 +28,7 @@ export default {
|
||||
{
|
||||
img: require('../img/app/app-jmda-icon.png'),
|
||||
title: '居民档案',
|
||||
linkUrl: '/apps/AppGridManagement/AppGridManagement'
|
||||
linkUrl: '/apps/AppResidentDocument/AppResidentDocument'
|
||||
},
|
||||
{
|
||||
img: require('../img/app/app-wggl-icon.png'),
|
||||
|
||||
@@ -23,7 +23,7 @@ export default {
|
||||
img: require('../img/grid/grid-jmda.png'),
|
||||
title: '居民档案',
|
||||
text: '辖区居民信息全览',
|
||||
linkUrl: ''
|
||||
linkUrl: '/apps/AppResidentDocument/AppResidentDocument'
|
||||
},
|
||||
{
|
||||
img: require('../img/grid/grid-tsrq.png'),
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<div class="tab-content">
|
||||
<div class="item" v-for="(item, index) in tabStatistics" :key="index">
|
||||
<p><span></span>{{ item.title }}</p>
|
||||
<div>{{ girdInfo[item.key] }}</div>
|
||||
<div>{{ girdInfo[item.key] || '-'}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="title">消息发送情况</div>
|
||||
@@ -81,6 +81,10 @@ export default {
|
||||
{
|
||||
title: '居民群数',
|
||||
key: '居民群'
|
||||
},
|
||||
{
|
||||
title: '微信好友',
|
||||
key: '微信好友'
|
||||
}
|
||||
],
|
||||
echartData: null,
|
||||
@@ -178,6 +182,57 @@ export default {
|
||||
this.$http.post(`/app/appgirdmemberinfo/girdMemberOrNotStatistic`).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.girdInfo = res.data
|
||||
if(res.data['网格员类型'] == 2) { //网格长
|
||||
this.tabStatistics= [
|
||||
{
|
||||
title: '网格数',
|
||||
key: '网格数'
|
||||
},
|
||||
{
|
||||
title: '网格员数',
|
||||
key: '网格员'
|
||||
},
|
||||
{
|
||||
title: '辖区户数',
|
||||
key: '辖区户数'
|
||||
},
|
||||
{
|
||||
title: '居民群数',
|
||||
key: '居民群'
|
||||
},
|
||||
]
|
||||
}else if(res.data['网格员类型'] == 1) { //网格员
|
||||
this.tabStatistics= [
|
||||
{
|
||||
title: '居民群数',
|
||||
key: '居民群'
|
||||
},
|
||||
{
|
||||
title: '辖区户数',
|
||||
key: '辖区户数'
|
||||
},
|
||||
{
|
||||
title: '微信好友',
|
||||
key: '微信好友'
|
||||
},
|
||||
{
|
||||
title: '消息累计',
|
||||
key: '消息累计'
|
||||
}
|
||||
]
|
||||
}else {
|
||||
this.tabStatistics= [
|
||||
{
|
||||
title: '居民群数',
|
||||
key: '居民群'
|
||||
},
|
||||
{
|
||||
title: '微信好友',
|
||||
key: '微信好友'
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ export default {
|
||||
|
||||
optionId: '',
|
||||
name: '',
|
||||
id: '',
|
||||
residentId: '',
|
||||
|
||||
reality: '',
|
||||
realityValue: '',
|
||||
@@ -126,7 +126,7 @@ export default {
|
||||
methods: {
|
||||
handleSelectUser(v) {
|
||||
console.log(v)
|
||||
this.forms.id = v?.[0]?.id || ""
|
||||
this.forms.residentId = v?.[0]?.id || ""
|
||||
this.forms.name = v?.[0]?.name || ""
|
||||
},
|
||||
realityClick() {
|
||||
|
||||
Reference in New Issue
Block a user