用户导入国际化更新

This commit is contained in:
thinkgem
2019-08-23 17:38:05 +08:00
parent f9e6b54706
commit 8c7fff1d14
3 changed files with 17 additions and 3 deletions

View File

@@ -176,6 +176,13 @@
角色名称=Role name 角色名称=Role name
角色编码=Role code 角色编码=Role code
导入用户数据=Import user data
是否更新已经存在的用户数据=Whether to update existing user data
下载模板=Download template
如果用户编码已经存在,更新这条数据。=Update this data if the user code already exists.
提示仅允许导入“xls”或“xlsx”格式文件=Tip: only 'XLS' or 'XLSX' files are allowed to be imported!
文件不正确请选择后缀为“xls”或“xlsx”的文件。=Incorrect file. Please select a file with suffix 'xls' or 'xlsx'.
# =========== 机构管理 =========== # =========== 机构管理 ===========
新增机构=New office 新增机构=New office

View File

@@ -176,6 +176,13 @@
角色名称=ロール名称 角色名称=ロール名称
角色编码=ロールコード 角色编码=ロールコード
导入用户数据=ユーザーデータの導入
是否更新已经存在的用户数据=既に存在するユーザデータを更新するか否か
下载模板=テンプレートをダウンロードする
如果用户编码已经存在,更新这条数据。=ユーザ符号化が存在する場合、このデータは更新される。
提示仅允许导入“xls”或“xlsx”格式文件=ヒント:「xls」または「xlsx」フォーマットファイルの導入のみを許可!
文件不正确请选择后缀为“xls”或“xlsx”的文件。=ファイルが正しくありません。「xls」または「xlsx」のどちらかのファイルを選択してください。
# =========== 機構管理 =========== # =========== 機構管理 ===========
新增机构=機構追加 新增机构=機構追加

View File

@@ -169,15 +169,15 @@ $('#btnImport').click(function(){
js.layer.open({ js.layer.open({
type: 1, type: 1,
area: ['400px'], area: ['400px'],
title: '导入用户数据', title: '${text("导入用户数据")}',
resize: false, resize: false,
scrollbar: true, scrollbar: true,
content: js.template('importTpl'), content: js.template('importTpl'),
success: function(layero, index){ success: function(layero, index){
layero.find('input[type="checkbox"]').iCheck(); layero.find('input[type="checkbox"]').iCheck();
}, },
btn: ['<i class="fa fa-check"></i> 导入', btn: ['<i class="fa fa-check"></i> ${text("导入")}',
'<i class="fa fa-remove"></i> 取消'], '<i class="fa fa-remove"></i> ${text("关闭")}'],
btn1: function(index, layero){ btn1: function(index, layero){
var form = { var form = {
inputForm: layero.find('#inputForm'), inputForm: layero.find('#inputForm'),