| | |
| | | handleExport(e) { |
| | | this.$axios({ |
| | | method: "post", |
| | | url: `sccg/intelligentPatrol/statistics/export/unlawful`, |
| | | // url: `sccg/intelligentPatrol/statistics/export/unlawful/site`, |
| | | // url: `sccg/intelligentPatrol/statistics/export/unlawful`, |
| | | url: `sccg/intelligentPatrol/statistics/export/unlawful/site`, |
| | | responseType: "arraybuffer", |
| | | data: { |
| | | beginTime: this.value2[0], |
| | | endTime: this.value2[1], |
| | | }, |
| | | }).then((res) => { |
| | | let time = new Date(); |
| | | let deathdate = time.toLocaleDateString(); |
| | |
| | | }); |
| | | }, |
| | | setTableDataHandle(e) { |
| | | this.setTableData() |
| | | this.setTableData(); |
| | | }, |
| | | resetTableData(e) { |
| | | this.value2= '' |
| | | this.setTableData() |
| | | this.value2 = ""; |
| | | this.setTableData(); |
| | | }, |
| | | // 设置表格斑马纹 |
| | | tableRowClassName({ row, rowIndex }) { |
| | |
| | | currentPage, |
| | | pageSize, |
| | | beginTime: this.value2[0], |
| | | endTime:this.value2[1], |
| | | endTime: this.value2[1], |
| | | }).then((res) => { |
| | | this.list = res.records; |
| | | this.totalNum = res.total; |