| | |
| | | <a-row :gutter="24"> |
| | | <a-col :md="9" :sm="9"> |
| | | <a-form-item label="时间"> |
| | | <a-range-picker @change="dateParamChange" v-model="dates" format="YYYY-MM-DD HH:mm:ss" showTime/> |
| | | <a-range-picker @change="dateParamChange" v-model="dates" format="YYYY-MM-DD HH:mm:ss"/> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :md="4" :sm="4"> |
| | |
| | | <a-button type="primary" @click="searchReset" icon="reload">重置</a-button> |
| | | </a-col> |
| | | <a-col :lg="2" :md="3" :sm="3" :xs="3"> |
| | | <a-button type="primary" @click="exportExcel" icon="download">导出</a-button> |
| | | <!--<a-button type="primary" @click="exportExcel" icon="download">导出</a-button>--> |
| | | <a-button type="primary" @click="handleExportXls('维修休班管理')" icon="download">导出</a-button> |
| | | </a-col> |
| | | </a-row> |
| | | </a-form> |
| | |
| | | </a-table> |
| | | </div> |
| | | <!-- table区域-end --> |
| | | <device-repair-model ref="modalForm" @ok="modalFormOk"></device-repair-model> |
| | | <device-repair-model ref="modalForm" :equipmentId="queryParams.equipmentId" @ok="modalFormOk"></device-repair-model> |
| | | <!--<device-repair-model-add ref="modalFormadd" @ok="modalFormOk"></device-repair-model-add>--> |
| | | <device-repair-model-edit ref="modalFormedit" @ok="modalFormOk"></device-repair-model-edit> |
| | | <!--<repair-model ref="repairModelFrom" @ok="modalFormOk">0</repair-model>--> |
| | | |
| | | </a-card> |
| | | </template> |
| | | |
| | |
| | | list: '/mdc/mdcEquipmentRepair/pageList', |
| | | deleteBatch: '/mdc/mdcEquipmentRepair/delete', |
| | | getEquipmentByPid: '/mdc/mdcequipment/getEquipmentByPid', |
| | | exportXlsUrl:'/mdc/mdcEquipmentRepair/exportXls' |
| | | } |
| | | } |
| | | }, |
| | |
| | | this.queryParamEquip.equipmentId = val.equipmentId |
| | | } else { |
| | | this.queryParamEquip.parentId = val.key |
| | | this.queryParams.equipmentId = '' |
| | | this.queryParams.equipmentId ='' |
| | | } |
| | | this.searchQuery() |
| | | }else{ |
| | | this.queryParams.equipmentId='' |
| | | this.queryParamEquip.parentId = "" |
| | | } |
| | | this.searchQuery() |
| | | }, |
| | | nodePeople(val){ |
| | | if (JSON.stringify(val) != '{}') { |
| | |
| | | if(this.queryParams.typeTree == "1"){ |
| | | this.queryParams.parentId = this.queryParamEquip.parentId |
| | | // this.queryParams.equipmentId = this.queryParamEquip.equipmentId |
| | | |
| | | }else{ |
| | | this.queryParams.parentId = this.queryParamPeople.parentId |
| | | |
| | | // this.queryParams.equipmentId = "" |
| | | } |
| | | this.dataSource = []; |
| | |
| | | $("#DeviceList").table2excel({ |
| | | exclude: ".noExl", |
| | | name: "Excel Document Name", |
| | | filename: "设备维修详情", |
| | | filename: "维修休班管理", |
| | | exclude_img: true, |
| | | fileext: ".xls", |
| | | exclude_links: true, |