Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
3d89939a98
|
@ -175,8 +175,8 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
this.$router.push(`/login`)
|
this.$router.push(`/login`)
|
||||||
}
|
}
|
||||||
this.$i18n.locale = 'zh'
|
// //this.$i18n.locale = 'zh'
|
||||||
this.setLanguage('zh')
|
// //this.setLanguage('zh')
|
||||||
this.$updateDictionary()
|
this.$updateDictionary()
|
||||||
},
|
},
|
||||||
editInfo() {
|
editInfo() {
|
||||||
|
|
|
@ -282,7 +282,9 @@ const actions = {
|
||||||
})
|
})
|
||||||
resetRouter()
|
resetRouter()
|
||||||
removeName()
|
removeName()
|
||||||
|
let lang = zzSessionStorage.getItem('lang')
|
||||||
zzSessionStorage.clear()
|
zzSessionStorage.clear()
|
||||||
|
zzSessionStorage.setItem('lang', lang)
|
||||||
commit('RESET_STATE')
|
commit('RESET_STATE')
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
|
|
|
@ -89,9 +89,9 @@ service.interceptors.response.use(
|
||||||
})
|
})
|
||||||
store.dispatch('user/logout').then(() => {
|
store.dispatch('user/logout').then(() => {
|
||||||
router.push(`/login`)
|
router.push(`/login`)
|
||||||
this.$i18n.locale = 'zh'
|
//this.$i18n.locale = 'zh'
|
||||||
this.setLanguage('zh')
|
//this.setLanguage('zh')
|
||||||
this.$updateDictionary()
|
// this.$updateDictionary()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -100,9 +100,11 @@ service.interceptors.response.use(
|
||||||
console.log(err)
|
console.log(err)
|
||||||
}
|
}
|
||||||
router.push(`/login`)
|
router.push(`/login`)
|
||||||
this.$i18n.locale = 'zh'
|
// if (!this.$i18n.locale) {
|
||||||
this.setLanguage('zh')
|
// //this.$i18n.locale = 'zh'
|
||||||
this.$updateDictionary()
|
// //this.setLanguage('zh')
|
||||||
|
// }
|
||||||
|
// this.$updateDictionary()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
switch (status) {
|
switch (status) {
|
||||||
|
@ -132,9 +134,9 @@ service.interceptors.response.use(
|
||||||
}
|
}
|
||||||
store.dispatch('user/logout').then(() => {
|
store.dispatch('user/logout').then(() => {
|
||||||
router.push(`/login`)
|
router.push(`/login`)
|
||||||
this.$i18n.locale = 'zh'
|
// //this.$i18n.locale = 'zh'
|
||||||
this.setLanguage('zh')
|
// //this.setLanguage('zh')
|
||||||
this.$updateDictionary()
|
// this.$updateDictionary()
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
setTimer({
|
setTimer({
|
||||||
|
|
|
@ -86,8 +86,8 @@ export default {
|
||||||
this.setLanguage('en')
|
this.setLanguage('en')
|
||||||
this.$updateDictionary()
|
this.$updateDictionary()
|
||||||
} else {
|
} else {
|
||||||
this.$i18n.locale = 'zh'
|
//this.$i18n.locale = 'zh'
|
||||||
this.setLanguage('zh')
|
//this.setLanguage('zh')
|
||||||
this.$updateDictionary()
|
this.$updateDictionary()
|
||||||
}
|
}
|
||||||
this.title = this.doctorInfo.BasicInfoView?`${this.doctorInfo.BasicInfoView.BlindName}${this.$t('resumeInfo:title:Details')}`:''
|
this.title = this.doctorInfo.BasicInfoView?`${this.doctorInfo.BasicInfoView.BlindName}${this.$t('resumeInfo:title:Details')}`:''
|
||||||
|
|
|
@ -131,8 +131,8 @@ export default {
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.$store.dispatch('user/logout').then(res => {
|
this.$store.dispatch('user/logout').then(res => {
|
||||||
this.$router.push(`/login`)
|
this.$router.push(`/login`)
|
||||||
this.$i18n.locale = 'zh'
|
//this.$i18n.locale = 'zh'
|
||||||
this.setLanguage('zh')
|
//this.setLanguage('zh')
|
||||||
this.$updateDictionary()
|
this.$updateDictionary()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
@ -195,8 +195,8 @@ export default {
|
||||||
this.$router.push(`/login`)
|
this.$router.push(`/login`)
|
||||||
}
|
}
|
||||||
if (!this.$i18n.locale) {
|
if (!this.$i18n.locale) {
|
||||||
this.$i18n.locale = 'zh'
|
//this.$i18n.locale = 'zh'
|
||||||
this.setLanguage('zh')
|
//this.setLanguage('zh')
|
||||||
}
|
}
|
||||||
this.$updateDictionary()
|
this.$updateDictionary()
|
||||||
},
|
},
|
||||||
|
|
|
@ -145,8 +145,8 @@ export default {
|
||||||
this.$router.push(`/login`)
|
this.$router.push(`/login`)
|
||||||
}
|
}
|
||||||
if (!this.$i18n.locale) {
|
if (!this.$i18n.locale) {
|
||||||
this.$i18n.locale = 'zh'
|
//this.$i18n.locale = 'zh'
|
||||||
this.setLanguage('zh')
|
//this.setLanguage('zh')
|
||||||
}
|
}
|
||||||
this.$updateDictionary()
|
this.$updateDictionary()
|
||||||
},
|
},
|
||||||
|
|
|
@ -98,8 +98,8 @@ export default {
|
||||||
this.setLanguage('en')
|
this.setLanguage('en')
|
||||||
this.$updateDictionary()
|
this.$updateDictionary()
|
||||||
} else {
|
} else {
|
||||||
this.$i18n.locale = 'zh'
|
//this.$i18n.locale = 'zh'
|
||||||
this.setLanguage('zh')
|
//this.setLanguage('zh')
|
||||||
this.$updateDictionary()
|
this.$updateDictionary()
|
||||||
}
|
}
|
||||||
this.title =this.doctorInfo.BasicInfoView?`${this.doctorInfo.BasicInfoView.FirstName} ${this.doctorInfo.BasicInfoView.LastName}${this.$t('resumeInfo:title:Details')}`:''
|
this.title =this.doctorInfo.BasicInfoView?`${this.doctorInfo.BasicInfoView.FirstName} ${this.doctorInfo.BasicInfoView.LastName}${this.$t('resumeInfo:title:Details')}`:''
|
||||||
|
|
|
@ -221,8 +221,8 @@ export default {
|
||||||
async logout() {
|
async logout() {
|
||||||
await this.$store.dispatch('user/logout')
|
await this.$store.dispatch('user/logout')
|
||||||
this.$router.push(`/login`)
|
this.$router.push(`/login`)
|
||||||
this.$i18n.locale = 'zh'
|
//this.$i18n.locale = 'zh'
|
||||||
this.setLanguage('zh')
|
//this.setLanguage('zh')
|
||||||
this.$updateDictionary()
|
this.$updateDictionary()
|
||||||
},
|
},
|
||||||
go(value) {
|
go(value) {
|
||||||
|
|
|
@ -333,8 +333,8 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
this.$router.push(`/login`)
|
this.$router.push(`/login`)
|
||||||
}
|
}
|
||||||
this.$i18n.locale = 'zh'
|
//this.$i18n.locale = 'zh'
|
||||||
this.setLanguage('zh')
|
//this.setLanguage('zh')
|
||||||
this.$updateDictionary()
|
this.$updateDictionary()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -151,8 +151,8 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
this.$router.push(`/login`)
|
this.$router.push(`/login`)
|
||||||
}
|
}
|
||||||
this.$i18n.locale = 'zh'
|
//this.$i18n.locale = 'zh'
|
||||||
this.setLanguage('zh')
|
//this.setLanguage('zh')
|
||||||
this.$updateDictionary()
|
this.$updateDictionary()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -569,8 +569,8 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
this.$router.push(`/login`)
|
this.$router.push(`/login`)
|
||||||
}
|
}
|
||||||
this.$i18n.locale = 'zh'
|
//this.$i18n.locale = 'zh'
|
||||||
this.setLanguage('zh')
|
//this.setLanguage('zh')
|
||||||
this.$updateDictionary()
|
this.$updateDictionary()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue