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)) || []