This commit is contained in:
thinkgem
2021-12-30 23:24:15 +08:00
parent 8c1386d71f
commit 364752f876
2 changed files with 2 additions and 2 deletions

View File

@@ -114,7 +114,7 @@
// 如果为自定义主键则第一个pk字段需输出isNewRecord
if (c.isPk == '1' && table.pkList[0].columnName == c.columnName){
%><${'#'}form:hidden path="isNewRecord"/>
<%
<%
}
%><${'#'}form:input path="${c.attrName}"${attrs} class="form-control${cssClass}"/>
<%

View File

@@ -295,7 +295,7 @@ var roleGrid = $("#roleGrid").dataGrid({
<% } %>
$("#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();