| @@ -443,7 +443,9 @@ export default { | ||||
|         if (res.data.customerHealthy) { | ||||
|           //判断是体征还是健康评估 | ||||
|           this.dataType = res.data.type; | ||||
|           this.healthyData = res.data.customerHealthy; | ||||
|           this.healthyData = JSON.parse( | ||||
|             JSON.stringify(res.data.customerHealthy) | ||||
|           ); | ||||
|           this.dataList = []; | ||||
|           this.remarkList[0].remarkValue = this.healthyData.remark; | ||||
|           if (this.dataType == 0) { | ||||
|   | ||||
| @@ -153,13 +153,7 @@ export default { | ||||
|       let healthy = Object.assign({}, customerHealthyData); | ||||
|       if (data && customerHealthyData) { | ||||
|         this.healthyData["arrayName"].forEach((item) => { | ||||
|           if (item === "bloodData" || item === "moistureDate") { | ||||
|             healthy[item] = healthy[item].map((str) => | ||||
|               str.substring(0, str.indexOf(".")) | ||||
|             ); | ||||
|           } else { | ||||
|             healthy[item] = (healthy[item] || "").split(","); | ||||
|           } | ||||
|           healthy[item] = (healthy[item] || "").split(","); | ||||
|         }); | ||||
|         this.form = healthy; | ||||
|         this.visible = true; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user