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