From a52129f16bd78bceeae3ee901d3a15d8471b4845 Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期六, 18 三月 2023 18:36:26 +0800 Subject: [PATCH] Merge branch 'dev1.0' of http://42.193.1.25:9521/r/sccg_ui into dev1.0 --- src/views/intelligentPatrol/statistics/unlawful/point/index.vue | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/views/intelligentPatrol/statistics/unlawful/point/index.vue b/src/views/intelligentPatrol/statistics/unlawful/point/index.vue index 891edca..7e3e84b 100644 --- a/src/views/intelligentPatrol/statistics/unlawful/point/index.vue +++ b/src/views/intelligentPatrol/statistics/unlawful/point/index.vue @@ -309,9 +309,13 @@ 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(); @@ -334,11 +338,11 @@ }); }, setTableDataHandle(e) { - this.setTableData() + this.setTableData(); }, resetTableData(e) { - this.value2= '' - this.setTableData() + this.value2 = ""; + this.setTableData(); }, // 璁剧疆琛ㄦ牸鏂戦┈绾� tableRowClassName({ row, rowIndex }) { @@ -356,7 +360,7 @@ currentPage, pageSize, beginTime: this.value2[0], - endTime:this.value2[1], + endTime: this.value2[1], }).then((res) => { this.list = res.records; this.totalNum = res.total; -- Gitblit v1.8.0