| | |
| | | } |
| | | this.checkedList = checkedList |
| | | }, |
| | | // searchQuery() { |
| | | // if(this.queryParam.typeTree == "1"){ |
| | | // // this.queryParam.TreeIDTwo = "" |
| | | // this.queryParam.parentId = this.queryParamEquip.parentId |
| | | // this.queryParam.equipmentId = this.queryParamEquip.equipmentId |
| | | // }else{ |
| | | // // this.queryParam.TreeIDOne = "" |
| | | // this.queryParam.parentId = this.queryParamPeople.parentId |
| | | // this.queryParam.equipmentId = "" |
| | | // } |
| | | // this.loadData() |
| | | // // this.onClearSelected() |
| | | // }, |
| | | // searchReset() { |
| | | // this.typeTree = this.queryParam.typeTree |
| | | // this.typeParent = this.queryParams.parentId |
| | | // this.queryParam = {} |
| | | // this.dates = [] |
| | | // this.queryParam.typeTree = this.typeTree |
| | | // this.queryParam.parentId = this.typeParent |
| | | // this.loadData() |
| | | // // this.onClearSelected() |
| | | // }, |
| | | searchQuery() { |
| | | if(this.queryParam.typeTree == "1"){ |
| | | // this.queryParam.TreeIDTwo = "" |
| | | this.queryParam.parentId = this.queryParamEquip.parentId |
| | | this.queryParam.equipmentId = this.queryParamEquip.equipmentId |
| | | }else{ |
| | | // this.queryParam.TreeIDOne = "" |
| | | this.queryParam.parentId = this.queryParamPeople.parentId |
| | | this.queryParam.equipmentId = "" |
| | | } |
| | |
| | | }, |
| | | searchReset() { |
| | | this.typeTree = this.queryParam.typeTree |
| | | this.typeParent = this.queryParams.parentId |
| | | this.typeParent = this.queryParam.parentId |
| | | this.typeEquipment = this.queryParam.equipmentId |
| | | this.queryParam = {} |
| | | this.dates = [] |
| | | this.queryParam.typeTree = this.typeTree |
| | | this.queryParam.parentId = this.typeParent |
| | | this.loadData() |
| | | this.queryParam.equipmentId = this.typeEquipment |
| | | // this.ipagination.current = 1 |
| | | this.loadData(); |
| | | // this.queryParam = {} |
| | | // this.dates = [] |
| | | // this.loadData() |
| | | // this.onClearSelected() |
| | | }, |
| | | loadData() { |
| | |
| | | this.checkSameData1(this.dataList) |
| | | this.checkSameData2(this.dataList) |
| | | this.combineCell(); |
| | | this.initDeviceType(this.dataList) |
| | | // this.initDeviceType(this.dataList) |
| | | |
| | | } |
| | | }) |