diff --git a/src/assets/icons/index.js b/src/assets/icons/index.js index 8e6505d..05beda9 100644 --- a/src/assets/icons/index.js +++ b/src/assets/icons/index.js @@ -56,10 +56,10 @@ export { default as Loading } from './menu/Loading.vue' export { default as Authentication } from './menu/Authenticat.vue' export { default as Tags } from './menu/Tags.vue' export { default as Order } from './menu/WorkOrder.vue' -export { default as Finance } from './menu/Finance.vue' +export { default as FinanceMag } from './menu/Finance.vue' export { default as Reports } from './menu/ReportForms.vue' -export { default as Shipment } from './menu/Shipment.vue' -export { default as Stock } from './menu/Stock.vue' +export { default as ShipmentMag } from './menu/Shipment.vue' +export { default as Inventory } from './menu/Stock.vue' export { default as Gather } from './home/gather.vue' export { default as HomeChart } from './home/chart.vue' diff --git a/src/config/route.js b/src/config/route.js index f114c4a..d64bc85 100644 --- a/src/config/route.js +++ b/src/config/route.js @@ -5,28 +5,6 @@ // 示例如下 const routes = [ - { - name: "add-permission", - path:"/setting/company/add-permission", - component:"setting/company/add-permission", - meta: { - code:"permission_system_company_permission", - icon: "sc-icon-Home", - title: "功能授权", - hidden: true - }, - }, - { - name: "company-user-permission", - path:"/setting/user/company-user-list", - component:"setting/user/company-user-list", - meta: { - code:"permission_system_user_list", - icon: "sc-icon-Home", - title: "用户列表", - hidden: true - }, - }, { name: "view-permission", path:"/setting/user/view-permission", @@ -40,56 +18,56 @@ const routes = [ }, - { - name: "home", - path: "/home", - meta: { - icon: "sc-icon-Home", - title: "首页", - hidden: true - }, - children: [{ - name: "dashboard", - path: "/dashboard", - component: "home/console", - meta: { - icon: "sc-icon-Console", - title: "控制台", - } - },{ - name: "userCenter", - path: "/user-center", - component: "userCenter", - meta: { - icon: "sc-icon-UserInfo", - title: "个人信息", - } - },{ - name: "document", - path: "/document", - component: "docsManager/index", - meta: { - icon: "sc-icon-UserInfo", - title: "文档管理", - } - },{ - name: "earlyWarning", - path: "/early-warning", - component: "earlyManager/index", - meta: { - icon: "sc-icon-UserInfo", - title: "预警管理", - } - },{ - name: "mail", - path: "/mail", - component: "userCenter", - meta: { - icon: "sc-icon-UserInfo", - title: "我的邮件", - } - }] - }, + // { + // name: "home", + // path: "/home", + // meta: { + // icon: "sc-icon-Home", + // title: "首页", + // hidden: true + // }, + // children: [{ + // name: "dashboard", + // path: "/dashboard", + // component: "home/console", + // meta: { + // icon: "sc-icon-Console", + // title: "控制台", + // } + // },{ + // name: "userCenter", + // path: "/user-center", + // component: "userCenter", + // meta: { + // icon: "sc-icon-UserInfo", + // title: "个人信息", + // } + // },{ + // name: "document", + // path: "/document", + // component: "docsManager/index", + // meta: { + // icon: "sc-icon-UserInfo", + // title: "文档管理", + // } + // },{ + // name: "earlyWarning", + // path: "/early-warning", + // component: "earlyManager/index", + // meta: { + // icon: "sc-icon-UserInfo", + // title: "预警管理", + // } + // },{ + // name: "mail", + // path: "/mail", + // component: "userCenter", + // meta: { + // icon: "sc-icon-UserInfo", + // title: "我的邮件", + // } + // }] + // }, { name: "order", path: "/order", diff --git a/src/layout/components/topbar.vue b/src/layout/components/topbar.vue index b0f559f..16549e1 100644 --- a/src/layout/components/topbar.vue +++ b/src/layout/components/topbar.vue @@ -44,7 +44,6 @@