From 638eadb63274e6ec84293211d7e31edccda121d6 Mon Sep 17 00:00:00 2001 From: lifizer <913626195@qq.com> Date: Wed, 20 May 2026 17:06:40 +0800 Subject: [PATCH] =?UTF-8?q?Fix(=E5=8D=83=E5=8E=BF&=E5=BA=97=E9=93=BA?= =?UTF-8?q?=E5=85=A5=E9=A9=BB):[#5234]=E5=90=8E=E5=8F=B0=E5=BA=97=E9=93=BA?= =?UTF-8?q?=E5=88=86=E7=B1=BB=E6=B7=BB=E5=8A=A0=E8=B6=85=E8=BF=87=2010=20?= =?UTF-8?q?=E4=B8=AA=E7=B1=BB=E5=88=AB=EF=BC=8C=E5=89=8D=E7=AB=AF=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=8F=AA=E5=B1=95=E7=A4=BA=E5=89=8D=2010=20=E4=B8=AA?= =?UTF-8?q?=EF=BC=8C=E5=A4=9A=E4=BD=99=E5=88=86=E7=B1=BB=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E7=BC=BA=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/join.js | 4 ++-- api/qianxian.js | 4 ++-- pkg_join/views/shop.vue | 10 ++++++++-- pkg_product/views/famousQianxianShop.vue | 9 ++++++--- 4 files changed, 18 insertions(+), 9 deletions(-) diff --git a/api/join.js b/api/join.js index e898cc5..10a5bd6 100644 --- a/api/join.js +++ b/api/join.js @@ -82,8 +82,8 @@ export function getHotelInfo(params) { } // 获取千县名品店铺类型列表 -export function getCountyFamousHotelType() { - return request.get("/countyFamous/hotelType", {}, {login: true}) +export function getCountyFamousHotelType(params) { + return request.get("/countyFamous/hotelType", params, {login: true}) } /** diff --git a/api/qianxian.js b/api/qianxian.js index 9ec0387..dd6b38a 100644 --- a/api/qianxian.js +++ b/api/qianxian.js @@ -313,8 +313,8 @@ export function getCityShopList(params) { return request.get('/countyFamous/hotel', params, {login: true}) } -export function getCountyFamousHotelType() { - return request.get('/countyFamous/hotelType', {}, {login: true}) +export function getCountyFamousHotelType(params) { + return request.get('/countyFamous/hotelType', params, {login: true}) } /** diff --git a/pkg_join/views/shop.vue b/pkg_join/views/shop.vue index 9e75c1c..e474563 100644 --- a/pkg_join/views/shop.vue +++ b/pkg_join/views/shop.vue @@ -698,7 +698,10 @@ export default { this.hotelTypeList = data.hotelTypeList || [] this.columnsType = this.hotelTypeList this.notice = data.merchantApplyNotice - getCountyFamousHotelType().then(res => { + getCountyFamousHotelType({ + page: 1, + limit: 9999 + }).then(res => { const listData = Array.isArray(res.data) ? res.data : (res.data && (res.data.hotelTypeList || res.data.list || res.data.records)) || [] @@ -843,7 +846,10 @@ export default { this.form.isCountyFamous = value if (value === 1) { if (this.countyFamousHotelTypeList.length === 0) { - getCountyFamousHotelType().then(res => { + getCountyFamousHotelType({ + page: 1, + limit: 9999 + }).then(res => { const listData = Array.isArray(res.data) ? res.data : (res.data && (res.data.hotelTypeList || res.data.list || res.data.records)) || [] diff --git a/pkg_product/views/famousQianxianShop.vue b/pkg_product/views/famousQianxianShop.vue index ce9d4c5..4757f46 100644 --- a/pkg_product/views/famousQianxianShop.vue +++ b/pkg_product/views/famousQianxianShop.vue @@ -1048,7 +1048,7 @@ export default { this.getGuideReq() // this.initPoster() this.getListReq() - this.getsaleList() + this.getSaleListReq() this.queryGuide('countyFamousIndex') this.getCityNewsCategoryReq() }, @@ -1242,7 +1242,7 @@ export default { } }) }, - getsaleList() { + getSaleListReq() { const params = { countyFamousDataId: this.id, page: 1, @@ -1746,7 +1746,10 @@ export default { } }, getShopTypeList() { - getCountyFamousHotelType().then(res => { + getCountyFamousHotelType({ + page: 1, + limit: 9999 + }).then(res => { const listData = Array.isArray(res.data) ? res.data : (res.data && (res.data.hotelTypeList || res.data.list || res.data.records)) || []