123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?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>
- <cond>
- <status/>
- <pid/>
- <memocnts/>
- <lastupdtrnm/>
- <profcertseq/>
- <elctflag/>
- </cond>
- </main>
- <send>
- <chngissinfo>
- <orddeptcd/>
- <orddoctid/>
- <vieworddeptcd/>
- </chngissinfo>
- <reqdata/>
- <switflag/>
- <pid/>
- <orddeptcd/>
- </send>
- <hidden/>
- <init>
- <userlist>
- <usercombo/>
- </userlist>
- <deptlist/>
- </init>
- </root>
- </instance>
- <submission id="TRMMR06502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/memo"/>
- <submission id="TXMMR06502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/memo"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdeptlist" resultref="/root/init/deptlist"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/requserlist" resultref="/root/init/userlist"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO04100.js"/>
- <script type="javascript">
- <![CDATA[
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //opener화면에서 등록번호를 조회
- if(checkOpener()){
- var pid = opener.javascript.getParameter("SPMMR06503_pid");
- var orddeptcd = opener.javascript.getParameter("SPMMR06503_orddeptcd");
- var switflag = opener.javascript.getParameter("SPMMR06503_switflag");
- var vieworddeptcd = opener.javascript.getParameter("SPMMR06503_vieworddeptcd");
-
- model.setValue("/root/send/pid" , pid);
- model.setValue("/root/send/orddeptcd" , orddeptcd);
- model.setValue("/root/send/switflag" , switflag);
-
- mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/deptlist", "O");
-
- if( vieworddeptcd != "" ){
- model.setValue("/root/send/chngissinfo/orddeptcd" , vieworddeptcd );
- model.setValue("/root/send/chngissinfo/vieworddeptcd" , vieworddeptcd );
- }else{
- model.setValue("/root/send/chngissinfo/orddeptcd", orddeptcd );
- }
-
- cmb_issorddeptcd.dispatch("xforms-value-changed");
-
- if( switflag == "dept" ){
- switch1.selectedIndex = 0;
- }else{
- switch1.selectedIndex = 1;
- }
-
- clearParameter("SPMMR06503_pid");
- clearParameter("SPMMR06503_orddeptcd");
- clearParameter("SPMMR06503_switflag");
- clearParameter("SPMMR06503_vieworddeptcd");
-
- model.refresh();
- }
- ]]>
- </script>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="335" pageheight="150" guideline="1,384;1,401;2,165;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <switch id="switch1" style="left:5px; top:5px; width:285px; height:125px; ">
- <case id="issdeptcd">
- <group id="group2" style="left:10px; top:10px; width:265px; height:110px; border-color:#adceff; border-width:3px; border-style:solid; gradient:linear(0,0,100%,100%,white,#d7e7ff,1); ">
- <caption id="caption16" class="tit_2" style="left:11px; top:10px; width:236px; height:13px; ">발행부서를 다시 선택해주십시오.</caption>
- <line id="line5" class="line_1" style="x1:11px; y1:26px; x2:248px; y2:26px; "/>
- <button id="button10" class="btn2_letter3" style="left:135px; top:58px; width:53px; height:19px; ">
- <caption>확 인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var orddeptcd = model.getValue("/root/send/chngissinfo/orddeptcd");
- var orddoctid = model.getValue("/root/send/chngissinfo/orddoctid");
- var switflag = model.getValue("/root/send/switflag");
-
- if( switflag == "dept" ){
- if( orddeptcd == "" ){
- messageBox("진료과를", "C002");
- model.setFocus("cmb_issorddeptcd");
- return;
- }else{
- opener.javascript.model.makeValue("/root/send/chngissinfo/orddeptcd", orddeptcd);
- }
- }
-
- opener.javascript.model.makeValue("/root/send/chngissinfo/issvaliinfoflag" , "Y");
-
- window.close();
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter3" style="left:195px; top:58px; width:53px; height:19px; ">
- <caption>취 소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- opener.javascript.model.setValue("/root/send/chngissinfo/orddeptcd" , "" );
- opener.javascript.model.setValue("/root/send/chngissinfo/issvaliinfoflag" , "N" );
-
- if( opener.javascript.model.getValue("/root/send/chngissinfo/orddoctid") != "" ){
- opener.javascript.model.setValue("/root/send/chngissinfo/issvaliinfoflag" , "Y" );
- }
-
- window.close();
- ]]>
- </script>
- </button>
- <caption id="caption20" class="cell_1" style="left:12px; top:32px; width:60px; height:23px; text-align:left; vertical-align:middle; ">발 행 과</caption>
- <select1 id="cmb_issorddeptcd" ref="/root/send/chngissinfo/orddeptcd" class="combo_default" appearance="minimal" style="left:77px; top:34px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/deptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var orddeptcd = model.getValue("/root/send/chngissinfo/orddeptcd");
- mmbfGetUserComboList("/root/send/requserlist", "/root/init/userlist", orddeptcd, "0330");
- ]]>
- </script>
- </select1>
- </group>
- </case>
- <case id="issorddrid" selected="true">
- <group id="group1" style="left:10px; top:10px; width:265px; height:110px; border-color:#adceff; border-width:3px; border-style:solid; gradient:linear(0,0,100%,100%,white,#d7e7ff,1); ">
- <caption id="caption1" class="tit_2" style="left:11px; top:5px; width:236px; height:13px; ">발행의사를 다시 선택해 주십시오.</caption>
- <line id="line1" class="line_1" style="x1:11px; y1:21px; x2:248px; y2:21px; "/>
- <button id="button1" class="btn2_letter3" style="left:135px; top:76px; width:53px; height:19px; ">
- <caption>확 인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var orddeptcd = model.getValue("/root/send/chngissinfo/vieworddeptcd");
- var orddoctid = model.getValue("/root/send/chngissinfo/orddoctid");
- var switflag = model.getValue("/root/send/switflag");
-
- if(switflag == "orddrid"){
- if( orddoctid == "" ){
- messageBox("진료의를", "C002");
- model.setFocus("cmb_issorddoctid");
- return;
- }else{
- opener.javascript.model.setValue("/root/send/chngissinfo/orddoctid", orddoctid );
- opener.javascript.model.setValue("/root/send/chngissinfo/orddeptcd", orddeptcd );
- }
- }
- opener.javascript.model.setValue("/root/send/chngissinfo/issvaliinfoflag" , "Y" );
-
- window.close();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter3" style="left:195px; top:76px; width:53px; height:19px; ">
- <caption>취 소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- opener.javascript.model.setValue("/root/send/chngissinfo/orddoctid" , "" );
- opener.javascript.model.setValue("/root/send/chngissinfo/issvaliinfoflag" , "N" );
-
- if( opener.javascript.model.getValue("/root/send/chngissinfo/orddeptcd") != "" ){
- opener.javascript.model.setValue("/root/send/chngissinfo/issvaliinfoflag" , "Y" );
- }
-
- window.close();
- ]]>
- </script>
- </button>
- <select1 id="cmb_issorddoctid" ref="/root/send/chngissinfo/orddoctid" class="combo_default" appearance="minimal" style="left:77px; top:53px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption19" class="cell_1" style="left:12px; top:51px; width:60px; height:23px; text-align:left; vertical-align:middle; ">발 행 의</caption>
- <caption id="caption2" class="cell_1" style="left:12px; top:27px; width:60px; height:23px; text-align:left; vertical-align:middle; ">발 행 과</caption>
- <select1 id="combo1" ref="/root/send/chngissinfo/vieworddeptcd" class="combo_default" appearance="minimal" style="left:77px; top:29px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/deptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var orddeptcd = model.getValue("/root/send/chngissinfo/vieworddeptcd");
- mmbfGetUserComboList("/root/send/requserlist", "/root/init/userlist", orddeptcd, "0330");
- ]]>
- </script>
- </select1>
- </group>
- </case>
- </switch>
- </xhtml:body>
- </xhtml:html>
|