
export const asyncRoutes = [
  {
    path: '/DormitoryManagement',
    name: 'DormitoryManagement',
    component: 'Layout',
    meta: { title: '公寓房源', icon: 'building-4-line' },
    children: [
      {
        path: '/VisualManagement',
        name: 'VisualManagement',
        component: '/@/views/DormitoryManagement/VisualManagement/index.vue',
        meta: { title: '房源可视化', icon: 'layout-grid-line' },
      },
      {
        path: '/BuildingList',
        name: 'BuildingList',
        component: '/@/views/DormitoryManagement/BuildingList/index.vue',
        meta: { title: '楼宇管理', icon: 'building-2-line' },
      },
      {
        path: '/RoomList',
        name: 'RoomList',
        component: '/@/views/DormitoryManagement/RoomList/index.vue',
        meta: { title: '房间管理', icon: 'home-4-line' },
      },
      {
        path: '/BedList',
        name: 'BedList',
        component: '/@/views/DormitoryManagement/BedList/index.vue',
        meta: { title: '床位管理', icon: 'hotel-bed-line' },
      },
      {
        path: '/ResourceAuth',
        name: 'ResourceAuth',
        component: '/@/views/DormitoryManagement/ResourceAuth/index.vue',
        meta: { title: '资源授权管理', icon: 'key-2-line' },
      },
    ]
  },
  {
    path: '/StudentManagement',
    name: 'StudentManagement',
    component: 'Layout',
    meta: { title: '住宿管理', icon: 'contacts-book-line' },
    children: [
       {
        path: '/StudentList',
        name: 'StudentList',
        component: '/@/views/StudentManagement/StudentList/index.vue',
        meta: { title: '人员信息管理', icon: 'user-search-line' },
      },
      {
        path: '/CheckIn',
        name: 'CheckIn',
        component: '/@/views/StudentManagement/CheckIn/index.vue',
        meta: { title: '入住办理', icon: 'user-add-line' },
      },
      {
        path: '/AdjustApply',
        name: 'AdjustApply',
        component: '/@/views/StudentManagement/AdjustApply/index.vue',
        meta: { title: '调宿申请', icon: 'exchange-line' },
      },
      {
        path: '/CheckOut',
        name: 'CheckOut',
        component: '/@/views/StudentManagement/CheckOut/index.vue',
        meta: { title: '退宿审批', icon: 'logout-box-r-line' },
      },
      {
        path: '/FocusStudent',
        name: 'FocusStudent',
        component: '/@/views/StudentManagement/FocusStudent/index.vue',
        meta: { title: '重点学生关注', icon: 'eye-2-line' },
      },
      {
        path: '/HistoryOrder',
        name: 'HistoryOrder',
        component: '/@/views/StudentManagement/HistoryOrder/index.vue',
        meta: { title: '历史订单查询', icon: 'history-line' },
      },
      {
        path: '/VisitorList',
        name: 'VisitorList',
        component: '/@/views/StudentManagement/VisitorList/index.vue',
        meta: { title: '访客登记', icon: 'walk-line' },
      },
      {
        path: '/HolidayFlow',
        name: 'HolidayFlow',
        component: '/@/views/StudentManagement/HolidayFlow/index.vue',
        meta: { title: '假期流向登记', icon: 'flight-takeoff-line' },
      },
      {
        path: '/VacationStay',
        name: 'VacationStay',
        component: '/@/views/StudentManagement/VacationStay/index.vue',
        meta: { title: '寒暑假集中住宿', icon: 'hotel-line' },
      },
    ]
  },
  {
    path: '/DeviceManagement',
    name: 'DeviceManagement',
    component: 'Layout',
    meta: { title: '智能设备', icon: 'remote-control-2-line' },
    children: [
      {
        path: '/ElectricMeter',
        name: 'ElectricMeter',
        component: '/@/views/DeviceManagement/ElectricMeter/index.vue',
        meta: { title: '电表管理', icon: 'flashlight-line' },
      },
      {
        path: '/AccessControl',
        name: 'AccessControl',
        component: '/@/views/DeviceManagement/AccessControl/index.vue',
        meta: { title: '门禁权限管理', icon: 'shield-user-line' },
      },
      {
        path: '/DoorLock',
        name: 'DoorLock',
        component: '/@/views/DeviceManagement/DoorLock/index.vue',
        meta: { title: '门锁制卡管理', icon: 'key-line' },
      },
    ]
  },
  {
    path: '/ServiceManagement',
    name: 'ServiceManagement',
    component: 'Layout',
    meta: { title: '运维中心', icon: 'customer-service-2-line' },
    children: [
      {
        path: '/RepairList',
        name: 'RepairList',
        component: '/@/views/ServiceManagement/RepairList/index.vue',
        meta: { title: '在线报修管理', icon: 'tools-line' },
      },
      {
        path: '/FunctionRoom',
        name: 'FunctionRoom',
        component: '/@/views/ServiceManagement/FunctionRoom/index.vue',
        meta: { title: '功能房预约', icon: 'calendar-check-line' },
      },
      {
        path: '/ArticleManage',
        name: 'ArticleManage',
        component: '/@/views/ServiceManagement/ArticleManage/index.vue',
        meta: { title: '综合信息发布', icon: 'article-line' },
      },
      {
        path: '/Feedback',
        name: 'Feedback',
        component: '/@/views/ServiceManagement/Feedback/index.vue',
        meta: { title: '意见建议管理', icon: 'feedback-line' },
      },
      {
        path: '/LostAndFound',
        name: 'LostAndFound',
        component: '/@/views/ServiceManagement/LostAndFound/index.vue',
        meta: { title: '失物招领', icon: 'search-eye-line' },
      },
      {
        path: '/PatrolManage',
        name: 'PatrolManage',
        component: '/@/views/ServiceManagement/PatrolManage/index.vue',
        meta: { title: '巡查管理', icon: 'map-pin-user-line' },
      },
      {
        path: '/ShiftManage',
        name: 'ShiftManage',
        component: '/@/views/ServiceManagement/ShiftManage/index.vue',
        meta: { title: '交接班管理', icon: 'exchange-box-line' },
      },
      {
        path: '/RoomService',
        name: 'RoomService',
        component: '/@/views/ServiceManagement/RoomService/index.vue',
        meta: { title: '房务管理', icon: 'brush-line' },
      },
    ]
  },
  {
    path: '/BehaviorManagement',
    name: 'BehaviorManagement',
    component: 'Layout',
    meta: { title: '素质园区', icon: 'honour-line' },
    children: [
      {
        path: '/ActivityList',
        name: 'ActivityList',
        component: '/@/views/ActivityManagement/ActivityList/index.vue',
        meta: { title: '活动发布与报名', icon: 'calendar-event-line' },
      },
      {
        path: '/CreditBank',
        name: 'CreditBank',
        component: '/@/views/ActivityManagement/CreditBank/index.vue',
        meta: { title: '信用积分银行', icon: 'bank-card-line' },
      },
      {
        path: '/ActivityRecord',
        name: 'ActivityRecord',
        component: '/@/views/ActivityManagement/ActivityRecord/index.vue',
        meta: { title: '素质档案报表', icon: 'file-chart-line' },
      },
      {
        path: '/BehaviorActivityRecord',
        name: 'BehaviorActivityRecord',
        component: '/@/views/BehaviorManagement/ActivityRecord/index.vue',
        meta: { title: '活动纪实管理', icon: 'flag-line' },
      },
      {
        path: '/BehaviorRecord',
        name: 'BehaviorRecord',
        component: '/@/views/BehaviorManagement/BehaviorRecord/index.vue',
        meta: { title: '行为纪实管理', icon: 'file-list-3-line' },
      },
      {
        path: '/InspectionManage',
        name: 'InspectionManage',
        component: '/@/views/BehaviorManagement/InspectionManage/index.vue',
        meta: { title: '日常检查管理', icon: 'clipboard-line' },
      },
    ]
  },
  {
    path: '/FinancialManagement',
    name: 'FinancialManagement',
    component: 'Layout',
    meta: { title: '财务订单', icon: 'wallet-3-line' },
    children: [
      {
        path: '/FeeConfig',
        name: 'FeeConfig',
        component: '/@/views/FinancialManagement/FeeConfig/index.vue',
        meta: { title: '收费规则配置', icon: 'settings-4-line' },
      },
      {
        path: '/PaymentList',
        name: 'PaymentList',
        component: '/@/views/FinancialManagement/PaymentList/index.vue',
        meta: { title: '缴费/退费管理', icon: 'money-cny-circle-line' },
      },
      {
        path: '/BeddingOrder',
        name: 'BeddingOrder',
        component: '/@/views/FinancialManagement/BeddingOrder/index.vue',
        meta: { title: '卧具订购管理', icon: 'shopping-cart-2-line' },
      },
      {
        path: '/FinancialReport',
        name: 'FinancialReport',
        component: '/@/views/FinancialManagement/FinancialReport/index.vue',
        meta: { title: '财务报表统计', icon: 'pie-chart-2-line' },
      },
    ]
  },
  {
    path: '/WarningManagement',
    name: 'WarningManagement',
    component: 'Layout',
    meta: { title: '安防预警', icon: 'alarm-warning-fill' },
    children: [
      {
        path: '/AccessWarning',
        name: 'AccessWarning',
        component: '/@/views/WarningManagement/AccessWarning/index.vue',
        meta: { title: '进出异常预警', icon: 'door-lock-box-line' },
      },
      {
        path: '/ElectricWarning',
        name: 'ElectricWarning',
        component: '/@/views/WarningManagement/ElectricWarning/index.vue',
        meta: { title: '用电安全预警', icon: 'thunderstorms-line' },
      },
    ]
  },
  {
    path: '/SystemConfiguration', 
    name: 'SystemConfiguration', 
    component: 'Layout', 
    meta: { title: '系统配置', icon: 'settings-3-line' },
    children: [
      {
        path: '/UserManagement',
        name: 'UserManagement',
        component: '/@/views/SystemConfiguration/UserManagement/index.vue',
        meta: { title: '用户权限管理', icon: 'user-settings-line' },
      },
      {
        path: '/SystemParameters', 
        name: 'SystemParameters', 
        component: '/@/views/SystemConfiguration/SystemParameters/index.vue', 
        meta: { title: '系统参数配置', icon: 'equalizer-line' },
      },
      {
        path: '/DataDictionary', 
        name: 'DataDictionary', 
        component: '/@/views/SystemConfiguration/DataDictionary/index.vue', 
        meta: { title: '数据字典', icon: 'book-read-line' },
      },
      {
        path: '/MessagePush', 
        name: 'MessagePush', 
        component: '/@/views/SystemConfiguration/MessagePush/index.vue', 
        meta: { title: '消息推送配置', icon: 'message-3-line' },
      },
    ]
  }
]
