From e5fa80db142db5ddf69ca92a33d3e94e7a152071 Mon Sep 17 00:00:00 2001 From: xk_chenlianjie <15255791639@163.com> Date: Tue, 30 Jan 2024 13:47:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E7=BB=9F=E8=AE=A1=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/finance/marketing.js | 4 ++-- src/views/statistics/productStatisticsList.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/finance/marketing.js b/src/api/finance/marketing.js index 548554a..b946c9a 100644 --- a/src/api/finance/marketing.js +++ b/src/api/finance/marketing.js @@ -117,10 +117,10 @@ export default { data: page }) }, - getProductByPage(page) { + getProductPage(page) { // 商品销售列表 return request({ - url: `/${service_name}/mallProductInfo/getByPage`, + url: `/${service_name}/mallProductInfo/getPage`, method: 'post', data: page }) diff --git a/src/views/statistics/productStatisticsList.vue b/src/views/statistics/productStatisticsList.vue index b3c7f96..2dca2ca 100644 --- a/src/views/statistics/productStatisticsList.vue +++ b/src/views/statistics/productStatisticsList.vue @@ -257,7 +257,7 @@ export default { this.Time = [new Date(sevenDaysAgo), new Date(DaysAgo)] this.createTime2 = [new Date(sevenDaysAgo), new Date(DaysAgo)] - + console.log('createTime', this.createTime) this.page.params.startTime = sevenDaysAgo @@ -386,7 +386,7 @@ export default { }, // 商品销售列表 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) }) console.log('tableList', this.tableList) -- 2.36.2