From ece292c45aaa8aede587eaa715b27d9384bab4ff Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 27 Jun 2024 15:13:33 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../statistics/AppCorpStatistics/AppCorpOverview.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/project/oms/apps/statistics/AppCorpStatistics/AppCorpOverview.vue b/project/oms/apps/statistics/AppCorpStatistics/AppCorpOverview.vue index 3171d108..c26f420b 100644 --- a/project/oms/apps/statistics/AppCorpStatistics/AppCorpOverview.vue +++ b/project/oms/apps/statistics/AppCorpStatistics/AppCorpOverview.vue @@ -122,7 +122,7 @@ export default { methods: { loadNode(node, resolve) { if (node.level == 0) { - this.instance.post(`/api/appcorp2/getCorpStatTotal`, null, {...this.globalParams}).then((res) => { + this.instance.post(`/api/appcorp2/getCorpStatTotal`, null, {params: this.globalParams}).then((res) => { if (res.data) { return resolve([{name: `全国 (${res.data})`}]); } @@ -134,7 +134,9 @@ export default { if (node.level == 1) { //全国 areaId = '' } - this.instance.post(`/api/appcorp2/getCorpStatByArea`, null, {areaId, ...this.globalParams}).then((res) => { + this.instance.post(`/api/appcorp2/getCorpStatByArea`, null, { + params: {areaId, ...this.globalParams} + }).then((res) => { if (res.data) { res.data.map((item) => { item.name = item.name + `(${item.total})` @@ -161,7 +163,7 @@ export default { this.getTableData() }, getInfo() { - this.instance.post(`/api/appcorp2/getLatestInfo?areaId=${this.areaId}`, null, {...this.globalParams}).then(res => { + this.instance.post(`/api/appcorp2/getLatestInfo?areaId=${this.areaId}`, null, {params: this.globalParams}).then(res => { if (res?.data) { this.info = res.data || {} } @@ -169,8 +171,7 @@ export default { }, getTableData() { this.instance.post(`/api/appcorp2/list?areaId=${this.areaId}&name=${this.name}`, null, { - ...this.page, - ...this.globalParams + params: {...this.page, ...this.globalParams} }).then(res => { if (res?.data) { this.gropList = res.data.records From 72d69e5c8f24e3112c789d166da9c94fb28ecb95 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 27 Jun 2024 15:24:37 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../oms/apps/statistics/AppCorpStatistics/AppCorpOverview.vue | 2 +- project/oms/apps/statistics/AppCorpStatistics/coDetail.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/project/oms/apps/statistics/AppCorpStatistics/AppCorpOverview.vue b/project/oms/apps/statistics/AppCorpStatistics/AppCorpOverview.vue index c26f420b..1cfd722c 100644 --- a/project/oms/apps/statistics/AppCorpStatistics/AppCorpOverview.vue +++ b/project/oms/apps/statistics/AppCorpStatistics/AppCorpOverview.vue @@ -46,7 +46,7 @@ @getList="getTableData" :col-configs="colConfigs" :dict="dict" height="calc(100% - 64px)"> diff --git a/project/oms/apps/statistics/AppCorpStatistics/coDetail.vue b/project/oms/apps/statistics/AppCorpStatistics/coDetail.vue index 26ae527b..df221032 100644 --- a/project/oms/apps/statistics/AppCorpStatistics/coDetail.vue +++ b/project/oms/apps/statistics/AppCorpStatistics/coDetail.vue @@ -53,7 +53,7 @@ export default {