Prechádzať zdrojové kódy

调整工时报告左侧的显示

Lijy 3 rokov pred
rodič
commit
f322c48acb

+ 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,