123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283 |
- // 本地模拟json数据
- // 首页九宫格
- let cuIconList = [{
- imgUrl: '../../static/square1.png',
- badge: 120,
- name: '综合报警',
- redirectUrl: '/pages/siteList/siteList?type=1'
- }, {
- imgUrl: '../../static/square2.png',
- badge: 100,
- name: '设备管理',
- redirectUrl: '/pages/siteList/siteList?type=2'
- },
- {
- imgUrl: '../../static/square-xf.png',
- badge: 0,
- name: '消防督查单',
- redirectUrl: ''
- },
- {
- imgUrl: '../../static/square-xj.png',
- badge: 0,
- badge: 0,
- name: '巡检',
- redirectUrl: ''
- },
- {
- imgUrl: '../../static/square-bx.png',
- badge: 0,
- name: '报修',
- redirectUrl: ''
- }, {
- imgUrl: '../../static/square-wb.png',
- badge: 0,
- name: '维保',
- redirectUrl: ''
- },
- {
- imgUrl: '../../static/square-sp.png',
- badge: 0,
- badge: 0,
- name: '视频监测',
- redirectUrl: ''
- },
- {
- imgUrl: '../../static/square-bz.png',
- badge: 0,
- badge: 0,
- name: '风险保障',
- redirectUrl: ''
- }, {
- imgUrl: '../../static/square-rl.png',
- badge: 0,
- name: '人脸识别',
- redirectUrl: ''
- },
- {
- imgUrl: '../../static/square-sb.png',
- badge: 0,
- name: '设备注册',
- redirectUrl: ''
- },
- {
- imgUrl: '../../static/square-yh.png',
- badge: 0,
- name: '用户管理',
- redirectUrl: ''
- }
- ];
- //综合报警九宫格
- let alarmingSquareList = [{
- imgUrl: '../../static/alarming-zj.png',
- badge: 100,
- name: '报警主机',
- }, {
- imgUrl: '../../static/alarming-water.png',
- badge: 0,
- name: '水系统',
- },
- {
- imgUrl: '../../static/alarming-ck.png',
- badge: 0,
- name: '测控终端',
- },
- {
- imgUrl: '../../static/alarming-dq.png',
- badge: 0,
- name: '电气火灾',
- },
- {
- imgUrl: '../../static/alarming-sp.png',
- badge: 0,
- name: '视频告警',
- },
- {
- imgUrl: '../../static/alarming-dt.png',
- badge: 0,
- name: '电梯报警',
- },
- {
- imgUrl: '../../static/alarming-mc.png',
- badge: 0,
- name: '门磁',
- },
- {
- imgUrl: '../../static/alarming-kr.png',
- badge: 0,
- name: '可燃气体',
- },
- {
- imgUrl: '../../static/alarming-jg.png',
- badge: 0,
- name: '井盖监测',
- },
- {
- imgUrl: '../../static/alarming-xf.png',
- badge: 0,
- name: '消防栓监测',
- }
- ];
- // 离线设备
- let deviceOffLineData = [{
- title: '测试用传装置',
- subTitle: '三楼茶水间',
- status: '未处理',
- time: '2020-01-08 15:15:12'
- }, {
- title: '测试用传装置',
- subTitle: '三楼茶水间',
- status: '未处理',
- time: '2020-01-08 15:15:12'
- }, {
- title: '测试用传装置',
- subTitle: '三楼茶水间',
- status: '未处理',
- time: '2020-01-08 15:15:12'
- }]
- let unprocessList = [{
- "id": "561",
- "title": "烟雾拆卸报警",
- "des": "三楼赛特威尔测试烟感二",
- "time": "2021-01-20 15:23:43"
- },
- {
- "id": "561",
- "title": "烟雾拆卸报警",
- "des": "三楼赛特威尔测试烟感二",
- "time": "2021-01-20 15:23:43"
- },
- {
- "id": "561",
- "title": "烟雾拆卸报警",
- "des": "三楼赛特威尔测试烟感二",
- "time": "2021-01-20 15:23:43"
- }
- ];
- let processedList = [{
- "id": "561",
- "title": "烟雾拆卸报警",
- "des": "三楼赛特威尔测试烟感二",
- "time": "2021-01-20 15:23:43"
- },
- {
- "id": "561",
- "title": "烟雾拆卸报警",
- "des": "三楼赛特威尔测试烟感二",
- "time": "2021-01-20 15:23:43"
- }
- ];
- // 设备类型
- let deviceType = [{
- "id": "1",
- "title": "火警",
- "num": "3",
- "imgUrl": "/static/square-video.png"
- },
- {
- "id": "2",
- "title": "水警",
- "num": "4",
- "imgUrl": "/static/square-dl.png"
- },
- {
- "id": "3",
- "title": "电气火灾",
- "num": "4",
- "imgUrl": "/static/square-dl.png"
- },
- {
- "id": "4",
- "title": "RTU",
- "num": "4",
- "imgUrl": "/static/square-dl.png"
- },
- {
- "id": "5",
- "title": "烟感",
- "num": "4",
- "imgUrl": "/static/square-dl.png"
- },
- {
- "id": "6",
- "title": "视频",
- "num": "4",
- "imgUrl": "/static/square-dl.png"
- },
- {
- "id": "6",
- "title": "电梯",
- "num": "4",
- "imgUrl": "/static/square-dl.png"
- },
- {
- "id": "7",
- "title": "井盖",
- "num": "4",
- "imgUrl": "/static/square-dl.png"
- },
- {
- "id": "8",
- "title": "消防栓",
- "num": "4",
- "imgUrl": "/static/square-dl.png"
- },
- ];
- //设备管理
- let deviceManage = [{
- "id": "561",
- "title": "测试用传装置",
- "des": "三楼茶水间",
- "time": "2021-01-20 15:23:43",
- "status":0
- },
- {
- "id": "561",
- "title": "测试用传装置",
- "des": "三楼茶水间",
- "time": "2021-01-20 15:23:43",
- "status":1
- },
- {
- "id": "561",
- "title": "测试用传装置",
- "des": "三楼茶水间",
- "time": "2021-01-20 15:23:43",
- "status":2
- }
- ];
- // 消防督查单
- let inspectList = [{
- "id": "1",
- "title": "人工督查单",
- "num": "3",
- "imgUrl": "/static/square-video.png"
- },
- {
- "id": "2",
- "title": "电子督查单",
- "num": "4",
- "imgUrl": "/static/square-dl.png"
- }
-
- ];
- // 定义数据出口
- module.exports = {
-
- cuIconList: cuIconList,
- unprocessList: unprocessList,
- processedList: processedList,
- alarmingSquareList: alarmingSquareList,
- deviceOffLineData: deviceOffLineData,
- deviceType: deviceType,
- deviceManage:deviceManage,
- inspectList:inspectList
-
- }
|