|
@@ -13,7 +13,7 @@
|
|
|
|
|
|
<screenfull id="screenfull" class="right-menu-item hover-effect" />
|
|
|
|
|
|
- <el-tooltip content="字体大小" effect="dark" placement="bottom">
|
|
|
+ <el-tooltip :content="this.$t('action.FontSize')" effect="dark" placement="bottom">
|
|
|
<size-select id="size-select" class="right-menu-item hover-effect" />
|
|
|
</el-tooltip>
|
|
|
|
|
@@ -94,6 +94,9 @@ export default {
|
|
|
{
|
|
|
value: 'zh',
|
|
|
label: '中文简体'
|
|
|
+ },{
|
|
|
+ value: 'es',
|
|
|
+ label: 'Español'
|
|
|
}
|
|
|
]
|
|
|
|
|
@@ -135,7 +138,7 @@ export default {
|
|
|
API_Part.syncHis().then(res => {
|
|
|
this.$message({
|
|
|
type: 'success',
|
|
|
- message: '开启HIS信息同步!'
|
|
|
+ message: this.$t("action.SynchronizeHISInformation")
|
|
|
})
|
|
|
})
|
|
|
},
|
|
@@ -149,9 +152,10 @@ export default {
|
|
|
switchLanguage(value) {
|
|
|
if (value === 'zh') {
|
|
|
this.$i18n.locale = 'zh'
|
|
|
-
|
|
|
} else if (value === 'en') {
|
|
|
this.$i18n.locale = 'en'
|
|
|
+ } else if (value === 'es') {
|
|
|
+ this.$i18n.locale = 'es'
|
|
|
}
|
|
|
// 在选择了显示的语言后,将配置保存到缓存里
|
|
|
Storage.setItem('DefaultLanguage', value)
|