修复健康报告导出报错问题
This commit is contained in:
parent
865b579c02
commit
8be43d712d
@ -679,7 +679,8 @@ export default {
|
|||||||
(detailHealthy.tall / 100)
|
(detailHealthy.tall / 100)
|
||||||
).toFixed(1);
|
).toFixed(1);
|
||||||
|
|
||||||
this.detailHealthy = healthyData.dealHealthyExtend(detailHealthy);
|
healthyData.dealHealthyExtend(detailHealthy);
|
||||||
|
this.detailHealthy = detailHealthy;
|
||||||
for (let i = 0; i < this.healthyTitleData.length; i++) {
|
for (let i = 0; i < this.healthyTitleData.length; i++) {
|
||||||
let stepArray = [];
|
let stepArray = [];
|
||||||
for (let j = 0; j < this.healthyTitleData[i].length; j++) {
|
for (let j = 0; j < this.healthyTitleData[i].length; j++) {
|
||||||
@ -750,6 +751,7 @@ export default {
|
|||||||
},
|
},
|
||||||
generateReport() {
|
generateReport() {
|
||||||
let data = this.detailHealthy;
|
let data = this.detailHealthy;
|
||||||
|
console.log(this.detailHealthy);
|
||||||
if (
|
if (
|
||||||
!this.guidanceList[0].guidanceValue ||
|
!this.guidanceList[0].guidanceValue ||
|
||||||
this.guidanceList[0].guidanceValue.length == 0
|
this.guidanceList[0].guidanceValue.length == 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user