diff --git a/god-ui/public/images/mapIcon/car.png b/god-ui/public/images/mapIcon/car.png new file mode 100644 index 00000000..0df8be5c Binary files /dev/null and b/god-ui/public/images/mapIcon/car.png differ diff --git a/god-ui/public/images/mapIcon/error.png b/god-ui/public/images/mapIcon/error.png new file mode 100644 index 00000000..bdcb1473 Binary files /dev/null and b/god-ui/public/images/mapIcon/error.png differ diff --git a/god-ui/public/images/mapIcon/monitor.png b/god-ui/public/images/mapIcon/monitor.png new file mode 100644 index 00000000..4c499eef Binary files /dev/null and b/god-ui/public/images/mapIcon/monitor.png differ diff --git a/god-ui/public/images/mapIcon/phone.png b/god-ui/public/images/mapIcon/phone.png new file mode 100644 index 00000000..bb543f20 Binary files /dev/null and b/god-ui/public/images/mapIcon/phone.png differ diff --git a/god-ui/public/images/mapIcon/road.png b/god-ui/public/images/mapIcon/road.png new file mode 100644 index 00000000..6df26899 Binary files /dev/null and b/god-ui/public/images/mapIcon/road.png differ diff --git a/god-ui/public/images/mapIcon/track.png b/god-ui/public/images/mapIcon/track.png new file mode 100644 index 00000000..09a15ee8 Binary files /dev/null and b/god-ui/public/images/mapIcon/track.png differ diff --git a/god-ui/src/views/imageResource/data.js b/god-ui/src/views/imageResource/data.js new file mode 100644 index 00000000..d2f34255 --- /dev/null +++ b/god-ui/src/views/imageResource/data.js @@ -0,0 +1,114 @@ +export const dataList = [ + { + id: '1', + type: 'monitor', + name: '视频监控点', + online: true, + position: [106.51685063838954, 29.549996433530573], + }, + { + id: '2', + type: 'monitor', + name: '视频监控点', + online: true, + position: [106.5020019292831, 29.56104644463005], + }, + { + id: '3', + type: 'monitor', + name: '视频监控点', + online: true, + position: [106.42818753719325, 29.53058132616194], + }, + { + id: '4', + type: 'monitor', + name: '视频监控点', + online: true, + position: [106.502345252037, 29.53207492831776], + }, + { + id: '5', + type: 'monitor', + name: '视频监控点', + online: true, + position: [106.52054135799403, 29.604935898075833], + }, + // ----------------危险运输车辆--------------------- + { + id: '6', + type: 'car', + name: '危险运输车辆', + online: true, + position: [106.46732633113857, 29.530880048357652], + }, + { + id: '7', + type: 'car', + name: '危险运输车辆', + online: true, + position: [106.4748794317245, 29.648806258349282], + }, + { + id: '8', + type: 'car', + name: '危险运输车辆', + online: true, + position: [106.425440955162, 29.624933602158773], + }, + // ----------------应急人员手机--------------------- + { + id: '9', + type: 'phone', + name: '应急人员手机', + phone: '15832469588', + online: true, + position: [106.61083524227138, 29.572991044188402], + }, + { + id: '10', + type: 'phone', + name: '应急人员手机', + phone: '15022564484', + online: true, + position: [106.51539151668544, 29.630902296713813], + }, + { + id: '11', + type: 'phone', + name: '应急人员手机', + phone: '15845441514', + online: true, + position: [106.41857450008388, 29.669093565747513], + }, + { + id: '12', + type: 'phone', + name: '应急人员手机', + phone: '17845448475', + online: false, + position: [106.42956082820888, 29.522216747672], + }, + // --------------应急指挥车----------------------- + { + id: '13', + type: 'track', + name: '应急指挥车', + online: true, + position: [106.49410550594325, 29.526697856167267], + }, + { + id: '14', + type: 'track', + name: '应急指挥车', + online: true, + position: [106.45565335750575, 29.46244964301153], + }, + { + id: '16', + type: 'track', + name: '应急指挥车', + online: false, + position: [106.41102139949794, 29.4633464099924], + }, +] \ No newline at end of file diff --git a/god-ui/src/views/imageResource/index.vue b/god-ui/src/views/imageResource/index.vue new file mode 100644 index 00000000..7b08a5b4 --- /dev/null +++ b/god-ui/src/views/imageResource/index.vue @@ -0,0 +1,227 @@ + + + diff --git a/god-ui/src/views/sudden/data.js b/god-ui/src/views/sudden/data.js new file mode 100644 index 00000000..e58f77bc --- /dev/null +++ b/god-ui/src/views/sudden/data.js @@ -0,0 +1,60 @@ +import { formatDate } from '@/utils/index' + +export const dataList = [ + { + id: '1', + timeStamp: new Date().valueOf() - 100, + time: formatDate(new Date().valueOf() - 100), + position: [106.41385381221767, 29.56672030501069], + location: '未知地点', + info: '出现突发事件,请及时处理' + }, + { + id: '2', + timeStamp: new Date().valueOf() - 60 * 1000 * 60 * 7, + time: formatDate(new Date().valueOf() - 60 * 1000 * 60 * 7), + position: [106.45711247920985, 29.527892786699596], + location: '未知地点', + info: '出现突发事件,请及时处理' + }, + { + id: '3', + timeStamp: new Date().valueOf() - 60 * 1000 * 60 * 25, + time: formatDate(new Date().valueOf() - 60 * 1000 * 60 * 25), + position: [106.42621343001724, 29.50668069012108], + location: '未知地点', + info: '出现突发事件,请及时处理' + }, + { + id: '4', + timeStamp: new Date().valueOf() - 60 * 1000 * 60 * 49, + time: formatDate(new Date().valueOf() - 60 * 1000 * 60 * 49), + position: [106.46843913808465, 29.5644299141877], + location: '重庆大学', + info: '出现突发事件,请及时处理' + }, + { + id: '5', + timeStamp: new Date().valueOf() - 60 * 1000 * 60 * 79, + time: formatDate(new Date().valueOf() - 60 * 1000 * 60 * 79), + position: [106.41634001210332, 29.52937152958798], + location: '重庆中医院', + info: '出现突发事件,请及时处理' + }, + { + id: '6', + timeStamp: new Date().valueOf() - 60 * 1000 * 60 * 71, + time: formatDate(new Date().valueOf() - 60 * 1000 * 60 * 71), + position: [106.47633566334844, 29.470897658110307], + location: '新山村', + info: '出现突发事件,请及时处理' + }, + { + id: '7', + timeStamp: new Date().valueOf() - 60 * 1000 * 60 * 70, + time: formatDate(new Date().valueOf() - 60 * 1000 * 60 * 70), + position: [106.53264059364795, 29.54790951985214], + location: '佛图关', + info: '出现突发事件,请及时处理' + }, +] \ No newline at end of file diff --git a/god-ui/src/views/sudden/index.vue b/god-ui/src/views/sudden/index.vue new file mode 100644 index 00000000..70ebb7b7 --- /dev/null +++ b/god-ui/src/views/sudden/index.vue @@ -0,0 +1,246 @@ + + +