| | |
| | | this.queryParam.endDate = v2[1] |
| | | }, |
| | | searchQuery() { |
| | | if (this.queryParam.typeTree == "1") { |
| | | this.queryParam.parentId = this.queryParamEquip.parentId |
| | | this.queryParam.equipmentId = this.queryParamEquip.equipmentId |
| | | } else { |
| | | this.queryParam.parentId = this.queryParamPeople.parentId |
| | | this.queryParam.equipmentId = "" |
| | | if (this.dates&&this.dates.length>0){ |
| | | if (this.queryParam.typeTree == "1") { |
| | | this.queryParam.parentId = this.queryParamEquip.parentId |
| | | this.queryParam.equipmentId = this.queryParamEquip.equipmentId |
| | | } else { |
| | | this.queryParam.parentId = this.queryParamPeople.parentId |
| | | this.queryParam.equipmentId = "" |
| | | } |
| | | this.loadData1() |
| | | } else{ |
| | | this.$notification.warning({ |
| | | message:'提示', |
| | | description:'请选择时间' |
| | | }) |
| | | } |
| | | this.loadData1() |
| | | |
| | | // this.onClearSelected() |
| | | }, |
| | | // searchReset() { |