@ -9,8 +9,8 @@
< el -descriptions :column ="1" border size = "small" >
< el -descriptions -item :label ="t('GanttChart.GanttPanel.deviceNameLabel')" > { { activePreviewDevice . deviceName } } < / e l - d e s c r i p t i o n s - i t e m >
< el -descriptions -item :label ="t('GanttChart.GanttPanel.deviceIdLabel')" > { { activePreviewDevice . deviceId } } < / e l - d e s c r i p t i o n s - i t e m >
< el -descriptions -item v-if ="activePreviewDevice.capacityType !== undefined " :label="t('GanttChart.GanttPanel.capacityTypeLabel')"> {{ getCapacityTypeLabel ( activePreviewDevice.capacityType ) }} < / el -descriptions -item >
< el -descriptions -item v-if ="activePreviewDevice.capacityType === 1 " :label="t('GanttChart.GanttPanel.capacityLabel')"> {{ activePreviewDevice.ratedCapacity ? ? ' - ' }} < / el -descriptions -item >
< el -descriptions -item v-if ="activePreviewDevice.capacityType !== 2 " :label="t('GanttChart.GanttPanel.capacityTypeLabel')"> {{ getCapacityTypeLabel ( activePreviewDevice.capacityType ) }} < / el -descriptions -item >
< el -descriptions -item v-if ="activePreviewDevice.capacityType !== 2 " :label="t('GanttChart.GanttPanel.capacityLabel')"> {{ activePreviewDevice.ratedCapacity ? ? ' - ' }} < / el -descriptions -item >
< el -descriptions -item v-if ="'dailyAverageValue' in activePreviewDevice" :label="t('GanttChart.GanttPanel.dailyAvgLabel')" > {{ activePreviewDevice.dailyAverageValue ? ? ' - ' }} < / el -descriptions -item >
< el -descriptions -item v-if ="'dataCollectionCapacity' in activePreviewDevice" :label="t('GanttChart.GanttPanel.dataCollectionCapacityLabel')" > {{ activePreviewDevice.dataCollectionCapacity ? ? ' - ' }} < / el -descriptions -item >
< el -descriptions -item :label ="t('GanttChart.GanttPanel.planCountLabel')" > { { activePreviewDevice . plans ? . length ? ? 0 } } < / e l - d e s c r i p t i o n s - i t e m >
@ -27,7 +27,7 @@
< / div >
< div > { { t ( 'GanttChart.GanttPanel.taskCodeColon' ) } } { { plan . taskCode ? ? '-' } } < / div >
< div > { { t ( 'GanttChart.GanttPanel.planNumberColon' ) } } { { plan . planNumber ? ? '-' } } < / div >
< template v-if ="activePreviewDevice.capacityType !== 1 ">
< template v-if ="activePreviewDevice.capacityType === 2 ">
< div > { { t ( 'GanttChart.GanttPanel.capacityLabel' ) } } : { { plan . ratedCapacity ? ? '-' } } < / div >
< div > { { t ( 'GanttChart.GanttPanel.capacityTypeLabel' ) } } : { { getCapacityTypeLabel ( plan . capacityType ) } } < / div >
< / template >