style: 修改部分页面中展示细节,分销订单中新增状态展示,统计模块优化代码,热词模块 历史热词默认展示昨天热词,以及优化热词统计

This commit is contained in:
学习很差啦
2023-04-03 14:22:07 +08:00
parent 3498de4529
commit 170244cc9c
15 changed files with 149 additions and 83 deletions

View File

@@ -337,6 +337,7 @@ export default {
// 实例化订单图表
async initOrderChartList(name) {
this.orderChart ? this.orderChart.clear() : ''
const res = await API_Goods.getOrderChart(this.orderParams);
if (res.success) {
this.chartList = res.result;
@@ -446,6 +447,7 @@ export default {
// 浏览量
async getPvChart() {
this.pvChart ? this.pvChart.clear() : ''
API_Member.getStatisticsList(this.params).then((res) => {
if (res.result) {
this.data = res.result;
@@ -464,6 +466,7 @@ export default {
},
// 实例化会员流量图表
async initHistoryMemberChartList() {
this.historyMemberChart ? this.historyMemberChart.clear() : ''
const res = await API_Member.historyMemberChartList();
if (res.success) {
this.chartList = res.result;