This commit is contained in:
thinkgem
2021-12-30 23:21:31 +08:00
parent 2dde6aa8e7
commit 5f8e8ba3f9
2 changed files with 2 additions and 1 deletions

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();