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 },