ming 4 سال پیش
والد
کامیت
0f90403b07
1فایلهای تغییر یافته به همراه71 افزوده شده و 39 حذف شده
  1. 71 39
      data/json.js

+ 71 - 39
data/json.js

@@ -1,3 +1,73 @@
+// 本地模拟json数据
+let cuIconList = [{
+	imgUrl: '../../static/square1.png',
+	badge: 120,
+	name: '综合报警',
+	redirectUrl: '/pages/siteList/siteList?type=1'
+}, {
+	imgUrl: '../../static/square2.png',
+	badge: 100,
+	name: '设备管理',
+	redirectUrl: '/pages/siteList/siteList?type=2'
+}, 
+{
+	imgUrl: '../../static/square-wb.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-bz.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-rl.png',
+	badge: 0,
+	name: '设备注册',
+	redirectUrl: ''
+},
+{
+	imgUrl: '../../static/square-rl.png',
+	badge: 0,
+	name: '用户管理',
+	redirectUrl: ''
+}];
+
+
+
 // 本地模拟json数据
 let siteListData = [{
 		"id": 1,
@@ -50,45 +120,7 @@ let siteListData = [{
 		"siteName": '测试站点三'
 	},
 ];
-// 本地模拟json数据
-let cuIconList = [{
-	imgUrl: '../../static/square1.png',
-	badge: 120,
-	name: '综合报警',
-	redirectUrl: '/pages/siteList/siteList?type=1'
-}, {
-	imgUrl: '../../static/square2.png',
-	badge: 100,
-	name: '运行监测',
-	redirectUrl: '/pages/siteList/siteList?type=2'
-}, {
-	imgUrl: '../../static/square-wb.png',
-	badge: 0,
-	name: '维保',
-	redirectUrl: ''
-}, {
-	imgUrl: '../../static/square-bx.png',
-	badge: 0,
-	name: '报修',
-	redirectUrl: ''
-}, {
-	imgUrl: '../../static/square-rl.png',
-	badge: 0,
-	name: '人脸识别',
-	redirectUrl: ''
-}, {
-	imgUrl: '../../static/square-xj.png',
-	badge: 0,
-	badge: 0,
-	name: '巡检',
-	redirectUrl: ''
-}, {
-	imgUrl: '../../static/square-bz.png',
-	badge: 0,
-	badge: 0,
-	name: '风险保障',
-	redirectUrl: ''
-}];
+
 let unprocessList = [{
 		title: '母线停电',
 		subTitle: '动作',