123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751 |
- // 本地模拟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
- }
|