123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- <?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>
- <cond>
- <instcd/>
- <cdid/>
- <opreadychk/>
- <delyn/>
- </cond>
- <opchkinfo>
- <opchklist/>
- </opchkinfo>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- var instcd = getUserInfo("dutplceinstcd");
-
- model.setValue("/root/main/cond/instcd",instcd);
- fSearch() ;
- ]]>
- </script>
- <submission id="TRMNP00229" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" ref="/root/send/reqdata" replace="instance" resultref="/root/main/opchkinfo"/>
- <submission id="TXMNP00209" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
- </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">
- <![CDATA[
- function fSearch() {
- if(model.getValue("/root/main/cond/opreadychk").length > 0 ){
- if(model.getValue("/root/main/cond/opreadychk").length < 2 ){
- messageBox("검색어는 2자 이상","C001");
- model.setFocus("ipt_dietnm");
- return;
- }
- }
-
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMNP00229");
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1120" pageheight="800" style="font-family:굴림, Arial; vertical-align:middle; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" style="left:0px; top:0px; width:1100px; height:785px; font-family:굴림; vertical-align:middle; ">
- <caption id="cpt_title" class="tit_1" style="left:0px; top:0px; width:323px; height:14px; font-family:굴림; vertical-align:middle; ">환자 수술전 처치 및 간호상태 확인 도움말 기준자료</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:95px; x2:1095px; y2:95px; font-family:굴림; "/>
- <datagrid id="grd_opchklist" nodeset="/root/main/opchkinfo/opchklist" autoresize="true" caption="^코드ID^정렬^수술상태 확인 내역^예^아니요^해당무^시작일자^종료일자" colsep="^" colwidth="0,50, 30, 115, 225, 225, 225, 90, 90" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:100px; width:1095px; height:680px; font-family:굴림; ">
- <col ref="seqno" type="input" style="font-family:굴림; "/>
- <col ref="cdid" type="input" style="font-family:굴림; text-align:center; "/>
- <col ref="sortseq" type="input" style="font-family:굴림; text-align:center; "/>
- <col ref="opreadychk" type="input" style="font-family:굴림; "/>
- <col ref="readyyes" type="input" style="font-family:굴림; "/>
- <col ref="readyno" type="input" style="font-family:굴림; text-align:left; "/>
- <col ref="readynothing" type="input" style="font-family:굴림; "/>
- <col ref="valifromdd" type="inputdate" style="font-family:굴림; text-align:center; "/>
- <col ref="valitodd" type="inputdate" style="font-family:굴림; text-align:center; "/>
- </datagrid>
- <caption id="caption10" class="tit_2" style="left:5px; top:80px; width:339px; height:14px; font-family:굴림체; ">환자 수술전 처치 및 간호상태 확인 도움말 리스트</caption>
- <button id="button7" class="btn2_letter3" style="left:940px; top:75px; width:53px; height:19px; font-family:굴림; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var dt = getCurrentDate();
-
- if (grd_opchklist.rows > 1 ){
- grd_opchklist.insertRow(1, "above");
- }else if (grd_opchklist.rows == 1 ){
- grd_opchklist.addRow(true, true);
- }
-
- grd_opchklist.valuematrix(grd_opchklist.row, grd_opchklist.colRef("valifromdd")) = dt;
- grd_opchklist.valuematrix(grd_opchklist.row, grd_opchklist.colRef("valitodd")) = '99991231';
-
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter3" style="left:995px; top:75px; width:53px; height:19px; font-family:굴림; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // if (grd_opchklist.rowStatus(grd_opchklist.row) =='1'){
- // grd_opchklist.deleteItem(grd_opchklist.row);
- // }
- //
-
- var xPathOpChkList= "/root/main/opchkinfo/opchklist";
-
- if ( model.getValue(xPathOpChkList+"[" + grd_opchklist.row + "]/sortseq") != "") {
- grd_opchklist.addStatus(grd_opchklist.row, "delete");
-
- } else {
- grd_opchklist.deleteItem(grd_opchklist.row);
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn5_letter2" style="left:1050px; top:75px; width:42px; height:19px; font-family:굴림; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var cdidcnt= 0;
- var cdid;
- for(var i=grd_opchklist.fixedRows; i <grd_opchklist.rows; i++) {
- if(grd_opchklist.rowStatus(i) == 1 || grd_opchklist.rowStatus(i) == 2 ){
- cdid = grd_opchklist.valueMatrix(i, grd_opchklist.colRef("cdid"));
- valifromdd = grd_opchklist.valueMatrix(i, grd_opchklist.colRef("valifromdd"));
-
- if(cdid == ""){ //코드ID
- cdidcnt++;
- }
- }
- }
-
- if(cdidcnt > 0){
- messageBox("코드ID는 필수 입력사항입니다.", "E");
- return;
- }else{
- var data = getGridUpdateData(grd_opchklist) ;
-
- if(data == "") {
- messageBox("저장 할 내역이", "I004");
- return;
- }
-
- model.makeValue("/root/send/savedata/opchklist", data);
- submit("TXMNP00209");
-
- fSearch() ;
- }
- ]]>
- </script>
- </button>
- <group id="grp_sea" style="left:0px; top:25px; width:1095px; height:40px; font-family:굴림; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1095px; height:40px; font-family:굴림; "/>
- <caption id="caption1" class="search_name" style="left:15px; top:10px; width:65px; height:17px; font-family:굴림; ">코드 :</caption>
- <input id="input1" ref="/root/main/cond/cdid" style="left:80px; top:10px; width:115px; height:19px; "/>
- <button id="btn_ref" class="btn1_letter2" navindex="7" style="left:1010px; top:10px; width:56px; height:22px; font-family:굴림; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch() ;
- ]]>
- </script>
- </button>
- <line id="line2" class="line_4" border-eft-style="solid" style="x1:1000px; y1:9px; x2:1000px; y2:35px; font-family:굴림; border-color:#ffe4bb; "/>
- <caption id="caption3" class="search_name" style="left:260px; top:10px; width:148px; height:17px; font-family:굴림; ">수술상태 확인 내역 :</caption>
- <input id="input2" ref="/root/main/cond/opreadychk" style="left:414px; top:10px; width:320px; height:19px; "/>
- <select id="checkbox1" ref="/root/main/cond/delyn" overflow="visible" appearance="full" style="left:750px; top:13px; width:85px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>삭제포함</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </group>
- </group>
- </xhtml:body>
- </xhtml:html>
|