Lijy hai 3 días
pai
achega
6e54ef16f4

+ 20 - 20
fhKeeper/formulahousekeeper/timesheet_mld/src/views/corpreport/list.vue

@@ -4454,27 +4454,27 @@ export default {
         this.getDepartmentsInvolved()
       }else{
       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
-        }
+        // }
       }
       if(e == 10){
         this.proJuctId = ''