| | |
| | | }) |
| | | |
| | | if (this.userInfo.dept_id != '1123598813738675201') { |
| | | this.policeStationCheckValue = this.userInfo.user_name |
| | | // this.policeStationCheckValue = this.userInfo.user_name |
| | | this.selectAllClass = true |
| | | this.policeStaionID = this.userInfo.dept_id |
| | | } |
| | |
| | | |
| | | // 加载首页下拉列表数据 |
| | | getPoliceStationTree (type, id = '') { |
| | | var that = this; |
| | | getPoliceStationTree(type, id).then(res => { |
| | | if (type == 1) { |
| | | |
| | |
| | | |
| | | if (this.userInfo.dept_id != '1123598813738675201') { |
| | | |
| | | |
| | | |
| | | let currentItem |
| | | |
| | | res.data.data.some(item => { |
| | | if (item.id == this.userInfo.dept_id) currentItem = item |
| | | if (item.id == that.userInfo.dept_id){ |
| | | currentItem = item |
| | | that.policeStationCheckValue = item.name |
| | | } |
| | | }) |
| | | |
| | | this.getPoliceStationTree(2, this.userInfo.dept_id) |