| | |
| | | <script> |
| | | import { |
| | | addDeviceMaintenance, |
| | | deleteDeviceMaintenance, |
| | | deleteDeviceMaintenance, exportDeviceMaintenance, |
| | | selectDeviceMaintenancePage |
| | | } from "@/api/cnas/resourceDemand/device"; |
| | | import limsTable from "@/components/Table/lims-table.vue"; |
| | |
| | | search: { |
| | | maintenanceDate: '', |
| | | }, |
| | | total: 0, |
| | | outLoading: false, |
| | | tableData: [], |
| | | tableLoading: false, |
| | |
| | | }); |
| | | }, |
| | | openHandleOut () { |
| | | this.outLoading = true |
| | | exportDeviceMaintenance({ |
| | | deviceId: this.clickNodeVal.value |
| | | }).then(res => { |
| | | this.outLoading = false |
| | | const blob = new Blob([res], { type: 'application/octet-stream' }); |
| | | this.$download.saveAs(blob, '设备维护保养.doc') |
| | | }) |
| | | |
| | | }, |
| | | handleDeleteClick(row) { |