|
@@ -469,25 +469,7 @@ export default {
|
|
|
},
|
|
|
//根据角色判断应该进入系统的哪个页面,进入系统
|
|
|
async loginSys(res){
|
|
|
- let path = ''
|
|
|
- switch (res.Data.RoleTypeCode) {
|
|
|
- case "rai_researcher":
|
|
|
- case "ficc_researcher":
|
|
|
- case "researcher":
|
|
|
- path = "/reportlist";
|
|
|
- break;
|
|
|
- case "compliance": //合规
|
|
|
- path = "/contractapprovallist";
|
|
|
- break;
|
|
|
- case "special_researcher": //特邀研究员
|
|
|
- path = "/dataList";
|
|
|
- break;
|
|
|
- case "special_ficc_seller":
|
|
|
- path = "/meetingCalendar";
|
|
|
- break;
|
|
|
- default:
|
|
|
- path = await this.getOtherRolePath("myCalendar");
|
|
|
- }
|
|
|
+ let path = await this.getOtherRolePath('myCalendar');
|
|
|
path&&this.$router.push({ path });
|
|
|
this.loading = false
|
|
|
this.checkLogining = false
|