|
@@ -67,30 +67,30 @@ let cuIconList = [{
|
|
|
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 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',
|
|
@@ -207,74 +207,74 @@ let deviceType = [{
|
|
|
"title": "水警",
|
|
|
"num": "4",
|
|
|
"imgUrl": "/static/dt-waterIcon.png"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "3",
|
|
|
- "title": "电气火灾",
|
|
|
- "num": "4",
|
|
|
- "imgUrl": "/static/dt-dqIcon.png"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "4",
|
|
|
- "title": "RTU",
|
|
|
- "num": "4",
|
|
|
- "imgUrl": "/static/dt-rtuIcon.png"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "5",
|
|
|
- "title": "烟感",
|
|
|
- "num": "4",
|
|
|
- "imgUrl": "/static/dt-ygIcon.png"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "6",
|
|
|
- "title": "视频",
|
|
|
- "num": "4",
|
|
|
- "imgUrl": "/static/dt-videoIcon.png"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "6",
|
|
|
- "title": "电梯",
|
|
|
- "num": "4",
|
|
|
- "imgUrl": "/static/dt-dtIcon.png"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "7",
|
|
|
- "title": "井盖",
|
|
|
- "num": "4",
|
|
|
- "imgUrl": "/static/dt-jgIcon.png"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "8",
|
|
|
- "title": "消防栓",
|
|
|
- "num": "4",
|
|
|
- "imgUrl": "/static/dt-xfsIcon.png"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "3",
|
|
|
+ "title": "电气火灾",
|
|
|
+ "num": "4",
|
|
|
+ "imgUrl": "/static/dt-dqIcon.png"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "4",
|
|
|
+ "title": "RTU",
|
|
|
+ "num": "4",
|
|
|
+ "imgUrl": "/static/dt-rtuIcon.png"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "5",
|
|
|
+ "title": "烟感",
|
|
|
+ "num": "4",
|
|
|
+ "imgUrl": "/static/dt-ygIcon.png"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "6",
|
|
|
+ "title": "视频",
|
|
|
+ "num": "4",
|
|
|
+ "imgUrl": "/static/dt-videoIcon.png"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "6",
|
|
|
+ "title": "电梯",
|
|
|
+ "num": "4",
|
|
|
+ "imgUrl": "/static/dt-dtIcon.png"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "7",
|
|
|
+ "title": "井盖",
|
|
|
+ "num": "4",
|
|
|
+ "imgUrl": "/static/dt-jgIcon.png"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "8",
|
|
|
+ "title": "消防栓",
|
|
|
+ "num": "4",
|
|
|
+ "imgUrl": "/static/dt-xfsIcon.png"
|
|
|
},
|
|
|
];
|
|
|
-//设备管理
|
|
|
+//设备管理
|
|
|
let deviceManage = [{
|
|
|
"id": "561",
|
|
|
"title": "测试用传装置",
|
|
|
"des": "三楼茶水间",
|
|
|
- "time": "2021-01-20 15:23:43",
|
|
|
- "status":0
|
|
|
+ "time": "2021-01-20 15:23:43",
|
|
|
+ "status": 0
|
|
|
},
|
|
|
{
|
|
|
"id": "561",
|
|
|
- "title": "测试用传装置",
|
|
|
+ "title": "测试用传装置",
|
|
|
"des": "三楼茶水间",
|
|
|
- "time": "2021-01-20 15:23:43",
|
|
|
- "status":1
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "561",
|
|
|
- "title": "测试用传装置",
|
|
|
- "des": "三楼茶水间",
|
|
|
- "time": "2021-01-20 15:23:43",
|
|
|
- "status":2
|
|
|
+ "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",
|
|
@@ -287,10 +287,10 @@ let inspectList = [{
|
|
|
"title": "电子督查单",
|
|
|
"num": "4",
|
|
|
"imgUrl": "/static/dz-icon.png"
|
|
|
- }
|
|
|
-
|
|
|
+ }
|
|
|
+
|
|
|
];
|
|
|
-
|
|
|
+
|
|
|
let inspectUnprocessList = [{
|
|
|
"id": "561",
|
|
|
"title": "[2020]HP第DZ4104号人工督查单",
|
|
@@ -298,15 +298,15 @@ let inspectUnprocessList = [{
|
|
|
"time": "2020-01-08 15:15:12"
|
|
|
},
|
|
|
{
|
|
|
- "id": "561",
|
|
|
- "title": "[2020]HP第DZ4104号人工督查单",
|
|
|
- "des": "事件未处理测试",
|
|
|
+ "id": "561",
|
|
|
+ "title": "[2020]HP第DZ4104号人工督查单",
|
|
|
+ "des": "事件未处理测试",
|
|
|
"time": "2020-01-08 15:15:12"
|
|
|
},
|
|
|
{
|
|
|
- "id": "561",
|
|
|
- "title": "[2020]HP第DZ4104号人工督查单",
|
|
|
- "des": "事件未处理测试",
|
|
|
+ "id": "561",
|
|
|
+ "title": "[2020]HP第DZ4104号人工督查单",
|
|
|
+ "des": "事件未处理测试",
|
|
|
"time": "2020-01-08 15:15:12"
|
|
|
}
|
|
|
];
|
|
@@ -317,21 +317,21 @@ let inspectProcessedList = [{
|
|
|
"time": "2020-01-08 15:15:12"
|
|
|
},
|
|
|
{
|
|
|
- "id": "561",
|
|
|
- "title": "[2020]HP第DZ4104号人工督查单",
|
|
|
- "des": "事件未处理测试",
|
|
|
+ "id": "561",
|
|
|
+ "title": "[2020]HP第DZ4104号人工督查单",
|
|
|
+ "des": "事件未处理测试",
|
|
|
"time": "2020-01-08 15:15:12"
|
|
|
},
|
|
|
{
|
|
|
- "id": "561",
|
|
|
- "title": "[2020]HP第DZ4104号人工督查单",
|
|
|
- "des": "事件未处理测试",
|
|
|
+ "id": "561",
|
|
|
+ "title": "[2020]HP第DZ4104号人工督查单",
|
|
|
+ "des": "事件未处理测试",
|
|
|
"time": "2020-01-08 15:15:12"
|
|
|
}
|
|
|
-];
|
|
|
-
|
|
|
-
|
|
|
-// 巡检
|
|
|
+];
|
|
|
+
|
|
|
+
|
|
|
+// 巡检
|
|
|
let xunJianList = [{
|
|
|
"id": "1",
|
|
|
"title": "巡检计划",
|
|
@@ -343,54 +343,152 @@ let xunJianList = [{
|
|
|
"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
|
|
|
+ "time": "2021-01-20 15:23:43",
|
|
|
+ "status": 0
|
|
|
},
|
|
|
+ {
|
|
|
+ "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
|
|
|
+ }
|
|
|
+
|
|
|
+];
|
|
|
+
|
|
|
+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"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "561",
|
|
|
+ "title": "未处理",
|
|
|
+ "num": "1",
|
|
|
+ "color":"#FDCA60"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "561",
|
|
|
+ "title": "未审核",
|
|
|
+ "num": "1",
|
|
|
+ "color":"#59D1EA"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "561",
|
|
|
+ "title": "未通过",
|
|
|
+ "num": "1",
|
|
|
+ "color":"#F77070"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "561",
|
|
|
+ "title": "已完成",
|
|
|
+ "num": "1",
|
|
|
+ "color":"#72D06A"
|
|
|
+ },
|
|
|
{
|
|
|
- "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": "超时完成",
|
|
|
+ "num": "1",
|
|
|
+ "color":"#F7895E"
|
|
|
+ }
|
|
|
+
|
|
|
];
|
|
|
-
|
|
|
+
|
|
|
|
|
|
// 定义数据出口
|
|
|
-module.exports = {
|
|
|
-
|
|
|
- staticData:staticData,
|
|
|
-
|
|
|
+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
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ deviceType: deviceType,
|
|
|
+ deviceManage: deviceManage,
|
|
|
+ inspectList: inspectList,
|
|
|
+
|
|
|
+ inspectUnprocessList: inspectUnprocessList,
|
|
|
+ inspectProcessedList: inspectProcessedList,
|
|
|
+
|
|
|
+ xunJianList: xunJianList,
|
|
|
+ xunJianRecord: xunJianRecord,
|
|
|
+ xunJianPlan: xunJianPlan,
|
|
|
+
|
|
|
+ repair: repair,
|
|
|
+ repairSquare:repairSquare
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
}
|