From d8aa3268259cd68175933f7e12c017797c329356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BE=99=E8=BF=90=E6=A8=A1?= <1724894114@qq.com> Date: Wed, 10 Jul 2024 10:47:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8F=9C=E5=8D=95=E6=A0=8F?= =?UTF-8?q?=20=E5=A2=9E=E5=8A=A0=E5=A4=9A=E7=AA=97=E5=8F=A3=E5=AF=BC?= =?UTF-8?q?=E8=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/icons/index.js | 6 +- src/config/route.js | 122 +++++++++++++------------------ src/layout/components/topbar.vue | 1 - src/layout/index.vue | 2 +- src/style/app.scss | 8 +- src/style/fix.scss | 3 +- src/style/media.scss | 3 +- src/views/home/console/index.vue | 2 +- 8 files changed, 63 insertions(+), 84 deletions(-) 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 @@