From 6a19bb464dee702ef081265c06e360527df4c6d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E7=BB=A7=E7=BB=AD=E5=90=B9?= <17611323298@163.com> Date: Wed, 29 Nov 2023 18:21:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Statistics/ai/reportDetail.vue | 82 +++--------------------- 1 file changed, 10 insertions(+), 72 deletions(-) diff --git a/src/views/Statistics/ai/reportDetail.vue b/src/views/Statistics/ai/reportDetail.vue index 6c1c583..c817ba6 100644 --- a/src/views/Statistics/ai/reportDetail.vue +++ b/src/views/Statistics/ai/reportDetail.vue @@ -13,7 +13,9 @@ -
+
+ {{ objPagesData.data }} +
@@ -305,77 +307,6 @@ export default { .then((res) => { if (res.code == 10000) { this.objPagesData = res.data; - this.params = JSON.parse(res.data.screen); - let arr = this.formatData(JSON.parse(res.data.data)); - this.getProjectList(); - this.needCpuData.forEach((item) => { - if ( - item.value != "usageSuggestions" && - item.value != "customerPortrait" - ) { - this[item.value] = arr.filter((ars) => ars.name == item.name); - } else { - let arss = arr.filter((ars) => ars.name == item.name)[0]; - arss.children.forEach((child) => { - this[item.value].push(child.name); - if ( - item.value == "customerPortrait" && - child.name == "画像触达总览" && - child.children[0].length != 0 - ) { - this.customerPortraitList = child.children[0].data; - } else if ( - item.value == "customerPortrait" && - child.name == "项目画像触达" && - child.children[0].length != 0 - ) { - this.touchesList = child.children[0].data; - } - }); - } - }); - this.dateAllLocking.forEach((item, index) => { - item.children.forEach((child, childIndex) => { - child.children.forEach((childs, indexs) => { - childs.echartsId = - "screening" + - index + - "second" + - childIndex + - "last" + - indexs; - }); - - if (child.name.indexOf("概况") != -1) { - child.children = this.groupList(child.children, 3); - } - }); - }); - - this.marketingAnalysis.forEach((item, index) => { - item.children.forEach((child, childIndex) => { - child.children.forEach((childs, indexs) => { - childs.echartsId = - "selling" + index + "second" + childIndex + "last" + indexs; - }); - }); - }); - - this.employeeAnalysis.forEach((item, index) => { - item.children.forEach((child, childIndex) => { - child.children.forEach((childs, indexs) => { - childs.echartsId = - "employee" + - index + - "second" + - childIndex + - "last" + - indexs; - }); - }); - }); - - console.log(this.dateAllLocking); } }); }, @@ -1692,4 +1623,11 @@ div { #pdfHtml { background: #fff; } + +.boxs { + text-indent: 2em; + line-height: 45px; + padding: 32px 0; + font-size: 18px; +} \ No newline at end of file