[BO] 수정사항 반영 (1)
This commit is contained in:
@@ -281,8 +281,8 @@
|
||||
onclick="location.href='/households/create'">
|
||||
<span class="btn-txt">임가 등록</span>
|
||||
</button>
|
||||
<!-- 관리자, 지방실사만 노출 -->
|
||||
<button type="button" class="btn" th:if="${userRole != 'ROLE_RESEARCHER'}" onclick="showResearcherModal();">
|
||||
<!-- 관리자만 노출 -->
|
||||
<button type="button" class="btn" th:if="${userRole == 'ROLE_ADMIN'}" onclick="showResearcherModal('LIST');">
|
||||
<span class="btn-txt">조사원 매핑</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -381,7 +381,7 @@
|
||||
JSON.stringify(dataOj),
|
||||
function(response) { // 성공
|
||||
alert("등록이 완료되었습니다.");
|
||||
location.href = '/households';
|
||||
location.href = '/households/' + f.householdSeq.value;
|
||||
},
|
||||
function (code, rstData) {
|
||||
if(code == 422) alert(rstData.responseText);
|
||||
|
||||
@@ -112,9 +112,9 @@
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="component-btns bottom-btn-group">
|
||||
<div class="component-btns bottom-btn-group" th:if="${userRole == 'ROLE_ADMIN'}">
|
||||
<div class="btns-row align-right">
|
||||
<button type="button" class="btn" th:if="${userRole == 'ROLE_ADMIN'}" onclick="showResearcherModal();">
|
||||
<button type="button" class="btn" onclick="showResearcherModal();">
|
||||
<span class="btn-txt">조사원 매핑</span>
|
||||
</button>
|
||||
<button type="button" class="btn btn-primary" onclick="goUpdateForm();">
|
||||
|
||||
Reference in New Issue
Block a user