From 2b6f255b97dba15d22b86319e2f38f6efac417cc Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期一, 13 十一月 2023 23:23:27 +0800
Subject: [PATCH] 一点一档
---
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