From 835d4efd5b46dbd75e171d3009a8eaf7bf4cbeeb Mon Sep 17 00:00:00 2001 From: juzi <819872918@qq.com> Date: Mon, 20 Apr 2026 13:02:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=B6=E9=80=A0=E6=88=90=E6=9C=AC=E5=88=86?= =?UTF-8?q?=E6=9E=90=E9=85=8D=E5=90=88=E5=90=8E=E7=AB=AF=E4=BF=AE=E6=94=B9?= =?UTF-8?q?&=E6=B7=BB=E5=8A=A0=E9=A1=B6=E9=83=A8=E8=B4=A6=E5=8F=B7?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 4 +- src/layout/components/Navbar.vue | 14 +++-- src/views/home/components/Header.vue | 55 ++++++++++++++----- src/views/home/components/budgetHeader.vue | 55 +++++++++++++++---- src/views/home/components/noRouterHeader.vue | 55 +++++++++++++++---- .../operatingLineBarSale.vue | 2 +- .../operatingLineBarSaleGroup.vue | 2 +- .../SIMFRMCostAnalysis.vue | 3 +- .../productionCostAnalysis/combustible.vue | 7 +-- .../fuelCostAnalysis.vue | 3 +- .../mfgOverheadCostAnalysis.vue | 1 + .../mfgOverheadSingleCostAnalysis.vue | 3 +- .../originalSheetCostBase.vue | 3 +- .../originalSheetLabor.vue | 5 +- .../osElectricityCostAnalysis.vue | 1 + .../productionCostAnalysis/procAuxMatCost.vue | 1 + .../procMfgOverheadCost.vue | 1 + .../procPackMatCost.vue | 1 + .../processingCostAnalysisBase.vue | 1 + .../productionCostAnalysis/processingFuel.vue | 1 + .../processingLabor.vue | 1 + .../singleCombustible.vue | 3 +- .../singleProcAuxMatCost.vue | 5 +- .../singleProcMfgOverheadCost.vue | 9 +-- .../singleProcessingFuel.vue | 1 + .../dataTrendBarSingleFuelDian.vue | 53 +++++++++++------- .../noRouterHeader.vue | 55 +++++++++++++++---- .../relateCombustibleCostAnalysis.vue | 12 ++-- .../relatedIndicatorsAnalysis.vue | 12 ++-- 29 files changed, 258 insertions(+), 111 deletions(-) diff --git a/.env.dev b/.env.dev index e0b89faf..526323a3 100644 --- a/.env.dev +++ b/.env.dev @@ -12,9 +12,9 @@ VUE_APP_TITLE = 洛玻集团驾驶舱 # 杨姗姗 # VUE_APP_BASE_API = 'http://172.16.20.218:7070' # 小田 -# VUE_APP_BASE_API = 'http://172.16.19.232:7070' +VUE_APP_BASE_API = 'http://172.16.19.232:7070' # 测试 -VUE_APP_BASE_API = 'http://192.168.0.35:8080' +# VUE_APP_BASE_API = 'http://192.168.0.35:8080' # 闫阳 # VUE_APP_BASE_API = 'http://172.16.19.131:7070' diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 5ba38c1f..72fb52a9 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -14,15 +14,16 @@ - + - + 退出登录 + 切换账号 @@ -97,7 +98,12 @@ export default { checkPermi(permissions) { return this.$auth.hasPermi(permissions) return true; - } + }, + handleToggle() { + this.$store.dispatch('LogOut').then(() => { + location.href = getPath('/index'); + }) + }, } } diff --git a/src/views/home/components/Header.vue b/src/views/home/components/Header.vue index 48dc441f..735c55b0 100644 --- a/src/views/home/components/Header.vue +++ b/src/views/home/components/Header.vue @@ -8,13 +8,17 @@
- - - - + +
+ + {{ nickname }} + +
- 退出登录 - 切换账号 + + 退出登录 + + 切换账号
@@ -44,6 +48,7 @@