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

@@ -295,7 +295,7 @@ var roleGrid = $("#roleGrid").dataGrid({
<% } %> <% } %>
$("#inputForm").validate({ $("#inputForm").validate({
submitHandler: function(form){ 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(',')); $("#userRoleString").val(roleGrid.dataGrid('getSelectRows').join(','));
<% } %> <% } %>
var empNo = $('#employee_empNo').val(); var empNo = $('#employee_empNo').val();