| | |
| | | <a-spin :spinning="loading"> |
| | | <table id="dataTable" v-if="dataSource.list1&&dataSource.list1.length>0"> |
| | | <thead> |
| | | <tr style="height: 48px"> |
| | | <th colspan="42">生产设备自主维护点检表</th> |
| | | <tr style="height: 48px;position: relative"> |
| | | <th colspan="42"> |
| | | 生产设备自主维护点检表 |
| | | <span style="position: absolute;right: 22.5%">{{dataSource.regulations}}</span> |
| | | </th> |
| | | </tr> |
| | | |
| | | <tr style="height: 48px"> |
| | |
| | | <tr> |
| | | <td colspan="11">周保养检查人确认(维修人员签字)</td> |
| | | <td v-for="childItem in 4" colspan="6"> |
| | | {{dataSource.list5&&dataSource.list6[0]&&dataSource.list6[0].dataList&&dataSource.list6[0].dataList.find(item=>item.weekOfMonth===childItem)?dataSource.list6[0].dataList.find(item=>item.weekOfMonth===childItem).repairConfirmPerson:''}} |
| | | |
| | | {{dataSource.list6&&dataSource.list6[0]&&dataSource.list6[0].dataList&&dataSource.list6[0].dataList.find(item=>item.weekOfMonth===childItem)?dataSource.list6[0].dataList.find(item=>item.weekOfMonth===childItem).repairConfirmPerson:''}} |
| | | </td> |
| | | <td colspan="7"> |
| | | {{dataSource.list5&&dataSource.list6[0]&&dataSource.list6[0].dataList&&dataSource.list6[0].dataList.find(item=>item.weekOfMonth===5)?dataSource.list6[0].dataList.find(item=>item.weekOfMonth===5).repairConfirmPerson:''}} |
| | | {{dataSource.list6&&dataSource.list6[0]&&dataSource.list6[0].dataList&&dataSource.list6[0].dataList.find(item=>item.weekOfMonth===5)?dataSource.list6[0].dataList.find(item=>item.weekOfMonth===5).repairConfirmPerson:''}} |
| | | </td> |
| | | </tr> |
| | | |
| | |
| | | import $ from 'jquery' |
| | | import '@/components/table2excel/table2excel' |
| | | import EamEquipmentListModal from './modules/SelfMaintenanceAndInspectionList/EamEquipmentListModal' |
| | | import moment from 'moment' |
| | | |
| | | export default { |
| | | name: 'SelfMaintenanceAndInspectionList', |
| | |
| | | list: '/eam/inspectionOrder/findInspectionForms' |
| | | } |
| | | } |
| | | }, |
| | | created() { |
| | | this.$set(this.queryParam, 'dataTime', moment().format('YYYY-MM')) |
| | | }, |
| | | methods: { |
| | | searchQuery() { |
| | |
| | | }, |
| | | |
| | | searchReset() { |
| | | this.queryParam = this.dataSource = {} |
| | | this.queryParam = { |
| | | dataTime: moment().format('YYYY-MM') |
| | | } |
| | | this.dataSource = {} |
| | | this.tableElement = null |
| | | } |
| | | } |