123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <orgorddeptcd/>
- <orgorddrid/>
- <copyorddeptcd/>
- <copyorddrid/>
- <result/>
- </main>
- <send>
- <orgorddeptcd/>
- <orgorddrid/>
- <copyorddeptcd/>
- <copyorddrid/>
- </send>
- <init>
- <orddeptcd>
- <orddeptcdlist>
- <cd/>
- <nm/>
- </orddeptcdlist>
- </orddeptcd>
- <orddrid>
- <orddridlist>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddridlist>
- </orddrid>
- </init>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
- <submission id="TXPMB01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/result"/>
- </model>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- pamGetDeptCDDrIDList();
-
- if( model.getValue("/root/temp/orddeptcd") != "" ){
- model.setValue("/root/main/orgorddeptcd", model.getValue("/root/temp/orddeptcd"));
- cmb_orgorddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + model.getValue("/root/main/orgorddeptcd") + "']";
- //cmb_orgorddrid.refresh();
- model.setValue("/root/main/orgorddrid", model.getValue("/root/temp/orddrid"));
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- //function fChangeDrNameNodeSet(orddeptcd){
-
-
- //}
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="274" pageheight="252" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:254px; height:205px; ">
- <caption id="caption7" class="cell_1" style="left:0px; top:180px; width:100px; height:23px; vertical-align:middle; ">의사명</caption>
- <caption id="caption6" class="cell_1" style="left:0px; top:54px; width:100px; height:23px; vertical-align:middle; ">의사명</caption>
- <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:121px; height:13px; ">의사일정복사원본</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:253px; y2:25px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:52px; x2:253px; y2:52px; "/>
- <caption id="caption5" class="tit_2" style="left:5px; top:136px; width:121px; height:13px; ">의사일정복사대상</caption>
- <line id="line5" class="line_1" style="x1:0px; y1:151px; x2:253px; y2:151px; "/>
- <line id="line6" class="line_3" style="x1:0px; y1:76px; x2:253px; y2:76px; "/>
- <select1 id="cmb_copyorddeptcd" ref="/root/main/copyorddeptcd" class="combo_default" appearance="minimal" style="left:103px; top:158px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- cmb_copyorddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + cmb_copyorddeptcd.value + "']";
- model.setValue("/root/main/copyorddrid", "");
- //cmb_copyorddrid.refresh();
- model.refresh();
- ]]>
- </script>
- </select1>
- <line id="line3" class="line_2" style="x1:0px; y1:178px; x2:253px; y2:178px; "/>
- <select1 id="cmb_copyorddrid" ref="/root/main/copyorddrid" class="combo_default" appearance="minimal" style="left:103px; top:182px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="cell_1" style="left:0px; top:30px; width:100px; height:23px; vertical-align:middle; ">진료과</caption>
- <caption id="caption4" class="cell_1" style="left:0px; top:156px; width:100px; height:23px; vertical-align:middle; ">진료과</caption>
- <select1 id="cmb_orgorddeptcd" ref="/root/main/orgorddeptcd" class="combo_default" appearance="minimal" style="left:103px; top:31px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- cmb_orgorddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + cmb_orgorddeptcd.value + "']";
- model.setValue("/root/main/orgorddrid", "");
- //cmb_orgorddrid.refresh();
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_orgorddrid" ref="/root/main/orgorddrid" class="combo_default" appearance="minimal" style="left:103px; top:55px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <button id="button1" class="icon_bottom" style="left:115px; top:100px; width:26px; height:19px; ">
- <caption/>
- </button>
- <line id="line4" class="line_3" style="x1:0px; y1:203px; x2:253px; y2:203px; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:205px; width:254px; height:27px; ">
- <button id="button4" class="btn4_letter2" style="left:139px; top:5px; width:56px; height:22px; ">
- <caption>복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var orgorddeptcd = model.getValue("/root/main/orgorddeptcd");
- var orgorddrid = model.getValue("/root/main/orgorddrid");
- var copyorddeptcd = model.getValue("/root/main/copyorddeptcd");
- var copyorddrid = model.getValue("/root/main/copyorddrid");
-
- if( orgorddeptcd != "" && orgorddrid != "" && copyorddeptcd != "" && copyorddrid != ""){
- model.setValue("/root/send/orgorddeptcd", orgorddeptcd);
- model.setValue("/root/send/orgorddrid", orgorddrid);
- model.setValue("/root/send/copyorddeptcd", copyorddeptcd);
- model.setValue("/root/send/copyorddrid", copyorddrid);
-
- if(submit("TXPMB01101")){
- messageBox("일정복사가", "I002");
- }
- }else{
- messageBox("진료과 또는 진료의사가 선택되지 않았습니다. 확인 후 다시 시도해 주십시요.", "E999", "");
- }
- ]]>
- </script>
- </button>
- <button id="button9" class="btn4_letter2" style="left:198px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:254px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|