From 1b1f2b86549563bbbb18633c02fa1911e4f547e7 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期三, 10 九月 2025 15:46:59 +0800 Subject: [PATCH] 改bug --- frontWuhu/src/router/index.js | 2 +- frontWuhu/src/views/business/appHall.vue | 16 ++++++++++++++-- frontWuhu/.env.development | 3 ++- frontWuhu/src/views/system/menu.vue | 4 ++-- frontWuhu/src/views/business/serviceProviderResources.vue | 1 + 5 files changed, 20 insertions(+), 6 deletions(-) diff --git a/frontWuhu/.env.development b/frontWuhu/.env.development index 5652e89..60e8a48 100644 --- a/frontWuhu/.env.development +++ b/frontWuhu/.env.development @@ -8,7 +8,8 @@ # VVUE_APP_API_BASE_URL='http://192.168.0.102:10031' # 浠诲悍鏈湴 -VUE_APP_API_BASE_URL='http://192.168.1.54:10031' +# VUE_APP_API_BASE_URL='http://192.168.1.54:10031' +VUE_APP_API_BASE_URL = 'http://wuhu.dtkey.cn/hfznzzzd' #鐒︽澗鏈湴 # VUE_APP_API_BASE_URL='http://192.168.0.36:10011' diff --git a/frontWuhu/src/router/index.js b/frontWuhu/src/router/index.js index 2be1e61..dacc38f 100644 --- a/frontWuhu/src/router/index.js +++ b/frontWuhu/src/router/index.js @@ -67,7 +67,7 @@ router.beforeEach((to, from, next) => { if (to.path === '/business/screen') { // window.open('http://localhost:8080/#/maturity') - window.open(process.env.VUE_APP_SCREENURL1 + '/screen/#/maturity') + window.open(process.env.VUE_APP_SCREENURL2) next({ name: from.name }) return } diff --git a/frontWuhu/src/views/business/appHall.vue b/frontWuhu/src/views/business/appHall.vue index db4eaa4..cb51983 100644 --- a/frontWuhu/src/views/business/appHall.vue +++ b/frontWuhu/src/views/business/appHall.vue @@ -14,7 +14,7 @@ </div> </div> <div class="box_cate"> - <div class="list"> + <div class="list" v-if="list.length > 0"> <div class="list_item" v-for="(item, index) in list" :key="index"> <div class="list_item_image"> <img :src="item.fullLog" alt="" /> @@ -30,8 +30,12 @@ <div class="list_zw"></div> <div class="list_zw"></div> </div> + <div class="list" v-else> + <div class="list_wu">鏃犳暟鎹�</div> + </div> <div class="pagination"> <el-pagination + v-if="list.length > 0" @current-change="handleCurrentChange" :current-page="page" :page-sizes="[12, 24, 36, 48]" @@ -82,7 +86,8 @@ capacity: 12, page: this.page, model: { - applicationInfo: this.applicationInfo + applicationInfo: this.applicationInfo, + status: 0 } }).then(res => { res.records.forEach((item) => { @@ -191,6 +196,13 @@ align-items: center; flex-wrap: wrap; justify-content: space-between; + .list_wu { + width: 100%; + text-align: center; + margin: 50px 0; + font-size: 14px; + color: #666666; + } .list_zw { width: 24%; height: 0; diff --git a/frontWuhu/src/views/business/serviceProviderResources.vue b/frontWuhu/src/views/business/serviceProviderResources.vue index 7d52453..d001e92 100644 --- a/frontWuhu/src/views/business/serviceProviderResources.vue +++ b/frontWuhu/src/views/business/serviceProviderResources.vue @@ -58,6 +58,7 @@ </div> <div class="pagination"> <el-pagination + v-if="list.length > 0" @current-change="handleCurrentChange" :current-page="page" :page-sizes="[12, 24, 36, 48]" diff --git a/frontWuhu/src/views/system/menu.vue b/frontWuhu/src/views/system/menu.vue index b71fa84..d15254f 100644 --- a/frontWuhu/src/views/system/menu.vue +++ b/frontWuhu/src/views/system/menu.vue @@ -16,11 +16,11 @@ row-key="id" stripe border - + @selection-change="handleSelectionChange" > <el-table-column type="selection" width="55" align="center" fixed="left"></el-table-column> - <el-table-column prop="name" label="鑿滃崟鍚嶇О" fixed="left" align="center" min-width="160px"></el-table-column> + <el-table-column prop="name" label="鑿滃崟鍚嶇О" fixed="left" min-width="160px"></el-table-column> <el-table-column prop="icon" label="鍥炬爣" align="center" min-width="80px" class-name="table-column-icon"> <template slot-scope="{row}"> <i v-if="row.icon != null && row.icon !== ''" :class="{[row.icon]: true}"></i> -- Gitblit v1.9.3