|
|
@ -75,6 +75,12 @@ export default { |
|
|
this.tabList.push({ key: 'syj', name: 'page.business.study.studyEnter.syjsygl' }) |
|
|
this.tabList.push({ key: 'syj', name: 'page.business.study.studyEnter.syjsygl' }) |
|
|
} |
|
|
} |
|
|
this.active = this.$route.params.tab && _.findIndex(this.tabList,(o)=>{return o.key===this.$route.params.tab})>-1 ? this.$route.params.tab: this.tabList.length>0 ? this.tabList[0].key :'' |
|
|
this.active = this.$route.params.tab && _.findIndex(this.tabList,(o)=>{return o.key===this.$route.params.tab})>-1 ? this.$route.params.tab: this.tabList.length>0 ? this.tabList[0].key :'' |
|
|
|
|
|
if(this.active){ |
|
|
|
|
|
let name = this.tabList[_.findIndex(this.tabList,(o)=>{return o.key===this.active})].name |
|
|
|
|
|
if(name){ |
|
|
|
|
|
this.saveSimpleLog({name:this.$t(name,'zh_CN'),nameEn:this.$t(name,'en_US'),jcmc:this.$t('system.enterPage','zh_CN'),jcmcEn:this.$t('system.enterPage','en_US')}) |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
getInfo(){ |
|
|
getInfo(){ |
|
|
this.$modal.loading() |
|
|
this.$modal.loading() |
|
|
@ -94,6 +100,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
changeTab(item) { |
|
|
changeTab(item) { |
|
|
if (this.active !== item.key) { |
|
|
if (this.active !== item.key) { |
|
|
|
|
|
this.saveSimpleLog({name:this.$t(item.name,'zh_CN'),nameEn:this.$t(item.name,'en_US'),jcmc:this.$t('system.enterPage','zh_CN'),jcmcEn:this.$t('system.enterPage','en_US')}) |
|
|
this.active = item.key |
|
|
this.active = item.key |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|