| @@ -13,7 +13,9 @@ | |||
| </div> | |||
| </div> | |||
| <div class="box" v-html="objPagesData.data"></div> | |||
| <div class="boxs"> | |||
| {{ objPagesData.data }} | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </template> | |||
| @@ -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; | |||
| } | |||
| </style> | |||