|
@@ -1303,6 +1303,19 @@
|
|
|
//今日事件
|
|
|
that.todayEventCountList = res.data.eventcountStatus
|
|
|
that.todayEventSourcetList = res.data.eventcountSource
|
|
|
+ //插入图标
|
|
|
+ res.data.eventcountStatus.forEach(function(data, index) {
|
|
|
+ that.$set(that.todayEventCountList[0], 'icon', 'sj-icon-wcl');
|
|
|
+ that.$set(that.todayEventCountList[1], 'icon', 'sj-icon-clz');
|
|
|
+ that.$set(that.todayEventCountList[2], 'icon', 'sj-icon-ywc');
|
|
|
+
|
|
|
+ });
|
|
|
+ res.data.eventcountSource.forEach(function(data, index) {
|
|
|
+ that.$set(that.todayEventSourcetList[0], 'icon', 'sj-icon-rg');
|
|
|
+ that.$set(that.todayEventSourcetList[1], 'icon', 'sj-icon-hx');
|
|
|
+ that.$set(that.todayEventSourcetList[2], 'icon', 'sj-icon-kk');
|
|
|
+
|
|
|
+ });
|
|
|
// 事件分布
|
|
|
that.todayEventCountDeptList = res.data.eventcountDept
|
|
|
// 事件分类
|