| | |
| | | <div class="table-operator"> |
| | | <a-dropdown> |
| | | <a-menu slot="overlay"> |
| | | <a-menu-item |
| | | <!-- <a-menu-item |
| | | key="1" |
| | | @click="handleAddPre(1)" |
| | | ><a-icon type="smile" />自建</a-menu-item> |
| | | ><a-icon type="smile" />自建</a-menu-item> --> |
| | | <!-- <a-menu-item |
| | | key="2" |
| | | @click="handleAddPre(2)" |
| | |
| | | type="primary" |
| | | icon="plus" |
| | | @click="getReports" |
| | | v-has="'repair:accept'" |
| | | >领取</a-button> |
| | | <!-- <a-button type="primary" icon="download" @click="handleExportXls('维修工单')">导出</a-button> |
| | | <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel"> |
| | |
| | | <a |
| | | v-if="record.status === '2' || record.status === '3' " |
| | | @click="handleOrderExe(record)" |
| | | v-has="'repair:excute'" |
| | | >执行</a> |
| | | <a-divider |
| | | v-if="record.status === '2' || record.status === '3' " |
| | |
| | | let intervalId = setInterval(() => { |
| | | this.loadData(); |
| | | }, 600*1000); // 1000毫秒,即1秒 |
| | | onUnmounted(() => { |
| | | clearInterval(intervalId); |
| | | }); |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | } |
| | | }, |
| | | { |
| | | title: '关键设备?', |
| | | title: '关键设备', |
| | | align: "center", |
| | | dataIndex: 'specificEquipment', |
| | | scopedSlots: { customRender: 'specificEquipment' } |
| | |
| | | customRender: 'jell' |
| | | } |
| | | }, |
| | | { |
| | | title: '故障原因', |
| | | align: "center", |
| | | dataIndex: 'faultReason' |
| | | }, |
| | | { |
| | | title: '故障现象', |
| | | align: "center", |
| | | dataIndex: 'faultPhenomenon' |
| | | }, |
| | | { |
| | | title: '故障排除', |
| | | align: "center", |
| | | dataIndex: 'faultRemove' |
| | | }, |
| | | { |
| | | title: '预防措施', |
| | | align: "center", |
| | | dataIndex: 'preventiveMeasure' |
| | | }, |
| | | // { |
| | | // title: '故障原因', |
| | | // align: "center", |
| | | // dataIndex: 'faultReason' |
| | | // }, |
| | | // { |
| | | // title: '故障现象', |
| | | // align: "center", |
| | | // dataIndex: 'faultPhenomenon' |
| | | // }, |
| | | // { |
| | | // title: '故障排除', |
| | | // align: "center", |
| | | // dataIndex: 'faultRemove' |
| | | // }, |
| | | // { |
| | | // title: '预防措施', |
| | | // align: "center", |
| | | // dataIndex: 'preventiveMeasure' |
| | | // }, |
| | | // { |
| | | // title: '故障照片', |
| | | // align: "center", |
| | |
| | | }, |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | <style lang="less" scoped> |
| | | @import '~@assets/less/common.less'; |
| | | .error { |
| | | |
| | | /deep/.error { |
| | | color: red; |
| | | font-weight: bold; |
| | | } |
| | | .primary { |
| | | |
| | | /deep/.primary { |
| | | color: rgb(255, 0, 251); |
| | | font-weight: bold; |
| | | } |