123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>변경수술스케줄</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <oplist>
- <pid/>
- <hngnm/>
- <sa/>
- <depthngnm/>
- <perfdridnm1/>
- <oproomcdnm/>
- <cnstopflag/>
- <oprsrvno/>
- </oplist>
- </main>
- <send>
- <sendflag/>
- <installplcecd/>
- <reqdata/>
- </send>
- <init>
- <installplcelist>
- <installplceinfo>
- <installplcecd/>
- <installplcenm/>
- </installplceinfo>
- </installplcelist>
- <cond>
- <installplcecd/>
- <sendflag/>
- </cond>
- </init>
- <hidden/>
- <extinfo/>
- </root>
- </instance>
- <submission id="TXMNP00306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/extinfo"/>
- <script type="javascript">
- <![CDATA[
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="760" pageheight="500" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:1px; width:740px; height:483px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:35px; x2:740px; y2:35px; "/>
- <group id="group2" style="left:0px; top:0px; width:740px; height:35px; font-weight:bold; ">
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:740px; height:35px; "/>
- <!-- 2009-02-26 삭제 처리
- <button id="btn_search" class="btn1_letter2" navindex="6" visibility="hidden" style="left:590px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/installplcecd", model.getValue("/root/init/cond/installplcecd"));
- submit("TRMNP00306");
- ]]>
- </script>
- </button>
- -->
- <caption id="caption7" class="tit_2" style="left:0px; top:11px; width:175px; height:13px; ">변경대상 수술 스케줄</caption>
- <caption id="caption1" style="left:180px; top:9px; width:240px; height:20px; color:#ff0000; ">(신중하게 진행하시기 바랍니다)</caption>
- </group>
- <button id="btn_select" class="btn1_letter2" style="left:670px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( "6" == messageBox("저장하시겠습니까?","Q") ) {
- model.makeValue("/root/send/reqdata/oplist", grd_oplist.getUpdateData());
- submit("TXMNP00306");
- var cnt = model.getValue("/root/extinfo/resultinfo/cnt");
- if (cnt > 0 ) {
- messageBox("정상적으로 변경되었습니다","I");
- model.close();
- }
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_oplist" nodeset="/root/main/oplist" allowselection="false" caption="수술번호^환자명^등록번호^S/A^집도과^집도의^수술방^협진여부^주수술번호" colsep="^" colwidth="111, 82, 62, 37, 58, 71, 56, 100, 162, 0, 0, 0" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:40px; width:740px; height:408px; ">
- <col ref="oprsrvno"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="sa"/>
- <col ref="depthngnm"/>
- <col ref="perfdridnm1"/>
- <col ref="oproomcdnm"/>
- <col ref="cnstopflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>협진수술</label>
- <value>Y</value>
- </item>
- <item>
- <label>주수술</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="mainoprsrvno"/>
- <col ref="goodspec" visibility="hidden"/>
- <col ref="prodcmpy" visibility="hidden"/>
- <col ref="prodcmpy" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_oplist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // if (grd_oplist.col == grd_oplist.colRef("cnstopflag")) {
- // if (grd_oplist.valueMatrix( grd_oplist.row, grd_oplist.col) == "N") {
- // grd_oplist.valueMatrix( grd_oplist.row, grd_oplist.colRef("mainoprsrvno")) = grd_oplist.valueMatrix( grd_oplist.row, grd_oplist.colRef("oprsrvno"));
- // }
- // else {
- // var oprsrvno = model.getValue("/root/main/oplist[cnstopflag ='N']/oprsrvno");
- // grd_oplist.valueMatrix( grd_oplist.row, grd_oplist.colRef("mainoprsrvno")) = oprsrvno;
- // }
- // }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (grd_oplist.col == grd_oplist.colRef("cnstopflag"))
- var cnt = getNodeSetCnt("/root/main/oplist[cnstopflag ='N']/oprsrvno");
-
- if (cnt == 0) {
- messageBox("변경할 수 없습니다","I");
- grd_oplist.valueMatrix( grd_oplist.row, grd_oplist.colRef("cnstopflag")) = "N";
- } else {
- if (grd_oplist.valueMatrix( grd_oplist.row, grd_oplist.col) == "N") {
- grd_oplist.valueMatrix( grd_oplist.row, grd_oplist.colRef("mainoprsrvno")) = grd_oplist.valueMatrix( grd_oplist.row, grd_oplist.colRef("oprsrvno"));
- }
- else {
- var oprsrvno = model.getValue("/root/main/oplist[cnstopflag ='N']/oprsrvno");
- grd_oplist.valueMatrix( grd_oplist.row, grd_oplist.colRef("mainoprsrvno")) = oprsrvno;
- }
-
- }
-
- ]]>
- </script>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|