|
|
|
|
@ -91,11 +91,27 @@
|
|
|
|
|
min-width="140px"
|
|
|
|
|
/> -->
|
|
|
|
|
<el-table-column
|
|
|
|
|
:label="t('DataCollection.RunReport.tableUtilizationRateColumn')"
|
|
|
|
|
align="center"
|
|
|
|
|
prop="utilizationRate"
|
|
|
|
|
min-width="120px"
|
|
|
|
|
/>
|
|
|
|
|
>
|
|
|
|
|
<template #header>
|
|
|
|
|
<span>{{ t('DataCollection.RunReport.tableUtilizationRateColumn') }}</span>
|
|
|
|
|
<el-tooltip placement="top" :offset="10">
|
|
|
|
|
<template #content>
|
|
|
|
|
<div style="white-space: pre-line;">
|
|
|
|
|
开机率 = 在线时间 / 总的时间<br/>
|
|
|
|
|
在线时间 = 运行时间 + 空闲时间 + 故障时间<br/>
|
|
|
|
|
稼动率 = 运行时间 / 在线时间<br/>
|
|
|
|
|
开机率 =(运行时间 + 空闲时间 + 故障时间)/ 总的时间
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<el-icon style="margin-left: 4px; cursor: pointer; color: #909399; vertical-align: middle;">
|
|
|
|
|
<QuestionFilled />
|
|
|
|
|
</el-icon>
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
:label="t('DataCollection.RunReport.tablePowerOnRateColumn')"
|
|
|
|
|
align="center"
|
|
|
|
|
@ -125,6 +141,7 @@
|
|
|
|
|
import dayjs from 'dayjs'
|
|
|
|
|
import download from '@/utils/download'
|
|
|
|
|
import { DeviceOperationRecordApi, type DeviceOperationRecordVO, type DeviceOperationRecordPageParams } from '@/api/iot/deviceOperationRecord'
|
|
|
|
|
import {QuestionFilled} from "@element-plus/icons-vue";
|
|
|
|
|
|
|
|
|
|
defineOptions({ name: 'IotRunReport' })
|
|
|
|
|
|
|
|
|
|
|