권한설정 페이지
해제기능 추가. 오류 수정.
parent
7881b16e36
commit
bd4dd4fcfd
|
|
@ -7,6 +7,7 @@ $(document).on('click', '.userInfoTr', function (){
|
|||
dataType:"html",
|
||||
success: function(html){
|
||||
$("#configInfo").empty().append(html)
|
||||
$("#accessTab").click();
|
||||
$("#authEditModal").modal('show');
|
||||
},
|
||||
error:function(){
|
||||
|
|
@ -38,7 +39,7 @@ $(document).on('click', '#saveAuthBtn', function (){
|
|||
approvalConfigList.push(
|
||||
{
|
||||
userSeq: userSeq,
|
||||
menuKey: Number($(this).parents('tbody').find('.menuKey').val()),
|
||||
menuKey: Number($(this).parents('tr').find('.menuKey').val()),
|
||||
approvalAuth: $(this).val()
|
||||
}
|
||||
)
|
||||
|
|
@ -46,6 +47,7 @@ $(document).on('click', '#saveAuthBtn', function (){
|
|||
const authList = {};
|
||||
authList.accessConfigList = accessConfigList;
|
||||
authList.approvalConfigList = approvalConfigList;
|
||||
debugger
|
||||
$.ajax({
|
||||
type : 'POST',
|
||||
url : "/authMgt/saveAuth",
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
<th>관리</th>
|
||||
<th>작성</th>
|
||||
<th>조회</th>
|
||||
<th>해제</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
@ -43,6 +44,9 @@
|
|||
<td class="radioTd">
|
||||
<input type="radio" th:name="${#strings.concat('accessAuth',accessConfig.menuKey)}" th:checked="${'ACC001' eq accessConfig.accessAuth}" value="ACC001">
|
||||
</td>
|
||||
<td class="radioTd">
|
||||
<input type="radio" th:name="${#strings.concat('accessAuth',accessConfig.menuKey)}" value="">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
@ -54,6 +58,7 @@
|
|||
<th>대분류</th>
|
||||
<th>중분류</th>
|
||||
<th>소분류</th>
|
||||
<th>해제</th>
|
||||
<th>계장대행</th>
|
||||
<th>계장</th>
|
||||
<th>과장대행</th>
|
||||
|
|
@ -81,6 +86,9 @@
|
|||
<td th:text="${commonCode.itemValue}"></td>
|
||||
</th:block>
|
||||
</th:block>
|
||||
<td class="radioTd">
|
||||
<input type="radio" th:name="${#strings.concat('approvalAuth',approvalConfig.menuKey)}" value="">
|
||||
</td>
|
||||
<td class="radioTd">
|
||||
<input type="radio" th:name="${#strings.concat('approvalAuth',approvalConfig.menuKey)}" th:checked="${'APC004' eq approvalConfig.approvalAuth}" value="APC004">
|
||||
</td>
|
||||
|
|
|
|||
Loading…
Reference in New Issue