| | |
| | | <a-space> |
| | | <a-button type="primary" @click="searchQuery" icon="search">查询</a-button> |
| | | <a-button type="primary" @click="searchReset" icon="reload">重置</a-button> |
| | | <a-button type="primary" icon="download" @click="handleExport">导出</a-button> |
| | | </a-space> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | import AlarmLogList from './AlarmLogList' |
| | | import WorkChartModel from './WorkChartModel' |
| | | import WorkHistoryModel from './WorkHistoryModel' |
| | | import { getAction } from '@/api/manage' |
| | | import { downFile, getAction } from '@/api/manage' |
| | | |
| | | export default { |
| | | components: { |
| | |
| | | url: { |
| | | getBaseTree: '/mdc/mdcequipment/loadTree', |
| | | getEquipmentByPid: '/mdc/mdcEquipment/getEquipmentByPid', |
| | | list: '/mdc/mdcEquipmentRunningSection/logList' |
| | | list: '/mdc/mdcEquipmentRunningSection/logList', |
| | | exportXlsUrl: '/mdc/mdcEquipmentRunningSection/exportLogXls' |
| | | }, |
| | | ProStartId: '' |
| | | } |
| | |
| | | |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | handleExport(){ |
| | | this.$refs.logList.queryParam=Object.assign({},this.queryParams,this.$refs.logList.queryParam) |
| | | this.$refs.logList.handleExportXls('设备日志') |
| | | } |
| | | }, |
| | | created() { |