diff --git a/sgzb-ui/src/views/stquery/backRecord.vue b/sgzb-ui/src/views/stquery/backRecord.vue index 3567f526..4a183f07 100644 --- a/sgzb-ui/src/views/stquery/backRecord.vue +++ b/sgzb-ui/src/views/stquery/backRecord.vue @@ -226,7 +226,7 @@ export default { }, /** 重置按钮操作 */ resetQuery() { - this.dateRange = [] + this.queryParams.time = [] this.resetForm('queryForm') this.handleQuery() }, diff --git a/sgzb-ui/src/views/stquery/deviceFixQuery.vue b/sgzb-ui/src/views/stquery/deviceFixQuery.vue index 9bc1b5d6..bd1d396f 100644 --- a/sgzb-ui/src/views/stquery/deviceFixQuery.vue +++ b/sgzb-ui/src/views/stquery/deviceFixQuery.vue @@ -194,7 +194,7 @@ export default { }, /** 重置按钮操作 */ resetQuery() { - this.dateRange = []; + this.queryParams.time = []; this.queryParams.unitId = '' this.queryParams.proId = '' this.resetForm("queryForm"); diff --git a/sgzb-ui/src/views/stquery/deviceInStoreQuery.vue b/sgzb-ui/src/views/stquery/deviceInStoreQuery.vue index 629e90cc..cb64c299 100644 --- a/sgzb-ui/src/views/stquery/deviceInStoreQuery.vue +++ b/sgzb-ui/src/views/stquery/deviceInStoreQuery.vue @@ -205,7 +205,7 @@ export default { }, /** 重置按钮操作 */ resetQuery() { - this.dateRange = []; + this.queryParams.time = []; this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/sgzb-ui/src/views/stquery/deviceScrapQuery.vue b/sgzb-ui/src/views/stquery/deviceScrapQuery.vue index c2cb3728..b724fcdf 100644 --- a/sgzb-ui/src/views/stquery/deviceScrapQuery.vue +++ b/sgzb-ui/src/views/stquery/deviceScrapQuery.vue @@ -238,7 +238,7 @@ export default { }, /** 重置按钮操作 */ resetQuery() { - this.dateRange = []; + this.queryParams.time = []; this.queryParams.unitId = '' this.queryParams.proId = '' this.resetForm("queryForm"); diff --git a/sgzb-ui/src/views/stquery/deviceStatusRecord.vue b/sgzb-ui/src/views/stquery/deviceStatusRecord.vue index b1011ed1..a3d09f51 100644 --- a/sgzb-ui/src/views/stquery/deviceStatusRecord.vue +++ b/sgzb-ui/src/views/stquery/deviceStatusRecord.vue @@ -243,7 +243,7 @@ export default { }, /** 重置按钮操作 */ resetQuery() { - this.dateRange = []; + this.queryParams.time = []; this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/sgzb-ui/src/views/stquery/leaseRecord.vue b/sgzb-ui/src/views/stquery/leaseRecord.vue index 325b6dcf..eec5853f 100644 --- a/sgzb-ui/src/views/stquery/leaseRecord.vue +++ b/sgzb-ui/src/views/stquery/leaseRecord.vue @@ -217,7 +217,7 @@ export default { }, /** 重置按钮操作 */ resetQuery() { - this.dateRange = [] + this.queryParams.time = [] this.queryParams.unitId = '' this.queryParams.proId = '' this.resetForm('queryForm') diff --git a/sgzb-ui/src/views/stquery/projUsingRecord.vue b/sgzb-ui/src/views/stquery/projUsingRecord.vue index 1a3cc924..c4505a3d 100644 --- a/sgzb-ui/src/views/stquery/projUsingRecord.vue +++ b/sgzb-ui/src/views/stquery/projUsingRecord.vue @@ -241,7 +241,7 @@ export default { }, /** 重置按钮操作 */ resetQuery() { - this.dateRange = []; + this.queryParams.time = []; this.queryParams.unitId = '' this.queryParams.proId = '' this.resetForm("queryForm");