diff --git a/src/views/dashboard/components/PanelGroup.vue b/src/views/dashboard/components/PanelGroup.vue
index bbda98e..ca2721f 100644
--- a/src/views/dashboard/components/PanelGroup.vue
+++ b/src/views/dashboard/components/PanelGroup.vue
@@ -1,8 +1,10 @@
-
-
-
+
+
+
+
+
@@ -23,28 +25,32 @@
context: '--',
icon: 'icon-well',
color: '#40c9c6',
- path: '/wellList'
+ path: '/wellList',
+ permission: '/well/list'
},
{
title: '设备数量',
context: '--',
icon: 'icon-device',
color: '#36a3f7',
- path: '/deviceList'
+ path: '/deviceList',
+ permission: '/device/list'
},
{
title: '当前报警数',
context: '--',
icon: 'icon-alarm',
color: '#f4516c',
- path: '/alarmNow'
+ path: '/alarmNow',
+ permission: '/alarm/now'
},
{
title: '未完成工单数',
context: '--',
icon: 'icon-order',
color: '#f4516c',
- path: '/listJob'
+ path: '/listJob',
+ permission: '/job'
}
]
}
diff --git a/src/views/dashboard/components/PanelGroup.vue b/src/views/dashboard/components/PanelGroup.vue
index bbda98e..ca2721f 100644
--- a/src/views/dashboard/components/PanelGroup.vue
+++ b/src/views/dashboard/components/PanelGroup.vue
@@ -1,8 +1,10 @@
-
-
-
+
+
+
+
+
@@ -23,28 +25,32 @@
context: '--',
icon: 'icon-well',
color: '#40c9c6',
- path: '/wellList'
+ path: '/wellList',
+ permission: '/well/list'
},
{
title: '设备数量',
context: '--',
icon: 'icon-device',
color: '#36a3f7',
- path: '/deviceList'
+ path: '/deviceList',
+ permission: '/device/list'
},
{
title: '当前报警数',
context: '--',
icon: 'icon-alarm',
color: '#f4516c',
- path: '/alarmNow'
+ path: '/alarmNow',
+ permission: '/alarm/now'
},
{
title: '未完成工单数',
context: '--',
icon: 'icon-order',
color: '#f4516c',
- path: '/listJob'
+ path: '/listJob',
+ permission: '/job'
}
]
}
diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue
index 8b8b043..d875d75 100644
--- a/src/views/dashboard/index.vue
+++ b/src/views/dashboard/index.vue
@@ -3,7 +3,7 @@
-
+
@@ -15,25 +15,25 @@
-
+
-
+
-
+
-
+