123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238 |
- // 本地模拟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'
- }]
- // 本地模拟json数据
- let siteListData = [{
- "id": 1,
- "siteName": '测试站点一',
- },
- {
- "id": 2,
- "siteName": '测试站点二'
- },
- {
- "id": 3,
- "siteName": '测试站点三'
- },
- {
- "id": 4,
- "siteName": '测试站点四',
- "iconUrl": "../../static/site-icon-alarm.png",
- },
- {
- "id": 5,
- "siteName": '测试站点五'
- },
- {
- "id": 3,
- "siteName": '测试站点三'
- },
- {
- "id": 3,
- "siteName": '测试站点三'
- },
- {
- "id": 3,
- "siteName": '测试站点三'
- },
- {
- "id": 3,
- "siteName": '测试站点三'
- },
- {
- "id": 3,
- "siteName": '测试站点三'
- },
- {
- "id": 3,
- "siteName": '测试站点三'
- },
- {
- "id": 3,
- "siteName": '测试站点三'
- },
- ];
- 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"
- }
- ];
- // 定义数据出口
- module.exports = {
- siteListData: siteListData,
- cuIconList: cuIconList,
- unprocessList: unprocessList,
- processedList: processedList,
- alarmingSquareList: alarmingSquareList,
- deviceOffLineData: deviceOffLineData
- }
|