| | |
| | | <a-button type="primary" @click="searchQuery" icon="search">查询</a-button> |
| | | <a-button type="primary" @click="searchReset" icon="reload">重置</a-button> |
| | | <a-button type="primary" @click="exportExcel" icon="download">导出</a-button> |
| | | <a-button type="primary" @click="exportLongTimeExcel('设备TEEP')" icon="download">大数据导出</a-button> |
| | | <a-button type="primary" @click="exportLongTimeExcel('设备TEEP')" icon="download" |
| | | :loading="longTimeExportButtonLoading"> |
| | | 大数据导出 |
| | | </a-button> |
| | | <a-button type="primary" @click="handleShowFeedbackModal" icon="plus" v-has="'efficiency:feedback'"> |
| | | 异常反馈 |
| | | </a-button> |
| | |
| | | everyRequestDataSize: 15,// 每次请求的列表项数目 |
| | | toggleSearchStatus: false, |
| | | modalVisible: false,// 异常反馈弹窗是否弹出 |
| | | preSelectFirstDate: null |
| | | preSelectFirstDate: null, |
| | | longTimeExportButtonLoading: false |
| | | } |
| | | }, |
| | | props: { nodeTree: '', Type: '', nodePeople: '' }, |
| | |
| | | startTime: moment(this.dates[0]).format('YYYYMMDD'), |
| | | endTime: moment(this.dates[1]).format('YYYYMMDD') |
| | | } |
| | | this.longTimeExportButtonLoading = true |
| | | downFile(this.url.exportLongTimeXlsUrl, param) |
| | | .then((data) => { |
| | | if (!data) { |
| | |
| | | window.URL.revokeObjectURL(url) //释放掉blob对象 |
| | | } |
| | | }) |
| | | .finally(() => { |
| | | let timer = setTimeout(() => { |
| | | this.longTimeExportButtonLoading = false |
| | | clearTimeout(timer) |
| | | timer = null |
| | | }, 1000) |
| | | }) |
| | | }, |
| | | showIdentifying() { |
| | | getAction(this.url.listByType, { type: 'lyl' }).then(res => { |