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