|
|
|
@ -127,7 +127,7 @@ public class RoleInit {
|
|
|
|
|
<#list project.modules as module>
|
|
|
|
|
<#list module.tables as table>
|
|
|
|
|
<#if table.html>
|
|
|
|
|
createRes(roleId, roleCode, "WEB_${table.tableName}", "${table.tableComment}新增", "网页地址", "/${module.moduleName}/${table.getFName()}.htm");
|
|
|
|
|
createRes(roleId, roleCode, "WEB_${table.tableName}", "${table.tableComment}管理", "网页地址", "/${module.moduleName}/${table.getFName()}.htm");
|
|
|
|
|
</#if>
|
|
|
|
|
<#if table.create>
|
|
|
|
|
createRes(roleId, roleCode, "WEB_${table.tableName}_CREATE", "${table.tableComment}新增", "异步请求", "/ajax/${module.moduleName}/${table.getFName()}/create");
|
|
|
|
|