Compare commits

3 Commits

Author SHA1 Message Date
xk_chenlianjie
2891c177f4 Merge branch 'master' of http://121.196.213.68:3000/caoliancun/PointsMall_Admin into chenlianjie 2024-01-30 13:47:52 +08:00
xk_chenlianjie
e5fa80db14 商品统计问题 2024-01-30 13:47:37 +08:00
06150a8095 Merge pull request 'chenlianjie' (#10) from chenlianjie into master
Reviewed-on: #10
2024-01-30 03:32:37 +00:00
2 changed files with 4 additions and 4 deletions

View File

@@ -117,10 +117,10 @@ export default {
data: page data: page
}) })
}, },
getProductByPage(page) { getProductPage(page) {
// 商品销售列表 // 商品销售列表
return request({ return request({
url: `/${service_name}/mallProductInfo/getByPage`, url: `/${service_name}/mallProductInfo/getPage`,
method: 'post', method: 'post',
data: page data: page
}) })

View File

@@ -386,7 +386,7 @@ export default {
}, },
// 商品销售列表 // 商品销售列表
async getList() { async getList() {
await marketingApi.getProductByPage(this.page).then(res => { await marketingApi.getProductPage(this.page).then(res => {
if ((res.code = 20000)) ({ list: this.tableList = [], totalCount: this.page.totalCount = 0 } = res.data) if ((res.code = 20000)) ({ list: this.tableList = [], totalCount: this.page.totalCount = 0 } = res.data)
}) })
console.log('tableList', this.tableList) console.log('tableList', this.tableList)