679 lines
25 KiB
Plaintext
679 lines
25 KiB
Plaintext
<%--
|
|
Class Name : EgovUserSelectUpdt.jsp
|
|
Description : 사용자상세조회, 수정 JSP
|
|
Modification Information
|
|
|
|
수정일 수정자 수정내용
|
|
------- -------- ---------------------------
|
|
2009.03.03 JJY 최초 생성
|
|
2011.08.31 JJY 경량환경 버전 생성
|
|
|
|
author : 공통서비스 개발팀 JJY
|
|
since : 2009.03.03
|
|
--%>
|
|
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
|
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
|
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
|
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
|
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
|
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
|
<%@ taglib prefix="double-submit" uri="http://www.egovframe.go.kr/tags/double-submit/jsp" %>
|
|
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Language" content="ko" >
|
|
<title>관리자 수정</title>
|
|
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
|
|
<validator:javascript formName="userManageVO" staticJavascript="false" xhtml="true" cdata="false"/>
|
|
<script type="text/javascript" src="<c:url value='/js/EgovCmmUtl.js'/>" ></script>
|
|
<!-- 암화화 순서에 유의 -->
|
|
<!-- <script type="text/javascript" src="/js/RSA/rsa.js"></script> -->
|
|
<!-- <script type="text/javascript" src="/js/RSA/jsbn.js"></script> -->
|
|
<!-- <script type="text/javascript" src="/js/RSA/prng4.js"></script> -->
|
|
<!-- <script type="text/javascript" src="/js/RSA/rng.js"></script> -->
|
|
|
|
<!-- select niceselect -->
|
|
<!-- <script src="/direct/js/jquery.nice-select.min.js"></script> -->
|
|
<!-- <link rel="stylesheet" href="/direct/css/nice-select.css"> -->
|
|
|
|
|
|
<script type="text/javaScript" language="javascript" defer="defer">
|
|
$( document ).ready(function(){
|
|
// $('select').not(".displayN").niceSelect();
|
|
$("#orgDepth_01").on("change", function(){
|
|
setOrgDepth_01();
|
|
});
|
|
|
|
/* if(""!='${userOneDepth}'){//부서 초기세팅값 세팅
|
|
$('#orgDepth_01').val('${userOneDepth}');
|
|
$('#orgDepth_01').niceSelect('update');
|
|
$('#orgDepth_02').html($('#span_one_'+$("#orgDepth_01").val()).html().trim()) ;
|
|
|
|
$('#orgDepth_02').niceSelect('update');
|
|
if(""!='${userTwoDepth}'){
|
|
$("#orgDepth_02").val('${userTwoDepth}');
|
|
$('#orgDepth_02').niceSelect('update');
|
|
}
|
|
|
|
$("#orgDepth_02").niceSelect(); //display show 기능
|
|
|
|
} */
|
|
|
|
//첨부파일 버튼 처리
|
|
$("#filebutton").click(function(){
|
|
$("#file_temp").trigger("click");
|
|
});
|
|
|
|
authorChange();
|
|
authorChangeCourt();
|
|
});
|
|
|
|
function setOrgDepth_01(){
|
|
if(""==$("#orgDepth_01").val()){ //빈값 선택
|
|
$("#orgDepth_02").niceSelect('destroy').hide();
|
|
$('#partIdx').val($("#orgDepth_01").val());
|
|
}else{
|
|
$('#orgDepth_02').html($('#span_one_'+$("#orgDepth_01").val()).html().trim());
|
|
$('#orgDepth_02').niceSelect('update');
|
|
$('#partIdx').val($("#orgDepth_01").val());
|
|
$("#orgDepth_02").niceSelect(); //display show 기능
|
|
}
|
|
|
|
}
|
|
|
|
function onChagneOrgDepth_02(){ //변경시 partIdx 세팅
|
|
if(""==$("#orgDepth_02").val()){
|
|
$('#partIdx').val($("#orgDepth_01").val());
|
|
}else{
|
|
$('#partIdx').val($("#orgDepth_02").val());
|
|
}
|
|
}
|
|
|
|
{
|
|
var killBackSpace = function(e) { e = e ? e : window.event; var t = e.target ? e.target : e.srcElement ? e.srcElement : null; if(t && t.tagName && (t.type && /(password)|(text)|(file)/.test(t.type.toLowerCase())) || t.tagName.toLowerCase() == 'textarea') { return true; } var k = e.keyCode ? e.keyCode : e.which ? e.which : null; if(k == 8) { if(e.preventDefault) { e.preventDefault(); } return false; } return true; }; if(typeof document.addEventListener != 'undefined') { document.addEventListener('keydown', killBackSpace, false); }else if(typeof document.attachEvent != 'undefined') { document.attachEvent('onkeydown', killBackSpace); }else { if(document.onkeydown != null) { var oldOnkeydown = document.onkeydown; document.onkeydown = function(e) { oldOnkeydown(e); killBackSpace(e); }; }else { document.onkeydown = killBackSpace; } }
|
|
}
|
|
{
|
|
history.pushState(null , null, location.href);
|
|
}
|
|
|
|
function fnListPage(){
|
|
document.searchForm.action = "<c:url value='/cmm/main/mainPage.do'/>";
|
|
document.searchForm.submit();
|
|
}
|
|
function fnDeleteUser(checkedIds) {
|
|
if(confirm("<spring:message code="common.delete.msg" />")){
|
|
document.userManageVO.checkedIdForDel.value=checkedIds;
|
|
document.userManageVO.action = "<c:url value='/uss/umt/user/EgovUserDelete.do'/>";
|
|
document.userManageVO.submit();
|
|
}
|
|
}
|
|
function fnPasswordMove(){
|
|
document.modiForm.action = "<c:url value='/uss/umt/user/EgovUserPasswordUpdtView.do'/>";
|
|
document.modiForm.submit();
|
|
}
|
|
|
|
function fnUpdates(){
|
|
|
|
if(!nCheck()){
|
|
return;
|
|
}
|
|
|
|
var email = document.getElementById("emailAdres").value;
|
|
if(email != ''){
|
|
var exptext = /^[A-Za-z0-9_\.\-]+@[A-Za-z0-9\-]+\.[A-Za-z0-9\-]+/;
|
|
if(exptext.test(email)==false){
|
|
alert("이메일주소 형식이 올바르지 않습니다.");
|
|
return;
|
|
}
|
|
}
|
|
|
|
//if(validateUserManageVO(document.userManageVO)){
|
|
|
|
if(confirm("수정하시겠습니까?")){
|
|
|
|
var form = document.userManageVO;
|
|
var data = new FormData(form);
|
|
_fileForm2.forEach(function(obj, idx) {
|
|
if (obj) data.append("file"+idx, obj.fileObj);
|
|
});
|
|
|
|
$.ajax({
|
|
type: "POST",
|
|
enctype: 'multipart/form-data',
|
|
url: "/uss/umt/user/EgovUserFileInsert.do",
|
|
data: data,
|
|
dataType:'json',
|
|
async: false,
|
|
processData: false,
|
|
contentType: false,
|
|
cache: false,
|
|
success: function (returnData, status) {
|
|
if(status == 'success'){
|
|
|
|
var resultFileId = returnData.atchFileId;
|
|
|
|
if(resultFileId == ""){
|
|
|
|
alert("등록에 실패하였습니다.");
|
|
return false;
|
|
|
|
}else{
|
|
|
|
$("#atchFileId").val(resultFileId);
|
|
form.action="<c:url value='/uss/umt/user/EgovUserSelectUpdt.do'/>";
|
|
form.submit();
|
|
|
|
}
|
|
|
|
} else if(status== 'fail'){
|
|
alert("저장에 실패하였습니다.");
|
|
}
|
|
},
|
|
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
|
});
|
|
}
|
|
// <c:if test="${empty isAdmin and empty isMember}">
|
|
// var rsa = new RSAKey();
|
|
// rsa.setPublic($('#RSAModulus').val(),$('#RSAExponent').val());
|
|
// $("#rsaPasswd").val(rsa.encrypt($("#passwdCmp").val()));
|
|
// </c:if>
|
|
//document.userManageVO.submit();
|
|
//}
|
|
}
|
|
|
|
function updateMemberAjax(){
|
|
var url = "/uss/umt/user/EgovUserSelectUpdtAjax.do";
|
|
var data = new FormData(document.userManageVO);
|
|
$.ajax({
|
|
type: "POST",
|
|
url: url,
|
|
data: data,
|
|
dataType:'json',
|
|
async: false,
|
|
processData: false,
|
|
contentType: false,
|
|
cache: false,
|
|
//timeout: 600000,
|
|
success: function (returnData, status) {
|
|
if(status == 'success'){ // status 확인 필요한가. 석세스 안뜨면 에러 가지 않나
|
|
if("fail"==returnData.result){
|
|
alert(returnData.message);
|
|
return;
|
|
}
|
|
alert("저장 되었습니다.");
|
|
goList();
|
|
} else if(status== 'fail'){
|
|
alert("저장에 실패하였습니다. !!");
|
|
}
|
|
},
|
|
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
|
});
|
|
}
|
|
|
|
|
|
function fn_egov_inqire_cert() {
|
|
var url = '/uat/uia/EgovGpkiRegist.do';
|
|
var popupwidth = '500';
|
|
var popupheight = '400';
|
|
var title = '인증서';
|
|
|
|
Top = (window.screen.height - popupheight) / 3;
|
|
Left = (window.screen.width - popupwidth) / 2;
|
|
if (Top < 0) Top = 0;
|
|
if (Left < 0) Left = 0;
|
|
Future = "fullscreen=no,toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars=no,resizable=no,left=" + Left + ",top=" + Top + ",width=" + popupwidth + ",height=" + popupheight;
|
|
PopUpWindow = window.open(url, title, Future)
|
|
PopUpWindow.focus();
|
|
}
|
|
|
|
function fn_egov_dn_info_setting(dn) {
|
|
var frm = document.userManageVO;
|
|
|
|
frm.subDn.value = dn;
|
|
}
|
|
|
|
//직원 상세 - 부서 선택박스 변경 시
|
|
function fn_select_emp_part(obj) {
|
|
var selectId = $(obj).children("option:selected").val();
|
|
var selectDepth = $(obj).children("option:selected").attr("depth")*1+1;
|
|
|
|
if(selectId == "" && selectDepth =="2"){
|
|
$('#partIdx').val(selectId) ;
|
|
$("#depth_2").remove();
|
|
$("#depth_3").remove();
|
|
return;
|
|
}
|
|
|
|
if(selectId == "" && selectDepth =="3"){
|
|
$('#partIdx').val($('#depth_1').val());
|
|
$("#depth_3").remove();
|
|
return;
|
|
}
|
|
|
|
if(selectDepth =="4"){
|
|
if(selectId == ""){
|
|
$('#partIdx').val($('#depth_2').val());
|
|
}else{
|
|
$('#partIdx').val(selectId) ;
|
|
}
|
|
return;
|
|
}
|
|
|
|
if(selectDepth =="2"){
|
|
$("#depth_2").remove();
|
|
$("#depth_3").remove();
|
|
}
|
|
if(selectDepth =="3"){
|
|
$("#depth_3").remove();
|
|
}
|
|
$('#partIdx').val(selectId) ;
|
|
ajaxGetChartDepth( selectId, selectDepth );
|
|
}
|
|
|
|
function ajaxGetChartDepth(upperIdx , depth){
|
|
$.ajax({
|
|
type:"POST",
|
|
url:"<c:url value='/uss/umt/user/ajaxGetChartDepth.do' />",
|
|
data:{ "depth": depth , "upperIdx": upperIdx},
|
|
dataType:'json',
|
|
success:function(returnData, status){
|
|
if(status == "success") {
|
|
var str = "<select id='depth_"+depth+"' depth='"+depth+"' onchange='fn_select_emp_part(this);'>";
|
|
str += "<option value='' depth='"+depth+"'>선택</option>";
|
|
$.each(returnData.orgChartDepth , function(idx, val){
|
|
str += "<option value='"+val.id+"' depth='"+depth+"'>"+val.text+"</option>";
|
|
});
|
|
str += "</select>";
|
|
$("#orgChartDepth").append(str);
|
|
}else{ alert("ERROR!");return;}
|
|
},
|
|
error:function(request , status, error){
|
|
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
|
}
|
|
});
|
|
}
|
|
|
|
function changSelect(obj){
|
|
var str = "<option value='ROLE_USER_MEMBER'>일반관리자</option>";
|
|
if(obj.value == "super"){
|
|
str += "<option value='ROLE_ADMIN'>최고관리자</option>"
|
|
}
|
|
$("#authorCode option").remove();
|
|
$("#authorCode").append(str);
|
|
}
|
|
|
|
function passMissReset(){
|
|
$.ajax({
|
|
type:"POST",
|
|
url:"/uss/umt/user/PassMissResetAjax.do",
|
|
data:{
|
|
"id": "${userManageVO.emplyrId}"
|
|
},
|
|
dataType:'json',
|
|
timeout:(1000*30),
|
|
success:function(returnData, status){
|
|
if(status == "success") {
|
|
alert("카운터가 초기화 되었습니다.");
|
|
}else{ alert("ERROR!");return;}
|
|
},
|
|
error:function(request , status, error){
|
|
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
|
}
|
|
});
|
|
}
|
|
|
|
function nCheck(){
|
|
var numCheck = document.getElementById("offmTelno").value;
|
|
if(numCheck!=""){
|
|
if(/[^0123456789-]/g.test(numCheck)){
|
|
alert("사무실 전화번호는 숫자와 특수문자'-'만 입력이 가능합니다.");
|
|
return false;
|
|
}
|
|
}
|
|
return true;
|
|
|
|
}
|
|
function nCheck2(){
|
|
var numCheck = document.getElementById("numCheck");
|
|
if(/[^0123456789]/g.test(numCheck.value)){
|
|
alert("숫자가 아닙니다.\n\n0~9의 숫자만 허용합니다.");
|
|
}
|
|
}
|
|
|
|
function authorChange(obj) {
|
|
var author = $("[name='authorCode'] option:selected").val();
|
|
if(author == 'ROLE_ADR_ADMIN'){
|
|
$("#rank1").css('display', 'block');
|
|
$("#rank1").attr('disabled', false);
|
|
$("#rank2").css('display', 'none');
|
|
$("#rank2").attr('disabled', true);
|
|
$("#rank3").css('display', 'none');
|
|
$("#rank3").attr('disabled', true);
|
|
$("#rank4").css('display', 'none');
|
|
$("#rank4").attr('disabled', true)
|
|
|
|
}else if(author == 'ROLE_COURT_ADMIN'){
|
|
$("#rank1").css('display', 'none');;
|
|
$("#rank1").attr('disabled', true);
|
|
$("#rank2").css('display', 'none');
|
|
$("#rank2").attr('disabled', true);
|
|
$("#rank3").css('display', 'block');
|
|
$("#rank3").attr('disabled', false);
|
|
if($('#rank3').val() == '90'){
|
|
$("#rank4").css('display', '');
|
|
$("#rank4").attr('disabled', false);
|
|
}
|
|
}
|
|
else{
|
|
$("#rank1").css('display', 'none');
|
|
$("#rank1").attr('disabled', true);
|
|
$("#rank2").css('display', 'block');
|
|
$("#rank2").attr('disabled', false);
|
|
$("#rank3").css('display', 'none');
|
|
$("#rank3").attr('disabled', true);
|
|
$("#rank4").css('display', 'none');
|
|
$("#rank4").attr('disabled', true)
|
|
}
|
|
}
|
|
|
|
|
|
function authorChangeCourt(){
|
|
if($('#rank3').val() == '90'){
|
|
$("#rank4").css('display', '');
|
|
$("#rank4").attr('disabled', false);
|
|
}else{
|
|
$("#rank4").css('display', 'none');
|
|
$("#rank4").attr('disabled', true);
|
|
}
|
|
}
|
|
</script>
|
|
<style>
|
|
.tbType02 .radio_wrap input[type=radio] + label {margin-right:15px;}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<%-- <form:form commandName="userManageVO" action="${pageContext.request.contextPath}/uss/umt/user/EgovUserSelectUpdt.do" name="userManageVO" method="post" enctype="multipart/form-data"> --%>
|
|
<form:form commandName="userManageVO" id="userManageVO" name="userManageVO" method="post" enctype="multipart/form-data">
|
|
<%-- <double-submit:preventer tokenKey="someKey" /> --%>
|
|
<input name="checkedIdForDel" type="hidden" />
|
|
<!-- 검색조건 유지 -->
|
|
<input type="hidden" name="searchCondition" value="<c:out value='${userSearchVO.searchCondition}'/>"/>
|
|
<input type="hidden" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>"/>
|
|
<input type="hidden" name="sbscrbSttus" value="<c:out value='${userSearchVO.sbscrbSttus}'/>"/>
|
|
<input type="hidden" name="pageIndex" value="<c:out value='${userSearchVO.pageIndex}'/>"/>
|
|
<input type="hidden" name="partIdx" id="partIdx" value="<c:out value='${userManageVO.partIdx}'/>"/>
|
|
<input type="hidden" id="atchFileId" name="atchFileId" value="<c:out value='${userManageVO.atchFileId}'/>"/>
|
|
|
|
<!-- 사용자유형정보 : password 수정화면으로 이동시 타겟 유형정보 확인용, 만약검색조건으로 유형이 포함될경우 혼란을 피하기위해 userTy명칭을 쓰지 않음-->
|
|
<input type="hidden" name="userTyForPassword" value="<c:out value='${userManageVO.userTy}'/>" />
|
|
|
|
<input type="hidden" name="limitcount" value="1" /><!-- 최대 업로드 파일갯수 -->
|
|
|
|
<!-- cont -->
|
|
<div class="cont_wrap">
|
|
<div class="box">
|
|
|
|
<!-- cont_tit -->
|
|
<div class="cont_tit">
|
|
<h2>관리자수정1</h2>
|
|
<ul class="cont_nav">
|
|
<li class="home"><a href="/"><i></i></a></li>
|
|
<li>
|
|
<p>관리자관리</p>
|
|
</li>
|
|
<li>
|
|
<p>관리자관리</p>
|
|
</li>
|
|
<li><span class="cur_nav">관리자수정</span></li>
|
|
</ul>
|
|
</div>
|
|
<!-- //cont_tit -->
|
|
|
|
<div class="cont">
|
|
<!-- list_상세 -->
|
|
<div class="tbType02 col-table data-table">
|
|
<table>
|
|
<colgroup>
|
|
<col style="width: 20%">
|
|
<col style="width: 80%">
|
|
</colgroup>
|
|
|
|
<tbody>
|
|
<tr>
|
|
<th><span class="reqArea">사용자아이디</span></th>
|
|
<td colspan="3">
|
|
<form:input path="emplyrId" id="emplyrId" size="50" maxlength="20" readonly="true" />
|
|
<form:errors path="emplyrId" cssClass="error"/>
|
|
<form:hidden path="uniqId" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th><span class="reqArea">로그인 유형</span></th>
|
|
<td colspan="3">
|
|
<div class="radio_wrap none_span">
|
|
<!-- <span><input type="radio" name="loginType" id="IP" class="radio2" value="IP"><label for="IP">IP제어</label></span>
|
|
<span><input type="radio" name="loginType" id="OTP" class="radio2" value="OTP" checked><label for="OTP">OTP</label></span> -->
|
|
<kc:radio codeId="CC051" name="loginTypeCd" id="loginTypeCd" selectedValue="${userManageVO.loginTypeCd}" />
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th><span class="reqArea">이름</span></th>
|
|
<td colspan="3">
|
|
<form:input path="emplyrNm" id="emplyrNm" cssClass="txaIpt" size="50" maxlength="60" />
|
|
<form:errors path="emplyrNm" cssClass="error" />
|
|
</td>
|
|
</tr>
|
|
|
|
<c:if test="${!empty isAdmin}">
|
|
<tr>
|
|
<th>권한</th>
|
|
<td colspan="3">
|
|
<select name="authorCode" id="authorCode" title="권한" onchange="authorChange(this)">
|
|
<c:forEach var="authorResult" items="${authorList}" varStatus="status">
|
|
<c:if test="${!('ROLE_GNRL_USER' eq authorResult.authorCode or 'ROLE_ANONYMOUS' eq authorResult.authorCode)}"> <!-- 사용자/방문자제외 -->
|
|
<option value="<c:out value="${authorResult.authorCode}"/>" <c:if test="${authorResult.authorCode eq userManageVO.authorCode}">selected</c:if>>
|
|
<c:out value="${authorResult.authorNm}"/>
|
|
</option>
|
|
</c:if>
|
|
</c:forEach>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>직책</th>
|
|
<td colspan="3">
|
|
<select name="ofcpsNm" title="직급" id="rank1" >
|
|
<option value="10" selected>조정조사관</option>
|
|
<option value="20" <c:if test="${userManageVO.ofcpsNm eq '20'}">selected</c:if>>조정팀장</option>
|
|
<option value="30" <c:if test="${userManageVO.ofcpsNm eq '30'}">selected</c:if>>부서장</option>
|
|
<option value="40" <c:if test="${userManageVO.ofcpsNm eq '40'}">selected</c:if>>위원장</option>
|
|
</select>
|
|
<select name="ofcpsNm" title="직급" id="rank2" >
|
|
<option value="admin">시스템관리자</option>
|
|
</select>
|
|
|
|
<select name="ofcpsNm" title="직급" id="rank3" style="display:none;" disabled="disabled" onchange="authorChangeCourt(this)">
|
|
<option value="80" <c:if test="${userManageVO.ofcpsNm eq '80'}">selected</c:if>>법원연계 조정위원</option>
|
|
<option value="90" <c:if test="${userManageVO.ofcpsNm eq '90'}">selected</c:if>>법원연계 총괄조정위원</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr id="rank4">
|
|
<th>연계법원</th>
|
|
<td colspan="3">
|
|
<kc:select codeId="CC701" id="insttCode" name="insttCode" selectedValue="${userManageVO.insttCode}" defaultValue="00" defaultText="없음"/>
|
|
</td>
|
|
</tr>
|
|
</c:if>
|
|
<tr>
|
|
<th>전화번호</th>
|
|
<td colspan="3">
|
|
<form:input path="offmTelno" id="offmTelno" cssClass="txaIpt" size="50" maxlength="15" placeholder="예시 : 02-123-4567" />
|
|
<form:errors path="offmTelno" cssClass="error" />
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>팩스번호</th>
|
|
<td colspan="3">
|
|
<form:input path="fxnum" id="fxnum" cssClass="txaIpt" size="50" maxlength="15" placeholder="예시 : 02-123-4567" />
|
|
<form:errors path="fxnum" cssClass="error" />
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>담당업무</th>
|
|
<td colspan="3">
|
|
<form:input path="userWork" id="userWork" cssClass="txaIpt" size="50" maxlength="15" placeholder="" />
|
|
<form:errors path="userWork" cssClass="error" />
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>이메일주소</th>
|
|
<td colspan="3">
|
|
<form:input path="emailAdres" id="emailAdres" cssClass="txaIpt" size="50" maxlength="50" />
|
|
<form:errors path="emailAdres" cssClass="error" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th><span class="">서명이미지</span></th>
|
|
<td class="upload_area">
|
|
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/>
|
|
<button type="button" id="filebutton" class="btn btn_text btn_36 blue_border btn_add_file">파일 첨부하기</button>
|
|
<div class="file_wrap file_upload_box no_img_box">
|
|
<table>
|
|
<colgroup>
|
|
<col style="width: 60%;">
|
|
<col style="width: auto;">
|
|
<col style="width: 20%;">
|
|
<col style="width: 10%;">
|
|
</colgroup>
|
|
<thead>
|
|
<!-- <th>
|
|
<input type="checkbox" id="all_check"><label for="all_check"></label>
|
|
</th> -->
|
|
<th>파일 명</th>
|
|
<th>종류</th>
|
|
<th>크기</th>
|
|
<th>삭제</th>
|
|
</thead>
|
|
<tbody class="tb_file_before">
|
|
<tr>
|
|
<td colspan="4">
|
|
<p>첨부하실 파일을 <span>마우스로 끌어서</span> 넣어주세요.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="file_wrap fileAfter file_list_div">
|
|
<table>
|
|
<colgroup>
|
|
<col style="width: 60%">
|
|
<col style="width: 10%">
|
|
<col style="width: 20%">
|
|
<col style="width: 10%">
|
|
</colgroup>
|
|
<thead>
|
|
<!-- <th>
|
|
<input type="checkbox" id="all_check"><label for="all_check"></label>
|
|
</th> -->
|
|
<th>파일 명</th>
|
|
<th>종류</th>
|
|
<th>크기</th>
|
|
<th>삭제</th>
|
|
</thead>
|
|
<tbody id="tbody_fiielist" class="tb_file_after">
|
|
<c:forEach var="fileList" items="${fileList}" varStatus="status">
|
|
<tr class="item_<c:out value='${fileList.atchFileId}' />_<c:out value='${fileList.fileSn}' /> uploaded_obj">
|
|
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
|
|
<td class="td_filename">
|
|
<!-- <img src="/direct/img/upload_hwp_img.png" alt="" /> -->
|
|
<span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
|
|
</td>
|
|
<td class="td_filesort">
|
|
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
|
|
</td>
|
|
<td class="td_filesize">
|
|
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
|
|
</td>
|
|
<td>
|
|
<button type="button" class="btn_del" onclick="delAtchFile('<c:out value='${fileList.atchFileId}' />', '<c:out value='${fileList.fileSn}' />'); return false;"><i></i></button>
|
|
</td>
|
|
</tr>
|
|
</c:forEach>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
<%-- <c:if test="${empty isAdmin and empty isMember}">
|
|
<tr>
|
|
<th>비밀번호확인</th>
|
|
<td colspan="3">
|
|
<input type="password" name="passwdCmp" id="passwdCmp" type="text" value="" size="50" maxlength="50" style="width: 95%;">
|
|
</td>
|
|
</tr>
|
|
</c:if> --%>
|
|
<c:if test="${!empty isAdmin}">
|
|
<tr>
|
|
<th>로그인 실패 횟수</br>초기화</th>
|
|
<td colspan="3">
|
|
<button class="btn btn_text btn_36 gray_border" onclick="passMissReset(); return false;">초기화</button>
|
|
<!-- <input type="button" class="btnType1" value="초기화" onclick="passMissReset(); return false;"> -->
|
|
</td>
|
|
</tr>
|
|
</c:if>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- //list_상세 -->
|
|
|
|
<!-- btn_wrap -->
|
|
<div class="btn_wrap btn_layout01">
|
|
<div class="area_left">
|
|
<c:if test="${!empty isAdmin}">
|
|
<button class="btn btn_text btn_46 red_border btnType04" onclick="fnDeleteUser('<c:out value='${userManageVO.userTy}'/>:<c:out value='${userManageVO.uniqId}'/>'); return false;">삭제</button>
|
|
</c:if>
|
|
<button class="btn btn_text btn_46 blue_border" onclick="fnPasswordMove(); return false;">비밀번호 변경</button>
|
|
</div>
|
|
<div class="area_right">
|
|
|
|
<button class="btn btn_text btn_46 blue_fill" onclick="javascript:fnUpdates(); return false;">수 정</button>
|
|
<!-- <button class="btnType03" onclick="fnListPage(); return false;">목 록</button> -->
|
|
<button class="btn btn_text btn_46 gray_fill" onclick="history.go(-3);">목 록</button>
|
|
</div>
|
|
</div>
|
|
<!-- //btn_wrap -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- //cont -->
|
|
<%-- <form:hidden path="password" /> --%>
|
|
<input type="hidden" name="gnrlUser" value="N"> <!-- gnrlUser가 N이면 관리자등록 -->
|
|
</form:form>
|
|
<form name="searchForm" method="get"></form>
|
|
<form name="modiForm" method="get" action="<c:url value='/sec/ram/EgovAuthorRoleList.do'/>" >
|
|
<input type="hidden" name="uniqId" value="<c:out value='${userManageVO.uniqId}'/>"/>
|
|
<input type="hidden" name="userTyForPassword" value="<c:out value='${userManageVO.userTy}'/>" />
|
|
<input type="hidden" name="emplyrId" value="<c:out value='${userManageVO.emplyrId}'/>" />
|
|
<input type="hidden" name="gnrlUser" value="N"/>
|
|
</form>
|
|
<!-- selectbox 미리만들기 -->
|
|
<!-- 2뎁스 만들기 -->
|
|
<%-- <c:forEach var="hiddenResult_one" items="${orgHiddenList}" varStatus="status">
|
|
<c:if test="${hiddenResult_one.depths eq '1'}">
|
|
<span id="span_one_${hiddenResult_one.id}" style="display:none;">
|
|
<option value="">선택</option>
|
|
<c:forEach var="hiddenResult_two" items="${orgHiddenList}" varStatus="status"><c:if test="${hiddenResult_one.id eq hiddenResult_two.parent}"><option value="<c:out value='${hiddenResult_two.id}'/>"><c:out value='${hiddenResult_two.text}'/></option></c:if></c:forEach>
|
|
</span>
|
|
</c:if>
|
|
</c:forEach> --%>
|
|
</body>
|
|
</html> |