diff --git a/Views/Home/GroupList.cshtml b/Views/Home/GroupList.cshtml index 49255bf5..666cd193 100644 --- a/Views/Home/GroupList.cshtml +++ b/Views/Home/GroupList.cshtml @@ -203,7 +203,7 @@
diff --git a/wwwroot/assets/javascript/custom/grouplist.js b/wwwroot/assets/javascript/custom/grouplist.js index f8d36406..4723490c 100644 --- a/wwwroot/assets/javascript/custom/grouplist.js +++ b/wwwroot/assets/javascript/custom/grouplist.js @@ -4,6 +4,18 @@ $(document).ready(function () { deptList(); + $('#memberAddSaveBtn').on('click', function () { + var userArray = []; + $.each($('input[type=checkbox][name="memberChkList[]"]:checked'), function () { + var item = { + user_uid: $(this).val(), + user_name: $(this).parent().find('span').eq(0).text().trim() + } + userArray.push(item); + }); + + }); + $('#groupNewModal').on('click', function () { $('#groupModal').modal('toggle'); }); @@ -37,7 +49,7 @@ function newMemberClick(dept_uid) { }); if (isExist == 'N') { - items += ''; + items += ''; }