From be8698382adf519c2035c0cb05d4ea9d7e92f40c Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 26 Jun 2024 09:03:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0areaId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../apps/statistics/AppCorpStatistics/coDetail.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/project/oms/apps/statistics/AppCorpStatistics/coDetail.vue b/project/oms/apps/statistics/AppCorpStatistics/coDetail.vue index 10d39061..26ae527b 100644 --- a/project/oms/apps/statistics/AppCorpStatistics/coDetail.vue +++ b/project/oms/apps/statistics/AppCorpStatistics/coDetail.vue @@ -34,13 +34,13 @@ export default { }).then(res => { if (res?.data) { this.detail = res.data.records?.[0] || {} - } - }) - this.instance.post("/api/apiForward", null, { - params: {url: `${aiBase}/app/appmasssendingtaskbaidu/ailist?size=15`} - }).then(res => { - if (res?.data) { - this.tableData = res.data + return this.instance.post("/api/apiForward", null, { + params: {url: `${aiBase}/app/appmasssendingtaskbaidu/ailist?size=15&areaId=${this.detail.areaId}`} + }).then(ret => { + if (ret?.data) { + this.tableData = ret.data + } + }) } }) }