重点工程摄像头点位显示是否在线
parent
056609e018
commit
4562798120
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
|
@ -1812,6 +1812,14 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
point.infoname = varList[i].NAME
|
point.infoname = varList[i].NAME
|
||||||
}
|
}
|
||||||
|
// 摄像头是否在线
|
||||||
|
if (point.icon_type.indexOf('6_1') > -1) {
|
||||||
|
if (varList[i].ONLINE_STATUS === '0') {
|
||||||
|
point.icon_type = point.icon_type + '_online'
|
||||||
|
} else {
|
||||||
|
point.icon_type = point.icon_type + '_offline'
|
||||||
|
}
|
||||||
|
}
|
||||||
points.push(point)
|
points.push(point)
|
||||||
}
|
}
|
||||||
if (this.gangkouActive === '00004' && urlType === 'carPosition') {
|
if (this.gangkouActive === '00004' && urlType === 'carPosition') {
|
||||||
|
|
|
@ -43,6 +43,9 @@ const img5_0 = require('../../../assets/map/gangkou_index/point/ico26.png')
|
||||||
|
|
||||||
const img6_0 = require('../../../assets/map/gangkou_index/point/ico30.png')
|
const img6_0 = require('../../../assets/map/gangkou_index/point/ico30.png')
|
||||||
const img6_1 = require('../../../assets/map/gangkou_index/point/ico31.png')
|
const img6_1 = require('../../../assets/map/gangkou_index/point/ico31.png')
|
||||||
|
const img6_1_online = require('../../../assets/map/gangkou_index/point/ico31_online.png')
|
||||||
|
const img6_1_offline = require('../../../assets/map/gangkou_index/point/ico31_offline.png')
|
||||||
|
|
||||||
|
|
||||||
const img7_0 = require('../../../assets/map/gangkou_index/point/ico26.png')
|
const img7_0 = require('../../../assets/map/gangkou_index/point/ico26.png')
|
||||||
|
|
||||||
|
@ -61,7 +64,8 @@ const imgMap = {
|
||||||
img6_0, img6_1,
|
img6_0, img6_1,
|
||||||
img7_0,
|
img7_0,
|
||||||
img8_0, img8_1, img8_2, img8_3,
|
img8_0, img8_1, img8_2, img8_3,
|
||||||
cfd_img1_0, cfd_img1_0_1, cfd_img1_0_2, cfd_img1_0_3
|
cfd_img1_0, cfd_img1_0_1, cfd_img1_0_2, cfd_img1_0_3,
|
||||||
|
img6_1_online, img6_1_offline
|
||||||
}
|
}
|
||||||
export { imgMap }
|
export { imgMap }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue