| | |
| | | async handleExport() { |
| | | const { currentPage, pageSize, context, operationType, mysort, mytime } = |
| | | this; |
| | | console.log(mytime); |
| | | let arr = await this.exportLogs({ |
| | | content: context, |
| | | current: currentPage, |
| | |
| | | async getLogList() { |
| | | const { currentPage, pageSize, context, operationType, mysort, mytime } = |
| | | this; |
| | | console.log(mytime); |
| | | let arr = await this.getLogsList({ |
| | | content: context, |
| | | current: currentPage, |
| | |
| | | startTime: mytime[0] !== "" ? parseTime(mytime[0]) : "", |
| | | sort: mysort, |
| | | }); |
| | | console.log(arr); |
| | | return arr.data.data; |
| | | }, |
| | | // 批量下拉框操作 |
| | | async selectChange(list) { |
| | | console.log(this.tempList); |
| | | if (this.tempList.length !== 0) { |
| | | this.preMyIdx = list; |
| | | if (list === 3) { |
| | |
| | | message: res.message, |
| | | }); |
| | | } |
| | | console.log(res); |
| | | }); |
| | | }) |
| | | .catch((err) => { |
| | | console.log(err); |
| | | }); |
| | | }, |
| | | // 表格监听 |
| | |
| | | done(); |
| | | }) |
| | | .catch((err) => { |
| | | console.log(err); |
| | | }); |
| | | }, |
| | | // 自定义关闭弹窗 |
| | |
| | | }, |
| | | // |
| | | timechange(data) { |
| | | console.log(data); |
| | | }, |
| | | }, |
| | | }; |