From 5e49aca4224b16af61e9f8999b5fba22829bf006 Mon Sep 17 00:00:00 2001 From: jiang Date: Wed, 21 Jan 2026 15:00:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 4 +- src/router/index.js | 4 +- src/views/EquipmentLedger/index.vue | 163 +++++++++--------- src/views/screen/widescreen/cityScreen.vue | 2 +- .../screen/widescreen/cityWidescreen.vue | 2 +- src/views/screen/widescreen/gwScreen.vue | 2 +- src/views/screen/widescreen/index.vue | 2 +- src/views/screen/widescreen/shareScreen.vue | 2 +- src/views/screen/widescreen/wsScreen.vue | 2 +- .../entryApply/components/AddEquip.vue | 37 ++-- .../toolsManage/codeToolsLedger/index.vue | 108 ++++++++---- vue.config.js | 8 +- 12 files changed, 177 insertions(+), 159 deletions(-) diff --git a/.env.production b/.env.production index b032d264..0265fbd2 100644 --- a/.env.production +++ b/.env.production @@ -5,6 +5,6 @@ VUE_APP_TITLE = 机械化施工装备管理(共享)平台 ENV = 'production' # 机械化施工装备管理(共享)平台/生产环境 -VUE_APP_BASE_API = '/prod-api' +#VUE_APP_BASE_API = '/prod-api' # 宏源 -#VUE_APP_BASE_API = '/iws/jxhzb-api' +VUE_APP_BASE_API = '/iws/jxhzb-api' diff --git a/src/router/index.js b/src/router/index.js index 9ce778e7..24b900ca 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -395,8 +395,8 @@ Router.prototype.replace = function push(location) { } export default new Router({ - mode: process.env.VUE_APP_BASE_API == '/iws/jiju-api' ? 'hash' : 'history', // 宏源: hash + mode: 'hash', // 宏源: hash scrollBehavior: () => ({ y: 0 }), routes: constantRoutes, - base: process.env.VUE_APP_BASE_API == '/iws/jiju-api' ? '/iws/glweb/' : '/' // 宏源打包时隐藏 + base: '/iws/glweb/'// 宏源打包时隐藏 }) diff --git a/src/views/EquipmentLedger/index.vue b/src/views/EquipmentLedger/index.vue index 6eff1710..5ae04d9f 100644 --- a/src/views/EquipmentLedger/index.vue +++ b/src/views/EquipmentLedger/index.vue @@ -145,13 +145,13 @@ - - + + - + @@ -167,7 +167,7 @@ @change="majorChange" style="width: 100%" > - + @@ -195,7 +195,7 @@ - + @@ -251,12 +251,12 @@ - + - + @@ -267,18 +267,18 @@ clearable style="width: 100%" > - + - + - + @@ -334,20 +334,23 @@ @selection-change="handleSelectionChange" v-loading="tableLoading" border + fit stripe height="546" > - - + +