| | |
| | | this.getTableData({ startTime, streetId, communityId, endTime, ...params }); |
| | | }, |
| | | exportTableData() { |
| | | basecase.exportViolationData({ current: 1 }) |
| | | const { alarmTime, organization } = this.form; |
| | | const [startTime, endTime] = alarmTime ?? [null, null]; |
| | | const [communityId, streetId] = organization ?? [null, null]; |
| | | const params = Object.assign({}, this.form); |
| | | delete params.alarmTime; |
| | | delete params.organization; |
| | | basecase.exportViolationData( { current: 1, startTime, streetId, communityId, endTime, ...params }) |
| | | .then((res) => { |
| | | console.log(res) |
| | | this.$message.success('操作成功'); |
| | | // let res = basecase.exportUserOperationLogAjax({ |
| | | // startLogTime: transDate(this.searchQuery.date[0], "YYYY-MM-DD"), |