|
@@ -56,141 +56,113 @@ const options = [
|
|
|
|
|
|
const mockData = [
|
|
|
{
|
|
|
- "createBy": "task-job",
|
|
|
- "createTime": "2025-02-22 18:08",
|
|
|
- "updateBy": "task-job",
|
|
|
- "updateTime": "2025-02-23 09:08",
|
|
|
- "remark": "0",
|
|
|
- "id": 4287,
|
|
|
- "type": 0,
|
|
|
- "category": "进水SS",
|
|
|
- "time": "2025-02-23 08:08",
|
|
|
- "reason": "进水SS超标报警",
|
|
|
- "warningVal": 900,
|
|
|
- "designVal": 315,
|
|
|
- "controlVal": null,
|
|
|
- "forecastVal": null,
|
|
|
- "functionWay": 0,
|
|
|
- "level": "一级",
|
|
|
- "status": 2,
|
|
|
- "isEmergency": 0,
|
|
|
- "offTime": "2025-02-23 09:08:00",
|
|
|
- "operator": null,
|
|
|
- "review": null,
|
|
|
- "useRecommend": null,
|
|
|
- "waterType": 0,
|
|
|
- "symbol": 0,
|
|
|
- "cwrwxz": 2.8571,
|
|
|
- "cwrwfhz": 2.1813,
|
|
|
- "delFlag": 0,
|
|
|
- "revision": 15,
|
|
|
- "counts": "2",
|
|
|
- "warningValStr": null,
|
|
|
- "warningStatus": null,
|
|
|
- "symbolDesc": "超标准值"
|
|
|
+ "createBy": "task-job",
|
|
|
+ "createTime": "2025-03-05 08:09",
|
|
|
+ "updateBy": "task-job",
|
|
|
+ "updateTime": "2025-03-05 09:09",
|
|
|
+ "remark": "0",
|
|
|
+ "id": 4486,
|
|
|
+ "type": 0,
|
|
|
+ "category": "进水SS",
|
|
|
+ "time": "2025-03-05 08:09",
|
|
|
+ "reason": "进水SS超标报警",
|
|
|
+ "warningVal": 329.42,
|
|
|
+ "designVal": 315,
|
|
|
+ "controlVal": null,
|
|
|
+ "forecastVal": null,
|
|
|
+ "functionWay": 0,
|
|
|
+ "level": "二级",
|
|
|
+ "status": 2,
|
|
|
+ "isEmergency": 0,
|
|
|
+ "offTime": "2025-03-05 09:09:40",
|
|
|
+ "operator": null,
|
|
|
+ "review": null,
|
|
|
+ "useRecommend": null,
|
|
|
+ "waterType": 0,
|
|
|
+ "symbol": 0,
|
|
|
+ "cwrwxz": 1.0458,
|
|
|
+ "cwrwfhz": 0.3421,
|
|
|
+ "delFlag": 0,
|
|
|
+ "revision": 1,
|
|
|
+ "counts": "1",
|
|
|
+ "warningValStr": null,
|
|
|
+ "warningStatus": null,
|
|
|
+ "symbolDesc": "超标准值",
|
|
|
+ "timeBegin": null,
|
|
|
+ "timeEnd": null
|
|
|
},
|
|
|
{
|
|
|
- "createBy": "task-job",
|
|
|
- "createTime": "2025-02-22 19:08",
|
|
|
- "updateBy": "task-job",
|
|
|
- "updateTime": "2025-02-22 22:08",
|
|
|
- "remark": "0",
|
|
|
- "id": 4289,
|
|
|
- "type": 0,
|
|
|
- "category": "出水总氮",
|
|
|
- "time": "2025-02-22 21:08",
|
|
|
- "reason": "出水总氮超管控报警",
|
|
|
- "warningVal": 12.58,
|
|
|
- "designVal": 15,
|
|
|
- "controlVal": 12,
|
|
|
- "forecastVal": null,
|
|
|
- "functionWay": 0,
|
|
|
- "level": "三级",
|
|
|
- "status": 2,
|
|
|
- "isEmergency": 0,
|
|
|
- "offTime": "2025-02-22 22:08:00",
|
|
|
- "operator": null,
|
|
|
- "review": null,
|
|
|
- "useRecommend": null,
|
|
|
- "waterType": 1,
|
|
|
- "symbol": 1,
|
|
|
- "cwrwxz": 1.0699,
|
|
|
- "cwrwfhz": 0.282,
|
|
|
- "delFlag": 0,
|
|
|
- "revision": 3,
|
|
|
- "counts": "4",
|
|
|
- "warningValStr": null,
|
|
|
- "warningStatus": null,
|
|
|
- "symbolDesc": "超管控值"
|
|
|
+ "createBy": "task-job",
|
|
|
+ "createTime": "2025-03-04 09:08",
|
|
|
+ "updateBy": "task-job",
|
|
|
+ "updateTime": "2025-03-05 07:08",
|
|
|
+ "remark": null,
|
|
|
+ "id": 4469,
|
|
|
+ "type": 0,
|
|
|
+ "category": "出水氨氮",
|
|
|
+ "time": "2025-03-04 09:08",
|
|
|
+ "reason": "出水氨氮仪表故障(单指标连续不变)",
|
|
|
+ "warningVal": 0.28,
|
|
|
+ "designVal": null,
|
|
|
+ "controlVal": null,
|
|
|
+ "forecastVal": null,
|
|
|
+ "functionWay": 0,
|
|
|
+ "level": null,
|
|
|
+ "status": 2,
|
|
|
+ "isEmergency": 0,
|
|
|
+ "offTime": "2025-03-05 07:08:56",
|
|
|
+ "operator": null,
|
|
|
+ "review": null,
|
|
|
+ "useRecommend": null,
|
|
|
+ "waterType": 1,
|
|
|
+ "symbol": 5,
|
|
|
+ "cwrwxz": null,
|
|
|
+ "cwrwfhz": null,
|
|
|
+ "delFlag": 0,
|
|
|
+ "revision": 1,
|
|
|
+ "counts": "23",
|
|
|
+ "warningValStr": null,
|
|
|
+ "warningStatus": null,
|
|
|
+ "symbolDesc": "仪表故障(单指标连续不变)",
|
|
|
+ "timeBegin": null,
|
|
|
+ "timeEnd": null
|
|
|
},
|
|
|
{
|
|
|
- "createBy": "task-job",
|
|
|
- "createTime": "2025-02-20 03:08",
|
|
|
- "updateBy": "task-job",
|
|
|
- "updateTime": "2025-02-20 08:08",
|
|
|
- "remark": "0",
|
|
|
- "id": 4256,
|
|
|
- "type": 0,
|
|
|
- "category": "进水SS",
|
|
|
- "time": "2025-02-20 07:08",
|
|
|
- "reason": "进水SS超标报警",
|
|
|
- "warningVal": 900,
|
|
|
- "designVal": 315,
|
|
|
- "controlVal": null,
|
|
|
- "forecastVal": null,
|
|
|
- "functionWay": 0,
|
|
|
- "level": "一级",
|
|
|
- "status": 2,
|
|
|
- "isEmergency": 0,
|
|
|
- "offTime": "2025-02-20 08:08:20",
|
|
|
- "operator": null,
|
|
|
- "review": null,
|
|
|
- "useRecommend": null,
|
|
|
- "waterType": 0,
|
|
|
- "symbol": 0,
|
|
|
- "cwrwxz": 1.0698,
|
|
|
- "cwrwfhz": 0.6046,
|
|
|
- "delFlag": 0,
|
|
|
- "revision": 5,
|
|
|
- "counts": "2",
|
|
|
- "warningValStr": null,
|
|
|
- "warningStatus": null,
|
|
|
- "symbolDesc": "超标准值"
|
|
|
- },
|
|
|
- {
|
|
|
- "createBy": "task-job",
|
|
|
- "createTime": "2025-02-19 17:08",
|
|
|
- "updateBy": "task-job",
|
|
|
- "updateTime": "2025-02-19 21:08",
|
|
|
- "remark": "0",
|
|
|
- "id": 4247,
|
|
|
- "type": 0,
|
|
|
- "category": "进水总磷",
|
|
|
- "time": "2025-02-19 20:08",
|
|
|
- "reason": "进水总磷超标报警",
|
|
|
- "warningVal": 8.32,
|
|
|
- "designVal": 7.1,
|
|
|
- "controlVal": null,
|
|
|
- "forecastVal": null,
|
|
|
- "functionWay": 0,
|
|
|
- "level": "一级",
|
|
|
- "status": 2,
|
|
|
- "isEmergency": 0,
|
|
|
- "offTime": "2025-02-19 21:08:20",
|
|
|
- "operator": null,
|
|
|
- "review": null,
|
|
|
- "useRecommend": null,
|
|
|
- "waterType": 0,
|
|
|
- "symbol": 0,
|
|
|
- "cwrwxz": 1.1554,
|
|
|
- "cwrwfhz": 0.7731,
|
|
|
- "delFlag": 0,
|
|
|
- "revision": 4,
|
|
|
- "counts": "2",
|
|
|
- "warningValStr": null,
|
|
|
- "warningStatus": null,
|
|
|
- "symbolDesc": "超标准值"
|
|
|
- },
|
|
|
+ "createBy": "task-job",
|
|
|
+ "createTime": "2025-03-03 02:08",
|
|
|
+ "updateBy": "task-job",
|
|
|
+ "updateTime": "2025-03-03 04:09",
|
|
|
+ "remark": "0",
|
|
|
+ "id": 4452,
|
|
|
+ "type": 0,
|
|
|
+ "category": "进水SS",
|
|
|
+ "time": "2025-03-03 03:08",
|
|
|
+ "reason": "进水SS超标报警",
|
|
|
+ "warningVal": 679.42,
|
|
|
+ "designVal": 315,
|
|
|
+ "controlVal": null,
|
|
|
+ "forecastVal": null,
|
|
|
+ "functionWay": 0,
|
|
|
+ "level": "一级",
|
|
|
+ "status": 2,
|
|
|
+ "isEmergency": 0,
|
|
|
+ "offTime": "2025-03-03 04:09:44",
|
|
|
+ "operator": null,
|
|
|
+ "review": null,
|
|
|
+ "useRecommend": null,
|
|
|
+ "waterType": 0,
|
|
|
+ "symbol": 0,
|
|
|
+ "cwrwxz": 1.6609,
|
|
|
+ "cwrwfhz": 1.2082,
|
|
|
+ "delFlag": 0,
|
|
|
+ "revision": 2,
|
|
|
+ "counts": "3",
|
|
|
+ "warningValStr": null,
|
|
|
+ "warningStatus": null,
|
|
|
+ "symbolDesc": "超标准值",
|
|
|
+ "timeBegin": null,
|
|
|
+ "timeEnd": null
|
|
|
+ }
|
|
|
]
|
|
|
watch(() => waterTypeValue.value, curValue => {
|
|
|
onRestore({ warningStatus: warningActive.value, waterType: curValue });
|