|
|
|
@ -53,32 +53,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<u-tabbar :value="tabValue" @change="change1" :fixed="true" :placeholder="true" :safeAreaInsetBottom="true">
|
|
|
|
|
<u-tabbar-item text="群体事件" name="群体事件-1">
|
|
|
|
|
<u-tabbar-item text="群体事件" name="群体事件-1" :badge="msgTypecount[0].count">
|
|
|
|
|
<image class="u-page__item__slot-icon" slot="active-icon" src="@/static/images/contimg/icon-0.png">
|
|
|
|
|
</image>
|
|
|
|
|
<image class="u-page__item__slot-icon" slot="inactive-icon"
|
|
|
|
|
src="@/static/images/contimg/icon-0-0.png"></image>
|
|
|
|
|
</u-tabbar-item>
|
|
|
|
|
<u-tabbar-item text="同人同诉" name="同人同诉-2">
|
|
|
|
|
<u-tabbar-item text="同人同诉" name="同人同诉-2" :badge="msgTypecount[1].count">
|
|
|
|
|
<image class="u-page__item__slot-icon" slot="active-icon" src="@/static/images/contimg/icon-3.png">
|
|
|
|
|
</image>
|
|
|
|
|
<image class="u-page__item__slot-icon" slot="inactive-icon"
|
|
|
|
|
src="@/static/images/contimg/icon-0-3.png"></image>
|
|
|
|
|
</u-tabbar-item>
|
|
|
|
|
<u-tabbar-item text="紧急事件" name="紧急事件-3">
|
|
|
|
|
<u-tabbar-item text="紧急事件" name="紧急事件-3" :badge="msgTypecount[2].count">
|
|
|
|
|
<image class="u-page__item__slot-icon" slot="active-icon" src="@/static/images/contimg/icon-1.png">
|
|
|
|
|
</image>
|
|
|
|
|
<image class="u-page__item__slot-icon" slot="inactive-icon"
|
|
|
|
|
src="@/static/images/contimg/icon-0-1.png"></image>
|
|
|
|
|
</u-tabbar-item>
|
|
|
|
|
|
|
|
|
|
<u-tabbar-item text="重点人员" name="重点人员-4">
|
|
|
|
|
<u-tabbar-item text="重点人员" name="重点人员-4" :badge="msgTypecount[3].count">
|
|
|
|
|
<image class="u-page__item__slot-icon" slot="active-icon" src="@/static/images/contimg/icon-4.png">
|
|
|
|
|
</image>
|
|
|
|
|
<image class="u-page__item__slot-icon" slot="inactive-icon"
|
|
|
|
|
src="@/static/images/contimg/icon-0-4.png"></image>
|
|
|
|
|
</u-tabbar-item>
|
|
|
|
|
<u-tabbar-item text="一人多诉" name="一人多诉-5">
|
|
|
|
|
<u-tabbar-item text="一人多诉" name="一人多诉-5" :badge="msgTypecount[4].count">
|
|
|
|
|
<image class="u-page__item__slot-icon" slot="active-icon" src="@/static/images/contimg/icon-2.png">
|
|
|
|
|
</image>
|
|
|
|
|
<image class="u-page__item__slot-icon" slot="inactive-icon"
|
|
|
|
@ -93,7 +93,8 @@
|
|
|
|
|
<script>
|
|
|
|
|
import {
|
|
|
|
|
massEventsList,
|
|
|
|
|
eventPageCount
|
|
|
|
|
eventPageCount,
|
|
|
|
|
fiveEventCount
|
|
|
|
|
} from '@/api/system/ApiList.js'
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
@ -127,7 +128,8 @@
|
|
|
|
|
title: ""
|
|
|
|
|
},
|
|
|
|
|
pagesLogin: "",
|
|
|
|
|
contentList: []
|
|
|
|
|
contentList: [],
|
|
|
|
|
msgTypecount: [{count:0},{count:0},{count:0},{count:0},{count:0},]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
@ -220,9 +222,20 @@
|
|
|
|
|
},
|
|
|
|
|
// 获取待审核数量
|
|
|
|
|
geteventPageCount() {
|
|
|
|
|
eventPageCount({msgType:this.massEventsObj.msgType}).then(res=>{
|
|
|
|
|
eventPageCount({
|
|
|
|
|
msgType: this.massEventsObj.msgType
|
|
|
|
|
}).then(res => {
|
|
|
|
|
console.log(res);
|
|
|
|
|
this.list1[0].badge.value = res.data
|
|
|
|
|
})
|
|
|
|
|
fiveEventCount().then(res => {
|
|
|
|
|
this.msgTypecount = res.data
|
|
|
|
|
this.msgTypecount = this.msgTypecount.sort((a, b) => {
|
|
|
|
|
return a.msgType - b.msgType;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|