数据统计默认第一个商品2
This commit is contained in:
@@ -266,8 +266,8 @@
|
|||||||
}
|
}
|
||||||
this.activityId = activityId;
|
this.activityId = activityId;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (!this.itemId && this.data.goods[1]) {
|
if (!this.itemId && this.data.goods[0]) {
|
||||||
this.itemId = this.data.goods[1]['value'];
|
this.itemId = this.data.goods[0]['value'];
|
||||||
}
|
}
|
||||||
if (this.$refs.table) {
|
if (this.$refs.table) {
|
||||||
this.$refs.table.reload({ page: 1 });
|
this.$refs.table.reload({ page: 1 });
|
||||||
|
|||||||
@@ -228,8 +228,8 @@
|
|||||||
}
|
}
|
||||||
this.activityId = activityId;
|
this.activityId = activityId;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (!this.itemId && this.data.goods[1]) {
|
if (!this.itemId && this.data.goods[0]) {
|
||||||
this.itemId = this.data.goods[1]['value'];
|
this.itemId = this.data.goods[0]['value'];
|
||||||
}
|
}
|
||||||
if (this.$refs.table) {
|
if (this.$refs.table) {
|
||||||
this.$refs.table.reload({ page: 1 });
|
this.$refs.table.reload({ page: 1 });
|
||||||
|
|||||||
@@ -288,8 +288,8 @@
|
|||||||
}
|
}
|
||||||
this.activityId = activityId;
|
this.activityId = activityId;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (!this.itemId && this.data.goods[1]) {
|
if (!this.itemId && this.data.goods[0]) {
|
||||||
this.itemId = this.data.goods[1]['value'];
|
this.itemId = this.data.goods[0]['value'];
|
||||||
}
|
}
|
||||||
if (this.$refs.table) {
|
if (this.$refs.table) {
|
||||||
this.$refs.table.reload({ page: 1 });
|
this.$refs.table.reload({ page: 1 });
|
||||||
|
|||||||
@@ -299,8 +299,8 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.activityId = activityId;
|
this.activityId = activityId;
|
||||||
if (!this.itemId && this.data.goods[1]) {
|
if (!this.itemId && this.data.goods[0]) {
|
||||||
this.itemId = this.data.goods[1]['value'];
|
this.itemId = this.data.goods[0]['value'];
|
||||||
}
|
}
|
||||||
this.getStatisticsStackedArea();
|
this.getStatisticsStackedArea();
|
||||||
if (this.$refs.table) {
|
if (this.$refs.table) {
|
||||||
|
|||||||
@@ -214,9 +214,9 @@
|
|||||||
this.$util.assignObject(this.statistics, {
|
this.$util.assignObject(this.statistics, {
|
||||||
...data
|
...data
|
||||||
});
|
});
|
||||||
if (data.tableData.goods[1]) {
|
if (data.tableData.goods[0]) {
|
||||||
this.itemIdPreheating = data.tableData.goods[1]['value'];
|
this.itemIdPreheating = data.tableData.goods[0]['value'];
|
||||||
this.itemIdLive = data.tableData.goods[1]['value'];
|
this.itemIdLive = data.tableData.goods[0]['value'];
|
||||||
}
|
}
|
||||||
this.queryFunnel();
|
this.queryFunnel();
|
||||||
// 修改页签标题
|
// 修改页签标题
|
||||||
|
|||||||
Reference in New Issue
Block a user