From 5e72dfd6e9cfbe6ce2d4f703ca04a518cc4e8a6d Mon Sep 17 00:00:00 2001 From: jjLv <1981429112@qq.com> Date: Fri, 23 Aug 2024 15:18:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=88=87=E6=8D=A2=E4=BB=A5?= =?UTF-8?q?=E5=8F=8Abug=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/base/bracelet/index.vue | 29 +++++++++++++++------- src/views/base/device/index.vue | 2 +- src/views/base/engineering/index.vue | 21 ++++++++-------- src/views/construction/sideband/index.vue | 30 ++++++++++++++--------- 4 files changed, 49 insertions(+), 33 deletions(-) diff --git a/src/views/base/bracelet/index.vue b/src/views/base/bracelet/index.vue index 039b23d..a646d72 100644 --- a/src/views/base/bracelet/index.vue +++ b/src/views/base/bracelet/index.vue @@ -575,8 +575,8 @@ /> - - + + { this.shBindList = response.rows; - this.totalTwo = response.total; + this.totalThree = response.total; this.loadingSix = false; }); }, diff --git a/src/views/base/device/index.vue b/src/views/base/device/index.vue index 452272f..38413f2 100644 --- a/src/views/base/device/index.vue +++ b/src/views/base/device/index.vue @@ -184,7 +184,7 @@ - +
+ + + - - - - 查询 重置 @@ -132,7 +131,7 @@ - + - + + + + + 查询 @@ -337,6 +349,8 @@ proList: [], //施工杆塔 GtList:[], + //绑定时间 + dateRange: [], // 查询参数 queryParams: { pageNum: 1, @@ -440,7 +454,7 @@ /** 查询边带列表 */ getList() { this.loading = true; - listSideband(this.queryParams).then(response => { + listSideband(this.addDateRange(this.queryParams, this.dateRange)).then(response => { this.postList = response.rows; this.total = response.total; this.loading = false; @@ -497,23 +511,15 @@ }, /** 重置按钮操作 */ resetQuery() { + this.dateRange = []; this.resetForm("queryForm"); this.handleQuery(); }, // 多选框选中数据 handleSelectionChange(selection) { - // forEach.(selection, function(item){ - // this.idLists.push({id: item.deviceId, type: item.deviceTypeName}) - // }) - console.log(selection) selection.map(item => { this.idLists.push({id: item.deviceId, type: item.deviceTypeName}) }) - // forEach(selection, function(item){ - // this.idLists.push({id: item.deviceId, type: item.deviceTypeName}) - // }) - // this.idLists.push({id: selection.map(item => item.deviceId), type: selection.map(item => item.deviceTypeName)}) - this.single = selection.length!=1 this.multiple = !selection.length },