From 92acee73cbe8d5a230cf45e1146bd594153dc364 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Fri, 02 Feb 2024 19:14:29 +0800
Subject: [PATCH] 九小导出
---
src/views/publicSecurity/ninePlaceManage/hiddenDangerStatistics.vue | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/views/publicSecurity/ninePlaceManage/hiddenDangerStatistics.vue b/src/views/publicSecurity/ninePlaceManage/hiddenDangerStatistics.vue
index ffc3542..b5ea678 100644
--- a/src/views/publicSecurity/ninePlaceManage/hiddenDangerStatistics.vue
+++ b/src/views/publicSecurity/ninePlaceManage/hiddenDangerStatistics.vue
@@ -245,7 +245,7 @@
label
}).then(
() => {
- this.onLoad(this.page)
+ this.onLoad()
this.$message({
type: "success",
message: "操作成功!",
@@ -283,7 +283,7 @@
label
}).then(
() => {
- this.onLoad(this.page)
+ this.onLoad()
this.$message({
type: "success",
message: "操作成功!",
@@ -308,7 +308,7 @@
return removeTask(row)
})
.then(() => {
- this.onLoad(this.page)
+ this.onLoad()
this.$message({
type: "success",
@@ -319,7 +319,7 @@
searchReset () {
this.query = {}
- this.onLoad(this.page)
+ this.onLoad()
},
searchChange (params, done) {
@@ -330,7 +330,7 @@
endTime: params.daterange[1],
} : {}
this.page.currentPage = 1
- this.onLoad(this.page)
+ this.onLoad()
done()
},
@@ -359,7 +359,7 @@
return remove(this.ids)
})
.then(() => {
- this.onLoad(this.page)
+ this.onLoad()
this.$message({
type: "success",
message: "操作成功!",
@@ -388,7 +388,7 @@
// this.onLoad(this.page, this.query)
},
- onLoad (page, params = {}) {
+ onLoad () {
this.loading = true
if (!this.query.startTime) {
this.query = {
@@ -396,7 +396,8 @@
endTime: this.getLastMouth[0],
}
}
- getYHTJList(page.currentPage, page.pageSize, this.query).then(res => {
+ console.log('onLoad', this.query)
+ getYHTJList(this.query).then(res => {
console.log('getZGQKList', res.data.data)
const data = res.data.data
data.forEach(item => {
--
Gitblit v1.9.3