123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322 |
- <?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>약속SET관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <prmsprcpsetinfo>
- <prmsprcpsetlist>
- <levl/>
- <setno/>
- <supsetno/>
- <sortno/>
- <setkindcd/>
- <setclscd/>
- <settrgtcd/>
- <setnm/>
- <settypecd/>
- <ioflag/>
- <judgchkstat/>
- <judgchkid/>
- <judgchkdt/>
- </prmsprcpsetlist>
- <result/>
- </prmsprcpsetinfo>
- <iptbox>
- <setnm/>
- </iptbox>
- <cond>
- <foldernm/>
- <prmsflag/>
- <deptsetcd/>
- <settypecd/>
- <ioflag>01</ioflag>
- <orddrid/>
- <statflag/>
- </cond>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- <setupdata/>
- </send>
- <hidden>
- <prmsprcpsetinfo>
- <prmsprcpsetlist>
- <levl/>
- <setno/>
- <supsetno/>
- <sortno/>
- <setkindcd/>
- <setclscd/>
- <settrgtcd/>
- <setnm/>
- <settypecd/>
- <ioflag/>
- <judgchkstat/>
- <judgchkid/>
- <judgchkdt/>
- </prmsprcpsetlist>
- </prmsprcpsetinfo>
- </hidden>
- <init>
- <orddept>
- </orddept>
- <orddept2/>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/main/cond/ioflag", "O");
- model.setValue("/root/main/cond/statflag", "01");
-
- fInitJudgPrcpSet();
- ]]>
- </script>
- <submission id="TRMMB00651" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/prmsprcpsetinfo"/>
- <submission id="TXMMB00651" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/prmsprcpsetinfo"/>
- <submission id="TXMMB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/etcprmsprcpsetdetlinfo"/>
- <submission id="TRMMB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/etcprmsprcpsetdetlinfo"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- fInitializeDone_SMMMB03100();
- ]]>
- </script>
- <submission id="TRMMB00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/deptlist"/>
- <submission id="TRMMO03111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/deptindxcdlist"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXMMB00607" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/prmsprcpsetinfo"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMB03100.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- </xhtml:head>
- <xhtml:body visibility="visible" guideline="1,1193;1,11;1,1187;" style="border-color:#c7a3cf; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <iviewer id="iviewer1" style="left:260px; top:90px; width:933px; height:685px; border-color:transparent; border-style:solid; "/>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">약속SET관리</caption>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:21px; width:1182px; height:59px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:522px; top:53px; width:102px; height:17px; ">약속셋명</caption>
- <select1 id="cmb_deptset" ref="/root/main/cond/deptsetcd" disabled="false" appearance="minimal" editmode="search" style="left:632px; top:28px; width:129px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var prmsflag = model.getValue("/root/main/cond/prmsflag");
-
- if ( prmsflag == "T" ){
- fReqPrmsSet();
-
- model.removeNodeset("/root/init/userlist");
- model.makeNode("/root/init/userlist/usercombo");
- }else if ( prmsflag == "P") {
- userDetlList();
- cmb_deptset.disabled = false;
- cmb_orddrid.disabled = false;
- }
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption3" class="search_name" style="left:522px; top:29px; width:86px; height:17px; ">진료과</caption>
- <shape id="rectangle1" appearance="rectangle" style="left:0px; top:15px; width:1193px; height:70px; color:#c0c0c0; border-color:#c0c0c0; "/>
- <caption id="caption2" class="search_name" style="left:30px; top:28px; width:86px; height:17px; ">상태</caption>
- <caption id="caption5" class="search_name" style="left:30px; top:53px; width:86px; height:17px; ">종류</caption>
- <select1 id="radio2" ref="/root/main/cond/statflag" appearance="full" cellspacing="15" cols="4" rows="1" overflow="visible" style="left:91px; top:30px; width:229px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>01</value>
- </item>
- <item>
- <label>미심</label>
- <value>02</value>
- </item>
- <item>
- <label>보류</label>
- <value>03</value>
- </item>
- <item>
- <label>완료</label>
- <value>04</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:342px; top:28px; width:86px; height:17px; ">구분</caption>
- <line id="line3" style="x1:1096px; y1:26px; x2:1096px; y2:70px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_req" class="btn1_letter2" style="left:1114px; top:36px; width:61px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var prmsflag = model.getValue("/root/main/cond/prmsflag");
- if (prmsflag=="T"){
- fReqPrmsSet();
- } else if (prmsflag=="P"){
- fReqPrmsSet("drid");
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_orddrid" ref="/root/main/cond/orddrid" class="combo_default" appearance="minimal" itemcount="30" style="left:890px; top:28px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fReqPrmsSet("drid");
- ]]>
- </script>
- </select1>
- <caption id="caption29" class="search_name" style="left:791px; top:31px; width:76px; height:17px; ">진 료 의</caption>
- <select1 id="rdo_setflag" ref="/root/main/cond/prmsflag" appearance="full" cols="2" overflow="visible" style="left:400px; top:29px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>과</label>
- <value>T</value>
- </item>
- <item>
- <label>개인</label>
- <value>P</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var prmsflag = model.getValue("/root/main/cond/prmsflag");
- if (prmsflag == "T"){
- model.removeNodeset("/root/init/userlist");
- model.makeNode("/root/init/userlist/usercombo");
- model.setValue("/root/main/cond/foldernm", "");
- cmb_orddrid.disabled = true;
- }else if (prmsflag == "P"){ //약속처방 개인인 경우
- //userDetlList();
- model.makeNode("/root/init/userlist/usercombo");
- cmb_deptset.disabled = false;
- cmb_orddrid.disabled = false;
- model.setValue("/root/main/cond/foldernm", "");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="radio1" ref="/root/main/cond/ioflag" appearance="full" cols="2" overflow="visible" style="left:91px; top:54px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- </choices>
- </select1>
- <datagrid id="datagrid1" nodeset="/root/main/prmsprcpsetinfo/prmsprcpsetlist" class="datagrid2" caption="levl^setno^supsetno^sortno^setkindcd^setclscd^대상^약속셋명^settypecd^ioflag^확인^확인자^확인일시" colsep="^" colwidth="0, 0, 0, 0, 0, 0, 76, 89, 0, 0, 45, 63, 76" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="21" rowsep="|" tooltip="true" style="left:5px; top:128px; width:246px; height:635px; ">
- <col ref="levl"/>
- <col ref="setno"/>
- <col ref="supsetno"/>
- <col ref="sortno"/>
- <col ref="setkindcd"/>
- <col ref="setclscd"/>
- <col ref="settrgtcd" style="text-align:center; "/>
- <col ref="setnm"/>
- <col ref="settypecd"/>
- <col ref="ioflag"/>
- <col ref="judgchkstat" type="combo">
- <choices>
- <item>
- <label>미심</label>
- <value>02</value>
- </item>
- <item>
- <label>보류</label>
- <value>03</value>
- </item>
- <item>
- <label>완료</label>
- <value>04</value>
- </item>
- </choices>
- </col>
- <col ref="judgchkid" style="text-align:center; "/>
- <col ref="judgchkdt" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var selectedRows = datagrid1.selectedRows ;
- var nodelist = "/root/main/prmsprcpsetinfo/prmsprcpsetlist" ;
-
- var judgchkstat = model.getValue(nodelist+"["+datagrid1.selectedRow(0)+"]/judgchkstat") ;
- var curRow = datagrid1.row;
- var fstrow = datagrid1.selectedRow(0);
- //var secrow = datagrid1.selectedRow(1);
- //alert( "fstrow :"+fstrow+", secrow :"+secrow+", selectedRows :"+selectedRows+", curRow :"+curRow);
-
- if ( curRow == fstrow ) {
- for ( var i=0; i<selectedRows; i++ ) {
- model.setValue(nodelist+"["+datagrid1.selectedRow(i)+"]/judgchkstat", judgchkstat);
- datagrid1.addStatus(curRow+i, "update");
- }
- } else {
- alert("선택 범위가 잘못되었습니다. 다시 선택 후 진행하세요. ");
- }
- datagrid1.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fReqJudgDetlSet();
- ]]>
- </script>
- </datagrid>
- <caption id="caption4" class="tit_2" style="left:5px; top:105px; width:126px; height:14px; vertical-align:middle; ">약속셋</caption>
- <line id="line6" class="line_1" style="x1:5px; y1:123px; x2:251px; y2:123px; "/>
- <shape id="rectangle2" appearance="rectangle" style="left:0px; top:90px; width:257px; height:685px; color:#c0c0c0; border-color:#c0c0c0; "/>
- <button id="btn_save" class="btn5_letter2" style="left:208px; top:103px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/setupdata", datagrid1.getUpdateData());
- submit("TXMMB00651");
-
- fGridRowColor();
-
- model.refresh();
- ]]>
- </script>
- </button>
- <shape id="rectangle3" appearance="rectangle" style="left:104px; top:109px; width:15px; height:10px; background-color:#ffff99; "/>
- <caption id="caption8" style="left:122px; top:105px; width:30px; height:20px; ">미심</caption>
- <shape id="rectangle4" appearance="rectangle" style="left:153px; top:109px; width:15px; height:10px; background-color:#99ccff; "/>
- <caption id="caption9" style="left:171px; top:105px; width:30px; height:20px; ">보류</caption>
- <input id="input1" ref="/root/main/cond/foldernm" style="left:632px; top:51px; width:129px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_srch", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_srch" class="btn2_letter2" visibility="hidden" style="left:770px; top:50px; width:42px; height:19px; ">
- <caption>검색</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fReqPrmsSet();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|