fix : 유저 관련 수정

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

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

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

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

Loading…
Cancel
Save