diff --git a/modules/core/src/main/resources/views/modules/sys/auditList.html b/modules/core/src/main/resources/views/modules/sys/auditList.html new file mode 100644 index 00000000..2d89d8b3 --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/auditList.html @@ -0,0 +1,98 @@ +<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved. + * No deletion without permission, or be held responsible to law. */ %> +<% layout('/layouts/default.html', {title: '安全审计', libs: ['dataGrid']}){ %> +
+ +
+<% } %> + \ No newline at end of file diff --git a/modules/core/src/main/resources/views/modules/sys/auditMenuList.html b/modules/core/src/main/resources/views/modules/sys/auditMenuList.html new file mode 100644 index 00000000..5ad5a6a3 --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/auditMenuList.html @@ -0,0 +1,186 @@ +<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved. + * No deletion without permission, or be held responsible to law. */ %> +<% layout('/layouts/default.html', {title: '安全审计', libs: ['layout', 'zTree', 'dataGrid']}){ %> +
+ +
+<% } %> + \ No newline at end of file diff --git a/modules/core/src/main/resources/views/modules/sys/auditUserList.html b/modules/core/src/main/resources/views/modules/sys/auditUserList.html new file mode 100644 index 00000000..84977a63 --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/auditUserList.html @@ -0,0 +1,166 @@ +<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved. + * No deletion without permission, or be held responsible to law. */ %> +<% layout('/layouts/default.html', {title: '安全审计', libs: ['layout', 'zTree', 'dataGrid']}){ %> +
+ +
+<% } %> + \ No newline at end of file diff --git a/modules/core/src/main/resources/views/modules/sys/configForm.html b/modules/core/src/main/resources/views/modules/sys/configForm.html new file mode 100644 index 00000000..f89cb496 --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/configForm.html @@ -0,0 +1,104 @@ +<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved. + * No deletion without permission, or be held responsible to law. */ %> +<% layout('/layouts/default.html', {title: '参数设置', libs: ['validate']}){ %> +
+
+
+
+ ${text(config.isNewRecord ? '新增参数' : '编辑参数')} +
+
+ +
+
+ <#form:form id="inputForm" model="${config}" action="${ctx}/sys/config/save" method="post" class="form-horizontal"> + <#form:hidden path="id" /> +
+
${text('基本信息')}
+
+
+
+ +
+ <#form:input path="configName" maxlength="100" class="form-control required" + readonly="${!user().superAdmin}"/> +
+
+
+
+
+
+
+ +
+ <#form:input path="configKey" maxlength="100" class="form-control required" + readonly="${!user().superAdmin}" + remote="${ctx}/sys/config/checkConfigKey?oldConfigKey=${config.configKey}" + data-msg-remote="${text('参数键名已存在')}"/> +
+
+
+
+
+
+
+ +
+ <#form:textarea path="configValue" rows="4" maxlength="2000" class="form-control "/> +
+
+
+
+
+
+
+ +
+ <#form:radio path="isSys" dictType="sys_yes_no" class="form-control required " /> +
+
+
+
+
+
+
+ +
+ <#form:textarea path="remarks" rows="3" maxlength="300" class="form-control"/> +
+
+
+
+
+ + +
+
+<% } %> + \ No newline at end of file diff --git a/modules/core/src/main/resources/views/modules/sys/configList.html b/modules/core/src/main/resources/views/modules/sys/configList.html new file mode 100644 index 00000000..befda086 --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/configList.html @@ -0,0 +1,102 @@ +<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved. + * No deletion without permission, or be held responsible to law. */ %> +<% layout('/layouts/default.html', {title: '参数设置', libs: ['dataGrid']}){ %> +
+
+
+
+ ${text('参数设置')} +
+
+ ${text('查询')} + <% if(hasPermi('sys:config:edit')){ %> + ${text('新增')} + ${text('清理全部缓存')} + <% } %> + + + + + + + + + + + +
+
+
+ <#form:form id="searchForm" model="${config}" action="${ctx}/sys/config/listData" method="post" class="form-inline " + data-page-no="${parameter.pageNo}" data-page-size="${parameter.pageSize}" data-order-by="${parameter.orderBy}"> +
+ +
+ <#form:input path="configName" maxlength="100" class="form-control" /> +
+
+
+ +
+ <#form:input path="configKey_like" maxlength="100" class="form-control" /> +
+
+
+ +
+ <#form:select path="isSys" dictType="sys_yes_no" blankOption="true" class="form-control"/> +
+
+
+ + +
+ +
+
+
+
+
+<% } %> + \ No newline at end of file diff --git a/modules/core/src/main/resources/views/modules/sys/dictDataForm.html b/modules/core/src/main/resources/views/modules/sys/dictDataForm.html new file mode 100644 index 00000000..e1f2fdbc --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/dictDataForm.html @@ -0,0 +1,152 @@ +<% layout('/layouts/default.html', {title: '字典数据管理', libs: ['validate']}){ %> +
+
+
+
+ ${text(dictData.isNewRecord ? '新增字典' : '编辑字典')}(${dictData.dictType}) +
+
+ +
+
+ <#form:form id="inputForm" model="${dictData}" action="${ctx}/sys/dictData/save" method="post" class="form-horizontal"> +
+
${text('基本信息')}
+
+
+
+ +
+ <#form:treeselect id="parent" title="${text('上级字典')}" + path="parent.id" labelPath="parent.dictLabelRaw" + url="${ctx}/sys/dictData/treeData?excludeCode=${dictData.id}&dictType=${dictData.dictType}&isShowRawName=true" + class="" allowClear="true" canSelectRoot="true" canSelectParent="true" isReturnValue="false"/> +
+
+
+
+ <#form:hidden path="dictCode"/> + <#form:hidden path="dictType"/> +
+
+
+ +
+ <#form:input path="dictLabelRaw" maxlength="100" class="form-control required "/> +
+
+
+
+
+ +
+ <#form:input path="dictValue" maxlength="500" class="form-control required "/> +
+
+
+
+
+
+
+ +
+ <#form:input path="treeSort" maxlength="9" class="form-control required digits"/> +
+
+
+
+
+ +
+ <#form:radio path="isSys" dictType="sys_yes_no" class="form-control required " /> +
+
+
+
+
+
+
+ +
+ <#form:input path="description" maxlength="500" class="form-control "/> +
+
+
+
+
+ +
+ <#form:iconselect path="dictIcon" class=""/> +
+
+
+
+
${text('其它信息')}
+
+
+
+ +
+ <#form:input path="cssClass" maxlength="500" class="form-control "/> +
+
+
+
+
+ +
+ <#form:input path="cssStyle" maxlength="500" class="form-control "/> +
+
+
+
+
+
+
+ +
+ <#form:textarea path="remarks" rows="4" maxlength="500" class="form-control "/> +
+
+
+
+ <#form:extend collapsed="true" /> +
+ + +
+
+<% } %> + \ No newline at end of file diff --git a/modules/core/src/main/resources/views/modules/sys/dictDataList.html b/modules/core/src/main/resources/views/modules/sys/dictDataList.html new file mode 100644 index 00000000..2ca27cf4 --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/dictDataList.html @@ -0,0 +1,116 @@ +<% layout('/layouts/default.html', {title: '字典数据管理', libs: ['dataGrid']}){ %> +
+
+
+
+ ${text('字典数据')}(${dictData.dictType}) +
+
+ ${text('查询')} + ${text('刷新')} + ${text('展开')} + ${text('折叠')} + <% if(hasPermi('sys:dictData:edit')){ %> + ${text('新增')} + <% } %> + +
+
+
+ <#form:form id="searchForm" model="${dictData}" action="${ctx}/sys/dictData/listData" method="post" class="form-inline " + data-page-no="${parameter.pageNo}" data-page-size="${parameter.pageSize}" data-order-by="${parameter.orderBy}"> +
+ +
+ <#form:input path="dictLabelRaw" maxlength="100" class="form-control"/> +
+
+
+ +
+ <#form:input path="dictValue" maxlength="500" class="form-control"/> +
+
+
+ +
+ <#form:input path="dictType" maxlength="100" class="form-control"/> +
+
+
+ +
+ <#form:select path="isSys" dictType="sys_yes_no" blankOption="true" class="form-control"/> +
+
+
+ +
+ <#form:select path="status" dictType="sys_search_status" blankOption="true" class="form-control isQuick"/> +
+
+
+ + +
+ +
+
+
+
+<% } %> + \ No newline at end of file diff --git a/modules/core/src/main/resources/views/modules/sys/dictTypeForm.html b/modules/core/src/main/resources/views/modules/sys/dictTypeForm.html new file mode 100644 index 00000000..64962018 --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/dictTypeForm.html @@ -0,0 +1,90 @@ +<% layout('/layouts/default.html', {title: '字典类型管理', libs: ['validate']}){ %> +
+
+
+
+ ${text(dictType.isNewRecord ? '新增字典类型' : '编辑字典类型')} +
+
+ +
+
+ <#form:form id="inputForm" model="${dictType}" action="${ctx}/sys/dictType/save" method="post" class="form-horizontal"> +
+
${text('基本信息')}
+ <#form:hidden path="id"/> +
+
+
+ +
+ <#form:input path="dictName" maxlength="100" class="form-control required "/> +
+
+
+
+
+
+
+ +
+ <#form:input path="dictType" maxlength="100" class="form-control required abc" + remote="${ctx}/sys/dictType/checkDictType?oldDictType=${dictType.dictType}" + data-msg-remote="${text('字典类型已存在')}"/> +
+
+
+
+
+
+
+ +
+ <#form:radio path="isSys" dictType="sys_yes_no" class="form-control required " /> +
+
+
+
+
+
+
+ +
+ <#form:textarea path="remarks" rows="4" maxlength="500" class="form-control "/> +
+
+
+
+
+ + +
+
+<% } %> + diff --git a/modules/core/src/main/resources/views/modules/sys/dictTypeList.html b/modules/core/src/main/resources/views/modules/sys/dictTypeList.html new file mode 100644 index 00000000..77a83ee7 --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/dictTypeList.html @@ -0,0 +1,95 @@ +<% layout('/layouts/default.html', {title: '字典管理', libs: ['dataGrid']}){ %> +
+
+
+
+ ${text('字典管理')} +
+
+ ${text('查询')} + <% if(hasPermi('sys:dictType:edit')){ %> + ${text('新增')} + <% } %> + +
+
+
+ <#form:form id="searchForm" model="${dictType}" action="${ctx}/sys/dictType/listData" method="post" class="form-inline " + data-page-no="${parameter.pageNo}" data-page-size="${parameter.pageSize}" data-order-by="${parameter.orderBy}"> +
+ +
+ <#form:input path="dictName" maxlength="100" class="form-control"/> +
+
+
+ +
+ <#form:input path="dictType_like" maxlength="100" class="form-control"/> +
+
+
+ +
+ <#form:select path="isSys" dictType="sys_yes_no" blankOption="true" class="form-control"/> +
+
+
+ +
+ <#form:select path="status" dictType="sys_search_status" blankOption="true" class="form-control isQuick"/> +
+
+
+ + +
+ +
+
+
+
+
+<% } %> + \ No newline at end of file diff --git a/modules/core/src/main/resources/views/modules/sys/langForm.html b/modules/core/src/main/resources/views/modules/sys/langForm.html new file mode 100644 index 00000000..ea0e3e17 --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/langForm.html @@ -0,0 +1,103 @@ +<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved. + * No deletion without permission, or be held responsible to law. */ %> +<% layout('/layouts/default.html', {title: '国际化管理', libs: ['validate']}){ %> +
+
+
+
+ ${text(lang.isNewRecord ? '新增语言' : '编辑语言')} +
+
+ +
+
+ <#form:form id="inputForm" model="${lang}" action="${ctx}/sys/lang/save" method="post" class="form-horizontal"> +
+
${text('基本信息')}
+ <#form:hidden path="id"/> +
+
+
+ +
+ + <#form:input path="langCode" maxlength="500" class="form-control required "/> +
+
+
+
+
+
+
+ +
+ <#form:input path="langText" maxlength="500" class="form-control required "/> +
+
+
+
+
+
+
+ +
+ + <#form:radio path="langType" dictType="sys_lang_type" class="form-control required " /> +
+
+
+
+
+
+
+ +
+ <#form:radio path="module.moduleCode" items="${moduleList}" itemLabel="moduleNameText" itemValue="moduleCode" class="form-control required" /> +
+
+
+
+
+
+
+ +
+ <#form:textarea path="remarks" rows="4" maxlength="500" class="form-control "/> +
+
+
+
+
+ + +
+
+<% } %> + diff --git a/modules/core/src/main/resources/views/modules/sys/langList.html b/modules/core/src/main/resources/views/modules/sys/langList.html new file mode 100644 index 00000000..be5ac1ce --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/langList.html @@ -0,0 +1,95 @@ +<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved. + * No deletion without permission, or be held responsible to law. */ %> +<% layout('/layouts/default.html', {title: '国际化管理', libs: ['dataGrid']}){ %> +
+
+
+
+ ${text('国际化管理')} +
+
+ ${text('查询')} + <% if(hasPermi('sys:lang:edit')){ %> + ${text('新增')} + ${text('清理缓存')} + <% } %> + +
+
+
+ <#form:form id="searchForm" model="${lang}" action="${ctx}/sys/lang/listData" method="post" class="form-inline " + data-page-no="${parameter.pageNo}" data-page-size="${parameter.pageSize}" data-order-by="${parameter.orderBy}"> +
+ +
+ <#form:input path="langCode_like" maxlength="500" class="form-control width-120"/> +
+
+
+ +
+ <#form:input path="langText" maxlength="500" class="form-control width-120"/> +
+
+
+ +
+ <#form:select path="langType" dictType="sys_lang_type" blankOption="true" class="form-control isQuick"/> +
+
+
+ +
+ <#form:select path="module.moduleCode" items="${moduleList}" itemLabel="moduleName" + itemValue="moduleCode" class="form-control" blankOption="true"/> +
+
+
+ + +
+ +
+
+
+
+
+<% } %> + \ No newline at end of file diff --git a/modules/core/src/main/resources/views/modules/sys/menuForm.html b/modules/core/src/main/resources/views/modules/sys/menuForm.html new file mode 100644 index 00000000..ab0a94f0 --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/menuForm.html @@ -0,0 +1,321 @@ +<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved. + * No deletion without permission, or be held responsible to law. */ %> +<% layout('/layouts/default.html', {title: '菜单管理', libs: ['validate']}){ %> + +
+
+
+
+ ${text(menu.isNewRecord ? '新增菜单' : '编辑菜单')}( +
+ +
+
+ +
+
+ <#form:form id="inputForm" model="${menu}" action="${ctx}/sys/menu/save" method="post" class="form-horizontal"> + <#form:hidden path="sysCode" /> + <#form:hidden path="menuCode" /> +
+
${text('基本信息')}
+
+
+
+ +
+ <#form:treeselect id="parent" title="${text('上级菜单')}" + path="parent.id" labelPath="parent.menuNameRaw" + url="${ctx}/sys/menu/treeData?excludeCode=${menu.menuCode}&sysCode=${menu.sysCode}&isShowRawName=true" + class="" allowClear="true" canSelectRoot="true" canSelectParent="true"/> +
+
+
+
+
+ +
+ <#form:radio path="menuType" dictType="sys_menu_type" class="form-control required" /> +
+
+
+
+
+
+
+ +
+ <#form:input path="menuNameRaw" maxlength="50" class="form-control required" /> +
+
+
+
+
+ +
+ <#form:select multiple="true" path="moduleCodes" items="${moduleList}" itemLabel="moduleName" itemValue="moduleCode" class="form-control required" /> +
+
+
+
+
+
+
+ +
+ <#form:input path="menuHref" maxlength="2000" class="form-control"/> +
+
+
+
+
+ +
+ <#form:input path="menuTarget" maxlength="10" class="form-control"/> +
+
+
+
+
+
+
+ +
+ <#form:input path="component" maxlength="200" class="form-control "/> +
+
+
+
+
+ +
+ <#form:input path="params" maxlength="100" class="form-control"/> +
+
+
+
+
+
+
+ +
+ <#form:input path="treeSort" maxlength="9" class="form-control required"/> +
+
+
+
+
+ +
+ <#form:input path="permission" maxlength="100" class="form-control"/> +
+
+
+
+
+
+
+ +
+ <#form:iconselect path="menuIcon" class=""/> +
+
+
+
+
+ +
+
+ <#form:input path="menuColor" maxlength="50" class="form-control"/> + + + +
+
+
+
+
+
+
+
+ +
+ <#form:input path="menuTitle" maxlength="50" class="form-control" /> +
+
+
+
+
+ +
+ <#form:radio path="isShow" dictType="sys_show_hide" class="form-control required"/> +
+
+
+
+
+
+
+ +
+ <#form:select path="weight" dictType="sys_menu_weight" class="form-control required"/> +
+
+
+
+
${text('其它信息')}
+
+
+
+ +
+ <#form:textarea path="remarks" rows="3" maxlength="200" class="form-control"/> +
+
+
+
+ <% if (menu.isNewRecord){ /*%> +
+
+
+ +
+ <#form:textarea name="quickCreatePermi" rows="2" maxlength="200" class="form-control"/> + + 格式举例:[查看] sys:user:view; [编辑] sys:user:edit; [授权] sys:user:auth + +
+
+
+
+ <% */} %> + <#form:extend collapsed="true" /> +
+ + +
+
+<% } %> + + \ No newline at end of file diff --git a/modules/core/src/main/resources/views/modules/sys/menuIndex.html b/modules/core/src/main/resources/views/modules/sys/menuIndex.html new file mode 100644 index 00000000..ef7bbea9 --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/menuIndex.html @@ -0,0 +1,88 @@ +<% layout('/layouts/default.html', {title: '菜单管理', libs: ['layout','zTree']}){ %> +
+
+
+
+
+ + +
+
+ + + +
+
+
+
+
+
+
+
+
+ +
+<% } %> + diff --git a/modules/core/src/main/resources/views/modules/sys/menuList.html b/modules/core/src/main/resources/views/modules/sys/menuList.html new file mode 100644 index 00000000..42335bcd --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/menuList.html @@ -0,0 +1,164 @@ +<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved. + * No deletion without permission, or be held responsible to law. */ %> +<% layout('/layouts/default.html', {title: '菜单管理', libs: ['dataGrid']}){ %> +
+
+
+
+ ${text('菜单管理')}( +
+ +
+ +
+
+ <#form:form id="searchForm" model="${menu}" action="${ctx}/sys/menu/listData" method="post" class="form-inline hide"> + <#form:hidden path="moduleCodes" class="isReset" /> + <#form:hidden path="menuCode" class="isReset"/> + <#form:hidden path="sysCode" /> +
+ +
+ <#form:input path="menuNameRaw" maxlength="50" class="form-control width-90" /> +
+
+
+ +
+ <#form:input path="menuHref" maxlength="50" class="form-control width-90" /> +
+
+
+ +
+ <#form:input path="permission" maxlength="50" class="form-control width-90" /> +
+
+
+ +
+ <#form:select path="status" dictType="sys_search_status" blankOption="true" class="form-control isQuick"/> +
+
+
+ + +
+ + <#form:form id="dataGridForm" action="${ctx}/sys/menu/updateTreeSort" method="post"> +
+ +
+
+
+<% } %> + \ No newline at end of file diff --git a/modules/core/src/main/resources/views/modules/sys/moduleForm.html b/modules/core/src/main/resources/views/modules/sys/moduleForm.html new file mode 100644 index 00000000..e13075a7 --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/moduleForm.html @@ -0,0 +1,170 @@ +<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved. + * No deletion without permission, or be held responsible to law. */ %> +<% layout('/layouts/default.html', {title: '模块管理', libs: ['validate']}){ %> +<% var moduleNames = [ + 'app','bpm','cms','core','filemanager','filepreview','oauth2', + 'oss-client','sharding','swagger','ureport','visual','weixin' +], isCustomModule = !@moduleNames.contains(module.moduleCode); %> +
+
+
+
+ ${text(module.isNewRecord ? '新增模块' : '编辑模块')} +
+
+ +
+
+ <#form:form id="inputForm" model="${module}" action="${ctx}/sys/module/save" method="post" class="form-horizontal"> +
+
${text('基本信息')}
+
+
+
+ +
+ <#form:input path="moduleName" maxlength="100" class="form-control required"/> +
+
+
+
+
+ +
+ <#form:hidden path="isNewRecord"/> + <#form:input path="moduleCode" maxlength="64" readonly="${!module.isNewRecord}" class="form-control abc2 required"/> +
+
+
+
+
+
+
+ +
+ <#form:input path="mainClassName" maxlength="500" class="form-control"/> +
+
+
+
+
+
+
+ +
+ <#form:textarea path="description" rows="4" maxlength="500" class="form-control"/> +
+
+
+
+
+
+
+ + <% if(isNotBlank(module.upgradeInfo)){ %> +
+ ${module.currentVersion}   ${module.upgradeInfo} +
+ <% }else{ %> +
+ <#form:input path="currentVersion" maxlength="50" class="form-control"/> +
+ <% } %> +
+
+
+ <% if (hasPermi('sys:module:edit') && isCustomModule){ %> +
${text('生成工程代码')}
+
+
+
+ +
+
+ <#form:input name="genBaseDir" value="${genBaseDir}" maxlength="2000" class="form-control"/> +
+ + +
+
+
+
+
+
+
+
+
+ +
+ <#form:select path="tplCategory" items="${config.moduleTplCategoryList}" itemLabel="label" itemValue="value" blankOption="true" class="form-control "/> +
+
+ <#form:checkbox path="replaceFile" label="${text('是否替换现有文件')}" class="form-control" title="${text('如果生成文件已经存在,选中该选项原文件则被覆盖。')}"/> +
+
+
+
+ <% } %> +
+ + <%/* 乐观锁,前台提交时间戳作为该表单的版本号,后台更新数据前只要调用baseValidator即可验证版本。 + */%> + +
+
+<% } %> + diff --git a/modules/core/src/main/resources/views/modules/sys/moduleList.html b/modules/core/src/main/resources/views/modules/sys/moduleList.html new file mode 100644 index 00000000..9af38ac5 --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/moduleList.html @@ -0,0 +1,83 @@ +<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved. + * No deletion without permission, or be held responsible to law. */ %> +<% layout('/layouts/default.html', {title: '模块管理', libs: ['dataGrid']}){ %> +
+
+
+
+ ${text('模块管理')} +
+
+ ${text('查询')} + <% if(hasPermi('sys:module:edit')){ %> + ${text('新增')} + <% } %> + +
+
+
+ <#form:form id="searchForm" model="${module}" action="${ctx}/sys/module/listData" method="post" class="form-inline hide" + data-page-no="${parameter.pageNo}" data-page-size="${parameter.pageSize}" data-order-by="${parameter.orderBy}"> +
+ +
+ <#form:input path="moduleName" maxlength="100" class="form-control"/> +
+
+
+ +
+ <#form:input path="mainClassName" maxlength="500" class="form-control"/> +
+
+
+ +
+ <#form:select path="status" dictType="sys_search_status" blankOption="true" class="form-control isQuick"/> +
+
+
+ + +
+ +
+
+
+
+
+<% } %> + \ No newline at end of file diff --git a/modules/core/src/main/resources/views/modules/sys/roleForm.html b/modules/core/src/main/resources/views/modules/sys/roleForm.html new file mode 100644 index 00000000..5c9d2807 --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/roleForm.html @@ -0,0 +1,310 @@ +<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved. + * No deletion without permission, or be held responsible to law. */ %> +<% layout('/layouts/default.html', {title: '角色管理', libs: ['validate', 'zTree']}){ %> +
+
+
+
+ ${text(role.isNewRecord ? '新增角色' : op == 'auth' ? '角色分配功能权限' : '编辑角色')} +
+
+ +
+
+ <#form:form id="inputForm" model="${role}" action="${ctx}/sys/role/save" method="post" class="form-horizontal"> + <#form:hidden name="op" value="${op}"/> +
+
${text('基本信息')}
+
+
+
+ +
+ <#form:hidden name="oldRoleName" value="${role.roleName}"/> + <#form:input path="roleName" maxlength="100" readonly="${op=='auth'}" class="form-control required " + remote="${ctx}/sys/role/checkRoleName?oldRoleName=${role.roleName}" + data-msg-remote="${text('角色名称已存在')}"/> +
+
+
+ <% if(!role.isNewRecord) { %> +
+
+ +
+ <#form:hidden path="isNewRecord"/> + <#form:hidden path="viewCode"/> + <#form:input path="roleCode" maxlength="64" readonly="${!role.isNewRecord}" class="form-control required abc"/> +
+
+
+ <% } else { %> +
+
+ +
+ <#form:hidden path="isNewRecord"/> + <#form:hidden path="roleCode"/> + <#form:input path="viewCode" maxlength="64" readonly="${!role.isNewRecord}" class="form-control required abc"/> +
+
+
+ <% } %> +
+ <% if(op == 'add' || op == 'edit') {%> +
+
+
+ +
+ <#form:input path="roleSort" maxlength="10" class="form-control required digits"/> +
+
+
+
+
+ +
+ <#form:select path="userType" dictType="sys_user_type" blankOption="true" class="form-control " /> +
+
+
+
+
+
+
+ +
+ <#form:select path="roleType" dictType="sys_role_type" blankOption="true" class="form-control " /> +
+
+
+
+
+ +
+ <#form:radio path="isSys" dictType="sys_yes_no" class="form-control required " /> +
+
+
+
+
+
+
+ +
+ <#form:input path="desktopUrl" maxlength="250" class="form-control " /> +
+
+
+
+
+ +
+ <#form:radio path="isShow" dictType="sys_show_hide" class="form-control required " /> +
+
+
+
+ <% } %> + <% if(op == 'add' || op == 'auth') {%> +
+
+
+ +
+ <#form:select path="sysCodes" dictType="sys_menu_sys_code" multiple="true" class="form-control " /> +
+
+
+
+ <% } %> + <% if(op == 'add' || op == 'edit') {%> +
+
+
+ +
+ <#form:textarea path="remarks" rows="4" maxlength="500" class="form-control "/> +
+
+
+
+ <#form:extend collapsed="true" /> + <% } %> + <% if(op == 'add' || op == 'auth') {%> +
${text('授权功能菜单')}
+ + + <#form:hidden name="roleMenuListJson"/> + <% } %> +
+ + +
+
+<% } %> + diff --git a/modules/core/src/main/resources/views/modules/sys/roleFormAuthDataScope.html b/modules/core/src/main/resources/views/modules/sys/roleFormAuthDataScope.html new file mode 100644 index 00000000..20a43169 --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/roleFormAuthDataScope.html @@ -0,0 +1,216 @@ +<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved. + * No deletion without permission, or be held responsible to law. */ %> +<% layout('/layouts/default.html', {title: '角色管理', libs: ['validate', 'zTree']}){ %> +
+
+
+
+ ${text('角色分配数据权限')} +
+
+ +
+
+ <#form:form id="inputForm" model="${role}" action="${ctx}/sys/role/saveAuthDataScope" method="post" class="form-horizontal"> +

+
+
+
+ +
+ <#form:hidden name="oldRoleName" value="${role.roleName}"/> + <#form:input path="roleName" maxlength="100" readonly="true" class="form-control required "/> +
+
+
+
+
+ +
+ <#form:hidden path="isNewRecord"/> + <#form:hidden path="roleCode"/> + <#form:input path="viewCode" maxlength="64" readonly="true" class="form-control required abc"/> +
+
+
+
+
+
+
+ +
+ <#form:radio path="dataScope" dictType="sys_role_data_scope" class="form-control required " /> +
+
+
+
+
+
+
+ +
+ <#form:select path="bizScope" dictType="sys_role_biz_scope" class="form-control " multiple="true"/> +
+
+
+
+
${text('授权数据权限')}
+
+ + <#form:hidden name="roleDataScopeListJson"/> +
+ + +
+
+<% } %> + diff --git a/modules/core/src/main/resources/views/modules/sys/roleFormAuthUser.html b/modules/core/src/main/resources/views/modules/sys/roleFormAuthUser.html new file mode 100644 index 00000000..5417ac1d --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/roleFormAuthUser.html @@ -0,0 +1,138 @@ +<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved. + * No deletion without permission, or be held responsible to law. */ %> +<% layout('/layouts/default.html', {title: '角色管理', libs: ['dataGrid']}){ %> +
+
+
+
+ ${text('角色分配用户')}(${role.roleName}-${role.viewCode}-${@DictUtils.getDictLabel('sys_user_type',role.userType,'未设置')}) +
+ +
+
+ <#form:form id="searchForm" action="${ctx}/sys/user/listData" method="post" class="form-inline " + data-page-no="${parameter.pageNo}" data-page-size="${parameter.pageSize}" data-order-by="${parameter.orderBy}"> + <#form:hidden name="roleCode" value="${role.roleCode}"/> + <#form:hidden name="userType" value="${role.userType}"/> +
+ +
+ <#form:input name="loginCode" maxlength="100" class="form-control width-90"/> +
+
+
+ +
+ <#form:input name="userName" maxlength="100" class="form-control width-90"/> +
+
+
+ +
+ <#form:input name="email" maxlength="300" class="form-control width-90"/> +
+
+
+ +
+ <#form:input name="mobile" maxlength="100" class="form-control width-90"/> +
+
+
+ +
+ <#form:input name="phone" maxlength="100" class="form-control width-90"/> +
+
+
+ +
+ <#form:select path="status" dictType="sys_user_status" blankOption="true" class="form-control isQuick"/> +
+
+
+ + +
+ +
+
+
+
+
+
<#form:listselect id="userSelect" title="${text('用户选择')}" + url="${ctx}/sys/user/userSelect?userType=${role.userType}" allowClear="false" + checkbox="true" itemCode="userCode" itemName="userName"/>
+<% } %> + diff --git a/modules/core/src/main/resources/views/modules/sys/roleList.html b/modules/core/src/main/resources/views/modules/sys/roleList.html new file mode 100644 index 00000000..c6949b46 --- /dev/null +++ b/modules/core/src/main/resources/views/modules/sys/roleList.html @@ -0,0 +1,124 @@ +<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved. + * No deletion without permission, or be held responsible to law. */ %> +<% layout('/layouts/default.html', {title: '角色管理', libs: ['dataGrid']}){ %> +
+
+
+
+ ${text('角色管理')} +
+
+ ${text('查询')} + <% if(hasPermi('sys:role:edit')){ %> + ${text('新增')} + <% } %> + +
+
+
+ <#form:form id="searchForm" model="${role}" action="${ctx}/sys/role/listData" method="post" class="form-inline hide" + data-page-no="${parameter.pageNo}" data-page-size="${parameter.pageSize}" data-order-by="${parameter.orderBy}"> + <#form:hidden name="ctrlPermi" value="${ctrlPermi}"/> +
+ +
+ <#form:input path="roleName_like" maxlength="100" class="form-control width-120"/> +
+
+
+ +
+ <#form:input path="roleCode_like" maxlength="100" class="form-control width-120"/> +
+
+
+ +
+ <#form:select path="userType" dictType="sys_user_type" blankOption="true" class="form-control"/> +
+
+
+ +
+ <#form:select path="isSys" dictType="sys_yes_no" blankOption="true" class="form-control"/> +
+
+ +
+ +
+ <#form:select path="status" dictType="sys_search_status" blankOption="true" class="form-control isQuick"/> +
+
+
+ + +
+ +
+
+
+
+
+<% } %> + \ No newline at end of file