소스 검색

调整工时报告左侧的显示

Lijy 3 년 전
부모
커밋
f322c48acb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      fhKeeper/formulahousekeeper/timesheet/src/views/workReport/daily.vue

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/workReport/daily.vue

@@ -1788,7 +1788,7 @@
             getDepartment() {
                 let day = (this.choseDay+1) > 9 ? "-" + (this.choseDay + 1) : "-0" + (this.choseDay + 1);
                 var param = {date:this.date + day};
-                if (this.user.manageDeptId != 0) {
+                if (this.user.manageDeptId != 0 && this.user.role < 2) {
                     param.manageDeptId = this.user.manageDeptId;
                 }
                 this.http.post("/report/getMembList", param,