|
@@ -371,16 +371,16 @@ export default {
|
|
|
this.getList();
|
|
this.getList();
|
|
|
this.getTaskStatus();
|
|
this.getTaskStatus();
|
|
|
},
|
|
},
|
|
|
- beforeRouteEnter(to,from,next){
|
|
|
|
|
- console.log(from,'to')
|
|
|
|
|
- if(from.path === '/home'){
|
|
|
|
|
- next(vm=>{
|
|
|
|
|
- vm.queryParams.status = parseInt(to.query.status);
|
|
|
|
|
- })
|
|
|
|
|
- }else {
|
|
|
|
|
- next()
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // beforeRouteEnter(to,from,next){
|
|
|
|
|
+ // console.log(from,'to')
|
|
|
|
|
+ // if(from.path === '/home'){
|
|
|
|
|
+ // next(vm=>{
|
|
|
|
|
+ // vm.queryParams.status = parseInt(to.query.status);
|
|
|
|
|
+ // })
|
|
|
|
|
+ // }else {
|
|
|
|
|
+ // next()
|
|
|
|
|
+ // }
|
|
|
|
|
+ // },
|
|
|
computed: {
|
|
computed: {
|
|
|
...mapGetters(["orgId", "orgName"]),
|
|
...mapGetters(["orgId", "orgName"]),
|
|
|
},
|
|
},
|