fix:修改地图标识颜色
This commit is contained in:
@@ -207,13 +207,7 @@
|
|||||||
type: 'input',
|
type: 'input',
|
||||||
label: 'alertName',
|
label: 'alertName',
|
||||||
disabled: false
|
disabled: false
|
||||||
}, {
|
}, {
|
||||||
id: 3,
|
|
||||||
name: this.$t('alert.list.type'),
|
|
||||||
type: 'select',
|
|
||||||
label: 'alertType',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
|
||||||
id: 4,
|
id: 4,
|
||||||
name: this.$t('alert.severity'),
|
name: this.$t('alert.severity'),
|
||||||
type: 'selectString',
|
type: 'selectString',
|
||||||
|
|||||||
@@ -794,7 +794,7 @@
|
|||||||
|
|
||||||
let hasAlert=dcStat.alertP1!=0||dcStat.alertP2!=0||dcStat.alertP3!=0||dcStat.assetPingDown!=0||dcStat.endpointDown!=0||dcStat.promDown!=0;
|
let hasAlert=dcStat.alertP1!=0||dcStat.alertP2!=0||dcStat.alertP3!=0||dcStat.assetPingDown!=0||dcStat.endpointDown!=0||dcStat.promDown!=0;
|
||||||
|
|
||||||
let marker=L.circleMarker([areaInfo.latitude,areaInfo.longitude], {color: hasAlert?'#DE5D3F':'orange',opacity:0.42,fillColor: hasAlert?'#DE5D3F':'orange',fillOpacity: 0.5, radius: symbolSize,className:hasAlert?'error-item':''})
|
let marker=L.circleMarker([areaInfo.latitude,areaInfo.longitude], {color: hasAlert?'#DE5D3F':'#23BF9A',opacity:0.42,fillColor: hasAlert?'#DE5D3F':'#23BF9A',fillOpacity: 0.5, radius: symbolSize,className:hasAlert?'error-item':''})
|
||||||
marker.bindTooltip(this.mapTooltipFormatter(dcStat),{sticky:true})
|
marker.bindTooltip(this.mapTooltipFormatter(dcStat),{sticky:true})
|
||||||
marker.addTo(this.map)
|
marker.addTo(this.map)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user