|
@@ -77,7 +77,7 @@
|
|
|
</div>
|
|
|
<div class="i-list-con h-73">
|
|
|
<div class="d-l-con-icon">
|
|
|
- <div class="icon-con w-33 flex-d t-a-center" v-for="(item,index) in todayEventCountList"
|
|
|
+ <div class="icon-con w-33 flex-d t-a-center" :class="{on:iconCurrentIndex1==item.eventStatus}" v-for="(item,index) in todayEventCountList"
|
|
|
v-on:click="todayEventCountSetMarkers(item.eventStatus)">
|
|
|
<div class="icon iconfont icon-mid" :class="item.icon"></div>
|
|
|
<div class="icon-text">
|
|
@@ -85,7 +85,7 @@
|
|
|
<h6 class="m-r-none">{{item.count}}</h6>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="icon-con w-33 flex-d t-a-center" v-for="(item,index) in todayEventSourcetList"
|
|
|
+ <div class="icon-con w-33 flex-d t-a-center" :class="{on:iconCurrentIndex2==item.eventSource}" v-for="(item,index) in todayEventSourcetList"
|
|
|
v-on:click="todayEventSourcetSetMarkers(item.eventSource)">
|
|
|
<div class="icon iconfont icon-mid" :class="item.icon"></div>
|
|
|
<div class="icon-text">
|
|
@@ -99,7 +99,7 @@
|
|
|
</div>
|
|
|
<div id="event-chart" style="width: 100%;height:26.2vh;"></div>
|
|
|
<div class="h-19 overflow-y">
|
|
|
- <div class="d-l-con" v-for="(item,index) in todayEventCountDeptList"
|
|
|
+ <div class="d-l-con" :class="{on:listCurrentIndex == item.deptId}" v-for="(item,index) in todayEventCountDeptList"
|
|
|
v-on:click="todayEventByDeptIdList(item.deptId)">
|
|
|
<div class="d-l-l-text">
|
|
|
<i class="i-small"></i>
|
|
@@ -505,6 +505,9 @@
|
|
|
/** ----------------------------------weosocket结束------------------------------------- */
|
|
|
data() {
|
|
|
return {
|
|
|
+ iconCurrentIndex1:'',
|
|
|
+ iconCurrentIndex2:'',
|
|
|
+ listCurrentIndex:'',
|
|
|
showChild:false,
|
|
|
/** ----------------------------------weosocket开始------------------------------------- */
|
|
|
websock : null,
|
|
@@ -1442,6 +1445,7 @@
|
|
|
})
|
|
|
},
|
|
|
todayEventCountSetMarkers(eventStatus) {
|
|
|
+ this.iconCurrentIndex1 = eventStatus
|
|
|
if(eventStatus=="event_event_status_3"){
|
|
|
return
|
|
|
}
|
|
@@ -1513,6 +1517,7 @@
|
|
|
})
|
|
|
},
|
|
|
todayEventSourcetSetMarkers(eventSource) {
|
|
|
+ this.iconCurrentIndex2 = eventSource
|
|
|
//点击今日事件后三个按钮列表
|
|
|
let that = this
|
|
|
getEventSourceList(eventSource).then(res => {
|
|
@@ -1582,6 +1587,7 @@
|
|
|
},
|
|
|
todayEventByDeptIdList(deptId) {
|
|
|
//点击事件分类
|
|
|
+ this.listCurrentIndex = deptId
|
|
|
let that = this
|
|
|
getEventListByDeptIdList(deptId).then(res => {
|
|
|
that.eventList=[];
|