fix : 유저 관련 수정

main
이범준 1 year ago
parent 56879c7805
commit 73892f135e

@ -298,8 +298,8 @@ GridConfig.setOptHeader({
}); //Grid 헤더 정보(헤더 셀 병합 필요 시 설정)
GridConfig.setOptColumns([ //Grid 컬럼 정보(명칭,매핑 field, 기타옵션 등)
{
header: '아이디',
name: 'userId',
header: '계정아이디',
name: 'userAcnt',
width: 160,
sortable: true,
sortingType: 'desc',

@ -21,7 +21,7 @@
<td>
<code:select id="sbscrbSttus" name="sbscrbSttus" grpId="XIT013" title="사용자상태" cls="form-select" alt="selectBox tag"/>
<select name="searchCondition" id="searchCondition" title="조회조건" class="form-select">
<option value="userId">사용자ID</option>
<option value="userAcnt">계정ID</option>
<option value="userNm">이름</option>
</select>
<input name="searchKeyword" id="searchKeyword" title="검색어" type="text"/>
@ -188,18 +188,22 @@
const initGrid = () => {
const gridColumns = [
{
header: '아이디',
header: '유저아이디',
name: 'userId',
hidden : true
},
{
header: '계정아이디',
name: 'userAcnt',
width: 160,
sortable: true,
sortingType: 'desc',
//align: 'center',
renderer: {
type: CustomButtonRenderer,
options: {
formatter: function (props) {
return {
formatter: props.grid.getRow(props.rowKey).userId
formatter: props.grid.getRow(props.rowKey).userAcnt
,element: "text"
}
}

@ -25,13 +25,11 @@
<tbody>
<tr>
<th height="23">
<label class="required">사용자 아이디</label>
<label class="required">계정 아이디</label>
</th>
<td >
<form:hidden path="emplyrUniqId" />
<form:input path="emplyrId" id="emplyrId" cssClass="txaIpt" size="20" maxlength="20" readonly="${isUpdate}"/>
<%--
<form:input path="emplyrId" id="emplyrId" cssClass="txaIpt" size="20" maxlength="20" readonly="readonly" disabled="${isUpdate? 'disabled' : 'none'}"/>
--%>
<form:errors path="emplyrId" cssClass="error"/>
<form:hidden path="uniqId" />
<form:hidden path="userId" />
@ -216,7 +214,6 @@
cmmBizAjax('add', {
url: '<c:url value="/framework/biz/mng/usr/addUser.do"/>'
,data: $("#userInfoVO").serialize()
//,contentType: 'x-www-form-url-encoded'
})
}
,modify: () => {
@ -236,8 +233,7 @@
cmmBizAjax('remove', {
url: '<c:url value="/framework/biz/mng/usr/removeUser.do"/>'
,data: {
userTy: '<c:out value="${userInfoVO.userTy}"/>'
,userId: '<c:out value="${userInfoVO.emplyrId}"/>'
emplyrUniqId: '<c:out value="${userInfoVO.emplyrUniqId}"/>'
}
});
}

Loading…
Cancel
Save