|
|
@ -51,9 +51,9 @@ export default { |
|
|
|
this.disabled = false |
|
|
|
this.chartData.forEach(item => { |
|
|
|
this.date.push(moment(item.examTime).format('l')) |
|
|
|
this.typeList.OD.push([item.examTime, item.odOil.slice(0, item.odOil.length - 3)]) |
|
|
|
this.typeList.OD.push([item.examTime, item.odOil]) |
|
|
|
this.legendData[0] = 'OD' |
|
|
|
this.typeList.OS.push([item.examTime, item.osOil.slice(0, item.osOil.length - 3)]) |
|
|
|
this.typeList.OS.push([item.examTime, item.osOil]) |
|
|
|
this.legendData[1] = 'OS' |
|
|
|
}) |
|
|
|
} else { |
|
|
|