From 4638422d5a6b8146ec0f8ddd1bf17160330a2049 Mon Sep 17 00:00:00 2001 From: wangyanshen <3154583358@qq.com> Date: 星期三, 11 一月 2023 09:27:50 +0800 Subject: [PATCH] 添加故障、趋势模块 --- src/testData/loginUserInfo.js | 328 ++++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 292 insertions(+), 36 deletions(-) diff --git a/src/testData/loginUserInfo.js b/src/testData/loginUserInfo.js index a9c6671..fd25e1f 100644 --- a/src/testData/loginUserInfo.js +++ b/src/testData/loginUserInfo.js @@ -47,8 +47,25 @@ }, { "id": "0", + "name": "鏁呴殰璇婃柇", + "code": "fault", + "icon":"line-chart", + "active": false, + "sort": 0 + }, + + { + "id": "0", "name": "鍋ュ悍璇勪环", "code": "health", + "icon":"line-chart", + "active": false, + "sort": 0 + }, + { + "id": "0", + "name": "瓒嬪娍鍒嗘瀽", + "code": "trend", "icon":"line-chart", "active": false, "sort": 0 @@ -263,42 +280,6 @@ "path": "/home/group1", "hidden": false }, - // { - // "application": "home", - // "id": "home_1_1", - // "pid": "home_1", - // "name": "home_1_1", - // "component": "main/istation/vibration", - // "redirect": "", - // "meta": { - // "title": "鏇茬嚎", - // "icon": "", - // "show": true, - // "target": "", - // "link": null, - // "belongid": "home" - // }, - // "path": "/productview", - // "hidden": false - // }, - // { - // "application": "home", - // "id": "home_1_2", - // "pid": "home_1", - // "name": "home_1_2", - // "component": "main/istation/testFawkesLib", - // "redirect": "", - // "meta": { - // "title": "娴嬭瘯FawkesLib", - // "icon": "", - // "show": true, - // "target": "", - // "link": null, - // "belongid": "home" - // }, - // "path": "/fawkeslib", - // "hidden": false - // }, { "application": "home", "id": "home_1_3", @@ -731,6 +712,281 @@ "path": "/overview/preview", "hidden": true }, + + + { + "application": "fault", + "id": "fault_1", + "pid": "0", + "name": "fault_1", + "component": "RouteView", + "redirect": "", + "meta": { + "title": "鏁呴殰绠$悊", + "icon": "book", + "show": true, + "target": "", + "link": null, + "belongid": "fault" + }, + "path": "/fault/group1", + "hidden": true + }, + { + "application": "fault", + "id": "fault_1_1", + "pid": "fault_1", + "name": "fault_1_1", + "component": "main/istation/fault/faultSet", + "redirect": "", + "meta": { + "title": "鏁呴殰瀹氫箟", + "icon": "", + "show": true, + "target": "", + "link": null, + "belongid": "fault" + }, + "path": "/fault/faultSet", + "hidden": true + }, + { + "application": "fault", + "id": "fault_1_2", + "pid": "fault_1", + "name": "fault_1_2", + "component": "main/istation/fault/faultTreeManage", + "redirect": "", + "meta": { + "title": "鐗堟湰绠$悊", + "icon": "", + "show": true, + "target": "", + "link": null, + "belongid": "fault" + }, + "path": "/fault/faultTreeManage", + "hidden": true + }, + { + "application": "fault", + "id": "fault_2", + "pid": "0", + "name": "fault_2", + "component": "RouteView", + "redirect": "", + "meta": { + "title": "鏁呴殰璇婃柇", + "icon": "book", + "show": true, + "target": "", + "link": null, + "belongid": "fault" + }, + "path": "/fault/group2", + "hidden": true + }, + { + "application": "fault", + "id": "fault_2_1", + "pid": "fault_2", + "name": "fault_2_1", + "component": "main/istation/fault/faultDiagnosis", + "redirect": "", + "meta": { + "title": "妯″瀷绠$悊", + "icon": "", + "show": true, + "target": "", + "link": null, + "belongid": "fault" + }, + "path": "/fault/faultDiagnosis", + "hidden": true + }, + { + "application": "fault", + "id": "fault_2_2", + "pid": "fault_2", + "name": "fault_2_2", + "component": "main/istation/fault/onlineFaultDiagnosis", + "redirect": "", + "meta": { + "title": "鍦ㄧ嚎璇婃柇", + "icon": "", + "show": true, + "target": "", + "link": null, + "belongid": "fault" + }, + "path": "/fault/onlineFaultDiagnosis", + "hidden": true + }, + { + "application": "fault", + "id": "fault_2_3", + "pid": "fault_2", + "name": "fault_2_3", + "component": "main/istation/fault/faultReport", + "redirect": "", + "meta": { + "title": "璇婃柇鎶ュ憡", + "icon": "", + "show": true, + "target": "", + "link": null, + "belongid": "fault" + }, + "path": "/fault/faultReport", + "hidden": true + }, + + + { + "application": "trend", + "id": "trend_1", + "pid": "0", + "name": "trend_1", + "component": "RouteView", + "redirect": "", + "meta": { + "title": "瓒嬪娍鍒嗘瀽", + "icon": "book", + "show": true, + "target": "", + "link": null, + "belongid": "trend" + }, + "path": "/trend/group1", + "hidden": true + }, + { + "application": "trend", + "id": "trend_1_1", + "pid": "trend_1", + "name": "trend_1_1", + "component": "main/istation/trend/trendFun", + "redirect": "", + "meta": { + "title": "鍒嗘瀽鏂规硶瀹氫箟", + "icon": "", + "show": true, + "target": "", + "link": null, + "belongid": "trend" + }, + "path": "/trend/trendFun", + "hidden": true + }, + { + "application": "trend", + "id": "trend_2", + "pid": "0", + "name": "trend_2", + "component": "RouteView", + "redirect": "", + "meta": { + "title": "鏃跺簭瓒嬪娍鍒嗘瀽", + "icon": "book", + "show": true, + "target": "", + "link": null, + "belongid": "trend" + }, + "path": "/trend/group2", + "hidden": true + }, + { + "application": "trend", + "id": "trend_2_1", + "pid": "trend_2", + "name": "trend_2_1", + "component": "main/istation/trend/sequenceModel", + "redirect": "", + "meta": { + "title": "瓒嬪娍棰勮妯″瀷", + "icon": "", + "show": true, + "target": "", + "link": null, + "belongid": "trend" + }, + "path": "/trend/sequenceModel", + "hidden": true + }, + { + "application": "trend", + "id": "trend_2_2", + "pid": "trend_2", + "name": "trend_2_2", + "component": "main/istation/trend/sequenceRecord", + "redirect": "", + "meta": { + "title": "瓒嬪娍棰勮璁板綍", + "icon": "", + "show": true, + "target": "", + "link": null, + "belongid": "trend" + }, + "path": "/trend/sequenceRecord", + "hidden": true + }, + { + "application": "trend", + "id": "trend_3", + "pid": "0", + "name": "trend_3", + "component": "RouteView", + "redirect": "", + "meta": { + "title": "涓撳瓒嬪娍鍒嗘瀽", + "icon": "book", + "show": true, + "target": "", + "link": null, + "belongid": "trend" + }, + "path": "/trend/group3", + "hidden": true + }, + + { + "application": "trend", + "id": "trend_3_1", + "pid": "trend_3", + "name": "trend_3_1", + "component": "main/istation/trend/onLineSequenceModel", + "redirect": "", + "meta": { + "title": "鍦ㄧ嚎瓒嬪娍棰勮", + "icon": "", + "show": true, + "target": "", + "link": null, + "belongid": "trend" + }, + "path": "/trend/onLineSequenceModel", + "hidden": true + }, + { + "application": "trend", + "id": "trend_3_2", + "pid": "trend_3", + "name": "trend_3_2", + "component": "main/istation/trend/sequenceRecord2", + "redirect": "", + "meta": { + "title": "瓒嬪娍棰勮璁板綍", + "icon": "", + "show": true, + "target": "", + "link": null, + "belongid": "trend" + }, + "path": "/trend/sequenceRecord2", + "hidden": true + }, ], "dataScopes": [ "142307070910551", -- Gitblit v1.9.3