diff --git a/modules/cms/src/main/resources/views/modules/cms/articleList.html b/modules/cms/src/main/resources/views/modules/cms/articleList.html index 8499485e..fe0be0d2 100644 --- a/modules/cms/src/main/resources/views/modules/cms/articleList.html +++ b/modules/cms/src/main/resources/views/modules/cms/articleList.html @@ -70,7 +70,7 @@ $('#dataGrid').dataGrid({ // {header:'${text("备注信息")}', name:'remarks', index:'a.remarks', width:150, align:"left"}, {header:'${text("操作")}', name:'actions', width:150, formatter: function(val, obj, row, act){ var actions = []; - <% if(hasPermi('cms:article:edit')){ %> + //<% if(hasPermi('cms:article:edit')){ %> actions.push(' '); if (row.status == Global.STATUS_NORMAL){ actions.push(' '); @@ -82,7 +82,7 @@ $('#dataGrid').dataGrid({ if (row.status == Global.STATUS_NORMAL){ actions.push(' '); } - <% } %> + //<% } %> return actions.join(''); }} ], diff --git a/modules/cms/src/main/resources/views/modules/cms/categoryList.html b/modules/cms/src/main/resources/views/modules/cms/categoryList.html index 391df42e..dff056b4 100644 --- a/modules/cms/src/main/resources/views/modules/cms/categoryList.html +++ b/modules/cms/src/main/resources/views/modules/cms/categoryList.html @@ -87,7 +87,7 @@ $('#dataGrid').dataGrid({ }}, {header:'${text("操作")}', name:'actions', width:150, formatter: function(val, obj, row, act){ var actions = []; - <% if(hasPermi('cms:category:edit')){ %> + //<% if(hasPermi('cms:category:edit')){ %> actions.push(' '); if (row.status == Global.STATUS_NORMAL){ actions.push(' '); @@ -100,7 +100,7 @@ $('#dataGrid').dataGrid({ if (row.status == Global.STATUS_NORMAL){ actions.push(' '); } - <% } %> + //<% } %> return actions.join(''); }} ], diff --git a/modules/cms/src/main/resources/views/modules/cms/reportList.html b/modules/cms/src/main/resources/views/modules/cms/reportList.html index a912d99f..f2672eac 100644 --- a/modules/cms/src/main/resources/views/modules/cms/reportList.html +++ b/modules/cms/src/main/resources/views/modules/cms/reportList.html @@ -13,43 +13,43 @@
- <#form:form id="searchForm" model="${report}" action="${ctx}/cms/report/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="reportSource" maxlength="1" class="form-control width-120"/> -
-
-
- -
- <#form:input path="reportContent" maxlength="500" class="form-control width-120"/> -
-
-
- -
- <#form:input path="reportUrl" maxlength="1000" class="form-control width-120"/> -
-
-
- -
- <#form:input path="reportType" maxlength="1" class="form-control width-120"/> -
-
-
- -
- <#form:input path="reportCause" maxlength="500" class="form-control width-120"/> -
-
-
- - -
- + <#form:form id="searchForm" model="${report}" action="${ctx}/cms/report/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="reportSource" maxlength="1" class="form-control width-120"/> +
+
+
+ +
+ <#form:input path="reportContent" maxlength="500" class="form-control width-120"/> +
+
+
+ +
+ <#form:input path="reportUrl" maxlength="1000" class="form-control width-120"/> +
+
+
+ +
+ <#form:input path="reportType" maxlength="1" class="form-control width-120"/> +
+
+
+ +
+ <#form:input path="reportCause" maxlength="500" class="form-control width-120"/> +
+
+
+ + +
+
@@ -70,7 +70,7 @@ $('#dataGrid').dataGrid({ {header:'${text('举报原因')}', name:'reportCause', index:'a.report_cause', width:150, align:"left"}, {header:'${text('操作')}', name:'actions', width:120, formatter: function(val, obj, row, act){ var actions = []; - <% if(hasPermi('cms:report:edit')){ %> + //<% if(hasPermi('cms:report:edit')){ %> actions.push(' '); if (row.status == Global.STATUS_NORMAL){ actions.push(' '); @@ -79,7 +79,7 @@ $('#dataGrid').dataGrid({ actions.push(' '); } actions.push(' '); - <% } %> + //<% } %> return actions.join(''); }} ], diff --git a/modules/cms/src/main/resources/views/modules/cms/siteList.html b/modules/cms/src/main/resources/views/modules/cms/siteList.html index d649d341..1271ff32 100644 --- a/modules/cms/src/main/resources/views/modules/cms/siteList.html +++ b/modules/cms/src/main/resources/views/modules/cms/siteList.html @@ -13,37 +13,37 @@
- <#form:form id="searchForm" model="${site}" action="${ctx}/cms/site/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="siteName" maxlength="100" class="form-control width-120"/> -
-
-
- -
- <#form:input path="title" maxlength="100" class="form-control width-120"/> -
-
-
- -
- <#form:input path="domain" maxlength="500" class="form-control width-120"/> -
-
-
- -
- <#form:select path="status" dictType="sys_search_status" blankOption="true" class="form-control"/> -
-
-
- - -
- + <#form:form id="searchForm" model="${site}" action="${ctx}/cms/site/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="siteName" maxlength="100" class="form-control width-120"/> +
+
+
+ +
+ <#form:input path="title" maxlength="100" class="form-control width-120"/> +
+
+
+ +
+ <#form:input path="domain" maxlength="500" class="form-control width-120"/> +
+
+
+ +
+ <#form:select path="status" dictType="sys_search_status" blankOption="true" class="form-control"/> +
+
+
+ + +
+
@@ -69,7 +69,7 @@ $('#dataGrid').dataGrid({ {header:'${text("创建时间")}', name:'createDate', index:'a.create_date', width:150, align:"center"}, {header:'${text("操作")}', name:'actions', width:150, formatter: function(val, obj, row, act){ var actions = []; - <% if(hasPermi('cms:site:edit')){ %> + //<% if(hasPermi('cms:site:edit')){ %> actions.push(' '); if (row.status == Global.STATUS_NORMAL){ actions.push(' '); @@ -81,7 +81,7 @@ $('#dataGrid').dataGrid({ if (row.status == Global.STATUS_NORMAL){ actions.push(' '); } - <% } %> + //<% } %> return actions.join(''); }} ], diff --git a/modules/cms/src/main/resources/views/modules/cms/visitLogList.html b/modules/cms/src/main/resources/views/modules/cms/visitLogList.html index 8463bc5a..0bf549e8 100644 --- a/modules/cms/src/main/resources/views/modules/cms/visitLogList.html +++ b/modules/cms/src/main/resources/views/modules/cms/visitLogList.html @@ -13,50 +13,50 @@
- <#form:form id="searchForm" model="${visitLog}" action="${ctx}/cms/visitLog/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="requestUrl" maxlength="1000" class="form-control width-120"/> -
-
-
- -
- <#form:input path="requestUrlHost" maxlength="128" class="form-control width-120"/> -
-
-
- -
- <#form:input path="sourceReferer" maxlength="1000" class="form-control width-120"/> -
-
-
- -
- <#form:input path="sourceRefererHost" maxlength="128" class="form-control width-120"/> -
-
- -
- -
- <#form:input path="searchWord" maxlength="200" class="form-control width-120"/> -
-
- - - - - - -
- - -
- + <#form:form id="searchForm" model="${visitLog}" action="${ctx}/cms/visitLog/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="requestUrl" maxlength="1000" class="form-control width-120"/> +
+
+
+ +
+ <#form:input path="requestUrlHost" maxlength="128" class="form-control width-120"/> +
+
+
+ +
+ <#form:input path="sourceReferer" maxlength="1000" class="form-control width-120"/> +
+
+
+ +
+ <#form:input path="sourceRefererHost" maxlength="128" class="form-control width-120"/> +
+
+ +
+ +
+ <#form:input path="searchWord" maxlength="200" class="form-control width-120"/> +
+
+ + + + + + +
+ + +
+
@@ -91,7 +91,7 @@ $('#dataGrid').dataGrid({ {header:'${text('操作')}', name:'actions', width:120, formatter: function(val, obj, row, act){ var actions = []; - <% if(hasPermi('cms:visitLog:edit')){ %> + //<% if(hasPermi('cms:visitLog:edit')){ %> actions.push(' '); if (row.status == Global.STATUS_NORMAL){ actions.push(' '); @@ -100,7 +100,7 @@ $('#dataGrid').dataGrid({ actions.push(' '); } actions.push(' '); - <% } %> + //<% } %> return actions.join(''); }} ], diff --git a/modules/core/src/main/resources/templates/modules/gen/include/dataGridScript.html b/modules/core/src/main/resources/templates/modules/gen/include/dataGridScript.html index 4b611651..642a27ed 100644 --- a/modules/core/src/main/resources/templates/modules/gen/include/dataGridScript.html +++ b/modules/core/src/main/resources/templates/modules/gen/include/dataGridScript.html @@ -75,7 +75,7 @@ $('#dataGrid').dataGrid({ <% if(isQueryTpl){ %> actions.push(' '); <% }else{ %> - \<% if(hasPermi('${permissionPrefix}:edit')){ %> + //\<% if(hasPermi('${permissionPrefix}:edit')){ %> actions.push(' '); <% if(toBoolean(table.optionMap['isHaveDisableEnable'])){ %> if (row.status == Global.STATUS_NORMAL){ @@ -90,7 +90,7 @@ $('#dataGrid').dataGrid({ <% if(table.isTreeEntity){ %> actions.push(' '); <% } %> - \<% } %> + //\<% } %> <% if(toBoolean(table.optionMap['isBpmForm'])){ %> if (row.status != Global.STATUS_DRAFT){ actions.push(' '); diff --git a/modules/core/src/main/resources/views/modules/msg/msgInnerList.html b/modules/core/src/main/resources/views/modules/msg/msgInnerList.html index 3922ea63..854c16cf 100644 --- a/modules/core/src/main/resources/views/modules/msg/msgInnerList.html +++ b/modules/core/src/main/resources/views/modules/msg/msgInnerList.html @@ -1,19 +1,19 @@ -<% layout('/layouts/default.html', {title: '站内消息', libs: ['dataGrid']}){ %> -
-
-
-
- ${text('站内消息')} -
-
- ${text('查询')} - <% if(hasPermi('msg:msgInner:edit')){ %> - ${text('新增')} - <% } %> - -
-
-
+<% layout('/layouts/default.html', {title: '站内消息', libs: ['dataGrid']}){ %> +
+
+
+
+ ${text('站内消息')} +
+
+ ${text('查询')} + <% if(hasPermi('msg:msgInner:edit')){ %> + ${text('新增')} + <% } %> + +
+
+
<#form:form id="searchForm" model="${msgInner}" action="${ctx}/msg/msgInner/listData" method="post" class="form-inline hide" data-page-no="${parameter.pageNo}" data-page-size="${parameter.pageSize}" data-order-by="${parameter.orderBy}">
@@ -37,10 +37,10 @@
- <#form:input path="sendDate_gte" readonly="true" maxlength="20" class="form-control laydate width-date" - dataFormat="date" data-type="date" data-format="yyyy-MM-dd" data-done="sendDate_lte.click()"/> -  -  - <#form:input path="sendDate_lte" readonly="true" maxlength="20" class="form-control laydate width-date" + <#form:input path="sendDate_gte" readonly="true" maxlength="20" class="form-control laydate width-date" + dataFormat="date" data-type="date" data-format="yyyy-MM-dd" data-done="sendDate_lte.click()"/> +  -  + <#form:input path="sendDate_lte" readonly="true" maxlength="20" class="form-control laydate width-date" dataFormat="date" data-type="date" data-format="yyyy-MM-dd"/>
@@ -55,24 +55,24 @@
-
-
-
-
-
-<% } %> +
+
+
+
+
+<% } %> diff --git a/modules/core/src/main/resources/views/modules/sys/user/corpAdminList.html b/modules/core/src/main/resources/views/modules/sys/user/corpAdminList.html index fa1f83c8..e3e1ff2d 100644 --- a/modules/core/src/main/resources/views/modules/sys/user/corpAdminList.html +++ b/modules/core/src/main/resources/views/modules/sys/user/corpAdminList.html @@ -70,12 +70,12 @@ $('#dataGrid').dataGrid({ return ''+(val||row.id)+''; }}, {header:'${text("用户昵称")}', name:'userName', index:'a.user_name', width:200, align:"center"}, - <% if(useCorpModel){ %> + //<% if(useCorpModel){ %> {header:'${text("租户代码")}', name:'corpCode_', index:'a.corp_code', width:200, align:"center", formatter: function(val, obj, row, act){ return ''+val+''; }}, {header:'${text("租户名称")}', name:'corpName_', index:'a.corp_name', width:200, align:"center"}, - <% } %> + //<% } %> {header:'${text("电子邮箱")}', name:'email', index:'a.email', width:200, align:"center"}, {header:'${text("手机号码")}', name:'mobile', index:'a.mobile', width:200, align:"center"}, {header:'${text("办公电话")}', name:'phone', index:'a.phone', width:200, align:"center"}, @@ -85,7 +85,7 @@ $('#dataGrid').dataGrid({ }}, {header:'${text("操作")}', name:'actions', width:150, formatter: function(val, obj, row, act){ var actions = []; - <% if(hasPermi('sys:corpAdmin:edit')){ %> + //<% if(hasPermi('sys:corpAdmin:edit')){ %> actions.push(' '); if (row.status == Global.STATUS_NORMAL){ actions.push(' '); @@ -93,14 +93,14 @@ $('#dataGrid').dataGrid({ actions.push(' '); } actions.push(' '); - <% if(useCorpModel){ %> + //<% if(useCorpModel){ %> actions.push(' '); - <% } %> + //<% } %> actions.push(' '); actions.push('
'); actions.push(' ${text("重置密码")} '); actions.push('
'); - <% } %> + //<% } %> return actions.join(''); }} ], diff --git a/modules/core/src/main/resources/views/modules/sys/user/empUserForm.html b/modules/core/src/main/resources/views/modules/sys/user/empUserForm.html index a39d273a..9221518b 100644 --- a/modules/core/src/main/resources/views/modules/sys/user/empUserForm.html +++ b/modules/core/src/main/resources/views/modules/sys/user/empUserForm.html @@ -267,7 +267,7 @@ $("#empOfficeGrid").dataGrid({ } }); -<% if(hasPermi('sys:empUser:authRole') && (op == 'add' || op == 'auth')) { %> +//<% if(hasPermi('sys:empUser:authRole') && (op == 'add' || op == 'auth')) { %> // 加载角色列表 var roleGrid = $("#roleGrid").dataGrid({ url: '${ctx}/sys/role/treeData', @@ -287,17 +287,17 @@ var roleGrid = $("#roleGrid").dataGrid({ return $('#inputForm .box-body').width()-20; }, ajaxSuccess: function(){ - <% for (role in roleList!){ %> + //<% for (role in roleList!){ %> roleGrid.dataGrid('setSelectRow', '${role.roleCode}'); - <% } %> + //<% } %> } }); -<% } %> +//<% } %> $("#inputForm").validate({ submitHandler: function(form){ - <% if(hasPermi('sys:empUser:authRole') && (op == 'add' || op == 'auth')) { %> + //<% if(hasPermi('sys:empUser:authRole') && (op == 'add' || op == 'auth')) { %> $("#userRoleString").val(roleGrid.dataGrid('getSelectRows').join(',')); - <% } %> + //<% } %> var empNo = $('#employee_empNo').val(); if (empNo == ''){ $('#employee_empNo').val($('#loginCode').val()); diff --git a/modules/core/src/main/resources/views/modules/sys/user/empUserFormAuthDataScope.html b/modules/core/src/main/resources/views/modules/sys/user/empUserFormAuthDataScope.html index 040b016e..6abeb706 100644 --- a/modules/core/src/main/resources/views/modules/sys/user/empUserFormAuthDataScope.html +++ b/modules/core/src/main/resources/views/modules/sys/user/empUserFormAuthDataScope.html @@ -167,8 +167,8 @@ for (var i=0; i +//<% for(dataScope in userDataScopeList){ %> try{dataScopeTrees['${dataScope.ctrlType}'].checkNode(dataScopeTrees['${dataScope.ctrlType}'] .getNodeByParam("id","${dataScope.ctrlData}"), true, false);}catch(e){} -<% } %> +//<% } %> diff --git a/modules/core/src/main/resources/views/modules/sys/user/empUserList.html b/modules/core/src/main/resources/views/modules/sys/user/empUserList.html index 618420e3..9f2c0531 100644 --- a/modules/core/src/main/resources/views/modules/sys/user/empUserList.html +++ b/modules/core/src/main/resources/views/modules/sys/user/empUserList.html @@ -139,33 +139,33 @@ $('#dataGrid').dataGrid({ }}, {header:'${text("操作")}', name:'actions', width:120, formatter: function(val, obj, row, act){ var actions = []; - <% if(hasPermi('sys:empUser:edit')){ %> + //<% if(hasPermi('sys:empUser:edit')){ %> actions.push(' '); - <% } %> - <% if(hasPermi('sys:empUser:updateStatus')){ %> + //<% } %> + //<% if(hasPermi('sys:empUser:updateStatus')){ %> if (row.status == Global.STATUS_NORMAL){ actions.push(' '); }else if (row.status == Global.STATUS_DISABLE || row.status == Global.STATUS_FREEZE || row.status == Global.STATUS_AUDIT){ actions.push(' '); } - <% } %> - <% if(hasPermi('sys:empUser:edit')){ %> + //<% } %> + //<% if(hasPermi('sys:empUser:edit')){ %> actions.push(' '); - <% } %> - <% if(hasPermi('sys:empUser:authRole,sys:empUser:authDataScope,sys:empUser:resetpwd', 'or')){ %> + //<% } %> + //<% if(hasPermi('sys:empUser:authRole,sys:empUser:authDataScope,sys:empUser:resetpwd', 'or')){ %> actions.push(' '); actions.push('
'); - <% if(hasPermi('sys:empUser:authRole')){ %> + //<% if(hasPermi('sys:empUser:authRole')){ %> actions.push(' ${text("分配角色")} '); - <% } %> - <% if(hasPermi('sys:empUser:authDataScope')){ %> + //<% } %> + //<% if(hasPermi('sys:empUser:authDataScope')){ %> actions.push(' ${text("数据权限")} '); - <% } %> - <% if(hasPermi('sys:empUser:resetpwd')){ %> + //<% } %> + //<% if(hasPermi('sys:empUser:resetpwd')){ %> actions.push(' ${text("重置密码")} '); - <% } %> + //<% } %> actions.push('
'); - <% } %> + //<% } %> return actions.join(''); }} ], diff --git a/modules/core/src/main/resources/views/modules/sys/user/empUserSelect.html b/modules/core/src/main/resources/views/modules/sys/user/empUserSelect.html index 722da657..4074ed6b 100644 --- a/modules/core/src/main/resources/views/modules/sys/user/empUserSelect.html +++ b/modules/core/src/main/resources/views/modules/sys/user/empUserSelect.html @@ -130,9 +130,9 @@ var setting = {view:{selectedMulti:false},data:{simpleData:{enable:true}}, if (queryType == 'userType'){ $('#queryTypeName').text('${text("按用户类型")}'); tree = $.fn.zTree.init($("#tree"), setting, [ - <% for(dict in @DictUtils.getDictList('sys_user_type')){ %> + //<% for(dict in @DictUtils.getDictList('sys_user_type')){ %> {id: '${dict.dictValue}', name: '${text(dict.dictLabel + "类型")}'}, - <% } %> + //<% } %> {id: 'none', name: '${text("系统管理员")}'} ]); tree.expandAll(true); diff --git a/modules/core/src/main/resources/views/modules/sys/user/secAdminForm.html b/modules/core/src/main/resources/views/modules/sys/user/secAdminForm.html index 67e979e9..420cca73 100644 --- a/modules/core/src/main/resources/views/modules/sys/user/secAdminForm.html +++ b/modules/core/src/main/resources/views/modules/sys/user/secAdminForm.html @@ -167,8 +167,8 @@ for (var i=0; i +//<% for(dataScope in userDataScopeList){ %> try{dataScopeTrees['${dataScope.ctrlType}'].checkNode(dataScopeTrees['${dataScope.ctrlType}'] .getNodeByParam("id","${dataScope.ctrlData}"), true, false);}catch(e){} -<% } %> +//<% } %> diff --git a/modules/core/src/main/resources/views/modules/sys/user/secAdminList.html b/modules/core/src/main/resources/views/modules/sys/user/secAdminList.html index 504187b2..1cb7930f 100644 --- a/modules/core/src/main/resources/views/modules/sys/user/secAdminList.html +++ b/modules/core/src/main/resources/views/modules/sys/user/secAdminList.html @@ -20,20 +20,20 @@ 对应的管理权限功能,如用户管理、机构管理、公司管理,将启用为拥有权限的数据过滤,因此二级管理设置的管理权限将没有意义。 若启用该功能,请打开 application.yml 设置为管理的权限:user.adminCtrlPermi=2

- <% } %> - <#form:form id="searchForm" model="${user}" action="${ctx}/sys/secAdmin/listData" method="post" class="form-inline " + <% } %> + <#form:form id="searchForm" model="${user}" action="${ctx}/sys/secAdmin/listData" method="post" class="form-inline " data-page-no="${parameter.pageNo}" data-page-size="${parameter.pageSize}" data-order-by="${parameter.orderBy}"> -
- -
- <#form:input path="loginCode" maxlength="100" class="form-control width-90"/> -
-
-
- -
- <#form:input path="userName" maxlength="100" class="form-control width-90"/> -
+
+ +
+ <#form:input path="loginCode" maxlength="100" class="form-control width-90"/> +
+
+
+ +
+ <#form:input path="userName" maxlength="100" class="form-control width-90"/> +
@@ -52,16 +52,16 @@
<#form:input path="phone" maxlength="100" class="form-control width-90"/>
-
+
<#form:select path="status" dictType="sys_user_status" blankOption="true" class="form-control isQuick"/>
-
-
- - +
+
+ +
@@ -91,10 +91,10 @@ $('#dataGrid').dataGrid({ }}, {header:'${text("操作")}', name:'actions', width:150, formatter: function(val, obj, row, act){ var actions = []; - <% if(hasPermi('sys:secAdmin:edit')){ %> + //<% if(hasPermi('sys:secAdmin:edit')){ %> actions.push(' '); actions.push(' '); - <% } %> + //<% } %> return actions.join(''); }} ], diff --git a/modules/core/src/main/resources/views/modules/sys/user/userSelect.html b/modules/core/src/main/resources/views/modules/sys/user/userSelect.html index 3fc9f8b5..47c29a22 100644 --- a/modules/core/src/main/resources/views/modules/sys/user/userSelect.html +++ b/modules/core/src/main/resources/views/modules/sys/user/userSelect.html @@ -71,11 +71,11 @@ selectNum = 0, dataGrid = $('#dataGrid').dataGrid({ {header:'${text("状态")}', name:'status', index:'a.status', width:100, align:"center", formatter: function(val, obj, row, act){ return js.getDictLabel(${@DictUtils.getDictListJson('sys_status')}, val, '未知', true); }}, - <% if(isBlank(user.userType)){ %> + //<% if(isBlank(user.userType)){ %> {header:'${text("类型")}', name:'userType', index:'a.user_type', width:100, align:"center", formatter: function(val, obj, row, act){ return js.getDictLabel(${@DictUtils.getDictListJson('sys_user_type')}, val, '无', true); }}, - <% } %> + //<% } %> {header:'行数据', name:'rowData', hidden:true, formatter: function(val, obj, row, act){ return JSON.stringify(row); }} diff --git a/web-fast/src/main/resources/views/modules/demo/demoDataGridGroupGrid.html b/web-fast/src/main/resources/views/modules/demo/demoDataGridGroupGrid.html index 3be4e152..aac75305 100644 --- a/web-fast/src/main/resources/views/modules/demo/demoDataGridGroupGrid.html +++ b/web-fast/src/main/resources/views/modules/demo/demoDataGridGroupGrid.html @@ -14,105 +14,105 @@
- <#form:form id="searchForm" model="${testData}" action="${ctx}/test/testData/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="testInput" maxlength="200" class="form-control width-120"/> -
-
-
- -
- <#form:input path="testTextarea" maxlength="200" class="form-control width-120"/> -
-
-
- -
- <#form:select path="testSelect" dictType="sys_menu_type" blankOption="true" class="form-control"/> -
-
-
- -
- <#form:select path="testSelectMultiple" dictType="sys_menu_type" multiple="true" blankOption="true" class="form-control"/> -
-
-
- -
- <#form:radio path="testRadio" dictType="sys_menu_type" blankOption="true" class="form-control"/> -
-
-
- -
- <#form:checkbox path="testCheckbox" dictType="sys_menu_type" blankOption="true" class="form-control"/> -
-
-
- -
- <#form:input path="testDate_gte" readonly="true" maxlength="20" class="form-control laydate width-date" - dataFormat="date" data-type="date" data-format="yyyy-MM-dd" data-done="testDate_lte.click()"/> -  -  - <#form:input path="testDate_lte" readonly="true" maxlength="20" class="form-control laydate width-date" - dataFormat="date" data-type="date" data-format="yyyy-MM-dd"/> -
-
-
- -
- <#form:input path="testDatetime_gte" readonly="true" maxlength="20" class="form-control laydate width-datetime" - dataFormat="datetime" data-type="datetime" data-format="yyyy-MM-dd HH:mm" data-done="testDatetime_lte.click()"/> -  -  - <#form:input path="testDatetime_lte" readonly="true" maxlength="20" class="form-control laydate width-datetime" - dataFormat="datetime" data-type="datetime" data-format="yyyy-MM-dd HH:mm"/> -
-
-
- -
- <#form:treeselect id="testUser" title="用户选择" - path="testUser.userCode" labelPath="testUser.userName" - url="${ctx}/sys/office/treeData?isLoadUser=true" allowClear="true"/> -
-
-
- -
- <#form:treeselect id="testOffice" title="机构选择" - path="testOffice.officeCode" labelPath="testOffice.officeName" - url="${ctx}/sys/office/treeData" allowClear="true"/> -
-
-
- -
- <#form:treeselect id="testAreaCode" title="区域选择" - path="testAreaCode" labelPath="testAreaName" - url="${ctx}/sys/area/treeData" allowClear="true"/> -
-
-
- -
- <#form:select path="status" dictType="sys_search_status" blankOption="true" class="form-control isQuick"/> -
-
-
- -
- <#form:input path="remarks" maxlength="500" class="form-control width-120"/> -
-
-
- - -
- + <#form:form id="searchForm" model="${testData}" action="${ctx}/test/testData/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="testInput" maxlength="200" class="form-control width-120"/> +
+
+
+ +
+ <#form:input path="testTextarea" maxlength="200" class="form-control width-120"/> +
+
+
+ +
+ <#form:select path="testSelect" dictType="sys_menu_type" blankOption="true" class="form-control"/> +
+
+
+ +
+ <#form:select path="testSelectMultiple" dictType="sys_menu_type" multiple="true" blankOption="true" class="form-control"/> +
+
+
+ +
+ <#form:radio path="testRadio" dictType="sys_menu_type" blankOption="true" class="form-control"/> +
+
+
+ +
+ <#form:checkbox path="testCheckbox" dictType="sys_menu_type" blankOption="true" class="form-control"/> +
+
+
+ +
+ <#form:input path="testDate_gte" readonly="true" maxlength="20" class="form-control laydate width-date" + dataFormat="date" data-type="date" data-format="yyyy-MM-dd" data-done="testDate_lte.click()"/> +  -  + <#form:input path="testDate_lte" readonly="true" maxlength="20" class="form-control laydate width-date" + dataFormat="date" data-type="date" data-format="yyyy-MM-dd"/> +
+
+
+ +
+ <#form:input path="testDatetime_gte" readonly="true" maxlength="20" class="form-control laydate width-datetime" + dataFormat="datetime" data-type="datetime" data-format="yyyy-MM-dd HH:mm" data-done="testDatetime_lte.click()"/> +  -  + <#form:input path="testDatetime_lte" readonly="true" maxlength="20" class="form-control laydate width-datetime" + dataFormat="datetime" data-type="datetime" data-format="yyyy-MM-dd HH:mm"/> +
+
+
+ +
+ <#form:treeselect id="testUser" title="用户选择" + path="testUser.userCode" labelPath="testUser.userName" + url="${ctx}/sys/office/treeData?isLoadUser=true" allowClear="true"/> +
+
+
+ +
+ <#form:treeselect id="testOffice" title="机构选择" + path="testOffice.officeCode" labelPath="testOffice.officeName" + url="${ctx}/sys/office/treeData" allowClear="true"/> +
+
+
+ +
+ <#form:treeselect id="testAreaCode" title="区域选择" + path="testAreaCode" labelPath="testAreaName" + url="${ctx}/sys/area/treeData" allowClear="true"/> +
+
+
+ +
+ <#form:select path="status" dictType="sys_search_status" blankOption="true" class="form-control isQuick"/> +
+
+
+ +
+ <#form:input path="remarks" maxlength="500" class="form-control width-120"/> +
+
+
+ + +
+
@@ -162,7 +162,7 @@ $('#dataGrid').dataGrid({ {header:'备注信息', name:'remarks', index:'a.remarks', width:150, align:"left"}, {header:'操作', name:'actions', width:120, formatter: function(val, obj, row, act){ var actions = []; - <% if(hasPermi('test:testData:edit')){ %> + //<% if(hasPermi('test:testData:edit')){ %> actions.push(' '); if (row.status == Global.STATUS_NORMAL){ actions.push(' '); @@ -170,7 +170,7 @@ $('#dataGrid').dataGrid({ actions.push(' '); } actions.push(' '); - <% } %> + //<% } %> return actions.join(''); }} ], diff --git a/web-fast/src/main/resources/views/modules/test/testDataList.html b/web-fast/src/main/resources/views/modules/test/testDataList.html index f6df5703..9afd1da6 100644 --- a/web-fast/src/main/resources/views/modules/test/testDataList.html +++ b/web-fast/src/main/resources/views/modules/test/testDataList.html @@ -153,7 +153,7 @@ $('#dataGrid').dataGrid({ {header:'${text("备注")}', name:'remarks', index:'a.remarks', width:150, align:"left"}, {header:'${text("操作")}', name:'actions', width:100, formatter: function(val, obj, row, act){ var actions = []; - <% if(hasPermi('test:testData:edit')){ %> + //<% if(hasPermi('test:testData:edit')){ %> actions.push(' '); if (row.status == Global.STATUS_NORMAL){ actions.push(' '); @@ -161,7 +161,7 @@ $('#dataGrid').dataGrid({ actions.push(' '); } actions.push(' '); - <% } %> + //<% } %> return actions.join(''); }} ], diff --git a/web/src/main/resources/views/modules/demo/demoDataGridGroupGrid.html b/web/src/main/resources/views/modules/demo/demoDataGridGroupGrid.html index 3be4e152..aac75305 100644 --- a/web/src/main/resources/views/modules/demo/demoDataGridGroupGrid.html +++ b/web/src/main/resources/views/modules/demo/demoDataGridGroupGrid.html @@ -14,105 +14,105 @@
- <#form:form id="searchForm" model="${testData}" action="${ctx}/test/testData/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="testInput" maxlength="200" class="form-control width-120"/> -
-
-
- -
- <#form:input path="testTextarea" maxlength="200" class="form-control width-120"/> -
-
-
- -
- <#form:select path="testSelect" dictType="sys_menu_type" blankOption="true" class="form-control"/> -
-
-
- -
- <#form:select path="testSelectMultiple" dictType="sys_menu_type" multiple="true" blankOption="true" class="form-control"/> -
-
-
- -
- <#form:radio path="testRadio" dictType="sys_menu_type" blankOption="true" class="form-control"/> -
-
-
- -
- <#form:checkbox path="testCheckbox" dictType="sys_menu_type" blankOption="true" class="form-control"/> -
-
-
- -
- <#form:input path="testDate_gte" readonly="true" maxlength="20" class="form-control laydate width-date" - dataFormat="date" data-type="date" data-format="yyyy-MM-dd" data-done="testDate_lte.click()"/> -  -  - <#form:input path="testDate_lte" readonly="true" maxlength="20" class="form-control laydate width-date" - dataFormat="date" data-type="date" data-format="yyyy-MM-dd"/> -
-
-
- -
- <#form:input path="testDatetime_gte" readonly="true" maxlength="20" class="form-control laydate width-datetime" - dataFormat="datetime" data-type="datetime" data-format="yyyy-MM-dd HH:mm" data-done="testDatetime_lte.click()"/> -  -  - <#form:input path="testDatetime_lte" readonly="true" maxlength="20" class="form-control laydate width-datetime" - dataFormat="datetime" data-type="datetime" data-format="yyyy-MM-dd HH:mm"/> -
-
-
- -
- <#form:treeselect id="testUser" title="用户选择" - path="testUser.userCode" labelPath="testUser.userName" - url="${ctx}/sys/office/treeData?isLoadUser=true" allowClear="true"/> -
-
-
- -
- <#form:treeselect id="testOffice" title="机构选择" - path="testOffice.officeCode" labelPath="testOffice.officeName" - url="${ctx}/sys/office/treeData" allowClear="true"/> -
-
-
- -
- <#form:treeselect id="testAreaCode" title="区域选择" - path="testAreaCode" labelPath="testAreaName" - url="${ctx}/sys/area/treeData" allowClear="true"/> -
-
-
- -
- <#form:select path="status" dictType="sys_search_status" blankOption="true" class="form-control isQuick"/> -
-
-
- -
- <#form:input path="remarks" maxlength="500" class="form-control width-120"/> -
-
-
- - -
- + <#form:form id="searchForm" model="${testData}" action="${ctx}/test/testData/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="testInput" maxlength="200" class="form-control width-120"/> +
+
+
+ +
+ <#form:input path="testTextarea" maxlength="200" class="form-control width-120"/> +
+
+
+ +
+ <#form:select path="testSelect" dictType="sys_menu_type" blankOption="true" class="form-control"/> +
+
+
+ +
+ <#form:select path="testSelectMultiple" dictType="sys_menu_type" multiple="true" blankOption="true" class="form-control"/> +
+
+
+ +
+ <#form:radio path="testRadio" dictType="sys_menu_type" blankOption="true" class="form-control"/> +
+
+
+ +
+ <#form:checkbox path="testCheckbox" dictType="sys_menu_type" blankOption="true" class="form-control"/> +
+
+
+ +
+ <#form:input path="testDate_gte" readonly="true" maxlength="20" class="form-control laydate width-date" + dataFormat="date" data-type="date" data-format="yyyy-MM-dd" data-done="testDate_lte.click()"/> +  -  + <#form:input path="testDate_lte" readonly="true" maxlength="20" class="form-control laydate width-date" + dataFormat="date" data-type="date" data-format="yyyy-MM-dd"/> +
+
+
+ +
+ <#form:input path="testDatetime_gte" readonly="true" maxlength="20" class="form-control laydate width-datetime" + dataFormat="datetime" data-type="datetime" data-format="yyyy-MM-dd HH:mm" data-done="testDatetime_lte.click()"/> +  -  + <#form:input path="testDatetime_lte" readonly="true" maxlength="20" class="form-control laydate width-datetime" + dataFormat="datetime" data-type="datetime" data-format="yyyy-MM-dd HH:mm"/> +
+
+
+ +
+ <#form:treeselect id="testUser" title="用户选择" + path="testUser.userCode" labelPath="testUser.userName" + url="${ctx}/sys/office/treeData?isLoadUser=true" allowClear="true"/> +
+
+
+ +
+ <#form:treeselect id="testOffice" title="机构选择" + path="testOffice.officeCode" labelPath="testOffice.officeName" + url="${ctx}/sys/office/treeData" allowClear="true"/> +
+
+
+ +
+ <#form:treeselect id="testAreaCode" title="区域选择" + path="testAreaCode" labelPath="testAreaName" + url="${ctx}/sys/area/treeData" allowClear="true"/> +
+
+
+ +
+ <#form:select path="status" dictType="sys_search_status" blankOption="true" class="form-control isQuick"/> +
+
+
+ +
+ <#form:input path="remarks" maxlength="500" class="form-control width-120"/> +
+
+
+ + +
+
@@ -162,7 +162,7 @@ $('#dataGrid').dataGrid({ {header:'备注信息', name:'remarks', index:'a.remarks', width:150, align:"left"}, {header:'操作', name:'actions', width:120, formatter: function(val, obj, row, act){ var actions = []; - <% if(hasPermi('test:testData:edit')){ %> + //<% if(hasPermi('test:testData:edit')){ %> actions.push(' '); if (row.status == Global.STATUS_NORMAL){ actions.push(' '); @@ -170,7 +170,7 @@ $('#dataGrid').dataGrid({ actions.push(' '); } actions.push(' '); - <% } %> + //<% } %> return actions.join(''); }} ], diff --git a/web/src/main/resources/views/modules/test/testDataList.html b/web/src/main/resources/views/modules/test/testDataList.html index f6df5703..9afd1da6 100644 --- a/web/src/main/resources/views/modules/test/testDataList.html +++ b/web/src/main/resources/views/modules/test/testDataList.html @@ -153,7 +153,7 @@ $('#dataGrid').dataGrid({ {header:'${text("备注")}', name:'remarks', index:'a.remarks', width:150, align:"left"}, {header:'${text("操作")}', name:'actions', width:100, formatter: function(val, obj, row, act){ var actions = []; - <% if(hasPermi('test:testData:edit')){ %> + //<% if(hasPermi('test:testData:edit')){ %> actions.push(' '); if (row.status == Global.STATUS_NORMAL){ actions.push(' '); @@ -161,7 +161,7 @@ $('#dataGrid').dataGrid({ actions.push(' '); } actions.push(' '); - <% } %> + //<% } %> return actions.join(''); }} ],