// 本地模拟json数据 // 首页九宫格 let cuIconList=[{ // imgUrl: '../../static/square1.png', imgUrl:'../../static/square1.png', badge: 120, name: '综合报警', redirectUrl: '/pages/siteList/siteList?type=1' }, { imgUrl: '../../static/square2.png', badge: 0, 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 staticData = { "msg": "\u64cd\u4f5c\u6210\u529f", "flag": true, "companyCode": "1,2,3,4,5,6,7,8,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39", "data": [{ "statisticalPeriod": "2021-03-16~2021-04-16", "smartElectricityCount": "178", "videoMonitoringCount": "12456", "alarmCount": 12627, "eventCount": 2, "hiddenDangerCount": 4, "offlineCount": 20, "faultCount": 30, "earlyWarningCount": 100, "otherCount": 99, "normalCount": 66, "integratedAlarmCount": 12627, "unprocessedCount": 0 }] } //综合报警九宫格 let alarmingSquareList = [{ imgUrl: '../../static/alarming-zj.png', badge: 100, name: '报警主机', type:1 }, { imgUrl: '../../static/alarming-water.png', badge: 0, name: '水系统', type:2 }, { imgUrl: '../../static/alarming-ck.png', badge: 0, name: '测控终端', type:6 }, { imgUrl: '../../static/alarming-dq.png', badge: 0, name: '电气火灾', type:7 }, { imgUrl: '../../static/alarming-sp.png', badge: 0, name: '视频告警', type:16 }, { imgUrl: '../../static/alarming-dt.png', badge: 0, name: '电梯报警', type:17 }, { imgUrl: '../../static/alarming-mc.png', badge: 0, name: '门磁', type:130 }, { imgUrl: '../../static/alarming-kr.png', badge: 0, name: '可燃气体', type:131 }, { imgUrl: '../../static/alarming-jg.png', badge: 0, name: '井盖监测', type:128 }, { imgUrl: '../../static/alarming-xf.png', badge: 0, name: '消防栓监测', type:4 } ]; // 离线设备 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/dt-alarmIcon.png", "dwtype":1 }, { "id": "2", "title": "水警", "num": "4", "imgUrl": "../../static/dt-waterIcon.png", "dwtype":2 }, { "id": "3", "title": "电气火灾", "num": "4", "imgUrl": "../../static/dt-dqIcon.png", // "imgUrl": "https://s.yxin.tech/static/dt-dqIcon.png", "dwtype":7 }, { "id": "4", "title": "RTU", "num": "4", "imgUrl": "../../static/dt-rtuIcon.png", "dwtype":6 }, { "id": "5", "title": "烟感", "num": "4", "imgUrl": "../../static/dt-ygIcon.png", "dwtype":3 }, { "id": "6", "title": "视频", "num": "4", "imgUrl": "../../static/dt-videoIcon.png", "dwtype":16 }, { "id": "7", "title": "电梯", "num": "4", "imgUrl": "../../static/dt.png", "dwtype":17 }, { "id": "8", "title": "井盖", "num": "4", "imgUrl": "../../static/dt-jgIcon.png", "dwtype":128 }, { "id": "9", "title": "消防栓", "num": "4", "imgUrl": "../../static/dt-xfsIcon.png", "dwtype":4 }, { "id": "10", "title": "液位设备", "num": "4", "imgUrl": "../../static/dt-ywIcon.png", "dwtype":5 }, // { // "id": "11", // "title": "地磁设备", // "num": "4", // "imgUrl": "/static/dt-dcIcon.png", // "dwtype":129 // }, // { // "id": "12", // "title": "门禁设备", // "num": "4", // "imgUrl": "/static/dt-mjIcon.png", // "dwtype":130 // }, // { // "id": "13", // "title": "天然气体设备", // "num": "4", // "imgUrl": "/static/dt-trIcon.png", // "dwtype":131 // }, ]; //设备管理 let deviceManage = [{ "id": "1", "title": "测试用传装置1", "des": "三楼茶水间", "time": "2021-01-20 15:23:43", "status": 0 }, { "id": "2", "title": "测试用传装置2", "des": "三楼茶水间", "time": "2021-01-20 15:23:43", "status": 0 }, { "id": "3", "title": "测试用传装置3", "des": "三楼茶水间", "time": "2021-01-20 15:23:43", "status": 0 }, { "id": "4", "title": "测试用传装置4", "des": "三楼茶水间", "time": "2021-01-20 15:23:43", "status": 0 }, { "id": "5", "title": "测试用传装置5", "des": "三楼茶水间", "time": "2021-01-20 15:23:43", "status": 0 }, { "id": "6", "title": "测试用传装置6", "des": "三楼茶水间", "time": "2021-01-20 15:23:43", "status": 0 }, { "id": "7", "title": "测试用传装置7", "des": "三楼茶水间", "time": "2021-01-20 15:23:43", "status": 1 }, { "id": "8", "title": "测试用传装置8", "des": "三楼茶水间", "time": "2021-01-20 15:23:43", "status": 2 } ]; // 消防督查单 let inspectList = [{ "id": "1", "title": "人工督查单", "num": "3", "imgUrl": "/static/rg-icon.png", "type":1 }, { "id": "2", "title": "电子督查单", "num": "4", "imgUrl": "/static/dz-icon.png", "type":2 } ]; let inspectUnprocessList = [{ "id": "561", "title": "[2020]HP第DZ4104号人工督查单", "des": "事件未处理测试", "time": "2020-01-08 15:15:12" }, { "id": "561", "title": "[2020]HP第DZ4104号人工督查单", "des": "事件未处理测试", "time": "2020-01-08 15:15:12" }, { "id": "561", "title": "[2020]HP第DZ4104号人工督查单", "des": "事件未处理测试", "time": "2020-01-08 15:15:12" } ]; let inspectProcessedList = [{ "id": "561", "title": "[2020]HP第DZ4104号人工督查单", "des": "事件未处理测试", "time": "2020-01-08 15:15:12" }, { "id": "561", "title": "[2020]HP第DZ4104号人工督查单", "des": "事件未处理测试", "time": "2020-01-08 15:15:12" }, { "id": "561", "title": "[2020]HP第DZ4104号人工督查单", "des": "事件未处理测试", "time": "2020-01-08 15:15:12" } ]; // 巡检 let xunJianList = [{ "id": "1", "title": "巡检计划", "num": "3", "imgUrl": "/static/xunJian-icon1.png" }, { "id": "2", "title": "巡检记录", "num": "4", "imgUrl": "/static/xunJian-icon2.png" } ]; let xunJianRecord = [{ "id": "561", "title": "计划:巡检计划1", "des": "点位:巡检点位01", "time": "2021-01-20 15:23:43", "status": 0 }, { "id": "561", "title": "计划:巡检计划1", "des": "点位:巡检点位01", "time": "2021-01-20 15:23:43", "status": 1 }, { "id": "561", "title": "计划:巡检计划1", "des": "点位:巡检点位01", "time": "2021-01-20 15:23:43", "status": 1 } ]; let xunJianPlan = [{ "id": "561", "title": "虹泾总部园巡检点位1", "status": 0 }, { "id": "561", "title": "虹泾总部园巡检点位2", "status": 0 }, { "id": "561", "title": "虹泾总部园巡检点位3", "status": 1 } ]; //报修 let repair = [{ "id": "561", "title": "dfmz巡检报修", "imgUrl": "/static/repair1.png", "subTitle": "类型:故障", "status": 0 }, { "id": "561", "title": "dfmz巡检报修", "imgUrl": "/static/repair2.png", "subTitle": "类型:故障", "status": 1 }, { "id": "561", "title": "dfmz巡检报修", "imgUrl": "/static/repair3.png", "subTitle": "类型:故障", "status": 2 }, { "id": "561", "title": "dfmz巡检报修", "imgUrl": "/static/repair4.png", "subTitle": "类型:故障", "status": 3 }, { "id": "561", "title": "dfmz巡检报修", "imgUrl": "/static/repair5.png", "subTitle": "类型:故障", "status": 4 } ]; let repairSquare = [{ "id": "561", "title": "报修总数", "num": "5", "color": "#7992F9", "cl_type":0 }, { "id": "561", "title": "未处理", "num": "1", "color": "#FDCA60", "cl_type":1 }, { "id": "561", "title": "未审核", "num": "1", "color": "#59D1EA", "cl_type":2 }, { "id": "561", "title": "未通过", "num": "1", "color": "#F77070", "cl_type":3 }, { "id": "561", "title": "已完成", "num": "1", "color": "#72D06A", "cl_type":4 }, { "id": "561", "title": "超时完成", "num": "1", "color": "#F7895E", "cl_type":5 } ]; // 维保 let weiBaoList = [{ "id": "1", "title": "维保计划", "num": "3", "imgUrl": "/static/weiBao-icon1.png" }, { "id": "2", "title": "维保记录", "num": "4", "imgUrl": "/static/weiBao-icon2.png" } ]; let weiBaoRecord = [{ "id": "561", "title": "计划:维保计划1", "des": "点位:维保点位01", "time": "2021-01-20 15:23:43", "status": 0 }, { "id": "561", "title": "计划:维保计划1", "des": "点位:维保点位01", "time": "2021-01-20 15:23:43", "status": 1 }, { "id": "561", "title": "计划:维保计划1", "des": "点位:维保点位01", "time": "2021-01-20 15:23:43", "status": 1 } ]; let weiBaoPlan = [{ "id": "561", "title": "虹泾总部园维保点位1", "status": 0 }, { "id": "561", "title": "虹泾总部园维保点位2", "status": 0 }, { "id": "561", "title": "虹泾总部园维保点位3", "status": 1 } ]; //功能报备 let funcReport = [{ "id": "1", "title": "报备内容:测试用传装置1", "des": "备注:三楼茶水间", "time": "2021-01-20 15:23:43", "status": 0 }, { "id": "2", "title": "报备内容:测试用传装置2", "des": "备注:三楼茶水间", "time": "2021-01-20 15:23:43", "status": 0 }, { "id": "3", "title": "报备内容:测试用传装置3", "des": "备注:三楼茶水间", "time": "2021-01-20 15:23:43", "status": 0 }, { "id": "4", "title": "报备内容:测试用传装置4", "des": "备注:三楼茶水间", "time": "2021-01-20 15:23:43", "status": 0 }, { "id": "5", "title": "报备内容:测试用传装置5", "des": "备注:三楼茶水间", "time": "2021-01-20 15:23:43", "status": 0 }, { "id": "6", "title": "报备内容:测试用传装置6", "des": "备注:三楼茶水间", "time": "2021-01-20 15:23:43", "status": 0 }, { "id": "7", "title": "报备内容:测试用传装置7", "des": "备注:三楼茶水间", "time": "2021-01-20 15:23:43", "status": 1 }, { "id": "8", "title": "报备内容:测试用传装置8", "des": "备注:三楼茶水间", "time": "2021-01-20 15:23:43", "status": 2 }, { "id": "3", "title": "报备内容:测试用传装置3", "des": "备注:三楼茶水间", "time": "2021-01-20 15:23:43", "status": 0 }, { "id": "4", "title": "报备内容:测试用传装置4", "des": "备注:三楼茶水间", "time": "2021-01-20 15:23:43", "status": 0 }, { "id": "5", "title": "报备内容:测试用传装置5", "des": "备注:三楼茶水间", "time": "2021-01-20 15:23:43", "status": 0 }, { "id": "6", "title": "报备内容:测试用传装置6", "des": "备注:三楼茶水间", "time": "2021-01-20 15:23:43", "status": 0 }, { "id": "7", "title": "报备内容:测试用传装置7", "des": "备注:三楼茶水间", "time": "2021-01-20 15:23:43", "status": 1 }, { "id": "8", "title": "报备内容:测试用传装置8", "des": "备注:三楼茶水间", "time": "2021-01-20 15:23:43", "status": 2 } ]; // 定义数据出口 module.exports = { staticData: staticData, cuIconList: cuIconList, unprocessList: unprocessList, processedList: processedList, alarmingSquareList: alarmingSquareList, deviceOffLineData: deviceOffLineData, deviceType: deviceType, deviceManage: deviceManage, inspectList: inspectList, inspectUnprocessList: inspectUnprocessList, inspectProcessedList: inspectProcessedList, xunJianList: xunJianList, xunJianRecord: xunJianRecord, xunJianPlan: xunJianPlan, repair: repair, repairSquare: repairSquare, weiBaoList: weiBaoList, weiBaoRecord: weiBaoRecord, weiBaoPlan: weiBaoPlan, funcReport:funcReport }