Browse Source

移动端调整第一种填报方式隐藏按周填报

Lijy 1 năm trước cách đây
mục cha
commit
428960161d

+ 1 - 2
fhKeeper/formulahousekeeper/timesheet_h5/src/views/index/index.vue

@@ -196,7 +196,7 @@
                         if(this.user.timeType.enableNewWeeklyfill != 1 && this.user.companyId != 4374) { // 针对新版按周填报去掉填写日报
                             this.routers.push({name: '填写日报',url: '/edit',icon: 'edit'})
                         }
-                        if (this.user.companyId != 3092) {
+                        if (this.user.companyId != 3092 && this.user.timeType.type != 0) {
                             this.routers.push({name: '按周填报',url: '/weekEdit',icon: 'records'})
                         }
                         if(jurisdictionNameList.some(item => item == '代填日报')) {
@@ -361,7 +361,6 @@
                             //去掉按周填报
                             this.routers = this.routers.filter(r=>r.name != '按周填报');
                         } 
-
                         // this.bindIfNessary();
                     } 
                 }).catch(err=> {