提交 d8983a95 authored 作者: wangjiahao's avatar wangjiahao

Merge remote-tracking branch 'origin/main' into main

# Conflicts: # backend/src/main/java/io/dataease/auth/service/impl/AuthUserServiceImpl.java
...@@ -11,5 +11,5 @@ public interface ExtPluginSysMenuMapper { ...@@ -11,5 +11,5 @@ public interface ExtPluginSysMenuMapper {
void savePluginMenu(@Param("menuList") List<PluginSysMenu> menuList); void savePluginMenu(@Param("menuList") List<PluginSysMenu> menuList);
void deletePluginMenu(); int deletePluginMenu();
} }
...@@ -197,6 +197,7 @@ authsource_configuration_is_null=Authentication source configuration cannot be e ...@@ -197,6 +197,7 @@ authsource_configuration_is_null=Authentication source configuration cannot be e
删除菜单=Delete Menu 删除菜单=Delete Menu
删除角色=Delete Role 删除角色=Delete Role
删除连接=Delete Connection 删除连接=Delete Connection
显示设置=Display
参数管理=Parameter 参数管理=Parameter
数据源=Data Source 数据源=Data Source
数据源表单=Data source form 数据源表单=Data source form
......
...@@ -186,43 +186,44 @@ automation_exec_info=沒有測試步驟,無法執行 ...@@ -186,43 +186,44 @@ automation_exec_info=沒有測試步驟,無法執行
authsource_name_already_exists=認證源名稱已經存在 authsource_name_already_exists=認證源名稱已經存在
authsource_name_is_null=認證源名稱不能為空 authsource_name_is_null=認證源名稱不能為空
authsource_configuration_is_null=認證源配置不能為空 authsource_configuration_is_null=認證源配置不能為空
個人信息=個人信息 个人信息=個人信息
儀表板=儀表板 仪表板=儀表板
修改密碼=修改密碼 修改密码=修改密碼
創建用戶=創建用戶 创建用户=創建用戶
創建組織=創建組織 创建组织=創建組織
創建菜單=創建菜單 创建菜单=創建菜單
創建角色=創建角色 创建角色=創建角色
創建連接=創建鏈接 创建连接=創建鏈接
刪除用戶=刪除用戶 删除用户=刪除用戶
刪除組織=刪除組織 删除组织=刪除組織
刪除菜單=刪除菜單 删除菜单=刪除菜單
刪除角色=刪除角色 删除角色=刪除角色
刪除連接=刪除鏈接 刪除连接=刪除鏈接
參數管理=參數管理 显示设置=顯示設置
數據源=數據源 参数管理=參數管理
數據源表單=數據源表單 数据源=數據源
數據集=數據集 数据源表单=數據源表單
權限管理=權限管理 数据集=數據集
校驗連接=校驗鏈接 权限管理=權限管理
模板管理=模板管理 校验连接=校驗鏈接
用戶管理=用戶管理 模版管理=模板管理
用戶表單=用戶表單 用户管理=用戶管理
系統管理=系統管理 用户表单=用戶表單
組織管理=組織管理 系统管理=系統管理
組織表單=組織表單 组织管理=組織管理
編輯用戶=編輯用戶 组织表单=組織表單
編輯組織=編輯組織 编辑用户=編輯用戶
編輯菜單=編輯菜單 编辑组织=編輯組織
編輯角色=編輯角色 编辑菜单=編輯菜單
編輯連接=編輯鏈接 编辑角色=編輯角色
菜單管理=菜單管理 编辑连接=編輯鏈接
菜單表單=表單管理 菜单管理=菜單管理
視圖=視圖 表单管理=表單管理
视图=視圖
角色管理=角色管理 角色管理=角色管理
角色表=角色表單 角色表=角色表單
重置密=重置密碼 重置密=重置密碼
關於=關於 关于=關於
i18n_auth_view=查看 i18n_auth_view=查看
i18n_auth_use=使用 i18n_auth_use=使用
i18n_auth_export=導出 i18n_auth_export=導出
......
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
</div> </div>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<el-dropdown-item :disabled="language==='zh_CN'" command="zh_CN"> <el-dropdown-item :disabled="language==='zh_CN'" command="zh_CN">
简体 简体中文
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item :disabled="language==='zh_TW'" command="zh_TW"> <el-dropdown-item :disabled="language==='zh_TW'" command="zh_TW">
繁体 繁体中文
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item :disabled="language==='en_US'" command="en_US"> <el-dropdown-item :disabled="language==='en_US'" command="en_US">
English English
...@@ -35,7 +35,7 @@ export default { ...@@ -35,7 +35,7 @@ export default {
this.$i18n.locale = lang this.$i18n.locale = lang
this.$store.dispatch('user/setLanguage', lang) this.$store.dispatch('user/setLanguage', lang)
this.$message({ this.$message({
message: 'Switch Language Success', message: this.$t('commons.switch_lang'),
type: 'success' type: 'success'
}) })
} }
......
...@@ -87,6 +87,7 @@ export default { ...@@ -87,6 +87,7 @@ export default {
password_error: 'The password can not be less than 8 digits' password_error: 'The password can not be less than 8 digits'
}, },
commons: { commons: {
switch_lang: 'Switch Language Success',
close: 'Close', close: 'Close',
icon: 'Icon', icon: 'Icon',
all: 'All', all: 'All',
......
...@@ -87,6 +87,7 @@ export default { ...@@ -87,6 +87,7 @@ export default {
password_error: '密碼不小於 8 位' password_error: '密碼不小於 8 位'
}, },
commons: { commons: {
switch_lang: '切換語言成功',
close: '关闭', close: '关闭',
icon: '圖標', icon: '圖標',
all: '全部', all: '全部',
......
...@@ -87,6 +87,7 @@ export default { ...@@ -87,6 +87,7 @@ export default {
password_error: '密码不小于 8 位' password_error: '密码不小于 8 位'
}, },
commons: { commons: {
switch_lang: '切换语言成功',
close: '关闭', close: '关闭',
icon: '图标', icon: '图标',
all: '全部', all: '全部',
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
</span> </span>
<span class="child"> <span class="child">
<span v-if="data.type ==='folder'" @click.stop> <span v-if="data.type ==='folder'" @click.stop>
<span class="el-dropdown-link"> <!-- <span class="el-dropdown-link">
<el-button <el-button
v-permission="['datasource:add']" v-permission="['datasource:add']"
icon="el-icon-plus" icon="el-icon-plus"
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
size="small" size="small"
@click="addFolderWithType(data)" @click="addFolderWithType(data)"
/> />
</span> </span> -->
</span> </span>
<span v-if="data.type !=='folder'" style="margin-left: 12px;" @click.stop> <span v-if="data.type !=='folder'" style="margin-left: 12px;" @click.stop>
......
...@@ -52,12 +52,12 @@ ...@@ -52,12 +52,12 @@
</el-form-item> --> </el-form-item> -->
</el-form> </el-form>
<div v-if="canEdit" slot="footer" class="dialog-footer"> <div v-if="canEdit" slot="footer" class="dialog-footer">
<el-button v-if="hasDataPermission('manage',params.privileges)" @click="validaDatasource">{{ $t('commons.validate') }}</el-button> <el-button v-if="formType==='add'?true: hasDataPermission('manage',params.privileges)" @click="validaDatasource">{{ $t('commons.validate') }}</el-button>
<el-button v-if="hasDataPermission('manage',params.privileges)" type="primary" @click="save">{{ $t('commons.save') }}</el-button> <el-button v-if="formType==='add'?true: hasDataPermission('manage',params.privileges)" type="primary" @click="save">{{ $t('commons.save') }}</el-button>
</div> </div>
<div v-else slot="footer" class="dialog-footer"> <div v-else slot="footer" class="dialog-footer">
<el-button v-if="hasDataPermission('manage',params.privileges)" @click="validaDatasource">{{ $t('commons.validate') }}</el-button> <el-button v-if="formType==='add'?true: hasDataPermission('manage',params.privileges)" @click="validaDatasource">{{ $t('commons.validate') }}</el-button>
<el-button v-if="hasDataPermission('manage',params.privileges)" type="primary" @click="changeEdit">{{ $t('commons.edit') }}</el-button> <el-button v-if="formType==='add'?true: hasDataPermission('manage',params.privileges)" type="primary" @click="changeEdit">{{ $t('commons.edit') }}</el-button>
</div> </div>
</div> </div>
</layout-content> </layout-content>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论