|
|
@@ -302,6 +302,13 @@ export default {
|
|
|
id: 1,
|
|
|
checked: true // 是否在菜单配置中选择
|
|
|
},
|
|
|
+ // {
|
|
|
+ // iconImg: require('../assets/radar.png'),
|
|
|
+ // iconImgActive: require('../assets/radar_active.png'),
|
|
|
+ // name: '雷达',
|
|
|
+ // id: 2,
|
|
|
+ // checked: true // 是否在菜单配置中选择
|
|
|
+ // },
|
|
|
{
|
|
|
iconImg: require('../assets/iot.png'),
|
|
|
iconImgActive: require('../assets/iot_active.png'),
|
|
|
@@ -309,55 +316,48 @@ export default {
|
|
|
id: 3,
|
|
|
checked: true // 是否在菜单配置中选择
|
|
|
},
|
|
|
- {
|
|
|
- iconImg: require('../assets/radar.png'),
|
|
|
- iconImgActive: require('../assets/radar_active.png'),
|
|
|
- name: '雷达',
|
|
|
- id: 2,
|
|
|
- checked: true // 是否在菜单配置中选择
|
|
|
- },
|
|
|
- {
|
|
|
- iconImg: require('../assets/horn.png'),
|
|
|
- iconImgActive: require('../assets/horn_active.png'),
|
|
|
- name: '喇叭',
|
|
|
- id: 5,
|
|
|
- checked: true // 是否在菜单配置中选择
|
|
|
- },
|
|
|
- {
|
|
|
- iconImg: require('../assets/drone.png'),
|
|
|
- iconImgActive: require('../assets/drone_active.png'),
|
|
|
- name: '无人机',
|
|
|
- id: 4,
|
|
|
- checked: true // 是否在菜单配置中选择
|
|
|
- },
|
|
|
- {
|
|
|
- iconImg: require('../assets/recorder.png'),
|
|
|
- iconImgActive: require('../assets/recorder_active.png'),
|
|
|
- name: '执法记录仪',
|
|
|
- id: 11,
|
|
|
- checked: true // 是否在菜单配置中选择
|
|
|
- },
|
|
|
- {
|
|
|
- iconImg: require('../assets/grid.png'),
|
|
|
- iconImgActive: require('../assets/grid_active.png'),
|
|
|
- name: '网格',
|
|
|
- id: 6,
|
|
|
- checked: true // 是否在菜单配置中选择
|
|
|
- },
|
|
|
- {
|
|
|
- iconImg: require('../assets/grid-user.png'),
|
|
|
- iconImgActive: require('../assets/grid-user_active.png'),
|
|
|
- name: '网格员',
|
|
|
- id: 7,
|
|
|
- checked: true // 是否在菜单配置中选择
|
|
|
- },
|
|
|
- {
|
|
|
- iconImg: require('../assets/resource.png'),
|
|
|
- iconImgActive: require('../assets/resource_active.png'),
|
|
|
- name: '资源',
|
|
|
- id: 8,
|
|
|
- checked: true // 是否在菜单配置中选择
|
|
|
- }
|
|
|
+ // {
|
|
|
+ // iconImg: require('../assets/horn.png'),
|
|
|
+ // iconImgActive: require('../assets/horn_active.png'),
|
|
|
+ // name: '喇叭',
|
|
|
+ // id: 5,
|
|
|
+ // checked: true // 是否在菜单配置中选择
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // iconImg: require('../assets/drone.png'),
|
|
|
+ // iconImgActive: require('../assets/drone_active.png'),
|
|
|
+ // name: '无人机',
|
|
|
+ // id: 4,
|
|
|
+ // checked: true // 是否在菜单配置中选择
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // iconImg: require('../assets/recorder.png'),
|
|
|
+ // iconImgActive: require('../assets/recorder_active.png'),
|
|
|
+ // name: '执法记录仪',
|
|
|
+ // id: 11,
|
|
|
+ // checked: true // 是否在菜单配置中选择
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // iconImg: require('../assets/grid.png'),
|
|
|
+ // iconImgActive: require('../assets/grid_active.png'),
|
|
|
+ // name: '网格',
|
|
|
+ // id: 6,
|
|
|
+ // checked: true // 是否在菜单配置中选择
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // iconImg: require('../assets/grid-user.png'),
|
|
|
+ // iconImgActive: require('../assets/grid-user_active.png'),
|
|
|
+ // name: '网格员',
|
|
|
+ // id: 7,
|
|
|
+ // checked: true // 是否在菜单配置中选择
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // iconImg: require('../assets/resource.png'),
|
|
|
+ // iconImgActive: require('../assets/resource_active.png'),
|
|
|
+ // name: '资源',
|
|
|
+ // id: 8,
|
|
|
+ // checked: true // 是否在菜单配置中选择
|
|
|
+ // }
|
|
|
],
|
|
|
|
|
|
zIndex: 100, // 提供设备树弹窗层级控制
|
|
|
@@ -369,7 +369,7 @@ export default {
|
|
|
defaultKeys: {
|
|
|
type: Array,
|
|
|
default() {
|
|
|
- return [1, 3, 2, 5, 4, 11, 8, 6, 7]
|
|
|
+ return [1, 3]
|
|
|
}
|
|
|
},
|
|
|
isAllOpen: {
|