|
@@ -4454,27 +4454,27 @@ export default {
|
|
this.getDepartmentsInvolved()
|
|
this.getDepartmentsInvolved()
|
|
}else{
|
|
}else{
|
|
if(e == 9){
|
|
if(e == 9){
|
|
- console.log(this.departmentIdArray);
|
|
|
|
- this.userId = null
|
|
|
|
- if(this.departmentIdArray.length != 0){
|
|
|
|
- let deptid = []
|
|
|
|
- for(let i in this.departmentIdArray){
|
|
|
|
- deptid.push(this.departmentIdArray[i][this.departmentIdArray[i].length - 1])
|
|
|
|
- }
|
|
|
|
- // let deptid = this.departmentIdArray[this.departmentIdArray.length - 1]
|
|
|
|
- this.selUserList = this.userList.filter(item => {
|
|
|
|
- let boo = false
|
|
|
|
- for(let i in deptid){
|
|
|
|
- if(item.departmentId == deptid[i]){
|
|
|
|
- boo = true
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- return boo
|
|
|
|
- // item.departmentId == deptid
|
|
|
|
- })
|
|
|
|
- }else{
|
|
|
|
|
|
+ // console.log(this.departmentIdArray);
|
|
|
|
+ // this.userId = null
|
|
|
|
+ // if(this.departmentIdArray.length != 0){
|
|
|
|
+ // let deptid = []
|
|
|
|
+ // for(let i in this.departmentIdArray){
|
|
|
|
+ // deptid.push(this.departmentIdArray[i][this.departmentIdArray[i].length - 1])
|
|
|
|
+ // }
|
|
|
|
+ // // let deptid = this.departmentIdArray[this.departmentIdArray.length - 1]
|
|
|
|
+ // this.selUserList = this.userList.filter(item => {
|
|
|
|
+ // let boo = false
|
|
|
|
+ // for(let i in deptid){
|
|
|
|
+ // if(item.departmentId == deptid[i]){
|
|
|
|
+ // boo = true
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
|
|
+ // return boo
|
|
|
|
+ // // item.departmentId == deptid
|
|
|
|
+ // })
|
|
|
|
+ // }else{
|
|
this.selUserList = this.userList
|
|
this.selUserList = this.userList
|
|
- }
|
|
|
|
|
|
+ // }
|
|
}
|
|
}
|
|
if(e == 10){
|
|
if(e == 10){
|
|
this.proJuctId = ''
|
|
this.proJuctId = ''
|