清单权限
This commit is contained in:
@@ -38,7 +38,7 @@ export default {
|
|||||||
other: false,
|
other: false,
|
||||||
library: false,
|
library: false,
|
||||||
list: [],
|
list: [],
|
||||||
tabValue: "listOfCountries",
|
tabValue: "",
|
||||||
menuName: ["国家/地区清单", "车型类别清单", "重点标准跟踪清单", "其他清单", "项目清单"]
|
menuName: ["国家/地区清单", "车型类别清单", "重点标准跟踪清单", "其他清单", "项目清单"]
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -79,7 +79,22 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.list = list
|
if(this.country === true){
|
||||||
|
this.tabValue = "listOfCountries"
|
||||||
|
return;
|
||||||
|
}else if(this.project === true){
|
||||||
|
this.tabValue = "listProject"
|
||||||
|
return;
|
||||||
|
}else if(this.tracking === true){
|
||||||
|
this.tabValue = "listTracking"
|
||||||
|
return;
|
||||||
|
}else if(this.other === true){
|
||||||
|
this.tabValue = "listOther"
|
||||||
|
return;
|
||||||
|
}else if(this.library === true){
|
||||||
|
this.tabValue = "localProductsOrProjectLibrary"
|
||||||
|
return;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
beforeRouteLeave(to, from, next) {
|
beforeRouteLeave(to, from, next) {
|
||||||
const toName = ["ListOfStandardsAndRegulationsDetails", "AccessStandardDetails", "LocalProductDetail", "OtherAddEit"];
|
const toName = ["ListOfStandardsAndRegulationsDetails", "AccessStandardDetails", "LocalProductDetail", "OtherAddEit"];
|
||||||
|
|||||||
Reference in New Issue
Block a user