|
@@ -119,13 +119,13 @@ export default {
|
|
|
onSelect(item) {
|
|
|
if (item.path === 'researchDashboard') {
|
|
|
this.$router.push('/researchDashboard')
|
|
|
- } else if (item.path === 'moral' && localStorage.getItem('srvAdr') === 'China' && ['habook', 'ydzt', 'cdydzt', 'hbcn', 'xajkbx'].includes(this.$store.state.userInfo.schoolCode)) {
|
|
|
+ } else if (item.path === 'moral' && localStorage.getItem('srvAdr') === 'China' && ['habook', 'ydzt', 'cdydzt', 'hbcn'].includes(this.$store.state.userInfo.schoolCode)) {
|
|
|
this.$router.push('/moralDashboard')
|
|
|
- } else if (item.path === 'art' && localStorage.getItem('srvAdr') === 'China' && ['habook', 'ydzt', 'cdydzt', 'hbcn', 'xajkbx'].includes(this.$store.state.userInfo.schoolCode)) {
|
|
|
+ } else if (item.path === 'art' && localStorage.getItem('srvAdr') === 'China' && ['habook', 'ydzt', 'cdydzt', 'hbcn'].includes(this.$store.state.userInfo.schoolCode)) {
|
|
|
this.$router.push('/artDashboard')
|
|
|
} else if (item.path === 'sport' && localStorage.getItem('srvAdr') === 'China' && ['habook', 'ydzt', 'cdydzt', 'hbcn', 'xajkbx'].includes(this.$store.state.userInfo.schoolCode)) {
|
|
|
this.$router.push('/sportDashboard')
|
|
|
- } else if (item.path === 'stu' && localStorage.getItem('srvAdr') === 'China' && ['habook', 'ydzt', 'cdydzt', 'hbcn', 'xajkbx'].includes(this.$store.state.userInfo.schoolCode)) {
|
|
|
+ } else if (item.path === 'stu' && localStorage.getItem('srvAdr') === 'China' && ['habook', 'ydzt', 'cdydzt', 'hbcn'].includes(this.$store.state.userInfo.schoolCode)) {
|
|
|
this.$router.push('/stuDashboard')
|
|
|
} else {
|
|
|
this.$Message.warning(this.$t('researchCenter.dashboard.comingSoon'))
|