国际化完善
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
消息类型=Message type
|
||||
消息标题=Message title
|
||||
消息内容=Message content
|
||||
业务主键=Key
|
||||
业务类型=Type
|
||||
业务主键=Business Key
|
||||
业务类型=Business Type
|
||||
接受者信息=Receiver information
|
||||
接受者账号=Receiver account
|
||||
接受者姓名=Receiver name
|
||||
|
||||
@@ -54,6 +54,7 @@ Java版本=Java version
|
||||
日志存放路径=Log storage path
|
||||
上传文件路径=Upload file path
|
||||
磁盘状态=Disk status
|
||||
盘符名称=Disk name
|
||||
盘符路径=Disk path
|
||||
文件系统=File system
|
||||
盘符类型=Disk type
|
||||
|
||||
@@ -51,6 +51,7 @@ Java版本=Java版
|
||||
日志存放路径=日誌熟成経路
|
||||
上传文件路径=文書を掲載し経路
|
||||
磁盘状态=ディスク状態
|
||||
盘符名称=盤符名称
|
||||
盘符路径=盤符経路
|
||||
文件系统=ファイルシステム
|
||||
盘符类型=盤符タイプ
|
||||
|
||||
@@ -138,6 +138,12 @@
|
||||
注销=Logout
|
||||
|
||||
# =========== 访问日志 ===========
|
||||
|
||||
接入日志=Access log
|
||||
修改日志=Modify log
|
||||
查询日志=Query log
|
||||
登录登出=Login logout
|
||||
|
||||
日志标题=Log title
|
||||
请求地址=Request address
|
||||
日志类型=Type
|
||||
@@ -157,13 +163,14 @@
|
||||
近1个周=Nearly 1 week
|
||||
近1个月=Nearly 1 months
|
||||
近3个月=Nearly 3 months
|
||||
|
||||
按组织查询=By Organization
|
||||
按岗位查询=By Position
|
||||
按角色查询=By Role
|
||||
按用户类型=By User Type
|
||||
|
||||
系统登录=System Login
|
||||
未知操作=Unknown
|
||||
保存=Save
|
||||
日志详情=Log Detail
|
||||
请求数据=Submitted data
|
||||
操作账号=Operation account
|
||||
@@ -293,12 +300,6 @@
|
||||
确认要删除该机构及所有子机构吗?=Are you sure want to delete this organization and sub organization?
|
||||
新增下级机构=New sub organization
|
||||
|
||||
保存机构''{0}''成功=Save the organization ''{0}'' success
|
||||
该机构包含未停用的子机构!=The organization contains enable sub organization!
|
||||
停用机构''{0}''成功=Disable organization ''{0}'' success
|
||||
启用机构''{0}''成功=Enable organization ''{0}'' success
|
||||
删除机构''{0}''成功=Delete organization ''{0}'' success
|
||||
|
||||
上级机构=Parent organization
|
||||
机构名称=Organization name
|
||||
机构代码=Organization code
|
||||
@@ -308,6 +309,12 @@
|
||||
联系地址=Address
|
||||
邮政编码=Zip code
|
||||
|
||||
保存机构''{0}''成功=Save the organization ''{0}'' success
|
||||
该机构包含未停用的子机构!=The organization contains enable sub organization!
|
||||
停用机构''{0}''成功=Disable organization ''{0}'' success
|
||||
启用机构''{0}''成功=Enable organization ''{0}'' success
|
||||
删除机构''{0}''成功=Delete organization ''{0}'' success
|
||||
|
||||
# =========== 公司管理 ===========
|
||||
|
||||
新增公司=New company
|
||||
@@ -321,12 +328,6 @@
|
||||
确认要删除该公司及所有子公司吗?=Are you sure want to delete this company and sub company?
|
||||
新增下级公司=New sub company
|
||||
|
||||
保存公司''{0}''成功=Save the company ''{0}'' success
|
||||
该公司包含未停用的子公司!=The company contains enable sub company!
|
||||
停用公司''{0}''成功=Disable company ''{0}'' success
|
||||
启用公司''{0}''成功=Enable company ''{0}'' success
|
||||
删除公司''{0}''成功=Delete company ''{0}'' success
|
||||
|
||||
上级公司=Parent company
|
||||
公司名称=Company name
|
||||
公司代码=Company code
|
||||
@@ -334,6 +335,12 @@
|
||||
归属区域=Area
|
||||
包含机构=Organization
|
||||
|
||||
保存公司''{0}''成功=Save the company ''{0}'' success
|
||||
该公司包含未停用的子公司!=The company contains enable sub company!
|
||||
停用公司''{0}''成功=Disable company ''{0}'' success
|
||||
启用公司''{0}''成功=Enable company ''{0}'' success
|
||||
删除公司''{0}''成功=Delete company ''{0}'' success
|
||||
|
||||
# =========== 岗位管理 ===========
|
||||
|
||||
新增岗位=New position
|
||||
@@ -346,18 +353,18 @@
|
||||
删除岗位=Delete position
|
||||
确认要删除该岗位吗?=Are you sure want to delete this position?
|
||||
|
||||
保存岗位失败,岗位名称''{0}''已存在=Save position failed, position name ''{0}'' already exists
|
||||
保存岗位''{0}''成功=Save position ''{0}'' success
|
||||
停用岗位''{0}''成功=Disable position ''{0}'' success
|
||||
启用岗位''{0}''成功=Enable position ''{0}'' success
|
||||
删除岗位''{0}''成功=Delete position ''{0}'' success
|
||||
|
||||
岗位名称=Position name
|
||||
岗位名称已存在=Position already exists
|
||||
岗位代码=Position code
|
||||
岗位分类=Position type
|
||||
关联角色=Role
|
||||
|
||||
保存岗位失败,岗位名称''{0}''已存在=Save position failed, position name ''{0}'' already exists
|
||||
保存岗位''{0}''成功=Save position ''{0}'' success
|
||||
停用岗位''{0}''成功=Disable position ''{0}'' success
|
||||
启用岗位''{0}''成功=Enable position ''{0}'' success
|
||||
删除岗位''{0}''成功=Delete position ''{0}'' success
|
||||
|
||||
# =========== 角色管理 ===========
|
||||
|
||||
用户类型=User type
|
||||
@@ -365,11 +372,12 @@
|
||||
角色分类=Role category
|
||||
数据范围=Data scope
|
||||
业务范围=Business scope
|
||||
桌面地址=Desktop URL
|
||||
是否可见=Visible
|
||||
|
||||
角色编码=Role code
|
||||
角色名称=Role name
|
||||
角色名称已存在=Role name already exists
|
||||
角色分类=Role category
|
||||
授权功能菜单=Authorization menu
|
||||
|
||||
未设置=None
|
||||
@@ -460,6 +468,7 @@
|
||||
账号密码审计=Account password audit
|
||||
菜单权限审计=Menu permission audit
|
||||
用户权限审计=User privileges audit
|
||||
菜单权限=Menu permission
|
||||
|
||||
全部问题=All Problems
|
||||
未修改初始密码=The initial password was not changed
|
||||
@@ -481,6 +490,15 @@
|
||||
|
||||
新增菜单=New menu
|
||||
编辑菜单=Edit menu
|
||||
|
||||
停用菜单=Disable menu
|
||||
确认要停用该菜单吗?=Are you sure want to disable this menu?
|
||||
启用菜单=Enable menu
|
||||
确认要启用该菜单吗?=Are you sure want to enable this menu?
|
||||
删除菜单=Delete menu
|
||||
确认要删除该菜单及所有子菜单吗?=Are you sure want to delete this menu and sub menu?
|
||||
新增下级菜单=New sub menu
|
||||
|
||||
上级菜单=Parent menu
|
||||
菜单类型=Menu type
|
||||
菜单名称=Menu name
|
||||
@@ -547,6 +565,9 @@
|
||||
|
||||
新增参数=New config
|
||||
编辑参数=Edit config
|
||||
删除参数=Delete config
|
||||
确认要删除该参数吗?=Are you sure you want to delete this config?
|
||||
|
||||
参数名称=Config name
|
||||
参数键名=Config key
|
||||
参数键名已存在=Config key already exists
|
||||
@@ -554,8 +575,6 @@
|
||||
参数描述=Config description
|
||||
清理全部缓存,包括属性文件的配置=Clear all caches, including configuration of properties files
|
||||
系统参数=System
|
||||
删除参数=Delete config
|
||||
确认要删除该参数吗?=Are you sure you want to delete this config?
|
||||
|
||||
保存参数成功=Save config successfully
|
||||
删除参数成功=Delete config successfully
|
||||
@@ -588,6 +607,7 @@
|
||||
字典键值=Dictionary key
|
||||
系统内置=System
|
||||
字典描述=Description
|
||||
选项图标=Icon
|
||||
CSS样式=CSS style
|
||||
CSS类名=CSS class
|
||||
新增字典数据=New dictionary data
|
||||
@@ -609,6 +629,35 @@ CSS类名=CSS class
|
||||
启用字典成功=Enable dictionary successfully
|
||||
删除字典成功=Delete dictionary successfully
|
||||
|
||||
# =========== 区域管理 ===========
|
||||
|
||||
新增区域=New area
|
||||
编辑区域=Edit area
|
||||
|
||||
停用区域=Disable area
|
||||
确认要停用该区域吗?=Are you sure want to disable this area?
|
||||
启用区域=Enable area
|
||||
确认要启用该区域吗?=Are you sure want to enable this area?
|
||||
删除区域=Delete area
|
||||
确认要删除该区域及所有子区域吗?=Are you sure want to delete this area and sub area?
|
||||
新增下级区域=New sub area
|
||||
|
||||
上级区域=Parent Area
|
||||
区域名称=Area name
|
||||
区域代码=Area code
|
||||
区域类型=Area type
|
||||
|
||||
国家=Country
|
||||
省份直辖市=Provinces
|
||||
地市=City
|
||||
区县=County
|
||||
|
||||
保存区域''{0}''成功=Save the area ''{0}'' success
|
||||
该区域包含未停用的子区域!=The area contains enable sub area!
|
||||
停用区域''{0}''成功=Disable area ''{0}'' success
|
||||
启用区域''{0}''成功=Enable area ''{0}'' success
|
||||
删除区域''{0}''成功=Delete area ''{0}'' success
|
||||
|
||||
# =========== 国际化管理 ===========
|
||||
|
||||
新增语言=New language
|
||||
@@ -629,10 +678,10 @@ CSS类名=CSS class
|
||||
# =========== 在线用户 ===========
|
||||
|
||||
操作用户=Operation user
|
||||
包含3分钟以上未操作的用户=Contains users who have been inactive for more than 3 minutes
|
||||
查询所有在线=Query all online
|
||||
包含未登录的用户=Contains unlogged users
|
||||
包含3分钟以上未操作的用户=Contains users who have been inactive for more than 3 minutes
|
||||
包含游客用户=Contains visitor users
|
||||
包含未登录的用户=Contains unlogged users
|
||||
用户名称=User name
|
||||
游客=tourists
|
||||
最后访问=Last visit
|
||||
|
||||
@@ -58,7 +58,6 @@
|
||||
|
||||
研发工具=開発ツール
|
||||
|
||||
|
||||
用户选择=ユーザー選択
|
||||
机构选择=事務所選択
|
||||
公司选择=会社選択
|
||||
@@ -96,9 +95,6 @@
|
||||
正在验证登录,请稍候...=登録を行っています...
|
||||
立即登录=ログイン
|
||||
|
||||
注册账号=アカウント作成
|
||||
忘记密码=パスワードを忘れた
|
||||
|
||||
注册账号=アカウントを登録する
|
||||
忘记密码=パスワードを忘れる
|
||||
|
||||
@@ -106,6 +102,7 @@
|
||||
|
||||
仪表盘=計器盤
|
||||
全屏=最大化
|
||||
|
||||
切换主题=テーマ切替
|
||||
|
||||
个人中心=マイページ
|
||||
@@ -230,12 +227,6 @@
|
||||
确认要删除该机构及所有子机构吗?=機構及び子機構を削除します、よろしいですか?
|
||||
新增下级机构=子機構追加
|
||||
|
||||
保存机构''{0}''成功=機構 ''{0}'' 保存成功
|
||||
该机构包含未停用的子机构!=有効な子機構が含まれています!
|
||||
停用机构''{0}''成功=機構 ''{0}'' 無効にする処理成功
|
||||
启用机构''{0}''成功=機構 ''{0}'' 有効にする処理成功
|
||||
删除机构''{0}''成功=機構 ''{0}'' 削除成功
|
||||
|
||||
上级机构=親機構
|
||||
机构名称=機構名称
|
||||
机构代码=機構コード
|
||||
@@ -245,6 +236,12 @@
|
||||
联系地址=住所
|
||||
邮政编码=郵便番号
|
||||
|
||||
保存机构''{0}''成功=機構 ''{0}'' 保存成功
|
||||
该机构包含未停用的子机构!=有効な子機構が含まれています!
|
||||
停用机构''{0}''成功=機構 ''{0}'' 無効にする処理成功
|
||||
启用机构''{0}''成功=機構 ''{0}'' 有効にする処理成功
|
||||
删除机构''{0}''成功=機構 ''{0}'' 削除成功
|
||||
|
||||
# =========== 公司管理 ===========
|
||||
|
||||
新增公司=会社追加
|
||||
@@ -258,12 +255,6 @@
|
||||
确认要删除该公司及所有子公司吗?=会社及び子会社を削除します、よろしいですか?
|
||||
新增下级公司=子会社追加
|
||||
|
||||
保存公司''{0}''成功=会社 ''{0}'' 保存成功
|
||||
该公司包含未停用的子公司!=有効な会社が含まれています!
|
||||
停用公司''{0}''成功=会社 ''{0}'' 無効設定成功
|
||||
启用公司''{0}''成功=会社 ''{0}'' 有効設定成功
|
||||
删除公司''{0}''成功=会社 ''{0}'' 削除成功
|
||||
|
||||
上级公司=親会社
|
||||
公司名称=会社名称
|
||||
公司代码=会社コード
|
||||
@@ -271,6 +262,12 @@
|
||||
归属区域=エリア
|
||||
包含机构=機構
|
||||
|
||||
保存公司''{0}''成功=会社 ''{0}'' 保存成功
|
||||
该公司包含未停用的子公司!=有効な会社が含まれています!
|
||||
停用公司''{0}''成功=会社 ''{0}'' 無効設定成功
|
||||
启用公司''{0}''成功=会社 ''{0}'' 有効設定成功
|
||||
删除公司''{0}''成功=会社 ''{0}'' 削除成功
|
||||
|
||||
# =========== 岗位管理 ===========
|
||||
|
||||
新增岗位=職位追加
|
||||
@@ -283,18 +280,18 @@
|
||||
删除岗位=職位削除
|
||||
确认要删除该岗位吗?=職位を削除します、よろしいですか?
|
||||
|
||||
保存岗位失败,岗位名称''{0}''已存在=職位保存失敗。職位名称 ''{0}'' 既に存在します
|
||||
保存岗位''{0}''成功=職位 ''{0}'' 保存成功
|
||||
停用岗位''{0}''成功=職位 ''{0}'' 無効設定成功
|
||||
启用岗位''{0}''成功=職位 ''{0}'' 有効設定成功
|
||||
删除岗位''{0}''成功=職位 ''{0}'' 削除成功
|
||||
|
||||
岗位名称=職位名称
|
||||
岗位名称已存在=職位名称が既に存在します
|
||||
岗位代码=職位コード
|
||||
岗位分类=職位分類
|
||||
关联角色=キャラク
|
||||
|
||||
保存岗位失败,岗位名称''{0}''已存在=職位保存失敗。職位名称 ''{0}'' 既に存在します
|
||||
保存岗位''{0}''成功=職位 ''{0}'' 保存成功
|
||||
停用岗位''{0}''成功=職位 ''{0}'' 無効設定成功
|
||||
启用岗位''{0}''成功=職位 ''{0}'' 有効設定成功
|
||||
删除岗位''{0}''成功=職位 ''{0}'' 削除成功
|
||||
|
||||
# =========== 角色管理 ===========
|
||||
|
||||
用户类型=ユーザータイプ
|
||||
@@ -306,7 +303,6 @@
|
||||
角色编码=キャラクターコード
|
||||
角色名称=キャラクター名
|
||||
角色名称已存在=キャラクター名が存在する
|
||||
角色分类=キャラクター分類
|
||||
授权功能菜单=ライセンス機能メニュー
|
||||
|
||||
未设置=未設置
|
||||
@@ -418,6 +414,7 @@
|
||||
|
||||
新增菜单=メニューの追加
|
||||
编辑菜单=編集メニュー
|
||||
|
||||
上级菜单=上級メニュー
|
||||
菜单类型=メニュータイプ
|
||||
菜单名称=メニュー名
|
||||
@@ -484,6 +481,9 @@
|
||||
|
||||
新增参数=追加パラメータ
|
||||
编辑参数=編集パラメータ
|
||||
删除参数=削除パラメータ
|
||||
确认要删除该参数吗?=このパラメータを削除することを確認しますか?
|
||||
|
||||
参数名称=パラメータ名
|
||||
参数键名=パラメータキー名
|
||||
参数键名已存在=パラメータキー名はすでに存在する
|
||||
@@ -491,8 +491,6 @@
|
||||
参数描述=パラメータ記述
|
||||
清理全部缓存,包括属性文件的配置=プロパティファイルの配置を含めてキャッシュ全体をクリアする
|
||||
系统参数=システムパラメータ
|
||||
删除参数=削除パラメータ
|
||||
确认要删除该参数吗?=このパラメータを削除することを確認しますか?
|
||||
|
||||
保存参数成功=セーブパラメータ成功
|
||||
删除参数成功=削除パラメータ成功
|
||||
@@ -566,10 +564,10 @@ CSS类名=クラス名
|
||||
# =========== 在线用户 ===========
|
||||
|
||||
操作用户=ユーザーを操作する
|
||||
包含3分钟以上未操作的用户=未操作のユーザを3分以上含む
|
||||
查询所有在线=全てのオンライン検索
|
||||
包含未登录的用户=未登録のユーザを含む
|
||||
包含3分钟以上未操作的用户=未操作のユーザを3分以上含む
|
||||
包含游客用户=は観光客ユーザー
|
||||
包含未登录的用户=未登録のユーザを含む
|
||||
用户名称=ユーザー名
|
||||
游客=観光客
|
||||
最后访问=最後の訪問
|
||||
|
||||
@@ -60,13 +60,8 @@
|
||||
<% } %>
|
||||
</BasicDrawer>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
export default defineComponent({
|
||||
name: '${compNamePrefix}Form',
|
||||
});
|
||||
</script>
|
||||
<script lang="ts" setup>
|
||||
import { defineComponent, ref, computed } from 'vue';
|
||||
<script lang="ts" setup name="${compNamePrefix}Form">
|
||||
import { ref, unref, computed } from 'vue';
|
||||
import { useI18n } from '/@/hooks/web/useI18n';
|
||||
import { useMessage } from '/@/hooks/web/useMessage';
|
||||
import { router } from '/@/router';
|
||||
@@ -107,9 +102,10 @@ for(c in table.columnList){
|
||||
|
||||
const { t } = useI18n('${moduleName}${isNotEmpty(subModuleName)?'.'+subModuleName:''}.${className}');
|
||||
const { showMessage } = useMessage();
|
||||
const { meta } = unref(router.currentRoute);
|
||||
const record = ref<${ClassName}>({} as ${ClassName});
|
||||
const getTitle = computed(() => ({
|
||||
icon: router.currentRoute.value.meta.icon || 'ant-design:book-outlined',
|
||||
icon: meta.icon || 'ant-design:book-outlined',
|
||||
value: record.value.isNewRecord ? t('新增${functionNameSimple}') : t('编辑${functionNameSimple}'),
|
||||
}));
|
||||
<% if(toBoolean(table.optionMap['isBpmForm'])){ %>
|
||||
@@ -607,7 +603,7 @@ for (c in table.columnList){
|
||||
emit('success', data);
|
||||
} catch (error: any) {
|
||||
if (error && error.errorFields) {
|
||||
showMessage(t('您填写的信息有误,请根据提示修正。'));
|
||||
showMessage(t('common.validateError'));
|
||||
}
|
||||
console.log('error', error);
|
||||
} finally {
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
emit('success');
|
||||
} catch (error: any) {
|
||||
if (error && error.errorFields) {
|
||||
showMessage(t('您填写的信息有误,请根据提示修正。'));
|
||||
showMessage(t('common.validateError'));
|
||||
}
|
||||
console.log('error', error);
|
||||
} finally {
|
||||
|
||||
@@ -27,13 +27,8 @@
|
||||
<ListView :treeCode="treeCode" />
|
||||
</PageWrapper>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
export default defineComponent({
|
||||
name: '${compNamePrefix}Index',
|
||||
});
|
||||
</script>
|
||||
<script lang="ts" setup>
|
||||
import { defineComponent, ref } from 'vue';
|
||||
<script lang="ts" setup name="${compNamePrefix}Index">
|
||||
import { ref } from 'vue';
|
||||
import { useI18n } from '/@/hooks/web/useI18n';
|
||||
import { PageWrapper } from '/@/components/Page';
|
||||
import { BasicTree } from '/@/components/Tree';
|
||||
|
||||
@@ -90,13 +90,8 @@ if(table.isTreeEntity){
|
||||
<% } %>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
export default defineComponent({
|
||||
name: '${compNamePrefix}List',
|
||||
});
|
||||
</script>
|
||||
<script lang="ts" setup>
|
||||
import { defineComponent<% if(table.isTreeEntity || isNotBlank(table.optionMap['leftTreeRightTableFk'])){ %>, watch<% }
|
||||
<script lang="ts" setup name="${compNamePrefix}List">
|
||||
import { unref<% if(table.isTreeEntity || isNotBlank(table.optionMap['leftTreeRightTableFk'])){ %>, watch<% }
|
||||
%><% if(table.isTreeEntity){ %>, nextTick<% } %> } from 'vue';
|
||||
import { useI18n } from '/@/hooks/web/useI18n';
|
||||
import { useMessage } from '/@/hooks/web/useMessage';
|
||||
@@ -154,9 +149,10 @@ for(c in table.columnList){
|
||||
<% } %>
|
||||
const { t } = useI18n('${moduleName}${isNotEmpty(subModuleName)?'.'+subModuleName:''}.${className}');
|
||||
const { showMessage } = useMessage();
|
||||
const { meta } = unref(router.currentRoute);
|
||||
const getTitle = {
|
||||
icon: router.currentRoute.value.meta.icon || 'ant-design:book-outlined',
|
||||
value: router.currentRoute.value.meta.title || t('${functionNameSimple}管理'),
|
||||
icon: meta.icon || 'ant-design:book-outlined',
|
||||
value: meta.title || t('${functionNameSimple}管理'),
|
||||
};
|
||||
|
||||
const searchForm: FormProps = {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="box box-main">
|
||||
<div class="box-header">
|
||||
<div class="box-title">
|
||||
<i class="fa icon-map"></i> ${area.isNewRecord ? '新增区域' : '编辑区域'}
|
||||
<i class="fa icon-map"></i> ${text(area.isNewRecord ? '新增区域' : '编辑区域')}
|
||||
</div>
|
||||
<div class="box-tools pull-right">
|
||||
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
|
||||
@@ -11,13 +11,13 @@
|
||||
</div>
|
||||
<#form:form id="inputForm" model="${area}" action="${ctx}/sys/area/save" method="post" class="form-horizontal">
|
||||
<div class="box-body">
|
||||
<div class="form-unit">基本信息</div>
|
||||
<div class="form-unit">${text('基本信息')}</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-xs-9">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-4">上级区域:</label>
|
||||
<label class="control-label col-sm-4">${text('上级区域')}:</label>
|
||||
<div class="col-sm-8">
|
||||
<#form:treeselect id="parent" title="上级区域"
|
||||
<#form:treeselect id="parent" title="${text('上级区域')}"
|
||||
path="parent.id" labelPath="parent.areaName"
|
||||
url="${ctx}/sys/area/treeData?excludeCode=${area.id}"
|
||||
class="" allowClear="true" canSelectRoot="true" canSelectParent="true"/>
|
||||
@@ -29,7 +29,7 @@
|
||||
<div class="col-md-6 col-xs-9">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-4" title="">
|
||||
<span class="required ">*</span> 区域代码:<i class="fa icon-question hide"></i></label>
|
||||
<span class="required ">*</span> ${text('区域代码')}:<i class="fa icon-question hide"></i></label>
|
||||
<div class="col-sm-8">
|
||||
<#form:hidden path="isNewRecord"/>
|
||||
<#form:input path="areaCode" maxlength="100" readonly="${!area.isNewRecord}" class="form-control required abc"/>
|
||||
@@ -41,7 +41,7 @@
|
||||
<div class="col-md-6 col-xs-9">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-4" title="">
|
||||
<span class="required ">*</span> 区域名称:<i class="fa icon-question hide"></i></label>
|
||||
<span class="required ">*</span> ${text('区域名称')}:<i class="fa icon-question hide"></i></label>
|
||||
<div class="col-sm-8">
|
||||
<#form:input path="areaName" maxlength="100" class="form-control required "/>
|
||||
</div>
|
||||
@@ -52,7 +52,7 @@
|
||||
<div class="col-md-6 col-xs-9">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-4" title="">
|
||||
<span class="required ">*</span> 区域类型:<i class="fa icon-question hide"></i></label>
|
||||
<span class="required ">*</span> ${text('区域类型')}:<i class="fa icon-question hide"></i></label>
|
||||
<div class="col-sm-8">
|
||||
<#form:radio path="areaType" dictType="sys_area_type" class="form-control required" />
|
||||
</div>
|
||||
@@ -63,7 +63,7 @@
|
||||
<div class="col-md-6 col-xs-9">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-4" title="">
|
||||
<span class="required ">*</span> 排序号:<i class="fa icon-question hide"></i></label>
|
||||
<span class="required ">*</span> ${text('排序号')}:<i class="fa icon-question hide"></i></label>
|
||||
<div class="col-sm-8">
|
||||
<#form:input path="treeSort" maxlength="9" class="form-control required digits"/>
|
||||
</div>
|
||||
@@ -74,7 +74,7 @@
|
||||
<div class="col-xs-12">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-md-2 col-sm-3" title="">
|
||||
<span class="required hide">*</span> 备注信息:<i class="fa icon-question hide"></i></label>
|
||||
<span class="required hide">*</span> ${text('备注信息')}:<i class="fa icon-question hide"></i></label>
|
||||
<div class="col-sm-8">
|
||||
<#form:textarea path="remarks" rows="4" maxlength="500" class="form-control "/>
|
||||
</div>
|
||||
@@ -86,9 +86,9 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-offset-2 col-sm-10">
|
||||
<% if (hasPermi('sys:area:edit')){ %>
|
||||
<button type="submit" class="btn btn-sm btn-primary" id="btnSubmit"><i class="fa fa-check"></i> 保 存</button>
|
||||
<button type="submit" class="btn btn-sm btn-primary" id="btnSubmit"><i class="fa fa-check"></i> ${text('保 存')}</button>
|
||||
<% } %>
|
||||
<button type="button" class="btn btn-sm btn-default" id="btnCancel" onclick="js.closeCurrentTabPage()"><i class="fa fa-reply-all"></i> 关 闭</button>
|
||||
<button type="button" class="btn btn-sm btn-default" id="btnCancel" onclick="js.closeCurrentTabPage()"><i class="fa fa-reply-all"></i> ${text('关 闭')}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
<div class="box box-main">
|
||||
<div class="box-header">
|
||||
<div class="box-title">
|
||||
<i class="fa icon-map"></i> 行政区划
|
||||
<i class="fa icon-map"></i> ${text('行政区划')}
|
||||
</div>
|
||||
<div class="box-tools pull-right">
|
||||
<a href="#" class="btn btn-default" id="btnSearch" title="查询"><i class="fa fa-filter"></i> 查询</a>
|
||||
<a href="#" class="btn btn-default" id="btnRefreshTree" title="刷新"><i class="fa fa-refresh"></i> 刷新</a>
|
||||
<a href="#" class="btn btn-default" id="btnExpandTreeNode" title="展开一级"><i class="fa fa-angle-double-down"></i> 展开</a>
|
||||
<a href="#" class="btn btn-default" id="btnCollapseTreeNode" title="折叠全部"><i class="fa fa-angle-double-up"></i> 折叠</a>
|
||||
<a href="#" class="btn btn-default" id="btnSearch" title="查询"><i class="fa fa-filter"></i> ${text('查询')}</a>
|
||||
<a href="#" class="btn btn-default" id="btnRefreshTree" title="刷新"><i class="fa fa-refresh"></i> ${text('刷新')}</a>
|
||||
<a href="#" class="btn btn-default" id="btnExpandTreeNode" title="展开一级"><i class="fa fa-angle-double-down"></i> ${text('展开')}</a>
|
||||
<a href="#" class="btn btn-default" id="btnCollapseTreeNode" title="折叠全部"><i class="fa fa-angle-double-up"></i> ${text('折叠')}</a>
|
||||
<% if(hasPermi('sys:area:edit')){ %>
|
||||
<a href="${ctx}/sys/area/form" class="btn btn-default btnTool" title="新增区域"><i class="fa fa-plus"></i> 新增</a>
|
||||
<a href="${ctx}/sys/area/form" class="btn btn-default btnTool" title="${text('新增区域')}"><i class="fa fa-plus"></i> ${text('新增')}</a>
|
||||
<% } %>
|
||||
<a href="#" class="btn btn-default" id="btnSetting" title="${text('设置')}"><i class="fa fa-navicon"></i></a>
|
||||
</div>
|
||||
@@ -20,26 +20,26 @@
|
||||
<#form:form id="searchForm" model="${area}" action="${ctx}/sys/area/listPageData" method="post" class="form-inline hide"
|
||||
data-page-no="${parameter.pageNo}" data-page-size="${parameter.pageSize}" data-order-by="${parameter.orderBy}">
|
||||
<div class="form-group">
|
||||
<label class="control-label">区域代码:</label>
|
||||
<label class="control-label">${text('区域代码')}:</label>
|
||||
<div class="control-inline">
|
||||
<#form:input path="areaCode" maxlength="100" class="form-control"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label">区域名称:</label>
|
||||
<label class="control-label">${text('区域名称')}:</label>
|
||||
<div class="control-inline">
|
||||
<#form:input path="areaName" maxlength="100" class="form-control"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label">状态:</label>
|
||||
<label class="control-label">${text('状态')}:</label>
|
||||
<div class="control-inline width-60">
|
||||
<#form:select path="status" dictType="sys_search_status" blankOption="true" class="form-control isQuick"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<button type="submit" class="btn btn-primary btn-sm">查询</button>
|
||||
<button type="reset" class="btn btn-default btn-sm isQuick">重置</button>
|
||||
<button type="submit" class="btn btn-primary btn-sm">${text('查询')}</button>
|
||||
<button type="reset" class="btn btn-default btn-sm isQuick">${text('重置')}</button>
|
||||
</div>
|
||||
</#form:form>
|
||||
<table id="dataGrid"></table>
|
||||
@@ -53,29 +53,29 @@
|
||||
$('#dataGrid').dataGrid({
|
||||
searchForm: $("#searchForm"),
|
||||
columnModel: [
|
||||
{header:'区域名称', name:'areaName', index:'a.area_name', width:230, align:"left", frozen:true, formatter: function(val, obj, row, act){
|
||||
return '( '+row.areaCode+' ) '+'<a href="${ctx}/sys/area/form?areaCode='+row.areaCode+'" class="btnList" data-title="编辑区域">'+(val||row.id)+'</a>';
|
||||
{header:'${text("区域名称")}', name:'areaName', index:'a.area_name', width:230, align:"left", frozen:true, formatter: function(val, obj, row, act){
|
||||
return '( '+row.areaCode+' ) '+'<a href="${ctx}/sys/area/form?areaCode='+row.areaCode+'" class="btnList" data-title="${text("编辑区域")}">'+(val||row.id)+'</a>';
|
||||
}},
|
||||
{header:'区域类型', name:'areaType', index:'a.area_type', width:150, align:"center", formatter: function(val, obj, row, act){
|
||||
{header:'${text("区域类型")}', name:'areaType', index:'a.area_type', width:150, align:"center", formatter: function(val, obj, row, act){
|
||||
return js.getDictLabel(${@DictUtils.getDictListJson('sys_area_type')}, val, '未知', true);
|
||||
}},
|
||||
{header:'备注信息', name:'remarks', index:'a.remarks', width:200, align:"left"},
|
||||
{header:'排序号', name:'treeSort', index:'a.tree_sort', width:100, align:"center"},
|
||||
{header:'状态', name:'status', index:'a.status', width:80, align:"center", formatter: function(val, obj, row, act){
|
||||
{header:'${text("备注信息")}', name:'remarks', index:'a.remarks', width:200, align:"left"},
|
||||
{header:'${text("排序号")}', name:'treeSort', index:'a.tree_sort', width:100, align:"center"},
|
||||
{header:'${text("状态")}', name:'status', index:'a.status', width:80, align:"center", formatter: function(val, obj, row, act){
|
||||
return js.getDictLabel(${@DictUtils.getDictListJson('sys_status')}, val, '未知', true);
|
||||
}},
|
||||
{header:'更新时间', name:'updateDate', index:'a.update_date', width:150, align:"center"},
|
||||
{header:'操作', name:'actions', width:130, formatter: function(val, obj, row, act){
|
||||
{header:'${text("更新时间")}', name:'updateDate', index:'a.update_date', width:150, align:"center"},
|
||||
{header:'${text("操作")}', name:'actions', width:130, formatter: function(val, obj, row, act){
|
||||
var actions = [];
|
||||
//<% if(hasPermi('sys:area:edit')){ %>
|
||||
actions.push('<a href="${ctx}/sys/area/form?areaCode='+row.areaCode+'" class="btnList" title="编辑区域"><i class="fa fa-pencil"></i></a> ');
|
||||
actions.push('<a href="${ctx}/sys/area/form?areaCode='+row.areaCode+'" class="btnList" title="${text("编辑区域")}"><i class="fa fa-pencil"></i></a> ');
|
||||
if (row.status == Global.STATUS_NORMAL){
|
||||
actions.push('<a href="${ctx}/sys/area/disable?areaCode='+row.areaCode+'" class="btnList" title="停用区域" data-confirm="确认要停用该区域吗?"><i class="glyphicon glyphicon-ban-circle"></i></a> ');
|
||||
actions.push('<a href="${ctx}/sys/area/disable?areaCode='+row.areaCode+'" class="btnList" title="${text("停用区域")}" data-confirm="${text("确认要停用该区域吗?")}"><i class="glyphicon glyphicon-ban-circle"></i></a> ');
|
||||
} else if (row.status == Global.STATUS_DISABLE){
|
||||
actions.push('<a href="${ctx}/sys/area/enable?areaCode='+row.areaCode+'" class="btnList" title="启用区域" data-confirm="确认要启用该区域吗?"><i class="glyphicon glyphicon-ok-circle"></i></a> ');
|
||||
actions.push('<a href="${ctx}/sys/area/enable?areaCode='+row.areaCode+'" class="btnList" title="${text("启用区域")}" data-confirm="${text("确认要启用该区域吗?")}"><i class="glyphicon glyphicon-ok-circle"></i></a> ');
|
||||
}
|
||||
actions.push('<a href="${ctx}/sys/area/delete?areaCode='+row.areaCode+'" class="btnList" title="删除区域" data-confirm="确认要删除该区域及所有子区域吗?" data-deltreenode="'+row.id+'"><i class="fa fa-trash-o"></i></a> ');
|
||||
actions.push('<a href="${ctx}/sys/area/form?parentCode='+row.id+'" class="btnList" title="新增下级区域"><i class="fa fa-plus-square"></i></a> ');
|
||||
actions.push('<a href="${ctx}/sys/area/delete?areaCode='+row.areaCode+'" class="btnList" title="${text("删除区域")}" data-confirm="${text("确认要删除该区域及所有子区域吗?")}" data-deltreenode="'+row.id+'"><i class="fa fa-trash-o"></i></a> ');
|
||||
actions.push('<a href="${ctx}/sys/area/form?parentCode='+row.id+'" class="btnList" title="${text("新增下级区域")}"><i class="fa fa-plus-square"></i></a> ');
|
||||
//<% } %>
|
||||
return actions.join('');
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user