menus.ts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. import {
  2. // PieChartOutlined,
  3. DatabaseOutlined,
  4. InsertRowLeftOutlined,
  5. AlertOutlined,
  6. // UserOutlined,
  7. // SettingOutlined,
  8. } from '@ant-design/icons-vue'
  9. import { h, ref } from 'vue'
  10. export const menus = ref([
  11. // {
  12. // key: 'home',
  13. // icon: () => h(PieChartOutlined),
  14. // label: '首页看板',
  15. // title: '首页看板',
  16. // },
  17. // {
  18. // key: 'device',
  19. // icon: () => h(DatabaseOutlined),
  20. // label: '设备管理',
  21. // title: '设备管理',
  22. // },
  23. {
  24. key: 'community',
  25. icon: () => h(InsertRowLeftOutlined),
  26. label: '小区管理',
  27. title: '小区管理',
  28. },
  29. {
  30. key: 'device',
  31. icon: () => h(DatabaseOutlined),
  32. label: '设备管理',
  33. title: '设备管理',
  34. },
  35. {
  36. key: 'alarm',
  37. icon: () => h(AlertOutlined),
  38. label: '告警管理',
  39. title: '告警管理',
  40. children: [
  41. {
  42. key: 'alarmTemplate',
  43. label: '告警模板',
  44. title: '告警模板',
  45. },
  46. {
  47. key: 'alarmPlan',
  48. label: '告警计划',
  49. title: '告警计划',
  50. },
  51. ],
  52. },
  53. // {
  54. // key: 'user',
  55. // icon: () => h(UserOutlined),
  56. // label: '用户管理',
  57. // title: '用户管理',
  58. // },
  59. // {
  60. // key: 'system',
  61. // icon: () => h(SettingOutlined),
  62. // label: '系统管理',
  63. // title: '系统管理',
  64. // children: [
  65. // {
  66. // key: 'community',
  67. // label: '开通小区',
  68. // title: '开通小区',
  69. // },
  70. // ],
  71. // },
  72. ])