|
@@ -89,7 +89,7 @@
|
|
|
v-for="(item,index) in resourcesCountList" v-on:click="selectResourcesByLabel(item.type, searchName)">
|
|
|
<!--v-on:click="selectResourcesByLabel(item.label)">-->
|
|
|
<!--v-on:click="indentleftSetMarkers(item.resourceTable)">-->
|
|
|
- <div class="iconfont icon icon-normal" :class="item.icon"></div>
|
|
|
+ <div class="iconfont icon icon-normal" :class="item.icon" :style="'background:' + item.bg"></div>
|
|
|
<div class="icon-text">
|
|
|
<h6>{{ item.num }}</h6>
|
|
|
<!--<h6>{{ item.count }}</h6>-->
|
|
@@ -458,6 +458,7 @@
|
|
|
import TVWall from '@/components/TVWall.vue' //电视墙弹窗
|
|
|
import eventdetailsdialog from '@/views/eventdetailsdialog.vue' //事件详情弹窗
|
|
|
import firespread from '@/views/firespread.vue' //事件详情弹窗
|
|
|
+ import {getIconBg} from '@/api/components/sookaMapIcon';//资源底色控制文件
|
|
|
import Firespread from "./firespread";
|
|
|
import chart from "./from/dvCapsuleChart.vue";
|
|
|
import {
|
|
@@ -614,6 +615,7 @@
|
|
|
this.resourcesCountList.forEach(function(data, index) {
|
|
|
let icon = 'sj' + '-' + 'icon' + '-' + data.type.replaceAll("_", "-").replaceAll("@", "-");
|
|
|
that.$set(that.resourcesCountList[index], 'icon', icon);
|
|
|
+ that.$set(that.resourcesCountList[index], 'bg', getIconBg(icon));
|
|
|
})
|
|
|
//数据自动落点开始
|
|
|
let maxCount = 100; //落点数超过这个数的资源不落点
|