123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329 |
- export default [
- {
- path: '/user',
- layout: false,
- routes: [
- {
- path: '/user',
- routes: [
- {
- name: 'login',
- path: '/user/login',
- component: './user/Login',
- },
- ],
- },
- {
- component: './404',
- },
- ],
- },
- {
- path: '/welcome',
- name: '工作台',
- icon: 'smile',
- component: './Welcome',
- },
- {
- path: '/MonitoringScreen',
- layout: false,
- name: '数据大屏',
- icon: 'DesktopOutlined',
- component: './MonitoringScreen',
- access: 'screen',
- },
- {
- path: '/MonitoringScreen2',
- layout: false,
- name: '数据大屏2',
- icon: 'DesktopOutlined',
- component: './MonitoringScreen2',
- access: 'screen',
- },
- {
- path: '/ContentManagementSystem',
- name: 'CMS管理',
- icon: 'MediumOutlined',
- component: '../layouts/BasicLayout',
- access: 'cms',
- routes: [
- {
- path: '/ContentManagementSystem/InformationClassification',
- name: '资讯分类',
- access: 'cmstype',
- component: './ContentManagementSystem/InformationClassification',
- },
- {
- path: '/ContentManagementSystem/InformationList',
- name: '资讯列表',
- access: 'news',
- component: './ContentManagementSystem/InformationList',
- },
- {
- path: '/ContentManagementSystem/InformationList/edit.jsx',
- name: '资讯列表编辑',
- component: './ContentManagementSystem/InformationList/edit.jsx',
- hideInMenu: true,
- },
- {
- path: '/ContentManagementSystem/Advertisement',
- name: '广告位管理',
- access: 'banner',
- component: './ContentManagementSystem/Advertisement',
- },
- {
- path: '/ContentManagementSystem/Advertisement/edit.jsx',
- name: '广告位编辑',
- component: './ContentManagementSystem/Advertisement/edit.jsx',
- hideInMenu: true,
- },
- ],
- },
- {
- path: '/customer',
- name: '农户管理',
- icon: 'IdcardOutlined',
- access: 'customer',
- component: '../layouts/BasicLayout',
- routes: [
- {
- path: '/customer/index.jsx',
- name: '农户列表',
- access: 'customerList',
- icon: 'smile',
- component: './customer',
- },
- ],
- },
- {
- path: '/Machinery',
- name: '农机管理',
- icon: 'CarOutlined',
- access: 'agricultural',
- component: '../layouts/BasicLayout',
- routes: [
- {
- path: '/Machinery/Org',
- name: '合作社列表',
- access: 'org',
- component: './Machinery/Org',
- },
- {
- path: '/Machinery/Person',
- name: '人员管理',
- access: 'user',
- component: './Machinery/Person',
- },
- {
- path: '/Machinery/MachineryType',
- name: '分类管理',
- access: 'machinetype',
- component: './Machinery/MachineryType',
- },
- {
- path: '/Machinery/Machinery',
- name: '农机列表',
- access: 'machinery',
- component: './Machinery/Machinery',
- },
- {
- path: '/Machinery/Machinery/Edit',
- name: '农机编辑',
- component: './Machinery/Machinery/Edit',
- hideInMenu: true,
- },
- {
- path: '/Machinery/GIS',
- name: '农机GIS',
- component: './Machinery/GIS',
- },
- {
- path: '/Machinery/GIS/detail.jsx',
- name: 'GIS详情',
- component: './Machinery/GIS/detail.jsx',
- hideInMenu: true,
- },
- {
- path: '/Machinery/JobList',
- name: '作业列表',
- component: './Machinery/JobList',
- },
- {
- path: '/Machinery/OperationStatistics',
- name: '作业统计',
- component: './Machinery/OperationStatistics',
- },
- ],
- },
- {
- path: '/OrderManage',
- name: '订单调度',
- access: 'order',
- icon: 'PhoneOutlined',
- component: '../layouts/BasicLayout',
- routes: [
- {
- path: '/OrderManage/index.jsx',
- name: '订单调度',
- access: 'orderjob',
- component: './OrderManage',
- },
- {
- path: '/OrderManage/dispatch.jsx',
- name: '调度详情',
- access: 'orderjob',
- component: './OrderManage/dispatch.jsx',
- hideInMenu: true,
- },
- {
- path: '/OrderManage/OrderList/index.jsx',
- name: '订单列表',
- access: 'orderList',
- component: './OrderManage/OrderList',
- },
- {
- path: '/OrderManage/JobWarning/index.jsx',
- name: '预警监管',
- access: 'orderwarning',
- component: './OrderManage/JobWarning',
- },
- {
- path: '/OrderManage/JobWarning/detail.jsx',
- name: '订单详情',
- access: 'orderwarning',
- component: './OrderManage/JobWarning/detail.jsx',
- hideInMenu: true,
- },
- ],
- },
- {
- path: '/JobStatistics',
- name: '作业统计',
- access: 'statis',
- icon: 'ScheduleOutlined',
- component: '../layouts/BasicLayout',
- routes: [
- {
- path: '/JobStatistics/Order',
- name: '订单统计',
- access: 'st-order',
- component: './JobStatistics/Order',
- },
- {
- path: '/JobStatistics/Job',
- name: '作业统计',
- access: 'st-work',
- component: './JobStatistics/Job',
- },
- ],
- },
- {
- path: '/Finance',
- name: '财务管理',
- access: 'finance',
- icon: 'DollarOutlined',
- component: '../layouts/BasicLayout',
- routes: [
- {
- path: '/Finance/AccountLog',
- name: '平台流水',
- access: 'fi-system',
- component: './Finance/AccountLog',
- },
- {
- path: '/Finance/Withdrawal',
- name: '提现管理',
- access: 'fi-withdraw',
- component: './Finance/Withdrawal',
- },
- {
- path: '/Finance/Withdrawal/audit.jsx',
- name: '提现审批',
- component: './Finance/Withdrawal/audit.jsx',
- hideInMenu: true,
- },
- ],
- },
- {
- path: '/PlatformMessageManagement',
- name: '消息管理',
- icon: 'MailOutlined',
- access: 'message',
- component: '../layouts/BasicLayout',
- routes: [
- {
- path: '/PlatformMessageManagement/MessageManageList',
- name: '平台消息',
- access: 'sys-message',
- icon: 'smile',
- component: './PlatformMessageManagement/MessageManageList',
- },
- {
- path: '/PlatformMessageManagement/MessageEdit',
- name: '消息查看',
- component: './PlatformMessageManagement/MessageEdit',
- hideInMenu: true,
- },
- ],
- },
- {
- path: '/Feedback',
- name: '意见反馈',
- icon: 'MessageOutlined',
- component: './Feedback',
- access: 'feedback',
- },
- {
- path: '/SystemManagement',
- name: '系统管理',
- icon: 'SettingOutlined',
- access: 'system',
- component: '../layouts/BasicLayout',
- routes: [
- {
- path: '/SystemManagement/Region',
- name: '区域设置',
- access: 'region',
- component: './SystemManagement/Region',
- },
- {
- path: '/SystemManagement/UserRights',
- name: '角色管理',
- access: 'role',
- component: './SystemManagement/UserRights',
- },
- {
- path: '/SystemManagement/BasicParameters',
- name: '基本参数',
- access: 'setting',
- component: './SystemManagement/BasicParameters',
- },
- {
- path: '/SystemManagement/Subsoiler',
- name: '深松机',
- access: 'setting',
- component: './SystemManagement/Subsoiler',
- },
- {
- path: '/SystemManagement/Sensing',
- name: '传感设备列表',
- access: 'setting',
- component: './SystemManagement/Sensing',
- },
- {
- path: '/SystemManagement/Classification',
- name: '分类管理',
- access: 'setting',
- component: './SystemManagement/Classification',
- },
- ],
- },
-
- {
- path: '/',
- redirect: '/welcome',
- },
- {
- component: './404',
- },
- ];
|