| | |
| | | v-model="dates" :allowClear="false"/> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :md="5" :sm="5" :xs="5"> |
| | | <a-form-item label="设备级别"> |
| | | <a-select |
| | | :value="queryParams.deviceLevel" |
| | | mode="multiple" |
| | | placeholder="请选择设备级别" |
| | | allow-clear |
| | | :maxTagCount="1" |
| | | @change="selectChange($event,'deviceLevel')" |
| | | > |
| | | <a-select-option v-for="(item,index) in device_level_list" :value="item.value" :key="index"> |
| | | {{item.label}} |
| | | </a-select-option> |
| | | </a-select> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :md="5" :sm="5" :xs="5"> |
| | | <a-form-item label="设备种类"> |
| | | <a-select |
| | | :value="queryParams.deviceCategory" |
| | | mode="multiple" |
| | | placeholder="请选择设备种类" |
| | | allow-clear |
| | | :maxTagCount="1" |
| | | @change="selectChange($event,'deviceCategory')" |
| | | > |
| | | <a-select-option v-for="(item,index) in device_category_list" :value="item.value" :key="index"> |
| | | {{item.label}} |
| | | </a-select-option> |
| | | </a-select> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row :gutter="24" type="flex" align="middle"> |
| | |
| | | <template v-for="(tableHead, index) in tableHeads"> |
| | | <th v-if="checkedList.indexOf('lyl') > -1">利用率(%)</th> |
| | | <th v-if="checkedList.indexOf('kjl') > -1">开机率(%)</th> |
| | | <th v-if="checkedList.indexOf('gzl') > -1">故障率(%)</th> |
| | | <th v-if="checkedList.indexOf('kjsj') > -1">开机时间(小时)</th> |
| | | <th v-if="checkedList.indexOf('jgsj') > -1">加工时间(小时)</th> |
| | | <th v-if="checkedList.indexOf('qcgz') > -1">加工时间(小时)(去除故障时间)</th> |
| | | <th v-if="checkedList.indexOf('djsj') > -1">待机时间(小时)</th> |
| | | <th v-if="checkedList.indexOf('gjsj') > -1">关机时间(小时)</th> |
| | | <th v-if="checkedList.indexOf('gzsj') > -1">故障时间(小时)</th> |
| | | </template> |
| | | </tr> |
| | | </thead> |
| | |
| | | v-if="checkedList.indexOf('kjl') > -1"> |
| | | {{tableHead.openRate | numFilter}} |
| | | </td> |
| | | <td :style="{background:tableHead.color ,minWidth:'100px',width:'100px'}" |
| | | v-if="checkedList.indexOf('gzl') > -1"> |
| | | {{tableHead.faultRate }} |
| | | </td> |
| | | <td :style="{background:tableHead.color,minWidth:'110px',width:'110px' }" |
| | | v-if="checkedList.indexOf('kjsj') > -1"> |
| | | {{tableHead.openLong | getFormattedTime}} |
| | |
| | | v-if="checkedList.indexOf('jgsj') > -1"> |
| | | {{tableHead.processLong | getFormattedTime}} |
| | | </td> |
| | | <td :style="{background:tableHead.color,minWidth:'220px',width:'220px' }" |
| | | v-if="checkedList.indexOf('qcgz') > -1"> |
| | | {{tableHead.removeFaultRunLong | getFormattedTime}} |
| | | </td> |
| | | <td :style="{background:tableHead.color,minWidth:'110px',width:'110px' }" |
| | | v-if="checkedList.indexOf('djsj') > -1"> |
| | | {{tableHead.waitLong | getFormattedTime}} |
| | |
| | | <td :style="{background:tableHead.color,minWidth:'110px',width:'110px' }" |
| | | v-if="checkedList.indexOf('gjsj') > -1"> |
| | | {{tableHead.closeLong | getFormattedTime}} |
| | | </td> |
| | | <td :style="{background:tableHead.color,minWidth:'110px' ,width:'110px'}" |
| | | v-if="checkedList.indexOf('gzsj') > -1"> |
| | | {{tableHead.faultLong | getFormattedTime}} |
| | | </td> |
| | | </template> |
| | | |
| | |
| | | efficiencyOptions: [ |
| | | { label: '利用率', value: 'lyl' }, |
| | | { label: '开机率', value: 'kjl' }, |
| | | { label: '故障率', value: 'gzl' }, |
| | | { label: '开机时间', value: 'kjsj' }, |
| | | { label: '加工时间', value: 'jgsj' }, |
| | | { label: '加工时间(去除故障时间)', value: 'qcgz' }, |
| | | { label: '待机时间', value: 'djsj' }, |
| | | { label: '关机时间', value: 'gjsj' }, |
| | | { label: '故障时间', value: 'gzsj' } |
| | | { label: '关机时间', value: 'gjsj' } |
| | | ], |
| | | checkedList: ['lyl'], |
| | | dataList: [], |