Преглед изворни кода

调整工时报告左侧的显示

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,