Untitle
<desc/> <spec/> <gender/> <email/> <officenm/> <telno/> <mpphonno/> <deptnm/> <passwd/> <usergb/> </userdetl> <deptuserinfo> <deptinfo/> <userinfo/> <userinfo_etc/> </deptuserinfo> <userinfo/> </main> <send> <searchdept> <oid/> </searchdept> <searchhosp> <hospnm/> <hosptype/> <community/> </searchhosp> <savehosp/> <saveuser/> <savedept/> </send> <init> <status> <list> <label>»ç¿ë</label> <value>Active</value> </list> <list> <label>¹Ì»ç¿ë</label> <value>Inactive</value> </list> </status> <gender> <list> <label>³²ÀÚ</label> <value>M</value> </list> <list> <label>¿©ÀÚ</label> <value>F</value> </list> </gender> <initinfo/> </init> <hidden/> </root> </instance> <submission id="TRARH00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchhosp" resultref="/root/main/hospinfo"/> <submission id="TRARH00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchdept" resultref="/root/main/deptuserinfo"/> <submission id="TRARH00503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchuser" resultref="/root/main/userinfo"/> <submission id="TRARH00504" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/initinfo"/> <submission id="TXARH00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savehosp" resultref="/root/temp"/> <submission id="TXARH00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedept" resultref="/root/temp"/> <submission id="TXARH00503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/saveuser" resultref="/root/temp"/> <submission id="TXARH00504" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/temp"/> <script type="javascript" ev:event="xforms-ready"> <![CDATA[ fInit(); ]]> </script> </model> </xhtml:head> <script src="../../../com/commonweb/js/common.js" type="javascript"/> <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/> <script type="javascript"> <![CDATA[ var m_hosp; // º´¿øÁ¤º¸»óÅÂ(n:normal, i:insert, u:update) var m_dept; // ºÎ¼­Á¤º¸»óÅÂ(n:normal, i:insert, u:update) var m_user; // ÀÇ»çÁ¤º¸»óÅÂ(n:normal, i:insert, u:update) function fInit(){ m_hosp = "n"; m_dept = "n"; m_user = "n"; fChangeEnableHosp("n"); fChangeEnableDept("n"); fChangeEnableUser("n"); submit("TRARH00504"); } function fSearch(){ submit("TRARH00501",false); } function fSearchDeptUser(){ model.setValue("/root/send/searchdept/oid",model.getValue("root/main/hospdetl/organizationoid")); submit("TRARH00502",false); } function fSaveHosp(){ model.copyNode("root/send/savehosp","/root/main/hospdetl"); model.makeValue("root/send/savehosp/m",m_hosp); submit("TXARH00501",false); } function fSaveDept(){ model.copyNode("root/send/savedept","/root/main/deptdetl"); model.makeValue("root/send/savedept/m",m_dept); submit("TXARH00502",false); } function fSaveUser(){ model.copyNode("root/send/saveuser","/root/main/userdetl"); model.makeValue("root/send/saveuser/m",m_user); submit("TXARH00503",false); } function fChangeEnableHosp(flag){ fChangeEnableDept("n"); fChangeEnableUser("n"); if(flag == "n"){ grp_hosp.disabled = true; btn_hosp_save.disabled = true; }else if(flag == "i"){ grp_hosp.disabled = false; ipt_hosp_oid.attribute("background-color")="#ffffff"; ipt_hosp_oid.attribute("editable") = "true"; ipt_hosp_compnm.attribute("background-color")="#ffffff"; ipt_hosp_mngrid.attribute("background-color")="#ffffff"; ipt_hosp_facid.attribute("background-color")="#ffffff"; btn_hosp_save.disabled = false; }else if(flag == "u"){ grp_hosp.disabled = false; ipt_hosp_oid.attribute("background-color")="#ecebec"; ipt_hosp_oid.attribute("editable") = "false"; ipt_hosp_compnm.attribute("background-color")="#ecebec"; ipt_hosp_mngrid.attribute("background-color")="#ecebec"; ipt_hosp_facid.attribute("background-color")="#ecebec"; btn_hosp_save.disabled = false; btn_dept_new.disabled = false; } } function fChangeEnableDept(flag){ fChangeEnableUser("n"); if(flag == "n"){ grp_dept.disabled = true; btn_dept_new.disabled = true; btn_dept_save.disabled = true; }else if(flag == "i"){ grp_dept.disabled = false; btn_dept_save.disabled = false; ipt_dept_hiedeptcd.attribute("background-color")="#ffffff"; ipt_dept_hiedeptcd.attribute("editable") = "true"; }else if(flag == "u"){ grp_dept.disabled = false; btn_dept_save.disabled = false; ipt_dept_hiedeptcd.attribute("background-color")="#ecebec"; ipt_dept_hiedeptcd.attribute("editable") = "false"; btn_user_new.disabled = false; } } function fChangeEnableUser(flag){ if(flag == "n"){ grp_user.disabled = true; btn_user_new.disabled = true; btn_user_save.disabled = true; }else if(flag == "i"){ grp_user.disabled = false; btn_user_save.disabled = false; ipt_user_userid.attribute("background-color")="#ffffff"; ipt_user_userid.attribute("editable") = "true"; }else if(flag == "u"){ grp_user.disabled = false; btn_user_save.disabled = false; ipt_user_userid.attribute("background-color")="#ecebec"; ipt_user_userid.attribute("editable") = "false"; } } function fResetHosp(){ model.resetInstanceNode("/root/main/hospdetl"); } function fResetDept(){ model.resetInstanceNode("/root/main/deptdetl"); } function fResetUser(){ model.resetInstanceNode("/root/main/userdetl"); } function fSetDisplayHosp(flag){ fChangeEnableHosp(flag); fResetDept(); fResetUser(); m_dept="n"; m_user="n"; if(flag == "n"){ m_hosp="n"; fResetHosp(); }else if(flag == "i"){ m_hosp="i"; fResetHosp(); }else if(flag == "u"){ m_hosp="u"; } } function fSetDisplayDept(flag){ fChangeEnableDept(flag); fResetUser(); m_user="n"; if(flag == "n"){ m_dept="n"; fResetDept(); }else if(flag == "i"){ m_dept="i"; fResetDept(); }else if(flag == "u"){ m_dept="u"; } } function fSetDisplayUser(flag){ fChangeEnableUser(flag); if(flag == "n"){ m_user="n"; fResetUser(); }else if(flag == "i"){ m_user="i"; }else if(flag == "u"){ m_user="u"; } } // º´¿øº¸±â(u:Æì±â, f:Á¢±â) function fHospView(flag){ if(flag == "u"){ grd_hosplist.attribute("width") = "1194px"; line8.attribute("x2") = "1194px"; grp_hosp.visible=false; btn_hosp_unfold.visible=false; }else if(flag == "f"){ grd_hosplist.attribute("width") = "770px"; line8.attribute("x2") = "770px"; grp_hosp.visible=true; btn_hosp_unfold.visible=true; } } ]]> </script> <xhtml:body pagewidth="1195" pageheight="780"> <group id="grp_user" style="left:780px; top:615px; width:405px; height:150px; background-color:#cce8ff; "> <caption id="caption15" class="cell_1" style="left:5px; top:40px; width:83px; height:23px; ">OID</caption> <caption id="caption16" class="cell_1" style="left:5px; top:64px; width:83px; height:23px; ">»ç¿ëÀÚID</caption> <caption id="caption17" class="cell_1" style="left:5px; top:90px; width:83px; height:23px; ">»ç¿ëÀÚ¸í</caption> <line id="line19" class="line_2" style="x1:5px; y1:62px; x2:402px; y2:62px; "/> <line id="line20" class="line_2" style="x1:5px; y1:85px; x2:402px; y2:85px; "/> <line id="line21" class="line_2" style="x1:5px; y1:111px; x2:402px; y2:111px; "/> <caption id="caption31" class="cell_1" style="left:5px; top:115px; width:83px; height:23px; ">ºÎ¼­¸í</caption> <line id="line22" class="line_2" style="x1:5px; y1:136px; x2:402px; y2:136px; "/> <input id="input27" ref="/root/main/userdetl/deptnm" editable="false" style="left:90px; top:116px; width:135px; height:19px; background-color:#ecebec; "/> <input id="ipt_user_userid" ref="/root/main/userdetl/userid" editable="false" style="left:90px; top:65px; width:100px; height:19px; "/> <input id="input17" ref="/root/main/userdetl/usernm" editable="false" style="left:90px; top:91px; width:145px; height:19px; "/> <button id="btn_userid" class="icon_search" navindex="5" style="left:194px; top:67px; width:16px; height:16px; "> <caption/> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ //misfOpenPopUpList("01", ipt_reqmannm, "", "reqmanid,reqmannm","","instcd"); modal("SPZSU10103_»ç¿ëÀںμ­Á¶È¸", "1", "200", "200", "SPZSU10103","","/root/tmp/popup"); var iParam = getParameter("SPZSU10103_"); if(iParam != ""){ model.removeNodeset("/root/hidden/onerowselect"); model.makeNode("/root/hidden/onerowselect"); setCSVToNode("/root/hidden/onerowselect", iParam); model.setValue("/root/main/userdetl/userid", model.getValue("/root/hidden/onerowselect/list/userid") ); model.setValue("/root/main/userdetl/usernm", model.getValue("/root/hidden/onerowselect/list/usernm") ); clearParameter("SPZSU10103_"); } model.refresh(); ]]> </script> </button> <input id="input16" ref="/root/main/userdetl/oid" editable="false" style="left:90px; top:40px; width:190px; height:19px; background-color:#ecebec; "/> </group> <line id="line8" class="line_1" style="x1:0px; y1:93px; x2:444px; y2:92px; "/> <caption id="caption2" class="tit_1" style="left:0px; top:0px; width:205px; height:15px; ">HIE º´ÀÇ¿ø °ü¸®</caption> <group id="group5" style="left:0px; top:25px; width:1189px; height:35px; vertical-align:top; "> <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1189px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/> <line id="line2" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; "/> <button id="btn_search" class="btn1_letter2" navindex="33" style="left:1119px; top:7px; width:56px; height:22px; "> <caption>Á¶È¸</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ //if ( !fCheckDate() ) return; //Çʼö ÀúÀå¿©ºÎ üũ //fSearch(); fSearch(); model.refresh(); ]]> </script> </button> <input id="input2" ref="/root/send/searchhosp/hospnm" navindex="32" style="left:115px; top:10px; width:125px; height:19px; "/> <caption id="caption7" class="search_name" style="left:8px; top:10px; width:94px; height:17px; ">º´ÀÇ¿ø¸í</caption> <button id="button1" class="btn4_letter7" style="left:985px; top:7px; width:116px; height:22px; "> <caption>KNUH Á¤º¸µî·Ï</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ submit("TXARH00504",false); model.refresh(); ]]> </script> </button> <select1 id="cmb_hosptype" ref="/root/send/searchhosp/hosptype" appearance="minimal" style="left:400px; top:10px; width:170px; height:19px; "> <choices> <itemset nodeset="/root/init/initinfo/hosptypelist"> <label ref="cdnm"/> <value ref="cdid"/> </itemset> </choices> </select1> <caption id="caption36" class="search_name" style="left:305px; top:10px; width:94px; height:17px; ">º´¿øÅ¸ÀÔ</caption> <select1 id="combo8" ref="/root/send/searchhosp/community" appearance="minimal" style="left:725px; top:10px; width:170px; height:19px; "> <choices> <item> <label>combo7</label> <value>combo7</value> </item> </choices> </select1> <caption id="caption38" class="search_name" style="left:625px; top:10px; width:94px; height:17px; ">Ä¿¹Â´ÏƼ</caption> </group> <button id="btn_hosp_unfold" class="btn2_letter3" visibility="hidden" style="left:135px; top:70px; width:53px; height:19px; "> <caption>ÆîÄ¡±â</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ fHospView("u"); ]]> </script> </button> <datagrid id="grd_hosplist" nodeset="/root/main/hospinfo/hosplist" scroll="autovscroll" caption="º´¿ø¸í^º´¿ø±¸ºÐ^ÀüÈ­¹øÈ£^OID^¿ä¾ç±â°ü±âÈ£^ÀúÀå¼Ò OID^´ëÇ¥ÀÚ¸í^µî·Ï¼Ò OID^¿ìÆí¹øÈ£^ÁÖ¼Ò" colsep="^" colwidth="155, 82, 103, 124, 116, 104, 64, 111, 73, 235" dataheight="25" defaultrows="0" frozencols="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" style="left:0px; top:95px; width:445px; height:670px; vertical-align:middle; "> <col ref="organizationname"/> <col ref="organizationtypecode" type="combo" style="text-align:center; "> <choices> <itemset nodeset="/root/init/initinfo/hosptypelist"> <label ref="cdnm"/> <value ref="cdid"/> </itemset> </choices> </col> <col ref="telecom"/> <col ref="organizationoid"/> <col ref="organizationid"/> <col ref="repositoryoid"/> <col ref="representname"/> <col ref="registryoid"/> <col ref="postalcode"/> <col ref="address"/> <script type="javascript" ev:event="ondblclick"> <![CDATA[ if(grd_hosplist.row<1) return; fSetDisplayHosp("u"); var row = grd_hosplist.row; model.copyNode("/root/main/hospdetl","/root/main/hospinfo/hosplist["+row+"]"); fSearchDeptUser(); model.copyNode("/root/main/userinfo","/root/main/deptuserinfo/userinfo"); model.refresh(); ]]> </script> </datagrid> <group id="grp_hosp" style="left:780px; top:90px; width:405px; height:250px; background-color:#cce8ff; "> <caption id="caption44" class="cell_1" style="left:5px; top:41px; width:83px; height:23px; ">OID</caption> <line id="line5" class="line_2" style="x1:5px; y1:63px; x2:402px; y2:63px; "/> <line id="line6" class="line_2" style="x1:5px; y1:88px; x2:402px; y2:88px; "/> <caption id="caption35" class="cell_1" style="left:5px; top:65px; width:83px; height:23px; ">º´¿ø¸í</caption> <input id="input9" ref="/root/main/hospdetl/organizationid" style="left:90px; top:92px; width:100px; height:19px; "/> <caption id="caption39" class="cell_1" style="left:5px; top:91px; width:83px; height:23px; ">¿ä¾ç±â°ü¹øÈ£</caption> <caption id="caption40" class="cell_1" style="left:235px; top:115px; width:58px; height:23px; text-align:left; ">ÀüÈ­¹øÈ£</caption> <line id="line7" class="line_2" style="x1:5px; y1:114px; x2:402px; y2:114px; "/> <caption id="caption42" class="cell_1" style="left:235px; top:91px; width:58px; height:23px; text-align:left; ">º´¿ø±¸ºÐ</caption> <line id="line9" class="line_2" style="x1:5px; y1:139px; x2:402px; y2:139px; "/> <caption id="caption37" class="cell_1" style="left:5px; top:141px; width:83px; height:23px; ">ÁÖ¼Ò</caption> <select1 id="combo1" ref="/root/main/hospdetl/organizationtypecode" appearance="minimal" style="left:295px; top:92px; width:100px; height:19px; "> <choices> <itemset nodeset="/root/init/initinfo/hosptypelist"> <label ref="cdnm"/> <value ref="cdid"/> </itemset> </choices> </select1> <caption id="caption1" class="cell_1" style="left:5px; top:191px; width:83px; height:23px; ">µî·Ï¼Ò OID</caption> <caption id="caption3" class="cell_1" style="left:5px; top:115px; width:73px; height:23px; ">¿ìÆí¹øÈ£</caption> <caption id="caption4" class="cell_1" style="left:5px; top:215px; width:70px; height:23px; text-align:left; ">ÀúÀå¼Ò OID</caption> <line id="line1" class="line_2" style="x1:5px; y1:187px; x2:402px; y2:187px; "/> <input id="ipt_hosp_oid" ref="/root/main/hospdetl/organizationoid" style="left:90px; top:41px; width:190px; height:19px; "/> <input id="input7" ref="/root/main/hospdetl/organizationname" style="left:90px; top:66px; width:190px; height:19px; "/> <input id="ipt_hosp_compnm" ref="/root/main/hospdetl/registryoid" style="left:90px; top:192px; width:100px; height:19px; "/> <input id="ipt_hosp_mngrid" ref="/root/main/hospdetl/postalcode" style="left:90px; top:117px; width:100px; height:19px; "/> <input id="ipt_hosp_facid" ref="/root/main/hospdetl/repositoryoid" style="left:90px; top:216px; width:100px; height:19px; "/> <input id="input10" ref="/root/main/hospdetl/telecom" style="left:295px; top:117px; width:100px; height:19px; "/> <textarea id="textarea1" ref="/root/main/hospdetl/address" style="left:90px; top:144px; width:305px; height:40px; "/> <line id="line11" class="line_2" style="x1:5px; y1:214px; x2:402px; y2:214px; "/> </group> <caption id="caption9" class="tit_2" style="left:5px; top:74px; width:137px; height:13px; ">HIE º´ÀÇ¿ø ¸®½ºÆ®</caption> <caption id="caption6" class="tit_2" style="left:455px; top:74px; width:137px; height:13px; ">HIE ºÎ¼­ ¸®½ºÆ®</caption> <datagrid id="grd_deptlist" nodeset="/root/main/deptuserinfo/deptinfo/deptlist" scroll="autovscroll" autoresize="true" caption="OID^ºÎ¼­ÄÚµå^ºÎ¼­¸í" colsep="^" colwidth="0, 68, 150" dataheight="25" defaultrows="0" extendlastcol="scroll" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" style="left:450px; top:95px; width:321px; height:205px; vertical-align:middle; "> <col ref="oid"/> <col ref="hiedeptcd"/> <col ref="deptnm"/> <script type="javascript" ev:event="ondblclick"> <![CDATA[ if(grd_deptlist.row<1) return; fSetDisplayDept("u"); var row = grd_deptlist.row; model.copyNode("/root/main/deptdetl","/root/main/deptuserinfo/deptinfo/deptlist["+row+"]"); var hiedeptcd = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("hiedeptcd")); var nodelist = instance1.selectNodes("/root/main/deptuserinfo/userinfo/userlist[hiedeptcd='" + hiedeptcd + "']"); model.removenode("/root/main/userinfo"); model.makeNode("/root/main/userinfo"); if(nodelist.length>0){ setCSVToNode("/root/main/userinfo",getNodeListCSV(nodelist),"userlist"); } //fSearchDeptUser(); model.refresh(); ]]> </script> </datagrid> <line id="line3" class="line_1" style="x1:773px; y1:90px; x2:773px; y2:765px; border-color:#0000ff; "/> <datagrid id="grd_userlist" nodeset="/root/main/userinfo/userlist" scroll="auto" autoresize="true" caption="OID^À̸§^ºÎ¼­¸í^¶óÀ̼¾½º^ÀüÈ­¹øÈ£^ÇÚµåÆù¹øÈ£^È£Ãâ¹øÈ£^ÆÑ½º¹øÈ£" colsep="^" colwidth="0, 78, 145, 76" dataheight="25" defaultrows="0" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" style="left:450px; top:330px; width:321px; height:435px; vertical-align:middle; "> <col ref="oid"/> <col ref="usernm"/> <col ref="deptnm"/> <col ref="licnsno"/> <script type="javascript" ev:event="ondblclick"> <![CDATA[ if(grd_userlist.row<1) return; fSetDisplayUser("u"); var row = grd_userlist.row; model.copyNode("/root/main/userdetl","/root/main/userinfo/userlist["+row+"]"); //fSearchDeptUser(); model.refresh(); ]]> </script> </datagrid> <line id="line4" class="line_1" style="x1:450px; y1:93px; x2:768px; y2:92px; "/> <line id="line10" class="line_1" style="x1:448px; y1:90px; x2:447px; y2:765px; border-color:#0000ff; "/> <caption id="caption34" class="tit_2" style="left:780px; top:74px; width:135px; height:13px; ">HIE º´ÀÇ¿ø Á¤º¸</caption> <caption id="caption8" class="tit_2" style="left:780px; top:422px; width:135px; height:13px; ">HIE ºÎ¼­ Á¤º¸</caption> <group id="grp_dept" style="left:780px; top:440px; width:405px; height:125px; background-color:#cce8ff; "> <caption id="caption10" class="cell_1" style="left:5px; top:41px; width:83px; height:23px; ">OID</caption> <line id="line12" class="line_2" style="x1:5px; y1:63px; x2:402px; y2:63px; "/> <line id="line13" class="line_2" style="x1:5px; y1:88px; x2:402px; y2:88px; "/> <caption id="caption11" class="cell_1" style="left:5px; top:65px; width:83px; height:23px; ">ºÎ¼­¸í</caption> <caption id="caption12" class="cell_1" style="left:5px; top:91px; width:83px; height:23px; ">ºÎ¼­ÄÚµå</caption> <line id="line14" class="line_2" style="x1:5px; y1:114px; x2:402px; y2:114px; "/> <input id="ipt_dept_oid" ref="/root/main/deptdetl/oid" editable="false" style="left:90px; top:41px; width:190px; height:19px; background-color:#ecebec; "/> <input id="input11" ref="/root/main/deptdetl/deptnm" style="left:90px; top:66px; width:145px; height:19px; "/> <input id="ipt_dept_hiedeptcd" ref="/root/main/deptdetl/hiedeptcd" style="left:90px; top:92px; width:100px; height:19px; "/> </group> <caption id="caption27" class="tit_2" style="left:455px; top:310px; width:135px; height:13px; ">HIE »ç¿ëÀÚ ¸®½ºÆ®</caption> <caption id="caption28" class="tit_2" style="left:780px; top:598px; width:135px; height:13px; ">HIE »ç¿ëÀÚ Á¤º¸</caption> <button id="btn_hosp_new" class="btn4_letter2" style="left:1060px; top:105px; width:56px; height:22px; "> <caption>½Å±Ô</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ fSetDisplayHosp("i"); model.refresh(); ]]> </script> </button> <button id="btn_hosp_save" class="btn4_letter2" style="left:1120px; top:105px; width:56px; height:22px; "> <caption>ÀúÀå</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ setAlertOn(); fSaveHosp(); fSearch(); model.refresh(); ]]> </script> </button> <button id="btn_dept_new" class="btn4_letter2" style="left:1060px; top:450px; width:56px; height:22px; "> <caption>½Å±Ô</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ var oid = model.getValue("/root/main/hospdetl/oid"); if(m_hosp!="u"){ messageBox("º´ÀÇ¿øÀÌ ¼±ÅõÇÁö","E007"); return; } fSetDisplayDept("i"); model.setValue("/root/main/deptdetl/oid",model.getValue("/root/main/hospdetl/oid")); model.refresh(); ]]> </script> </button> <button id="btn_dept_save" class="btn4_letter2" style="left:1120px; top:450px; width:56px; height:22px; "> <caption>ÀúÀå</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ setAlertOn(); fSaveDept(); fSearchDeptUser(); model.refresh(); ]]> </script> </button> <button id="btn_user_new" class="btn4_letter2" style="left:1060px; top:620px; width:56px; height:22px; "> <caption>½Å±Ô</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ var oid = model.getValue("/root/main/deptdetl/oid"); if(m_dept!="u"){ messageBox("ºÎ¼­°¡ ¼±ÅõÇÁö","E007"); return; } fSetDisplayUser("i"); model.setValue("/root/main/userdetl/oid",model.getValue("/root/main/deptdetl/oid")); model.setValue("/root/main/userdetl/hiedeptcd",model.getValue("/root/main/deptdetl/hiedeptcd")); model.setValue("/root/main/userdetl/deptnm",model.getValue("/root/main/deptdetl/deptnm")); model.refresh(); ]]> </script> </button> <button id="btn_user_save" class="btn4_letter2" style="left:1120px; top:620px; width:56px; height:22px; "> <caption>ÀúÀå</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ setAlertOn(); fSaveUser(); fSearchDeptUser(); model.refresh(); ]]> </script> </button> </xhtml:body> </xhtml:html>