From c129056d368e51f1748a5ad573f6f3a7112343c8 Mon Sep 17 00:00:00 2001 From: "liujw155@outlook.com" Date: Fri, 6 May 2022 17:21:43 +0800 Subject: [PATCH] fix statistics --- src/pages/collection/info/info.vue | 4 ++-- src/pages/collection/list/list.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/collection/info/info.vue b/src/pages/collection/info/info.vue index 75c2d44..2857a77 100644 --- a/src/pages/collection/info/info.vue +++ b/src/pages/collection/info/info.vue @@ -170,7 +170,7 @@ export default { url: API.consumeCountDetailLs, data: { brand_id, - stadium_id: stadium_id == 0 ? -1 : stadium_id == -2 ? '' : stadium_id, + stadium_id: stadium_id, time_str, page, page_size, @@ -224,7 +224,7 @@ export default { url: API.consumeCountGetScene, data: { brand_id: optionsQuery.brand_id, - stadium_id: optionsQuery.stadium_id == 0 ? -1 : curStadium.id, + stadium_id: curStadium.val || '', }, failMsg: '加载场景列表失败!', diff --git a/src/pages/collection/list/list.vue b/src/pages/collection/list/list.vue index f46ebfc..00704cf 100644 --- a/src/pages/collection/list/list.vue +++ b/src/pages/collection/list/list.vue @@ -20,7 +20,7 @@ - {{ e.count_type_actual_income_amount || 0 }}.00 + {{ e.count_type_actual_income_amount || 0 }} 日总收入