Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-01-21 11:12:27 +08:00
13 changed files with 33 additions and 29 deletions
+2 -2
View File
@@ -175,8 +175,8 @@ export default {
} else {
this.$router.push(`/login`)
}
this.$i18n.locale = 'zh'
this.setLanguage('zh')
// //this.$i18n.locale = 'zh'
// //this.setLanguage('zh')
this.$updateDictionary()
},
editInfo() {
+2
View File
@@ -282,7 +282,9 @@ const actions = {
})
resetRouter()
removeName()
let lang = zzSessionStorage.getItem('lang')
zzSessionStorage.clear()
zzSessionStorage.setItem('lang', lang)
commit('RESET_STATE')
} catch (e) {
console.log(e)
+3 -3
View File
@@ -89,9 +89,9 @@ service.interceptors.response.use(
})
store.dispatch('user/logout').then(() => {
router.push(`/login`)
this.$i18n.locale = 'zh'
this.setLanguage('zh')
this.$updateDictionary()
//this.$i18n.locale = 'zh'
//this.setLanguage('zh')
// this.$updateDictionary()
})
}
} else {
+8 -6
View File
@@ -100,9 +100,11 @@ service.interceptors.response.use(
console.log(err)
}
router.push(`/login`)
this.$i18n.locale = 'zh'
this.setLanguage('zh')
this.$updateDictionary()
// if (!this.$i18n.locale) {
// //this.$i18n.locale = 'zh'
// //this.setLanguage('zh')
// }
// this.$updateDictionary()
})
}
switch (status) {
@@ -132,9 +134,9 @@ service.interceptors.response.use(
}
store.dispatch('user/logout').then(() => {
router.push(`/login`)
this.$i18n.locale = 'zh'
this.setLanguage('zh')
this.$updateDictionary()
// //this.$i18n.locale = 'zh'
// //this.setLanguage('zh')
// this.$updateDictionary()
})
} else {
setTimer({
+2 -2
View File
@@ -86,8 +86,8 @@ export default {
this.setLanguage('en')
this.$updateDictionary()
} else {
this.$i18n.locale = 'zh'
this.setLanguage('zh')
//this.$i18n.locale = 'zh'
//this.setLanguage('zh')
this.$updateDictionary()
}
this.title = this.doctorInfo.BasicInfoView?`${this.doctorInfo.BasicInfoView.BlindName}${this.$t('resumeInfo:title:Details')}`:''
+2 -2
View File
@@ -131,8 +131,8 @@ export default {
.then(() => {
this.$store.dispatch('user/logout').then(res => {
this.$router.push(`/login`)
this.$i18n.locale = 'zh'
this.setLanguage('zh')
//this.$i18n.locale = 'zh'
//this.setLanguage('zh')
this.$updateDictionary()
})
})
+2 -2
View File
@@ -195,8 +195,8 @@ export default {
this.$router.push(`/login`)
}
if (!this.$i18n.locale) {
this.$i18n.locale = 'zh'
this.setLanguage('zh')
//this.$i18n.locale = 'zh'
//this.setLanguage('zh')
}
this.$updateDictionary()
},
+2 -2
View File
@@ -145,8 +145,8 @@ export default {
this.$router.push(`/login`)
}
if (!this.$i18n.locale) {
this.$i18n.locale = 'zh'
this.setLanguage('zh')
//this.$i18n.locale = 'zh'
//this.setLanguage('zh')
}
this.$updateDictionary()
},
+2 -2
View File
@@ -98,8 +98,8 @@ export default {
this.setLanguage('en')
this.$updateDictionary()
} else {
this.$i18n.locale = 'zh'
this.setLanguage('zh')
//this.$i18n.locale = 'zh'
//this.setLanguage('zh')
this.$updateDictionary()
}
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() {
await this.$store.dispatch('user/logout')
this.$router.push(`/login`)
this.$i18n.locale = 'zh'
this.setLanguage('zh')
//this.$i18n.locale = 'zh'
//this.setLanguage('zh')
this.$updateDictionary()
},
go(value) {
+2 -2
View File
@@ -333,8 +333,8 @@ export default {
} else {
this.$router.push(`/login`)
}
this.$i18n.locale = 'zh'
this.setLanguage('zh')
//this.$i18n.locale = 'zh'
//this.setLanguage('zh')
this.$updateDictionary()
},
},
+2 -2
View File
@@ -151,8 +151,8 @@ export default {
} else {
this.$router.push(`/login`)
}
this.$i18n.locale = 'zh'
this.setLanguage('zh')
//this.$i18n.locale = 'zh'
//this.setLanguage('zh')
this.$updateDictionary()
},
},
+2 -2
View File
@@ -569,8 +569,8 @@ export default {
} else {
this.$router.push(`/login`)
}
this.$i18n.locale = 'zh'
this.setLanguage('zh')
//this.$i18n.locale = 'zh'
//this.setLanguage('zh')
this.$updateDictionary()
},
},