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" > - - + +