20230228
This commit is contained in:
parent
1bae6a255c
commit
330499b5f4
File diff suppressed because one or more lines are too long
|
@ -37,8 +37,7 @@
|
||||||
:echartArr="o.presentationForm" :title="o.componentName.split('_')[0]"
|
:echartArr="o.presentationForm" :title="o.componentName.split('_')[0]"
|
||||||
:chartName="o.combinationName" :typeValue="typeCycleTimeData"
|
:chartName="o.combinationName" :typeValue="typeCycleTimeData"
|
||||||
:startEndData="{ start: o.startSectionNames, end: o.endSectionNames }"
|
:startEndData="{ start: o.startSectionNames, end: o.endSectionNames }"
|
||||||
:historyData="o.cycleTimeData
|
/>
|
||||||
" />
|
|
||||||
|
|
||||||
<!-- 周期统计的组件 -->
|
<!-- 周期统计的组件 -->
|
||||||
<typeChart ref="typeChartRef2" style="width: 100%;"
|
<typeChart ref="typeChartRef2" style="width: 100%;"
|
||||||
|
@ -47,8 +46,7 @@
|
||||||
:dataArr="o.cycleStatisticsData" :echartArr="o.presentationForm"
|
:dataArr="o.cycleStatisticsData" :echartArr="o.presentationForm"
|
||||||
:title="o.componentName.split('_')[0]" :chartName="o.combinationName"
|
:title="o.componentName.split('_')[0]" :chartName="o.combinationName"
|
||||||
:typeValue="typeCycleStatistics"
|
:typeValue="typeCycleStatistics"
|
||||||
:startEndData="{ start: o.startSectionNames, end: o.endSectionNames }"
|
:startEndData="{ start: o.startSectionNames, end: o.endSectionNames }" />
|
||||||
:historyData="o.cycleStatisticsData" />
|
|
||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
</div>
|
</div>
|
||||||
</el-collapse>
|
</el-collapse>
|
||||||
|
@ -243,6 +241,9 @@ export default {
|
||||||
if (refItem.echartArr.includes('均值图') && refItem.$refs.avgChartRef != undefined) {
|
if (refItem.echartArr.includes('均值图') && refItem.$refs.avgChartRef != undefined) {
|
||||||
refItem.$refs.avgChartRef.drawBar(refItem.dataArr[0])
|
refItem.$refs.avgChartRef.drawBar(refItem.dataArr[0])
|
||||||
}
|
}
|
||||||
|
if (refItem.componentName.includes('OD') && refItem.$refs.ODChartRef != undefined && refItem.dataArr[0].ob_data.length != 0) {
|
||||||
|
refItem.$refs.ODChartRef.drawThermalChart(refItem.dataArr[0].ob_data, refItem.startEndData)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -353,6 +354,9 @@ export default {
|
||||||
// 数据改变重新渲染饼图
|
// 数据改变重新渲染饼图
|
||||||
itemTypeChart.$refs.pieChartRef.drawPie(itemTypeChart.dataArr[0])
|
itemTypeChart.$refs.pieChartRef.drawPie(itemTypeChart.dataArr[0])
|
||||||
}
|
}
|
||||||
|
if (itemTypeChart.componentName.includes('OD') && itemTypeChart.$refs.ODChartRef != undefined && itemTypeChart.dataArr[0].ob_data.length != 0) {
|
||||||
|
itemTypeChart.$refs.ODChartRef.drawThermalChart(itemTypeChart.dataArr[0].ob_data, itemTypeChart.startEndData)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue