@@ -252,12 +252,23 @@ export default {
},
// 去填写日报
toWriteReport() {
- this.$router.push({
- path: '/edit',
- query: {
- date: this.nowTime
- }
- });
+ if(this.user.companyId == '1071') {
+ //物奇要填到按周填报
+ this.$router.push({
+ path: '/weekEdit',
+ query: {
+ date: this.nowTime
+ }
+ });
+ } else {
+ path: '/edit',
+
}
mounted() {