Merge branch 'bd-dev' of http://47.94.45.65:3000/angelo/web-base-admin into bd-test
This commit is contained in:
commit
ff37e3a127
|
@ -403,3 +403,12 @@ export function directUpgradeRecordList(params) {
|
|||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 根据商品类型获取商品
|
||||
export function getGoodsListByType(params) {
|
||||
return request({
|
||||
url: '/sale/manage/wares/find-all-maker',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
<!--
|
||||
* @Descripttion:
|
||||
* @version:
|
||||
* @Author: kBank
|
||||
* @Date: 2023-02-23 15:59:57
|
||||
-->
|
||||
<template>
|
||||
<div class="page">
|
||||
<!-- <topBar v-if="topList.length > 0"
|
||||
|
|
|
@ -156,11 +156,12 @@ export default {
|
|||
|
||||
getData() {
|
||||
api
|
||||
.waresList({
|
||||
specialArea: this.isArea
|
||||
.getGoodsListByType({
|
||||
specialArea: this.isArea,
|
||||
isMakerGift: 3
|
||||
})
|
||||
.then((res) => {
|
||||
this.allGoods = res.data
|
||||
this.allGoods = res.data || []
|
||||
})
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue