1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" 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">
- <xhtml:head>
- <xhtml:title>전기관사용자마스터관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <userlist/>
- </list>
- <search>
- <searchcondition/>
- <searchterm/>
- <posinstcd/>
- <posdeptcd/>
- <posdeptnm/>
- <dutinstcd/>
- <dutunitcd/>
- <dutunitnm/>
- <dutplceinstcd/>
- <dutplcecd/>
- <dutplcenm/>
- <psnworkyn/>
- <operation/>
- <retrived/>
- </search>
- <item>
- <label/>
- <process/>
- <userkindcd/>
- <userid/>
- <usernm/>
- <orginstcd/>
- <orgdeptnm/>
- <orgdeptcd/>
- <orgdeptnm/>
- <grupjoblncd/>
- <posinstnm/>
- <posinstcd/>
- <posdeptnm/>
- <posdeptcd/>
- <dutinstcd/>
- <dutinstnm/>
- <dutplceinstnm/>
- <dutplceinstcd/>
- <dutunitcd/>
- <dutunitnm/>
- <dutplcenm/>
- <dutplcecd/>
- <fromdd/>
- <todd/>
- <licnsno/>
- <specordyn/>
- <majorfild/>
- <jobkindcd/>
- <jobposcd/>
- <jobrespcd/>
- <prfshipflagcd/>
- <psnworkyn/>
- <apntflag/>
- <tempyn/>
- <lastupdtrid/>
- <lastupdtdt/>
- <rem/>
- <status/>
- <rrgstno/>
- <email/>
- <mpphonno/>
- <entcodd/>
- <pdano/>
- <pwd/>
- <anouserid/>
- <medispclno/>
- <minfromdd/>
- <maxtodd/>
- <grupjoblncd/>
- <userengnm/>
- <maindutplceflag/>
- <psnworkchk/>
- </item>
- </main>
- <init>
- <comcd>
- <userkindlist/>
- <jobkindlist/>
- <jobposlist/>
- <jobresplist>
- <R0063>
- <cdid>-</cdid>
- <cdnm>없음</cdnm>
- </R0063>
- </jobresplist>
- <grupjoblnlist/>
- <prfshiplist/>
- <apntlist/>
- <instlist>
- <Z0007>
- <cdid>-</cdid>
- <cdnm>전체</cdnm>
- </Z0007>
- </instlist>
- <tempyn>
- <lable>임시</lable>
- <value>Y</value>
- </tempyn>
- <tempyn>
- <lable>정규</lable>
- <value>N</value>
- </tempyn>
- <psnwork>
- <lable>전체</lable>
- <value>-</value>
- </psnwork>
- <psnwork>
- <lable>Y</lable>
- <value>Y</value>
- </psnwork>
- <psnwork>
- <lable>N</lable>
- <value>N</value>
- </psnwork>
- <specord>
- <lable>Y</lable>
- <value>Y</value>
- </specord>
- <specord>
- <lable>N</lable>
- <value>N</value>
- </specord>
- <searchconditionlist>
- <cdid>userid</cdid>
- <cdnm>사용자ID</cdnm>
- </searchconditionlist>
- <searchconditionlist>
- <cdid>usernm</cdid>
- <cdnm>사용자명</cdnm>
- </searchconditionlist>
- <searchconditionlist>
- <cdid>rrgstno</cdid>
- <cdnm>주민등록번호</cdnm>
- </searchconditionlist>
- </comcd>
- <resultref/>
- </init>
- <send>
- <searchcondition/>
- <searchterm/>
- <userkindcd/>
- <userid/>
- <usernm/>
- <orginstnm/>
- <orginstcd/>
- <orgdeptnm/>
- <orgdeptcd/>
- <posinstnm/>
- <posinstcd/>
- <posdeptnm/>
- <posdeptcd/>
- <dutinstnm/>
- <dutinstcd/>
- <dutplceinstnm/>
- <dutplceinstcd/>
- <dutunitcd/>
- <dutunitnm/>
- <dutplcenm/>
- <dutplcecd/>
- <fromdd/>
- <todd/>
- <licnsno/>
- <specordyn/>
- <majorfild/>
- <jobkindnm/>
- <jobkindcd/>
- <jobposnm/>
- <jobposcd/>
- <jobrespnm/>
- <jobrespcd/>
- <prfshipflagnm/>
- <prfshipflagcd/>
- <psnworkyn/>
- <apntflag/>
- <tempyn/>
- <lastupdtrid/>
- <lastupdtdt/>
- <rem/>
- <status/>
- <rrgstno/>
- <email/>
- <mpphonno/>
- <entcodd/>
- <pdano/>
- <pwd/>
- <anouserid/>
- <medispclno/>
- <item/>
- <grupjoblncd/>
- <userengnm/>
- <maindutplceflag/>
- </send>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ipt_pwd.disabled = "true";
- ]]>
- </script>
- <submission id="TRZBC00101" method="post" replace="instance"/>
- <submission id="TXZSU10102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TRZSU10107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- <submission id="TXZSU10106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TRZSU10110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- <submission id="TXZSU10107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- <submission id="TXZSU10109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/item/message"/>
- <submission id="TXZSU10110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/item/message"/>
- <submission id="TXZSU10108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/item/message"/>
- <submission id="TXZSU10111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/item/message"/>
- <submission id="TXZSU10112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/item/message"/>
- <submission id="TXZSU10113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU002.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">사용자마스터관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:36px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:100px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:80px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" style="x1:1105px; y1:8px; x2:1105px; y2:74px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption33" class="search_name" style="left:5px; top:7px; width:96px; height:17px; ">검색조건 :</caption>
- <input id="ipt_searchterm" ref="/root/main/search/searchterm" class="input_s_essential" navindex="2" imemode="hangul" style="left:194px; top:7px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="radio2" ref="/root/main/search/operation" class="s" navindex="13" appearance="full" cols="2" overflow="visible" style="left:888px; top:52px; width:210px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>사용자기본정보</label>
- <value>userb</value>
- </item>
- <item>
- <label>사용자부서정보</label>
- <value>userd</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/item/process", "");
- var operation = model.getValue("/root/main/search/operation");
- if(operation=="userb"){
- btn_dutplceref_create.disabled = "true";
- }else if(operation=="userd"){
- btn_dutplceref_create.disabled = "false";
- }
- model.removeNodeset("/root/main/list/userlist");
- model.refresh();
- fChangeSearchControl(operation);
- ]]>
- </script>
- </select1>
- <select1 id="cmb_psnworkyn_condition" ref="/root/main/search/psnworkyn" class="combo_default" navindex="12" appearance="minimal" style="left:777px; top:52px; width:87px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/psnwork">
- <label ref="lable"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_search" class="btn1_letter2" style="left:1123px; top:32px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var dutinstcd = getUserInfo("dutinstcd");
- var operation = model.getValue("/root/main/search/operation");
- var search_condition = model.getValue("/root/main/search/searchcondition");
- var search_term = model.getValue("/root/main/search/searchterm");
- if(search_term == ""){
- search_term = '%' + search_term;
- }
- var posinstcd = model.getValue("/root/main/search/posinstcd");
- var posdeptcd = model.getValue("/root/main/search/posdeptcd");
- var dutinstcd = model.getValue("/root/main/search/dutinstcd");
- var dutunitcd = model.getValue("/root/main/search/dutunitcd");
- var dutplceinstcd = model.getValue("/root/main/search/dutplceinstcd");
- var dutplcecd = model.getValue("/root/main/search/dutplcecd");
- var psnworkyn = model.getValue("/root/main/search/psnworkyn");
-
- model.resetInstanceNode("/root/send");
- model.setValue("/root/send/searchcondition", search_condition);
- model.setValue("/root/send/searchterm", search_term);
- model.setValue("/root/send/posinstcd", posinstcd);
- model.setValue("/root/send/posdeptcd", posdeptcd);
- model.setValue("/root/send/dutinstcd", dutinstcd);
- model.setValue("/root/send/dutunitcd", dutunitcd);
-
- var success = null;
-
- if(operation=="userb"){
- success = fValidateSearchUserInfo();
- if(!success){
- messageBox("사용자 기본정보 조회시 검색어를 한자이상 입력하거나,\n소속기관과 소속부서 또는 근무기관과 근무부서를 선택","I008");
- return;
- }
- success = submit("TRZSU10110");
- if(success){
- model.setValue("/root/main/search/retrived", "true");
- fInitializeProcessValue();
- fDisableProcessControl("true");
- }else{
- model.setValue("/root/main/search/retrived", "false");
- }
- }else if(operation=="userd"){
- success = fValidateSearchUserDeptInfo();
- if(!success){
- messageBox("사용자 부서정보 조회시 검색어를 한자이상 입력하거나,\n소속기관과 소속부서, 근무기관과 근무부서, 근무지기관과 근무지 중 하나를 선택.","I008");
- return;
- }
- model.setValue("/root/send/dutplceinstcd", dutplceinstcd);
- model.setValue("/root/send/dutplcecd", dutplcecd);
- model.setValue("/root/send/psnworkyn", psnworkyn);
-
- var success = submit("TRZSU10107");
- if(success){
- //==========================================================================
- //20100503 진상찬 (수정)
- //사용자기본정보만 있고, 사용자부서정보가 없면
- //사용자부서추가시 사용자기본정보를 조회하여 가상이력을 만들어 준다.
- //만들어진 가상이력을 선택하여 근무부서를 추가할수 있도록 수정
- var select_size = instance1.selectNodes("/root/main/list/userlist");
- if(select_size.length < 1)
- {
- success = submit("TRZSU10110");
- if(success){
- model.setValue("/root/main/search/retrived", "true");
- fInitializeProcessValue();
- fDisableProcessControl("true");
- }else{
- model.setValue("/root/main/search/retrived", "false");
- }
- }
- //==========================================================================
- model.setValue("/root/main/search/retrived", "true");
- fInitializeProcessValue();
- fDisableProcessControl("true");
- }else{
- model.setValue("/root/main/search/retrived", "false");
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption47" class="search_name" style="left:658px; top:52px; width:112px; height:17px; ">인사연동유형 :</caption>
- <select1 id="cmb_searchcondition" ref="/root/main/search/searchcondition" class="combo_default" navindex="1" appearance="minimal" style="left:105px; top:7px; width:87px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/searchconditionlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_posinstcd_condition" ref="/root/main/search/posinstcd" class="combo_default" navindex="3" appearance="minimal" style="left:434px; top:7px; width:191px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/instlist/Z0007">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/search/posdeptcd", "");
- model.setValue("/root/main/search/posdeptnm", "");
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:342px; top:7px; width:99px; height:17px; ">소속기관 :</caption>
- <caption id="caption2" class="search_name" style="left:658px; top:7px; width:99px; height:17px; ">소속부서 :</caption>
- <caption id="caption46" class="search_name" style="left:5px; top:29px; width:101px; height:17px; ">근무기관 :</caption>
- <caption id="caption48" class="search_name" style="left:342px; top:29px; width:99px; height:17px; ">근무부서 :</caption>
- <select1 id="cmb_dutinstcd_condition" ref="/root/main/search/dutinstcd" class="combo_default" navindex="6" appearance="minimal" style="left:105px; top:29px; width:220px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/instlist/Z0007">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/search/dutunitcd", "");
- model.setValue("/root/main/search/dutunitnm", "");
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_dutplceinstcd_condition" ref="/root/main/search/dutplceinstcd" class="combo_default" navindex="9" appearance="minimal" style="left:105px; top:52px; width:220px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/instlist/Z0007">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/search/dutplcecd", "");
- model.setValue("/root/main/search/dutplcenm", "");
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption49" class="search_name" style="left:5px; top:52px; width:99px; height:17px; ">근무지기관 :</caption>
- <caption id="caption50" class="search_name" style="left:342px; top:52px; width:99px; height:17px; ">근무지 :</caption>
- <input id="ipt_posdeptcd_condition" ref="/root/main/search/posdeptnm" class="input_s_essential" navindex="4" editable="false" style="left:750px; top:7px; width:185px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if("13" == event.keyCode){
- btn_search_posdeptcd.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <button id="btn_search_posdeptcd" class="icon_search" navindex="5" style="left:939px; top:7px; width:16px; height:16px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var posinstcd = model.getValue("/root/main/search/posinstcd");
- if(posinstcd!='-'){
- zbcfOpenAssignedInstDeptCodeList(posinstcd, "deptnm","", "/root/main/search/posdeptcd", "/root/main/search/posdeptnm", null, null, new Array("deptcd", "depthngnm"));
- }else{
- messageBox("소속기관을 먼저 선택", "I008");
- }
- ]]>
- </script>
- <caption/>
- </button>
- <input id="ipt_dutunitcd_condition" ref="/root/main/search/dutunitnm" class="input_s_essential" navindex="7" editable="false" style="left:435px; top:29px; width:190px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if("13" == event.keyCode){
- btn_search_dutunitcd.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <button id="btn_search_dutunitcd" class="icon_search" navindex="8" style="left:629px; top:29px; width:16px; height:16px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var dutinstcd = model.getValue("/root/main/search/dutinstcd");
- if(dutinstcd!='-'){
- zbcfOpenAssignedInstDeptCodeList(dutinstcd, "deptnm","", "/root/main/search/dutunitcd", "/root/main/search/dutunitnm", null, null, new Array("deptcd", "depthngnm"));
- }else{
- messageBox("근무기관을 먼저 선택", "I008");
- return;
- }
- ]]>
- </script>
- <caption/>
- </button>
- <button id="btn_search_dutplcecd" class="icon_search" navindex="11" style="left:629px; top:52px; width:16px; height:16px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var dutplceinstcd = model.getValue("/root/main/search/dutplceinstcd");
- if(dutplceinstcd!='-'){
- zbcfOpenAssignedInstDeptCodeList(dutplceinstcd, "deptnm","", "/root/main/search/dutplcecd", "/root/main/search/dutplcenm", null, null, new Array("deptcd", "depthngnm"));
- }else{
- messageBox("근무지기관을 먼저 선택", "I008");
- return;
- }
- ]]>
- </script>
- <caption/>
- </button>
- <input id="ipt_dutplcecd_condition" ref="/root/main/search/dutplcenm" class="input_s_essential" navindex="10" editable="false" style="left:435px; top:52px; width:190px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if("13" == event.keyCode){
- btn_search_dutplcecd.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- </group>
- <line id="line12" class="line_1" style="x1:0px; y1:563px; x2:1194px; y2:563px; "/>
- <caption id="cap_item_title" ref="/root/main/item/label" class="tit_2" style="left:0px; top:545px; width:510px; height:13px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:113px; x2:1194px; y2:113px; "/>
- <caption id="caption11" class="cell_1" style="left:0px; top:664px; width:105px; height:23px; vertical-align:middle; ">선택진료여부</caption>
- <caption id="caption12" class="cell_1" style="left:477px; top:616px; width:100px; height:23px; vertical-align:middle; ">근무기관(*)</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:568px; width:105px; height:23px; vertical-align:middle; ">사용자ID</caption>
- <caption id="caption8" class="cell_1" style="left:0px; top:712px; width:105px; height:23px; vertical-align:middle; ">사용자명(*)</caption>
- <caption id="caption9" class="cell_1" style="left:240px; top:592px; width:100px; height:23px; vertical-align:middle; ">적용시작일자</caption>
- <caption id="caption3" class="cell_1" style="left:240px; top:616px; width:100px; height:23px; vertical-align:middle; ">적용종료일자</caption>
- <line id="line9" class="line_3" style="x1:0px; y1:530px; x2:1194px; y2:530px; "/>
- <line id="line2" class="line_3" style="x1:0px; y1:567px; x2:1194px; y2:567px; "/>
- <caption id="caption13" class="cell_1" style="left:0px; top:616px; width:105px; height:23px; vertical-align:middle; ">의사면허번호</caption>
- <caption id="caption16" class="cell_1" style="left:715px; top:592px; width:100px; height:23px; vertical-align:middle; ">직위</caption>
- <caption id="caption20" class="cell_1" style="left:715px; top:568px; width:100px; height:23px; vertical-align:middle; ">직종</caption>
- <input id="ipt_userid" ref="/root/main/item/userid" class="input_essential" navindex="18" editable="true" appearance="output" style="left:106px; top:569px; width:114px; height:19px; "/>
- <input id="ipt_usernm" ref="/root/main/item/usernm" class="input_essential" navindex="25" appearance="output" style="left:106px; top:713px; width:132px; height:19px; "/>
- <input id="ipt_fromdd" ref="/root/main/item/fromdd" class="input_essential" navindex="27" inputtype="date" style="left:343px; top:593px; width:132px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- ipt_fromdd.attribute("_value") = ipt_fromdd.value;
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var fromdd = model.getValue("/root/main/item/fromdd");
- var todd = model.getValue("/root/main/item/todd");
- if(todd==""){
- return;
- }
- if(fromdd>todd){
- model.setValue("/root/main/item/fromdd", ipt_fromdd.attribute("_value"));
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_specord" ref="/root/main/item/specordyn" class="combo_default" navindex="23" appearance="minimal" style="left:106px; top:665px; width:132px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/specord">
- <label ref="lable"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_todd" ref="/root/main/item/todd" class="input_essential" navindex="28" inputtype="date" style="left:343px; top:617px; width:132px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- ipt_todd.attribute("_value") = ipt_todd.value;
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var fromdd = model.getValue("/root/main/item/fromdd");
- var todd = model.getValue("/root/main/item/todd");
-
- if(todd==""){
- messageBox("적용시작일자는","I003");
- model.setFocus("ipt_fromdd");
- return;
- }else if(fromdd>todd){
- model.setValue("/root/main/item/todd", ipt_todd.attribute("_value"));
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="caption17" class="tit_2" style="left:0px; top:95px; width:160px; height:14px; ">전기관사용자정보</caption>
- <button id="btn_search_userid" class="icon_search" navindex="19" style="left:223px; top:569px; width:16px; height:16px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var search_condition = "userid";
- var dutinstcd = getUserInfo("dutinstcd");
- var search_term = model.getValue("/root/main/item/userid");
- var userfromdd = model.getValue("/root/main/item/userfromdd");
- var usertodd = model.getValue("/root/main/item/usertodd");
- var resultref = "/root/init/resultref";
- zsufOpenUserInfoList(search_condition, search_term, userfromdd, usertodd, resultref);
- var resultref_value = model.getValue(resultref);
- if(resultref_value!=null&&resultref_value!=""){
- var result_array = resultref_value.split("|");
- var fromdd = result_array[0];
- var todd = result_array[1];
- var userid = result_array[2];
- var usernm = result_array[3];
- var orginstnm = result_array[4];
- var orginstcd = result_array[5];
- var orgdeptnm = result_array[6];
- var orgdeptcd = result_array[7];
- var posinstnm = result_array[8];
- var posinstcd = result_array[9];
- var posdeptnm = result_array[10];
- var posdeptcd = result_array[11];
- var dutinstnm = result_array[12];
- var dutinstcd = result_array[13];
- var dutunitnm = result_array[14];
- var dutunitcd = result_array[15];
- var rrgstno = result_array[16];
- var email = result_array[17];
- var mpphonno = result_array[18];
- var entcodd = result_array[19];
- var pdano = result_array[20];
- var anouserid = result_array[21];
-
- model.setValue("/root/main/item/fromdd", fromdd);
- model.makeValue("/root/main/item/minfromdd", fromdd);
- model.setValue("/root/main/item/todd", todd);
- model.makeValue("/root/main/item/maxtodd", todd);
- model.setValue("/root/main/item/userid", userid);
- model.setValue("/root/main/item/usernm", usernm);
- model.setValue("/root/main/item/orginstcd", orginstcd);
- model.setValue("/root/main/item/orgdeptnm", orgdeptnm);
- model.setValue("/root/main/item/orgdeptcd", orgdeptcd);
- model.setValue("/root/main/item/posinstcd", posinstcd);
- model.setValue("/root/main/item/posdeptnm", posdeptnm);
- model.setValue("/root/main/item/posdeptcd", posdeptcd);
- model.setValue("/root/main/item/dutinstcd", dutinstcd);
- model.setValue("/root/main/item/dutunitnm", dutunitnm);
- model.setValue("/root/main/item/dutunitcd", dutunitcd);
- model.setValue("/root/main/item/rrgstno", rrgstno);
- model.setValue("/root/main/item/email", email);
- model.setValue("/root/main/item/mpphonno", mpphonno);
- model.setValue("/root/main/item/pdano", pdano);
- model.setValue("/root/main/item/entcodd", entcodd);
- model.setValue("/root/main/item/anouserid", anouserid);
- model.refresh();
- }else{
- messageBox("데이터를 저장", "E001");
- }
- ]]>
- </script>
- <caption/>
- </button>
- <caption id="caption21" class="cell_1" style="left:477px; top:640px; width:100px; height:23px; vertical-align:middle; ">근무부서(*)</caption>
- <caption id="caption22" class="cell_1" style="left:0px; top:688px; width:105px; height:23px; vertical-align:middle; ">전공분야</caption>
- <caption id="caption23" class="cell_1" style="left:715px; top:640px; width:100px; height:23px; vertical-align:middle; ">교직구분</caption>
- <output id="opt_dutunitnm" ref="/root/main/item/dutunitnm" class="input_essential" appearance="output" style="left:580px; top:641px; width:117px; height:19px; border-style:solid; "/>
- <caption id="caption26" class="cell_1" style="left:715px; top:664px; width:100px; height:23px; vertical-align:middle; ">임시여부</caption>
- <caption id="caption27" class="cell_1" style="left:240px; top:640px; width:100px; height:23px; vertical-align:middle; ">인사연동</caption>
- <caption id="caption28" class="cell_1" style="left:950px; top:616px; width:100px; height:23px; vertical-align:middle; ">최종수정일시</caption>
- <caption id="caption29" class="cell_1" style="left:477px; top:712px; width:100px; height:23px; vertical-align:middle; ">발령구분</caption>
- <select1 id="cmb_psnwork" ref="/root/main/item/psnworkyn" class="combo_default" navindex="29" appearance="minimal" style="left:343px; top:641px; width:132px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/psnwork[lable!='전체']">
- <label ref="lable"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption30" class="cell_1" style="left:950px; top:592px; width:100px; height:23px; vertical-align:middle; ">최종수정자ID</caption>
- <output id="opt_lastupdtrid" ref="/root/main/item/lastupdtrid" class="output_fix" appearance="output" style="left:1052px; top:593px; width:132px; height:19px; "/>
- <caption id="caption31" class="cell_1" style="left:715px; top:616px; width:100px; height:23px; vertical-align:middle; ">직책</caption>
- <select1 id="cmb_apntflag" ref="/root/main/item/apntflag" class="combo_default" navindex="42" appearance="minimal" style="left:580px; top:713px; width:132px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/apntlist/R0090">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_jobkind" ref="/root/main/item/jobkindcd" class="combo_default" navindex="43" appearance="minimal" style="left:816px; top:569px; width:132px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/jobkindlist/R0061">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_jobpos" ref="/root/main/item/jobposcd" class="combo_default" navindex="44" appearance="minimal" style="left:816px; top:593px; width:132px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/jobposlist/R0062">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_jobresp" ref="/root/main/item/jobrespcd" class="combo_default" navindex="45" appearance="minimal" style="left:816px; top:617px; width:132px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/jobresplist/R0063">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_prfshipflag" ref="/root/main/item/prfshipflagcd" class="combo_default" navindex="46" appearance="minimal" style="left:816px; top:641px; width:132px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/prfshiplist/R0058">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_majorfild" ref="/root/main/item/majorfild" class="input_default" navindex="24" style="left:106px; top:689px; width:132px; height:19px; "/>
- <select1 id="cmb_tempyn" ref="/root/main/item/tempyn" class="combo_default" navindex="47" appearance="minimal" style="left:816px; top:665px; width:132px; height:19px; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <button id="btn_dutunit_search" class="icon_search" navindex="38" style="left:697px; top:641px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var dutinstcd = model.getValue("/root/main/item/dutinstcd");
- if(dutinstcd!=''){
- zbcfOpenAssignedInstDeptCodeList(dutinstcd, "deptnm","", "/root/main/item/dutunitcd", "/root/main/item/dutunitnm", null, null, new Array("deptcd", "depthngnm"));
- }else{
- messageBox("근무기관을 선택", "I008");
- return;
- }
- ]]>
- </script>
- </button>
- <output id="opt_lastupdtdt" ref="/root/main/item/lastupdtdt" class="output_fix" format="yyyy-mm-dd hh:nn:ss" appearance="output" style="left:1052px; top:617px; width:132px; height:19px; "/>
- <input id="ipt_licnsno" ref="/root/main/item/licnsno" class="input_default" navindex="21" style="left:106px; top:617px; width:132px; height:19px; "/>
- <caption id="caption4" class="cell_1" style="left:477px; top:592px; width:100px; height:23px; vertical-align:middle; ">소속부서(*)</caption>
- <caption id="caption34" class="cell_1" style="left:477px; top:568px; width:100px; height:23px; vertical-align:middle; ">소속기관(*)</caption>
- <output id="opt_posdeptnm" ref="/root/main/item/posdeptnm" class="input_essential" navindex="35" appearance="output" style="left:580px; top:593px; width:117px; height:19px; border-style:solid; "/>
- <button id="btn_posdept_search" class="icon_search" navindex="36" style="left:697px; top:593px; width:16px; height:16px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var posinstcd = model.getValue("/root/main/item/posinstcd");
- if(posinstcd!=''){
- zbcfOpenAssignedInstDeptCodeList(posinstcd, "deptnm","", "/root/main/item/posdeptcd", "/root/main/item/posdeptnm", null, null, new Array("deptcd", "depthngnm"));
- var posdeptcd = model.getValue("/root/main/item/posdeptcd");
- var posdeptnm = model.getValue("/root/main/item/posdeptnm");
- model.setValue("/root/main/item/dutunitcd", posdeptcd);
- model.setValue("/root/main/item/dutunitnm", posdeptnm);
- model.refresh();
- }else{
- messageBox("소속기관을 선택", "I008");
- }
- ]]>
- </script>
- <caption/>
- </button>
- <input id="ipt_rrgstno" ref="/root/main/item/rrgstno" class="input_essential" navindex="20" format="999999-9999999" style="left:106px; top:593px; width:132px; height:19px; "/>
- <caption id="caption36" class="cell_1" style="left:0px; top:592px; width:105px; height:23px; vertical-align:middle; ">주민번호(*)</caption>
- <caption id="caption37" class="cell_1" style="left:240px; top:568px; width:100px; height:23px; vertical-align:middle; ">입사일자(*)</caption>
- <input id="ipt_entcodd" ref="/root/main/item/entcodd" class="input_default" navindex="26" inputtype="date" style="left:343px; top:569px; width:132px; height:19px; "/>
- <input id="ipt_mpphonno" ref="/root/main/item/mpphonno" class="input" navindex="49" style="left:816px; top:713px; width:132px; height:19px; "/>
- <input id="ipt_email" ref="/root/main/item/email" class="input" navindex="48" style="left:816px; top:689px; width:132px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- var sEmail = ipt_email.value;
- if (sEmail != ""){
- var iResult = sEmail.indexOf("@");
- if(iResult <= 0){
- messageBox("E-Mail 형식과 ", "E004");
- }
- }
- ]]>
- </script>
- </input>
- <caption id="caption38" class="cell_1" style="left:715px; top:712px; width:100px; height:23px; vertical-align:middle; ">휴대폰번호(*)</caption>
- <caption id="caption39" class="cell_1" style="left:715px; top:688px; width:100px; height:23px; vertical-align:middle; ">E-Mail(*)</caption>
- <input id="ipt_pdano" ref="/root/main/item/pdano" class="input" navindex="50" style="left:1052px; top:569px; width:132px; height:19px; "/>
- <caption id="caption41" class="cell_1" style="left:950px; top:568px; width:100px; height:23px; vertical-align:middle; ">PDA번호(*)</caption>
- <button id="btn_rgst_userinfo" class="btn2_letter6" navindex="57" style="left:811px; top:540px; width:86px; height:19px; ">
- <caption>신규이력추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var retrived = model.getValue("/root/main/search/retrived");
- if(retrived!="true"){
- messageBox("조회를","I008");
- return;
- }
-
- fInitializeProcessValue();
-
- var operation = model.getValue("/root/main/search/operation");
- model.setValue("/root/main/item/process", "create");
- if(operation=="userb"){
-
- model.setValue("/root/main/item/label", "사용자기본정보추가(신규)");
- fDisableProcessControl("false");
- ipt_userid.attribute("editable") = "true";
- btn_search_userid.disabled = "true";
- ipt_licnsno.disabled = "true";
- ipt_medispclno.disabled = "true";
- cmb_specord.disabled = "true";
- ipt_majorfild.disabled = "true";
- cmb_psnwork.disabled = "true";
- cmb_dutplceinstcd.disabled = "true";
- opt_dutplcenm.disabled = "true";
- btn_dutplce_search.disabled = "true";
- cmb_apntflag.disabled = "true";
- cmb_jobkind.disabled = "true";
- cmb_jobpos.disabled = "true";
- cmb_jobresp.disabled = "true";
- cmb_prfshipflag.disabled = "true";
- cmb_tempyn.disabled = "true";
- ipt_pwd.disabled = "true";
-
- }else if(operation=="userd"){
-
- model.setValue("/root/main/item/label", "사용자부서정보추가(신규)");
- fDisableProcessControl("true");
- btn_search_userid.disabled = "false";
- ipt_userid.attribute("editable") = "false";
- ipt_userid.disabled = "false";
- ipt_licnsno.disabled = "false";
- ipt_medispclno.disabled = "false";
- //cmb_specord.disabled = "false";
- ipt_majorfild.disabled = "false";
- cmb_psnwork.disabled = "false";
- cmb_dutplceinstcd.disabled = "false";
- opt_dutplcenm.disabled = "false";
- btn_dutplce_search.disabled = "false";
- cmb_apntflag.disabled = "false";
- cmb_jobkind.disabled = "false";
- cmb_jobpos.disabled = "false";
- cmb_jobresp.disabled = "false";
- cmb_prfshipflag.disabled = "false";
- cmb_tempyn.disabled = "false";
- ipt_fromdd.disabled = "false";
- ipt_todd.disabled = "false";
- }else{
- alert("unknown operation : "+operation);
- return;
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption10" class="cell_1" style="left:240px; top:664px; width:100px; height:23px; vertical-align:middle; ">타사용자ID(*)</caption>
- <input id="ipt_anouserid" ref="/root/main/item/anouserid" class="input_default" navindex="30" style="left:343px; top:665px; width:132px; height:19px; "/>
- <input id="ipt_medispclno" ref="/root/main/item/medispclno" class="input_default" navindex="22" style="left:106px; top:641px; width:132px; height:19px; "/>
- <caption id="caption14" class="cell_1" style="left:0px; top:640px; width:105px; height:23px; vertical-align:middle; ">전문의면허</caption>
- <caption id="caption15" class="cell_1" style="left:240px; top:688px; width:100px; height:23px; vertical-align:middle; ">원소속기관(*)</caption>
- <caption id="caption18" class="cell_1" style="left:240px; top:712px; width:100px; height:23px; vertical-align:middle; ">원소속부서(*)</caption>
- <button id="btn_orgdept_search" class="icon_search" navindex="33" style="left:460px; top:714px; width:16px; height:16px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var orginstcd = model.getValue("/root/main/item/orginstcd");
- if(orginstcd!=''){
- zbcfOpenAssignedInstDeptCodeList(orginstcd, "deptnm","", "/root/main/item/orgdeptcd", "/root/main/item/orgdeptnm", null, null, new Array("deptcd", "depthngnm"));
- }else{
- messageBox("소속기관을 선택", "I008");
- }
- ]]>
- </script>
- <caption/>
- </button>
- <output id="opt_orgdeptnm" ref="/root/main/item/orgdeptnm" class="input_essential" navindex="32" appearance="output" style="left:343px; top:713px; width:117px; height:19px; border-style:solid; "/>
- <line id="line4" class="line_3" style="x1:0px; y1:743px; x2:1195px; y2:743px; "/>
- <caption id="caption42" class="cell_1" style="left:477px; top:664px; width:100px; height:23px; vertical-align:middle; ">근무지기관</caption>
- <caption id="caption43" class="cell_1" style="left:477px; top:688px; width:100px; height:23px; vertical-align:middle; ">근무지부서</caption>
- <output id="opt_dutplcenm" ref="/root/main/item/dutplcenm" class="input_essential" navindex="40" appearance="output" style="left:580px; top:689px; width:117px; height:19px; border-style:solid; "/>
- <button id="btn_dutplce_search" class="icon_search" navindex="41" style="left:697px; top:689px; width:16px; height:16px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var dutplceinstcd = model.getValue("/root/main/item/dutplceinstcd");
- if(dutplceinstcd!=''){
- zbcfOpenAssignedInstDeptCodeList(dutplceinstcd, "deptnm","", "/root/main/item/dutplcecd", "/root/main/item/dutplcenm", null, null, new Array("deptcd", "depthngnm"));
- }else{
- messageBox("근무기관을 선택", "I008");
- return;
- }
- ]]>
- </script>
- <caption/>
- </button>
- <caption id="caption45" class="cell_1" style="left:950px; top:640px; width:100px; height:23px; vertical-align:middle; ">비밀번호(*)</caption>
- <input id="ipt_pwd" ref="/root/main/item/pwd" class="input" navindex="51" style="left:1052px; top:641px; width:132px; height:19px; "/>
- <button id="button1" class="btn2_letter4" navindex="59" style="left:961px; top:540px; width:64px; height:19px; ">
- <caption>이력수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var data_row = grd_userdeptinfo.row - grd_userdeptinfo.fixedRows;
- if(data_row<0){
- return;
- }
-
- var psnWorkYn = model.getValue("/root/main/list/userlist["+(data_row+1)+"]/psnworkyn");
-
- if ( psnWorkYn == "Y" ) {
- alert("인사연동여부가 Y입니다. 인사연동여부가 Y인 경우는 수정 할 수 없습니다.");
- return ;
- }
-
- var retrived = model.getValue("/root/main/search/retrived");
- if(retrived!="true"){
- messageBox("조회를","I008");
- return;
- }
-
- var process = model.getValue("/root/main/item/process");
- if(process!="retrive"){
- var operation = model.getValue("/root/main/search/operation");
- if(operation=="userb"){
- messageBox("사용자기본정보를 목록에서 선택","I008");
- }else if(operation=="userd"){
- messageBox("사용자부서정보를 목록에서 선택","I008");
- }
- return;
- }
-
- var operation = model.getValue("/root/main/search/operation");
- if(operation=="userb"){
- var row = grd_userdeptinfo.row;
- model.setValue("/root/main/item/pwd", "");
- model.setValue("/root/main/item/process", "update");
- model.setValue("/root/main/item/label", "사용자기본정보수정(이력수정)");
- model.refresh();
- fDisableProcessControl("false");
- ipt_userid.disabled = "true";
- btn_search_userid.disabled = "true";
- ipt_fromdd.disabled = "true";
- ipt_userid.disabled = "true";
- btn_search_userid.disabled = "true";
- ipt_fromdd.disabled = "true";
- ipt_licnsno.disabled = "true";
- ipt_medispclno.disabled = "true";
- cmb_specord.disabled = "true";
- ipt_majorfild.disabled = "true";
- cmb_psnwork.disabled = "true";
- cmb_dutplceinstcd.disabled = "true";
- opt_dutplcenm.disabled = "true";
- cmb_apntflag.disabled = "true";
- cmb_jobkind.disabled = "true";
- cmb_jobpos.disabled = "true";
- cmb_jobresp.disabled = "true";
- cmb_prfshipflag.disabled = "true";
- cmb_tempyn.disabled = "true";
- //ipt_rrgstno.disabled = "true";
- ipt_pwd.disabled = "true";
- }else if(operation=="userd"){
- model.setValue("/root/main/item/process", "update");
- model.makeValue("/root/main/item/label","사용자부서정보수정(이력수정)");
- model.refresh();
- fDisableProcessControl("true");
- ipt_licnsno.disabled = "false";
- ipt_medispclno.disabled = "false";
- //cmb_specord.disabled = "false";
- ipt_majorfild.disabled = "false";
- cmb_apntflag.disabled = "false";
- cmb_jobkind.disabled = "false";
- cmb_jobpos.disabled = "false";
- cmb_jobresp.disabled = "false";
- cmb_prfshipflag.disabled = "false";
- cmb_tempyn.disabled = "false";
- ipt_todd.disabled = "false";
- }
-
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter4" navindex="60" style="left:1025px; top:540px; width:64px; height:19px; ">
- <caption>이력삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var data_row = grd_userdeptinfo.row - grd_userdeptinfo.fixedRows;
- if(data_row<0){
- return;
- }
-
- var psnWorkYn = model.getValue("/root/main/list/userlist["+(data_row+1)+"]/psnworkyn");
- if ( psnWorkYn == "Y" ) {
- alert("인사연동여부가 Y입니다. 인사연동여부가 Y인 경우는 삭제 할 수 없습니다.");
- return ;
- }
- //2011.12.12 경대요청사항->사용자 마스터관리 화면에서 인사연동 psnorkyn 이 N인 데이터 중 Y랑 쌍으로 묶인 데이터 삭제 불가능하게 블로킹 추가
- var psnWorkChk = model.getValue("/root/main/list/userlist["+(data_row+1)+"]/psnworkchk");
- if ( psnWorkYn == "N" ) {
- if(psnWorkChk=="Y"){
- messageBox("인사연동여부 Y 와 연관된 N 정보는 삭제","E001");
- return ;
- }
- }
- var retrived = model.getValue("/root/main/search/retrived");
- if(retrived!="true"){
- messageBox("조회를","I008");
- return;
- }
-
- var process = model.getValue("/root/main/item/process");
- if(process!="retrive"){
- var operation = model.getValue("/root/main/search/operation");
- if(operation=="userb"){
- messageBox("사용자기본정보를 목록에서 선택","I008");
- }else if(operation=="userd"){
- messageBox("사용자부서정보를 목록에서 선택","I008");
- }
- return;
- }
-
- var operation = model.getValue("/root/main/search/operation");
- if(operation=="userb"){
- var row = grd_userdeptinfo.row;
- model.setValue("/root/main/item/process", "delete");
- model.setValue("/root/main/item/label", "사용자기본정보삭제(이력삭제)");
- model.refresh();
- fDisableProcessControl("true");
- }else if(operation=="userd"){
- var row = grd_userdeptinfo.row;
- model.setValue("/root/main/item/process", "delete");
- model.setValue("/root/main/item/label", "사용자부서정보삭제(이력삭제)");
- model.refresh();
- fDisableProcessControl("true");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter4" navindex="58" style="left:897px; top:540px; width:64px; height:19px; ">
- <caption>이력추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var retrived = model.getValue("/root/main/search/retrived");
- if(retrived!="true"){
- messageBox("조회를","I008");
- return;
- }
-
- var process = model.getValue("/root/main/item/process");
- if(process!="retrive"){
- var operation = model.getValue("/root/main/search/operation");
- if(operation=="userb"){
- messageBox("사용자기본정보를 목록에서 선택","I008");
- }else if(operation=="userd"){
- messageBox("사용자부서정보를 목록에서 선택","I008");
- }
- return;
- }
-
- var operation = model.getValue("/root/main/search/operation");
-
- var iRow = grd_userdeptinfo.row;
- if(iRow>0){
-
- var userid = grd_userdeptinfo.valueMatrix(iRow, grd_userdeptinfo.colRef("userid"));
- var fromdd = grd_userdeptinfo.valueMatrix(iRow, grd_userdeptinfo.colRef("fromdd"));
-
- var todd = grd_userdeptinfo.valueMatrix(iRow, grd_userdeptinfo.colRef("todd"));
- if(todd=="99991231"){
- messageBox("기존이력의 종료일자가 9999년 12월 31일 입니다. \n최종이력을 기준으로 새로운 이력을 추가할수", "I004");
- return;
- }
-
-
- copyNodeType("/root/main/item", "/root/main/list/userlist["+(grd_userdeptinfo.row-grd_userdeptinfo.fixedRows+1)+"]");
- var next_fromdd = todd.toDate("YYYYMMDD").getAddDate(1, "D").getDateFormat("YYYYMMDD");
-
- model.setValue("/root/main/item/fromdd",next_fromdd);
- model.setValue("/root/main/item/todd", "99991231");
- if(operation=="userb"){
- model.makeValue("/root/main/item/label","사용자기본정보추가(이력추가)");
- model.setValue("/root/main/item/pwd", "");
- fDisableProcessControl("false");
- ipt_userid.disabled = "true";
- ipt_licnsno.disabled = "true";
- ipt_medispclno.disabled = "true";
- cmb_specord.disabled = "true";
- ipt_majorfild.disabled = "true";
- cmb_psnwork.disabled = "true";
- cmb_dutplceinstcd.disabled = "true";
- opt_dutplcenm.disabled = "true";
- btn_dutplce_search.disabled = "true";
- cmb_apntflag.disabled = "true";
- cmb_jobkind.disabled = "true";
- cmb_jobpos.disabled = "true";
- cmb_jobresp.disabled = "true";
- cmb_prfshipflag.disabled = "true";
- cmb_tempyn.disabled = "true";
- //ipt_rrgstno.disabled = "true";
- ipt_pwd.disabled = "true";
- }else if(operation=="userd"){
- model.makeValue("/root/main/item/label","사용자부서정보추가(이력추가)");
- fDisableProcessControl("true");
- ipt_licnsno.disabled = "false";
- ipt_medispclno.disabled = "false";
- //cmb_specord.disabled = "false";
- ipt_majorfild.disabled = "false";
- cmb_psnwork.disabled = "false";
- cmb_dutplceinstcd.disabled = "false";
- opt_dutplcenm.disabled = "false";
- btn_dutplce_search.disabled = "false";
- cmb_apntflag.disabled = "false";
- cmb_jobkind.disabled = "false";
- cmb_jobpos.disabled = "false";
- cmb_jobresp.disabled = "false";
- cmb_prfshipflag.disabled = "false";
- cmb_tempyn.disabled = "false";
- ipt_fromdd.disabled = "false";
- ipt_todd.disabled = "false";
- }
- model.setValue("/root/main/item/process", "create");
- model.refresh();
- }else{
- messageBox("이력추가의 경우에는 기존이력을 선택한후 기능을 수행", "I008");
- return;
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_orginstcd" ref="/root/main/item/orginstcd" class="combo_default" navindex="31" appearance="minimal" style="left:343px; top:689px; width:132px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/instlist/Z0007[cdnm!='전체']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/item/orgdeptcd", "");
- model.setValue("/root/main/item/orgdeptnm", "");
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_posinstcd" ref="/root/main/item/posinstcd" class="combo_default" navindex="34" appearance="minimal" style="left:580px; top:569px; width:132px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/instlist/Z0007[cdnm!='전체']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var posinstcd = model.getValue("/root/main/item/posinstcd");
- model.setValue("/root/main/item/posdeptcd", "");
- model.setValue("/root/main/item/posdeptnm", "");
- model.setValue("/root/main/item/dutunitcd", "");
- model.setValue("/root/main/item/dutunitnm", "");
- model.setValue("/root/main/item/dutinstcd", posinstcd);
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_dutinstcd" ref="/root/main/item/dutinstcd" class="combo_default" navindex="37" appearance="minimal" style="left:580px; top:617px; width:132px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/instlist/Z0007[cdnm!='전체']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/item/dutunitcd", "");
- model.setValue("/root/main/item/dutunitnm", "");
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_dutplceinstcd" ref="/root/main/item/dutplceinstcd" class="combo_default" navindex="39" appearance="minimal" style="left:580px; top:664px; width:132px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/instlist/Z0007[cdnm!='전체']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/item/dutplcecd", "");
- model.setValue("/root/main/item/dutplcenm", "");
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_userkindcd" ref="/root/main/item/userkindcd" class="combo_default" navindex="52" appearance="minimal" style="left:1051px; top:665px; width:132px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/userkindlist/Z0016">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption51" class="cell_1" style="left:950px; top:664px; width:100px; height:23px; vertical-align:middle; ">사용자유형</caption>
- <button id="btn_dutplceref_create" class="btn2_letter7" navindex="58" style="left:1089px; top:540px; width:97px; height:19px; ">
- <caption>사용자부서추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var retrived = model.getValue("/root/main/search/retrived");
- if(retrived!="true"){
- messageBox("조회를","I008");
- return;
- }
-
- var process = model.getValue("/root/main/item/process");
- if(process!="retrive"){
- var operation = model.getValue("/root/main/search/operation");
- messageBox("사용자부서정보를 목록에서 선택","I008");
- return;
- }
-
- var operation = model.getValue("/root/main/search/operation");
-
- var data_row = grd_userdeptinfo.row - grd_userdeptinfo.fixedRows;
-
- //alert("(data_row+1) : "+(data_row+1)+", grd_userdeptinfo.row : "+grd_userdeptinfo.row+", grd_userdeptinfo.fixedRow : "+grd_userdeptinfo.fixedRows);
-
- if(data_row>=0){
- copyNodeType("/root/main/item", "/root/main/list/userlist["+(data_row+1)+"]");
- model.setValue("/root/main/item/dutplceinstcd", "");
- model.setValue("/root/main/item/dutplceinstnm", "");
- model.setValue("/root/main/item/dutplcecd", "");
- model.setValue("/root/main/item/dutplcenm", "");
- model.setValue("/root/main/item/specordyn", "N");
- model.makeValue("/root/main/item/label","사용자부서정보추가(이력추가)");
- fDisableProcessControl("true");
- ipt_licnsno.disabled = "false";
- ipt_medispclno.disabled = "false";
- //cmb_specord.disabled = "false";
- ipt_majorfild.disabled = "false";
- cmb_psnwork.disabled = "false";
- cmb_dutplceinstcd.disabled = "false";
- opt_dutplcenm.disabled = "false";
- btn_dutplce_search.disabled = "false";
- cmb_apntflag.disabled = "false";
- cmb_jobkind.disabled = "false";
- cmb_jobpos.disabled = "false";
- cmb_jobresp.disabled = "false";
- cmb_prfshipflag.disabled = "false";
- cmb_tempyn.disabled = "false";
- ipt_fromdd.disabled = "false";
- ipt_todd.disabled = "false";
- model.setValue("/root/main/item/process", "create");
- model.refresh();
- }else{
- messageBox("사용자부서정보를 목록에서 선택","I008");
- return;
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <multilinegrid id="grd_userdeptinfo" nodeset="/root/main/list/userlist" caption="처리형태^적용시작일자^적용종료일자^사용자유형명^사용자유형코드^사용자ID^사용자명^사용자영문명^원소속기관명^원소속기관코드^원소속부서명^원소속부서코드^psnworkchk|소속기관명^소속기관코드^소속부서명^소속부서코드^근무기관명^근무기관코드^근무부서명^근무부서코드^주민등록번호^이메일^핸드폰번호^입사일자^psnworkchk|PDA번호^타사용자ID^근무지기관명^근무지기관코드^근무지명^근무지코드^직종명^직종코드^직위명^직위코드^직책명^직책코드^psnworkchk|교직구분명^교직구분코드^인사연동여부^발령구분명^발령구분코드^의사면허번호^전문의번호^선택진료여부^전공분야^직군명^직군코드^주근무지여부^psnworkchk" colsep="^" colwidth="91, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" rowsep="|" mergecellsfixedrows="bycolrec" style="left:0px; top:117px; width:1195px; height:411px; ">
- <row>
- <col ref="process"/>
- <col ref="fromdd"/>
- <col ref="todd"/>
- <col ref="userkindnm"/>
- <col ref="userkindcd"/>
- <col ref="userid"/>
- <col ref="usernm"/>
- <col ref="userengnm"/>
- <col ref="orginstnm"/>
- <col ref="orginstcd"/>
- <col ref="orgdeptnm"/>
- <col ref="orgdeptcd"/>
- <col ref="psnworkchk" visibility="hidden"/>
- </row>
- <row>
- <col ref="posinstnm"/>
- <col ref="posinstcd"/>
- <col ref="posdeptnm"/>
- <col ref="posdeptcd"/>
- <col ref="dutinstnm"/>
- <col ref="dutinstcd"/>
- <col ref="dutunitnm"/>
- <col ref="dutunitcd"/>
- <col ref="rrgstno"/>
- <col ref="email"/>
- <col ref="mpphonno"/>
- <col ref="entcodd"/>
- <col visibility="hidden"/>
- </row>
- <row>
- <col ref="pdano"/>
- <col ref="anouserid"/>
- <col ref="dutplceinstnm"/>
- <col ref="dutplceinstcd"/>
- <col ref="dutplcenm"/>
- <col ref="dutplcecd"/>
- <col ref="jobkindnm"/>
- <col ref="jobkindcd"/>
- <col ref="jobposnm"/>
- <col ref="jobposcd"/>
- <col ref="jobrespnm"/>
- <col ref="jobrespcd"/>
- <col visibility="hidden"/>
- </row>
- <row>
- <col ref="prfshipflagnm"/>
- <col ref="prfshipflagcd"/>
- <col ref="psnworkyn"/>
- <col ref="apntflagnm"/>
- <col ref="apntflag"/>
- <col ref="licnsno"/>
- <col ref="medispclno"/>
- <col ref="specordyn"/>
- <col ref="majorfild"/>
- <col ref="grupjoblnnm"/>
- <col ref="grupjoblncd"/>
- <col ref="maindutplceflag"/>
- <col visibility="hidden"/>
- </row>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var process = model.getValue("/root/main/item/process");
- if(process=="excel"){
- messageBox("엑셀입력 상태에서는 사용자정보 상세보기 기능을 수행할수", "I004");
- return;
- }
-
- var data_row = grd_userdeptinfo.row - grd_userdeptinfo.fixedRows;
- if(data_row<0){
- return;
- }
-
- //alert("(data_row+1) : "+(data_row+1)+", grd_userdeptinfo.row : "+grd_userdeptinfo.row+", grd_userdeptinfo.fixedRow : "+grd_userdeptinfo.fixedRows);
- copyNodeType("/root/main/item", "/root/main/list/userlist["+(data_row+1)+"]");
-
-
- model.makeValue("/root/main/item/message", "");
- model.makeValue("/root/main/item/status", "");
- var operation = model.getValue("/root/main/search/operation");
-
- if(operation=="userb"){
- model.setValue("/root/main/item/process", "retrive");
- model.makeValue("/root/main/item/label", "사용자기본정보조회");
- }else if(operation=="userd"){
- model.setValue("/root/main/item/process", "retrive");
- model.makeValue("/root/main/item/label", "사용자부서정보조회");
- }
- fDisableProcessControl("true");
- model.refresh();
- ]]>
- </script>
- </multilinegrid>
- <caption id="caption5" class="cell_1" style="left:950px; top:688px; width:100px; height:23px; vertical-align:middle; ">직군</caption>
- <select1 id="cmb_grupjobln" ref="/root/main/item/grupjoblncd" class="combo_default" navindex="52" appearance="minimal" style="left:1051px; top:689px; width:132px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/grupjoblnlist/R0059">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption19" class="cell_1" style="left:950px; top:712px; width:100px; height:23px; vertical-align:middle; ">사용자영문명</caption>
- <input id="ipt_userengnm" ref="/root/main/item/userengnm" class="input" navindex="51" style="left:1052px; top:713px; width:132px; height:19px; "/>
- <output id="output1" ref="/root/main/item/psnworkchk" visibility="hidden" style="left:695px; top:540px; width:100px; height:20px; border-style:solid; "/>
- </group>
- <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1135px; top:0px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/item", grd_userdeptinfo.getUpdateData());
- var operation = model.getValue("/root/main/search/operation");
- var process = model.getValue("/root/main/item/process");
- var success;
- if(process=="create"){
- if(operation=="userb"){
- success = fValidateUserInfo();
- if(success){
- fSetUserInfoSendData();
- success = submit("TXZSU10107");
- if(success){
- fDisableProcessControl("true");
- var userid = model.getValue("/root/main/item/userid");
- model.setValue("/root/main/item/process", "retrive");
- model.setValue("/root/main/item/label", "사용자기본정보조회");
- if(userid==""){
- userid = model.getValue("/root/hidden/result/userid");
- model.setValue("/root/main/item/userid", userid);
- messageBox("신규 사용자ID(사용자ID:"+userid+")발번이", "I001");
- }
- messageBox("사용자기본정보 추가가", "I001");
- }else{
- messageBox("사용자기본정보 추가에", "E009");
- }
- }
- }else if(operation=="userd"){
- success = fValidateUserDeptInfo();
- //경대 요청사항->사용자 마스터 관리 화면에서 인사연동 컬럼(PSNWORKYN) 컬럼 'Y' 인 상태로 Insert 불가능 하도록
- //2011.12.12 인사연동여부(psnWorkYn)가 Y 인 경우 저장 불가능 추가
- var vPsnworkYN = model.getValue("/root/main/item/psnworkyn");
-
- if ( vPsnworkYN == "Y" ) {
- messageBox("인사연동여부가 Y입니다. 인사연동여부가 Y인 경우는 저장","E001");
- model.setFocus("cmb_psnwork");
- return ;
- }
- if(success){
- fSetUserDeptInfoSendData();
- success = submit("TXZSU10108");
- if(success){
- fDisableProcessControl("true");
- model.setValue("/root/main/item/process", "retrive");
- model.setValue("/root/main/item/label", "사용자부서정보조회");
- messageBox("사용자부서정보 추가가", "I001");
-
- var jobposcd = model.getValue("/root/main/item/jobposcd");
- if(!isNull(jobposcd) && jobposcd == "1782")
- messageBox("선택진료여부는 진료행정팀과 상의하시기 바랍니다.", "E999");
-
- }else{
- messageBox("사용자부서정보 추가에", "E009");
- }
- }
-
- }
- }else if(process=="retrive"){
- messageBox("조회한 정보를 저장할수", "I004");
- return;
- }else if(process=="update"){
- if(operation=="userb"){
- success = fValidateUserInfo();
- if(success){
- fSetUserInfoSendData();
- success = submit("TXZSU10109");
- if(success){
- fDisableProcessControl("true");
- model.setValue("/root/main/item/process", "retrive");
- model.setValue("/root/main/item/label", "사용자기본정보조회");
- messageBox("사용자기본정보 수정이", "I001");
- }else{
- messageBox("사용자기본정보 수정에", "E009");
- }
- }
- }else if(operation=="userd"){
- success = fValidateUserDeptInfo();
- if(success){
- fSetUserDeptInfoSendData();
- success = submit("TXZSU10111");
- if(success){
- fDisableProcessControl("true");
- model.setValue("/root/main/item/process", "retrive");
- model.setValue("/root/main/item/label", "사용자부서정보조회");
- messageBox("사용자부서정보 수정이", "I001");
- }else{
- messageBox("사용자부서정보 수정에", "E009");
- }
- }
- }
- }else if(process=="delete"){
- if(operation=="userb"){
- success = fValidateUserInfo();
- if(success){
- fSetUserInfoSendData();
- success = submit("TXZSU10110");
- if(success){
- fDisableProcessControl("true");
- model.setValue("/root/main/item/process", "deleted");
- model.setValue("/root/main/item/label", "삭제된사용자기본정보");
- messageBox("사용자기본정보 삭제가", "I001");
- }else{
- messageBox("사용자기본정보 삭제에", "E009");
- }
- }
- }else if(operation=="userd"){
- success = fValidateUserDeptInfo();
- if(success){
- fSetUserDeptInfoSendData();
- success = submit("TXZSU10112");
- if(success){
- fDisableProcessControl("true");
- model.setValue("/root/main/item/process", "deleted");
- model.setValue("/root/main/item/label", "삭제된사용자부서정보");
- messageBox("사용자부서정보 삭제가", "I001");
- }else{
- messageBox("사용자부서정보 삭제에", "E009");
- }
- }
- }
- }
-
-
- if(success){
-
- if(process=="excel"){
- for(var i=0; i<grd_userdeptinfo.rows; i++){
- grd_userdeptinfo.rowStatus(i) = 0;
- }
- }else{
- //추가, 수정, 삭제를 한후에 다시 조회한다.
- var operation = model.getValue("/root/main/search/operation");
- var search_condition = model.getValue("/root/main/search/searchcondition");
- var search_term = model.getValue("/root/main/search/searchterm");
- if(search_term == ""){
- search_term = '%' + search_term;
- }
- var posinstcd = model.getValue("/root/main/search/posinstcd");
- var posdeptcd = model.getValue("/root/main/search/posdeptcd");
- var dutinstcd = model.getValue("/root/main/search/dutinstcd");
- var dutunitcd = model.getValue("/root/main/search/dutunitcd");
- var dutplceinstcd = model.getValue("/root/main/search/dutplceinstcd");
- var dutplcecd = model.getValue("/root/main/search/dutplcecd");
- var psnworkyn = model.getValue("/root/main/search/psnworkyn");
-
- model.resetInstanceNode("/root/send");
- model.setValue("/root/send/searchcondition", search_condition);
- model.setValue("/root/send/searchterm", search_term);
- model.setValue("/root/send/posinstcd", posinstcd);
- model.setValue("/root/send/posdeptcd", posdeptcd);
- model.setValue("/root/send/dutinstcd", dutinstcd);
- model.setValue("/root/send/dutunitcd", dutunitcd);
-
-
- if(operation=="userb"){
- success = fValidateSearchUserInfo();
- if(!success){
- messageBox("사용자 기본정보 조회시 검색어를 한자이상 입력하거나,\n소속기관 또는 근무기관을 선택", "I008");
- return;
- }
- success = submit("TRZSU10110");
- if(success){
- model.setValue("/root/main/search/retrived", "true");
- }else{
- model.setValue("/root/main/search/retrived", "false");
- }
- }else if(operation=="userd"){
- success = fValidateSearchUserDeptInfo();
- if(!success){
- messageBox("사용자 부서정보 조회시 검색어를 한자이상 입력하거나,\n소속기관, 근무기관, 근무지기관 중 하나를 선택", "I008");
- return;
- }
- model.setValue("/root/send/dutplceinstcd", dutplceinstcd);
- model.setValue("/root/send/dutplcecd", dutplcecd);
- model.setValue("/root/send/psnworkyn", psnworkyn);
-
- var success = submit("TRZSU10107");
- if(success){
- model.setValue("/root/main/search/retrived", "true");
- //fInitializeProcessValue();
- fDisableProcessControl("true");
- }else{
- model.setValue("/root/main/search/retrived", "false");
- }
- }
-
- if(process=="create" || process=="update"){
- if(operation=="userb"){
- var src_fromdd = model.getValue("/root/main/item/fromdd");
- var src_todd = model.getValue("/root/main/item/todd");
- var src_userid = model.getValue("/root/main/item/userid");
- for(var i=0; i<grd_userdeptinfo.rows;i++){
- var tg_fromdd = grd_userdeptinfo.valueMatrix(i, grd_userdeptinfo.colRef("fromdd"));
- var tg_todd = grd_userdeptinfo.valueMatrix(i, grd_userdeptinfo.colRef("todd"));
- var tg_userid = grd_userdeptinfo.valueMatrix(i, grd_userdeptinfo.colRef("userid"));
- if( src_fromdd==tg_fromdd && src_todd==tg_todd && src_userid==tg_userid ){
- grd_userdeptinfo.row = i;
- grd_userdeptinfo.topRow = i;
- }
- }
- }else if(operation=="userd"){
-
- var src_fromdd = model.getValue("/root/main/item/fromdd");
- var src_todd = model.getValue("/root/main/item/todd");
- var src_userid = model.getValue("/root/main/item/userid");
- var src_dutplceinstcd = model.getValue("/root/main/item/dutplceinstcd");
- var src_dutplcecd = model.getValue("/root/main/item/dutplcecd");
- var src_psnworkyn = model.getValue("/root/main/item/psnworkyn");
-
- for(var i=0; i<grd_userdeptinfo.rows;i++){
- var tg_fromdd = grd_userdeptinfo.valueMatrix(i, grd_userdeptinfo.colRef("fromdd"));
- var tg_todd = grd_userdeptinfo.valueMatrix(i, grd_userdeptinfo.colRef("todd"));
- var tg_userid = grd_userdeptinfo.valueMatrix(i, grd_userdeptinfo.colRef("userid"));
- var tg_dutplceinstcd = grd_userdeptinfo.valueMatrix(i, grd_userdeptinfo.colRef("dutplceinstcd"));
- var tg_dutplcecd = grd_userdeptinfo.valueMatrix(i, grd_userdeptinfo.colRef("dutplcecd"));
- var tg_psnworkyn = grd_userdeptinfo.valueMatrix(i, grd_userdeptinfo.colRef("psnworkyn"));
- if( src_fromdd==tg_fromdd && src_todd==tg_todd && src_userid==tg_userid && src_dutplceinstcd==tg_dutplceinstcd && src_dutplcecd==tg_dutplcecd && src_psnworkyn==tg_psnworkyn){
- grd_userdeptinfo.row = i;
- grd_userdeptinfo.topRow = i;
- }
- }
- }
- }
-
- }
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:1067px; top:0px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[fInitialize();]]>
- </script>
- </button>
- <line id="line3" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|