123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>정보변경</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <oldpwd/>
- <pwd/>
- <cnfmpwd/>
- <menugruplist/>
- <deptsortlist>
- </deptsortlist>
- <userid/>
- <mpphonno/>
- <pdano/>
- </send>
- <init>
- <username/>
- </init>
- <main>
- <menugruplist>
- <items>
- <menugrupnm>공통(KH_공통)</menugrupnm>
- <menugrupcd>MG00010000</menugrupcd>
- <menuauthcd>MA00000055</menuauthcd>
- <sortno>1</sortno>
- </items>
- </menugruplist>
- <clientinfo>
- </clientinfo>
- <signinfo>
- <signdata/>
- <oldpwd/>
- <newpwd1/>
- <newpwd2/>
- </signinfo>
- <deptsortlist>
- <items>
- <dutdeptnm/>
- <sortno/>
- <userid/>
- <dutplceinstcd/>
- <dutplceinstnm/>
- <dutplcecd/>
- <dutplcenm/>
- </items>
- </deptsortlist>
- <phoneinfo>
- <mpphonno/>
- <pdano/>
- <duploginyn/>
- </phoneinfo>
- </main>
- </root>
- </instance>
- <submission id="TXZUM01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TXZUM01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
- <submission id="TXZUM01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/menugruplist"/>
- <submission id="TXZUM01702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
- <submission id="TXZUM01703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
- <submission id="TRZUM01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/menugruplist"/>
- <submission id="TRZUM01702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/deptsortlist"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //인증서 비번 입력화면에서 분기시 바로 인증서 관리 텝으로 이동시켜 주는 기능(20150420 이윤주)
- var flag = opener.window.javascript.getParameter("SPZUM01100_param_flag");
- btn_pw.selected = true;
- btn_pw.dispatch("DOMActivate");
- if (flag == "5") {
- btn_signinfo.selected = true;
- btn_signinfo.dispatch("DOMActivate");
- }
- model.setValue("/root/send/userid",getUserId());
- submit("TRZUM01302",false);
- submit("TRZUM01702",false);
- submit("TRZUM01104",false);
- model.setValue("/root/init/username", getUserInfo("dutplcenm") + ": " +getUserName());
- model.setValue("/root/main/clientinfo", fGetClientInfo());
- model.refresh();
- ]]>
- </script>
- <submission id="TXZUM01104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TRZUM01104" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/main/phoneinfo"/>
- <submission id="TXZUM02100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/phoneinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/signweb/js/ZES001.js"/>
- <script type="javascript" src="../../../com/hismainweb/js/ZUM008.js"/>
- <script type="javascript">
- <![CDATA[
-
- function fSetMenuGroupSeq(toSeq, type){
- var isSeq = grd_menugruplist.row;
- if(isSeq > 0){
- var srcSeq = (isSeq > toSeq) ? isSeq+1 : isSeq;
-
- grd_menugruplist.insertRow(toSeq, type, false);
- model.copyNode("/root/main/menugruplist/items["+grd_menugruplist.row+"]", "/root/main/menugruplist/items["+srcSeq+"]");
- grd_menugruplist.deleteRow(srcSeq, false);
-
- if(isSeq > toSeq){
- startRow = toSeq;
- endRow = isSeq;
- }else{
- startRow = isSeq;
- endRow = toSeq;
- }
-
- for (var i=startRow; i <= endRow; i++)
- {
- model.setValue("/root/main/menugruplist/items["+i+"]/sortno", i);
- grd_menugruplist.rowStatus(i) = 2;
- }
-
- model.refresh();
- }else{
- messageBox("변경할 메뉴그룹을","C002");
- }
- }
-
- function fSetDeptSortSeq(toSeq, type){
- var isSeq = grd_deptsortlist.row;
- if(isSeq > 0){
- var srcSeq = (isSeq > toSeq) ? isSeq+1 : isSeq;
-
- grd_deptsortlist.insertRow(toSeq, type, false);
- model.copyNode("/root/main/deptsortlist/items["+grd_deptsortlist.row+"]", "/root/main/deptsortlist/items["+srcSeq+"]");
- grd_deptsortlist.deleteRow(srcSeq, false);
-
- if(isSeq > toSeq){
- startRow = toSeq;
- endRow = isSeq;
- }else{
- startRow = isSeq;
- endRow = toSeq;
- }
-
- for (var i=startRow; i <= endRow; i++)
- {
- model.setValue("/root/main/deptsortlist/items["+i+"]/sortno", i);
- grd_deptsortlist.rowStatus(i) = 2;
- }
-
- model.refresh();
- }else{
- messageBox("변경할 근무지 순서를","C002");
- }
- }
-
- // 시스템 비밀번호 변경시 체크
- function fCheckPassword(){
- if(isRequiredControls("sct_oldpwd", "sct_pwd", "sct_cnfmpwd")){
- var pwdKind = model.getValue("/root/send/pwdkind");
- if (sct_pwd.value != sct_cnfmpwd.value){
- messageBox("새비밀번호가 ","E004");
- model.setFocus("sct_pwd");
- return false;
- }
- }else{
- return false;
- }
-
- /*
- var pwdNew = sct_pwd.value;
- if(pwdNew.length<9){
- messageBox("비밀번호는 최소 9자리여야 합니다.","E999");
- return false;
- }
-
- var alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
- var number = "1234567890";
- var flag1,flag2;
- for(var i=0; i<pwdNew.length; i++){
- if(alpha.match(pwdNew.charAt(i))){
- flag1=true;
- }
- if(number.match(pwdNew.charAt(i))){
- flag2=true;
- }
- }
- if(!(flag1 && flag2)){
- messageBox("비밀번호는 영문자와 숫자 조합이어야 합니다.","E999");
- return false;
- }
- */
- return fCommonCheckPassword(sct_pwd.value);
- }
-
- // 전자인증 비밀번호 변경시 체크
- function fPreCheckSignPassword(){
- if(isRequiredControls("sct_signoldpwd", "sct_signnewpwd1", "sct_signnewpwd1")){
- if (sct_signnewpwd1.value != sct_signnewpwd2.value){
- messageBox("새비밀번호가 ","E004");
- model.setFocus("sct_signnewpwd1");
- return false;
- }
-
- if (sct_signoldpwd.value == sct_signnewpwd1.value){
- messageBox("이전비밀번호와 새비밀번호가 동일합니다","E");
- model.setFocus("sct_signnewpwd1");
- return false;
- }
-
- }else{
- return false;
- }
- return true;
- }
- function fGetClientInfo() {
- var html = htmlwindow;
- var navgr = html.navigator;
- var locatn = html.location;
- var scrn = html.screen;
-
- var userid = "user : " + getUserId() + "/" + getUserName() + "\n";
- var ip = "ip : " + app.clientIp + "\n";
- var name = "name : " + app.computerName + "\n";
- var macaddr = "mac : " + app.macAddress + "\n";
- var viewer = "viewer : " + app.appVersion + "\n";
- var moncnt = "moncnt : " + app.monitorNumber + "\n";
- var resol = "resol : " + app.monitorResolution + " & " + scrn.colorDepth + "bit\n";
- var brwstype = "brwstype : " + navgr.appName + "\n";
- var brwsfullver = "brwsfullver : " + navgr.appVersion + "\n";
- var lang = "brws/sys/user : " + navgr.browserLanguage + "/" + navgr.systemLanguage + "/" + navgr.userLanguage + "\n";
- var cookie = "iscookie : " + navgr.cookieEnabled + "\n"
- var host = "host : " + locatn.protocol + "//" + locatn.host + "\n";
-
- var os = "os : ", brws = "brws : ";
- if (navgr.userAgent) {
- var t = navgr.userAgent.toLowerCase();
- // os
- if (t.indexOf("98") != -1) { os += "Windows 98"; }
- else if (t.indexOf("95") != -1) { os += "Windows 95"; }
- else if (t.indexOf("nt 6.0") != -1) { os += "Windows Vista"; }
- else if (t.indexOf("nt 5.0") != -1) { os += "Windows 2000"; }
- else if (t.indexOf("nt 5.1") != -1) { os += "Windows XP"; }
- else if (t.indexOf("nt 5.2") != -1) { os += "Windows Server 2003"; }
- else if (t.indexOf("nt") != -1) { os += "Windows NT"; }
- else if (t.indexOf("me") != -1) { os += "Windows Me"; }
- else { os = "Windows"; }
- os += "\n";
-
- // browser
- if (t.indexOf("msie") != -1) {
- if (t.indexOf("7.0") != -1) { brws += "Internet Explorer 7.0"; }
- else { brws += "Internet Explorer"; }
- }
- else if (t.indexOf("opera") != -1) { brws += "Opera"; }
- else if (t.indexOf("netscape") != -1) { brws += "Netscape"; }
- else if (t.indexOf("firefox/2") != -1) { brws += "Firefox2"; }
- else if (t.indexOf("firefox") != -1) { brws += "Firefox"; }
- else if (t.indexOf("safari") != -1) { brws += "Safari"; }
- brws += "\n";
- }
- var clientinfo = userid + ip + name + macaddr + viewer + moncnt + resol
- + os + brws + brwstype + brwsfullver + lang + cookie + host ;
-
- return clientinfo;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="510" pageheight="370" guideline="1,499;1,582;2,385;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:98px; height:14px; ">정보변경</caption>
- <output id="userName" ref="/root/init/username" class="output_text" style="left:331px; top:0px; width:150px; height:13px; "/>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:490px; height:336px; ">
- <button id="btn_pw" class="btn_sw4" group="tab" selected="true" style="left:2px; top:10px; width:64px; height:22px; ">
- <caption>개인정보</caption>
- <toggle case="case1" ev:event="DOMActivate"/>
- </button>
- <button id="btn_menu" class="btn_sw6" group="tab" style="left:65px; top:10px; width:88px; height:22px; ">
- <caption>메뉴그룹순서</caption>
- <toggle case="case2" ev:event="DOMActivate"/>
- </button>
- <button id="btn_coord" class="btn_sw7" group="tab" style="left:229px; top:10px; width:100px; height:22px; ">
- <caption>화면좌표초기화</caption>
- <toggle case="case3" ev:event="DOMActivate"/>
- </button>
- <button id="btn_clientinfo" class="btn_sw4" group="tab" style="left:329px; top:10px; width:64px; height:22px; ">
- <caption>PC정보</caption>
- <toggle case="case4" ev:event="DOMActivate"/>
- </button>
- <button id="btn_signinfo" class="btn_sw6" group="tab" style="left:393px; top:10px; width:88px; height:22px; ">
- <caption>인증서관리</caption>
- <toggle case="case5" ev:event="DOMActivate"/>
- </button>
- <switch id="switch1" style="left:2px; top:31px; width:479px; height:305px; ">
- <case id="case1" selected="true" style="left:0px; top:0px; width:479px; height:303px; ">
- <caption id="cap_oldpwd" class="cell_1" style="left:65px; top:18px; width:91px; height:23px; ">현재비밀번호</caption>
- <caption id="cap_pwd" class="cell_1" style="left:65px; top:46px; width:91px; height:23px; ">새비밀번호</caption>
- <caption id="cap_cnfmpwd" class="cell_1" style="left:65px; top:74px; width:91px; height:23px; ">새비밀번호확인</caption>
- <secret id="sct_oldpwd" ref="/root/send/oldpwd" class="secret_essential" maxlength="20" style="left:159px; top:19px; width:130px; height:19px; "/>
- <secret id="sct_pwd" ref="/root/send/pwd" class="secret_essential" maxlength="20" style="left:159px; top:47px; width:130px; height:19px; "/>
- <secret id="sct_cnfmpwd" ref="/root/send/cnfmpwd" class="secret_essential" maxlength="20" style="left:159px; top:75px; width:130px; height:19px; "/>
- <line id="line6" class="line_3" style="x1:65px; y1:96px; x2:289px; y2:96px; "/>
- <button id="btn_pwd" class="btn4_letter10" disable.background-image="../../../com/commonweb/images/dis_btn4_letter9.gif" style="left:305px; top:75px; width:152px; height:22px; background-image:../../../com/commonweb/images/btn4_letter9.gif; ">
- <caption>로그인비밀번호변경</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fCheckPassword()){
- setAlertOn();
-
- // 치과쪽 SSL이 없어서 로직 분리. SSL 생길 시 수정 요망 (behson 160311)
- if(getUserInfo("dutplceinstcd") == "033"){
- if(submit("TXZUM01101")){ // 치과인 경우
- window.close();
- }
- }else{
- if(submitSSL("TXZUM01101")){ // 치과가 아닌경우(본원,칠곡)
- window.close();
- }
- }
- }
- ]]>
- </script>
- </button>
- <line id="line1" class="line_3" style="x1:65px; y1:68px; x2:289px; y2:68px; "/>
- <line id="line2" class="line_3" style="x1:65px; y1:40px; x2:289px; y2:40px; "/>
- <caption id="caption8" class="hand" style="left:60px; top:190px; width:365px; height:20px; ">전자인증서 비밀번호는 '인증서관리' 탭을 이용하세요.</caption>
- <caption id="caption14" class="cell_1" style="left:65px; top:247px; width:91px; height:23px; ">휴대전화번호</caption>
- <input id="ipt_mpphonno" ref="/root/main/phoneinfo/mpphonno" class="input_default" imemode="disabled" maxlength="15" style="left:159px; top:250px; width:130px; height:19px; "/>
- <caption id="caption15" class="cell_1" style="left:66px; top:273px; width:91px; height:23px; ">N-Zone 번호</caption>
- <input id="ipt_pdano" ref="/root/main/phoneinfo/pdano" class="input_default" imemode="disabled" maxlength="11" format="99999999999" style="left:159px; top:274px; width:130px; height:19px; "/>
- <line id="line9" class="line_3" style="x1:66px; y1:299px; x2:290px; y2:299px; "/>
- <line id="line8" class="line_3" style="x1:65px; y1:271px; x2:289px; y2:271px; "/>
- <button id="btn_changeno" class="btn4_letter4" disable.background-image="../../../com/commonweb/images/dis_btn4_letter9.gif" style="left:375px; top:264px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn4_letter9.gif; ">
- <caption>번호변경</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/mpphonno", model.getValue("/root/main/phoneinfo/mpphonno"));
- model.setValue("/root/send/pdano", model.getValue("/root/main/phoneinfo/pdano"));
- setAlertOn();
- submit("TXZUM01104", false);
- submit("TRZUM01104");
- ]]>
- </script>
- </button>
- <caption id="caption3" class="hand" style="left:60px; top:101px; width:360px; height:30px; ">
- <![CDATA[최소 10자리 이상 숫자, 영문, 특수문자 반드시 포함
- (대소문자구분됨)]]>
- </caption>
- <caption id="caption16" class="hand" style="left:60px; top:130px; width:353px; height:20px; ">사용자계정(ID)은 비밀번호에 포함될 수 없음</caption>
- <caption id="caption17" class="hand" style="left:60px; top:150px; width:353px; height:20px; ">문자/숫자 4자리 이상 반복될 수 없음</caption>
- <caption id="caption18" class="hand" style="left:60px; top:170px; width:270px; height:20px; ">변경된 비밀번호는 3개월간 유지</caption>
- <caption id="caption20" style="left:30px; top:208px; width:315px; height:30px; font-weight:bold; color:#3366ff; ">
- <![CDATA[ 관련근거:본원:진료지원실(의무기록)-1042
- 칠곡:진료행정과(의무기록)-267 ]]>
- </caption>
- <caption id="caption1" style="left:345px; top:215px; width:123px; height:20px; ">-문의처:전산실</caption>
- <caption id="caption25" style="left:345px; top:232px; width:128px; height:20px; ">(T.6597)</caption>
- <line id="line10" class="line_3" visibility="hidden" style="x1:313px; y1:40px; x2:457px; y2:40px; "/>
- <caption id="caption24" class="cell_1" style="left:313px; top:18px; width:121px; height:23px; ">중복로그인가능여부</caption>
- <bool id="chk_duplogin" checkvalue="Y,N" ref="/root/main/phoneinfo/duploginyn" style="left:437px; top:19px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- submit("TXZUM02100");
- ]]>
- </script>
- </bool>
- <caption id="caption26" style="left:366px; top:43px; width:95px; height:20px; ">재로그인시 적용</caption>
- </case>
- <case id="case2">
- <datagrid id="grd_menugruplist" nodeset="/root/main/menugruplist/items" allowselection="false" allowuserresize="true" caption="메뉴그룹명^순서^temp^메뉴그룹ID^메뉴권한ID" colwidth="344, 81, 100, 100, 100, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" style="left:10px; top:35px; width:458px; height:241px; ">
- <col ref="menugrupnm"/>
- <col ref="sortno"/>
- <col ref="menugrupcd" visibility="hidden"/>
- <col ref="menuauthcd" visibility="hidden"/>
- <col ref="defaultitemid" visibility="hidden"/>
- <col ref="prestdeptcd" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(! isDataCell() ){
- messageBox("변경할 메뉴그룹을","C002");
- }
- ]]>
- </script>
- </datagrid>
- <line id="line12" class="line_1" style="x1:10px; y1:28px; x2:468px; y2:29px; text-align:left; "/>
- <caption id="caption9" class="tit_2" style="left:13px; top:5px; width:126px; height:13px; vertical-align:middle; ">메뉴그룹 순서변경</caption>
- <button id="btn_to_top" class="icon_top" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:355px; top:5px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_menugruplist.row > 1){
- fSetMenuGroupSeq("1", "above");
- grd_menugruplist.row = grd_menugruplist.fixedRows;
- }else{
- messageBox("최상위 메뉴그룹이","E005");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[맨위로]]>
- </hint>
- </button>
- <button id="btn_to_up" class="icon_top_direction" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:384px; top:5px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_menugruplist.row > 1){
- fSetMenuGroupSeq(grd_menugruplist.row-1, "above");
- grd_menugruplist.row = grd_menugruplist.row-2;
- }else{
- messageBox("최상위 메뉴그룹이","E005");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[위로]]>
- </hint>
- </button>
- <button id="btn_to_down" class="icon_bottom_direction" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:413px; top:5px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_menugruplist.rows-grd_menugruplist.fixedRows > grd_menugruplist.row ){
- fSetMenuGroupSeq(grd_menugruplist.row+1, "below");
- grd_menugruplist.row = grd_menugruplist.row+1;
- }else{
- messageBox("최하위 메뉴그룹이","E005");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[아래로]]>
- </hint>
- </button>
- <button id="btn_to_bottom" class="icon_bottom" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:442px; top:5px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_menugruplist.rows-grd_menugruplist.fixedRows > grd_menugruplist.row ){
- fSetMenuGroupSeq(grd_menugruplist.rows-grd_menugruplist.fixedRows, "below");
- grd_menugruplist.row= grd_menugruplist.rows-grd_menugruplist.fixedRows;
- }else{
- messageBox("최하위 메뉴그룹이","E005");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[맨아래로]]>
- </hint>
- </button>
- <group id="grp_btn" style="left:5px; top:276px; width:468px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:335px; top:3px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_menugruplist, "update");
- if (updtdata == "") {
- messageBox("변경된 데이터가","I004");
- return;
- }
-
- if(messageBox("변경된 메뉴그룹순서를", "Q002") == 6){
- for( i = grd_menugruplist.fixedRows; i < grd_menugruplist.rows ; i++ ) {
- if(grd_menugruplist.valueMatrix(i,2) == ""){
- grd_menugruplist.valueMatrix(i,2) = i;
- grd_menugruplist.rowStatus(i) = 2;
- }
- }
-
- model.setValue("/root/send/menugruplist", grd_menugruplist.getUpdateData("update"));
- if(submit("TXZUM01102")){ // 메뉴그룹 순서 저장
- grd_menugruplist.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
- }
- }
- ]]>
- </script>
- </button>
- <line id="line14" class="line_6" style="x1:0px; y1:25px; x2:310px; y2:25px; "/>
- <button id="btn_reset" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:392px; top:3px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var nodeList = instance1.selectNodes("/root/main/menugruplist/items[sortno>'0']");
- if(nodeList.length > 0){
- if(messageBox("메뉴그룹순서를", "Q010") == 6){
- model.setValue("/root/send/menugruplist", getNodeListCSV(nodeList));
- submit("TXZUM01103");
- }
- }else{
- messageBox("초기화할 데이터가","I004");
- }
- ]]>
- </script>
- </button>
- </group>
- </case>
- <case id="case3">
- <caption id="caption2" class="hand" style="left:100px; top:15px; width:299px; height:70px; ">
- <![CDATA[아래 초기화 버튼을 누르면
- 팝업화면의 최종 좌표정보들이
- 모두 삭제됩니다.]]>
- </caption>
- <button id="button1" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:380px; top:275px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var viewerObj = getViewer("sysMessage");
- if (viewerObj != null && viewerObj.window.javascript.fClearAllScreenLocation != undefined) {
- viewerObj.window.javascript.fClearAllScreenLocation();
- }
- ]]>
- </script>
- </button>
- </case>
- <case id="case4">
- <textarea id="tar_clientinfo" ref="/root/main/clientinfo" scroll="autovscroll" editable="false" style="left:10px; top:45px; width:460px; height:250px; "/>
- <caption id="caption4" class="hand" style="left:10px; top:5px; width:290px; height:40px; ">현재 사용중인 PC 의 정보를 보여줍니다.</caption>
- </case>
- <case id="case5" style="left:0px; top:0px; width:477px; height:303px; ">
- <button id="btn_sign" class="btn3_letter11" style="left:55px; top:151px; width:164px; height:22px; background-image:../../../com/commonweb/images/btn3_letter10.gif; ">
- <caption>전자인증비밀번호변경</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (fPreCheckSignPassword() == false) {
- return;
- }
- if (fCommonCheckPassword(model.getValue("/root/main/signinfo/newpwd1")) == false) {
- return;
- }
- setParameter("titlemsg", "전자인증 비밀번호 변경을 위한 본인확인");
- setParameter("helpmsg", "전자인증 비밀번호를 변경하기 위해서는 본인확인을 먼저 거쳐야 합니다.");
- modal("SPZUM00400", "", "", "", "", "", "","width:279px;height:180px;align:center;");
- if (getParameter("pwdvalid") == "Y") {
- if(zesfInitSign()) {
- zesfChangeKeyPwd(model.getValue("/root/main/signinfo/oldpwd"),model.getValue("/root/main/signinfo/newpwd1"));
- }
- }
-
- // 비밀번호 변경 후 리셋
- model.setValue("/root/main/signinfo/oldpwd", "");
- model.setValue("/root/main/signinfo/newpwd1", "");
- model.setValue("/root/main/signinfo/newpwd2", "");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_signupdate" class="btn3_letter11" style="left:55px; top:196px; width:164px; height:22px; ">
- <caption>사용자전자인증서갱신</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("titlemsg", "전자인증서 갱신을 위한 본인확인");
- setParameter("helpmsg", "사용자 전자인증서를 갱신하기 위해서는 본인확인을 먼저 거쳐야 합니다.");
- modal("SPZUM00400", "", "", "", "", "", "","width:279px;height:180px;align:center;");
- if (getParameter("pwdvalid") == "Y") {
- if(zesfInitSign()) {
- zesfRenewKeyAndCert();
- }
- }
- ]]>
- </script>
- </button>
- <caption id="caption5" class="hand" style="left:45px; top:172px; width:365px; height:25px; ">기간이 만료된 전자인증서를 갱신합니다.</caption>
- <caption id="caption7" class="hand" style="left:45px; top:215px; width:392px; height:25px; ">전자서명이 정상적으로 이루어지는지 테스트할 수 있습니다.</caption>
- <button id="button2" class="btn4_letter10" style="left:278px; top:275px; width:152px; height:22px; ">
- <caption>전자서명 생성테스트</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- _SIGNTEST = "Y";
- var signedData = zesfSignData( model.getValue("/root/main/signinfo/signdata"), getUserId(), true);
- model.setValue( "/root/main/signinfo/signdata", signedData);
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption10" class="cell_1" style="left:60px; top:124px; width:91px; height:23px; ">새비밀번호확인</caption>
- <secret id="sct_signoldpwd" ref="/root/main/signinfo/oldpwd" class="secret_essential" maxlength="20" style="left:154px; top:69px; width:130px; height:19px; "/>
- <secret id="sct_signnewpwd1" ref="/root/main/signinfo/newpwd1" class="secret_essential" maxlength="20" style="left:154px; top:97px; width:130px; height:19px; "/>
- <secret id="sct_signnewpwd2" ref="/root/main/signinfo/newpwd2" class="secret_essential" maxlength="20" style="left:154px; top:125px; width:130px; height:19px; "/>
- <line id="line3" class="line_3" style="x1:60px; y1:118px; x2:284px; y2:118px; "/>
- <caption id="caption11" class="cell_1" style="left:60px; top:68px; width:91px; height:23px; ">이전비밀번호</caption>
- <line id="line4" class="line_3" style="x1:60px; y1:90px; x2:284px; y2:90px; "/>
- <caption id="caption12" class="cell_1" style="left:60px; top:96px; width:91px; height:23px; ">새비밀번호</caption>
- <line id="line5" class="line_3" style="x1:60px; y1:146px; x2:284px; y2:146px; "/>
- <textarea id="textarea1" ref="/root/main/signinfo/signdata" style="left:50px; top:240px; width:380px; height:34px; "/>
- <button id="button3" class="btn3_letter3" style="left:50px; top:275px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/signinfo/signdata", "");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption19" class="hand" style="left:45px; top:1px; width:360px; height:30px; ">
- <![CDATA[최소 10자리 이상 숫자, 영문, 특수문자 반드시 포함
- (대소문자구분됨)]]>
- </caption>
- <caption id="caption21" class="hand" style="left:45px; top:30px; width:353px; height:20px; ">사용자계정(ID)은 비밀번호에 포함될 수 없음</caption>
- <caption id="caption22" class="hand" style="left:45px; top:48px; width:353px; height:20px; ">문자/숫자 4자리 이상 반복될 수 없음</caption>
- <caption id="caption23" style="left:310px; top:55px; width:145px; height:20px; ">-문의처:의무기록팀</caption>
- </case>
- <case id="case6">
- <button id="button5" class="icon_top_direction" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:384px; top:5px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_deptsortlist.row > 1){
- fSetDeptSortSeq(grd_deptsortlist.row-1, "above");
- }else{
- messageBox("최상위 근무지가","E005");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[위로]]>
- </hint>
- </button>
- <line id="line7" class="line_1" style="x1:10px; y1:28px; x2:468px; y2:29px; text-align:left; "/>
- <button id="button6" class="icon_bottom" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:442px; top:5px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_deptsortlist.rows-grd_deptsortlist.fixedRows > grd_deptsortlist.row ){
- fSetDeptSortSeq(grd_deptsortlist.rows-grd_deptsortlist.fixedRows, "below");
- }else{
- messageBox("최하위 근무지가","E005");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[맨아래로]]>
- </hint>
- </button>
- <button id="button7" class="icon_top" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:355px; top:5px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_deptsortlist.row > 1){
- fSetDeptSortSeq("1", "above");
- }else{
- messageBox("최상위 근무지가","E005");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[맨위로]]>
- </hint>
- </button>
- <button id="button8" class="icon_bottom_direction" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:413px; top:5px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_deptsortlist.rows-grd_deptsortlist.fixedRows > grd_deptsortlist.row ){
- fSetDeptSortSeq(grd_deptsortlist.row+1, "below");
- }else{
- messageBox("최하위 근무지가","E005");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[아래로]]>
- </hint>
- </button>
- <caption id="caption13" class="tit_2" style="left:13px; top:5px; width:126px; height:14px; vertical-align:middle; ">근무지 순서변경</caption>
- <button id="button9" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:343px; top:278px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_deptsortlist, "update");
- if (updtdata == "") {
- messageBox("변경된 데이터가","I004");
- return;
- }
-
- if(messageBox("변경된 근무지 순서를", "Q002") == 6){
- for( i = grd_deptsortlist.fixedRows; i < grd_deptsortlist.rows ; i++ ) {
- grd_deptsortlist.rowStatus(i) = 2;
- if(grd_deptsortlist.valueMatrix(i,2) == ""){
- grd_deptsortlist.valueMatrix(i,2) = i;
- }
- }
-
- model.setValue("/root/send/deptsortlist", grd_deptsortlist.getUpdateData("update"));
- if(submit("TXZUM01702")){ // 근무지 순서 저장
- grd_deptsortlist.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
- }
- }
- ]]>
- </script>
- </button>
- <button id="button10" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:400px; top:278px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var nodeList = instance1.selectNodes("/root/main/deptsortlist/items[sortno>'0']");
- if(nodeList.length > 0){
- if(messageBox("근무지순서를", "Q010") == 6){
- model.setValue("/root/send/deptsortlist", getNodeListCSV(nodeList));
- submit("TXZUM01703");
- submit("TRZUM01702");
- }
- }else{
- messageBox("초기화할 데이터가","I004");
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_deptsortlist" nodeset="/root/main/deptsortlist/items" allowselection="false" allowuserresize="true" caption="근무지명^순서^temp^메뉴그룹ID^메뉴권한ID" colwidth="344, 81, 100, 100, 100, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" style="left:10px; top:35px; width:458px; height:241px; ">
- <col ref="dutdeptnm"/>
- <col ref="sortno"/>
- <col ref="userid" visibility="hidden"/>
- <col ref="dutplceinstcd" visibility="hidden"/>
- <col ref="dutplceinstnm" visibility="hidden"/>
- <col ref="dutplcecd" visibility="hidden"/>
- <col ref="dutplcenm" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(! isDataCell() ){
- messageBox("변경할 근무지를","C002");
- }
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="button4" class="btn_sw5" group="tab" style="left:153px; top:10px; width:76px; height:22px; ">
- <caption>근무지순서</caption>
- <toggle case="case6" ev:event="DOMActivate"/>
- </button>
- </group>
- <button id="btn_close" class="icon_close" style="left:431px; top:355px; width:42px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/send/menugruplist") != ""){
- //menugrupcd|menuauthcd|menugrupnm^defaultitemid^prestdeptcd$
- var menugrouplist = "";
- for( i = grd_menugruplist.fixedRows; i < grd_menugruplist.rows ; i++ ) {
- menugrouplist = menugrouplist
- + grd_menugruplist.valueMatrix(i,3) + "|"
- + grd_menugruplist.valueMatrix(i,4) + "|"
- + grd_menugruplist.valueMatrix(i,1) + "^"
- + grd_menugruplist.valueMatrix(i,5) + "^"
- + grd_menugruplist.valueMatrix(i,6);
- if (i != grd_menugruplist.rows - 1) menugrouplist = menugrouplist + "$";
- }
- window.htmlwindow.updateMenuGroup(menugrouplist);
- }
- window.close();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|