123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296 |
- <?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>
- <info>
- <item>
- <fromdd/>
- <todd/>
- <trnptkind/>
- <seaflag/>
- <corneakind/>
- </item>
- </info>
- <list>
- <item>
- <opdd/>
- <rgstdd/>
- <hngnm/>
- <trnptkind/>
- <diagnm/>
- <chrgdrid/>
- <ergradflag/>
- <cntctims/>
- <eyebankid/>
- </item>
- <message>
- <str1/>
- </message>
- </list>
- </main>
- <init>
- <cmbinfo>
- <trnptkind>
- <A0376/>
- </trnptkind>
- </cmbinfo>
- <sick>
- <diagcd>
- <A0382/>
- </diagcd>
- </sick>
- <ergrad>
- <ergradflag>
- <A0381/>
- </ergradflag>
- </ergrad>
- <cntc>
- <cntctims>
- <A0380/>
- </cntctims>
- </cntc>
- <cmbkind>
- <corneakind>
- <A0377/>
- </corneakind>
- </cmbkind>
- </init>
- <send>
- <data/>
- </send>
- <hidden>
- <message>
- <str1/>
- </message>
- <get_info/>
- <get_list/>
- </hidden>
- </root>
- </instance>
- <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/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList( new Array("A0376","A0382","A0381" ,"A0380","A0377" ), new Array("/root/init/cmbinfo/trnptkind", "/root/init/sick/diagcd", "/root/init/ergrad/ergradflag", "/root/init/cntc/cntctims", "/root/init/cmbkind/corneakind"));
- model.setValue("/root/main/info/item/fromdd", getCurrentDate() );
- model.setValue("/root/main/info/item/todd", getCurrentDate() );
-
- rad_seaflag.select(0);
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRAVE00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- <submission id="TRZBC00101"/>
- <submission id="TRAVE00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fSetClear(){
- model.reset();
- }
-
- function fExeSelect(){
-
- if ( model.getValue("/root/main/info/item/trnptkind") == "A" ) {
- cmb_corneakind.visible = true;
- } else {
- model.setValue("/root/main/info/item/corneakind", "");
- model.refresh();
- cmb_corneakind.visible = false;
- }
- }
-
- function fGetInfo(){
-
- /* if( model.getValue("/root/main/info/item/pid") == "" && model.getValue("/root/main/info/item/eyebankid") == "" ) {
- messageBox("등록번호 또는 안은행등록번호 :","C001");
- return ;
- }
- */
- model.removeNodeset("/root/main/list/item");
- model.refresh();
- model.copyNode("/root/send/data","/root/main/info");
- //ret = submit("TRAVE00402");
- ret = submit("TRAVE00401");
-
- if( model.getValue("/root/main/list/message/str1")== "false")
- {
- alert("각막이식대기자 정보가 없습니다 ");
- // model.copyNode("/root/main/info","/root/hidden/get_info");
- }else {
-
- }
-
-
- model.refresh();
- return ret;
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1194;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:210px; height:14px; ">각막이식 조건별검색</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:56px; width:210px; height:14px; ">각막이식 대기자</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:71px; x2:1194px; y2:71px; "/>
- <datagrid id="grd_list" nodeset="/root/main/list/item" autoresize="true" caption="수술일자^등록일자^등록번호^환자명^이식종류^질환^담당의^응급도^연락횟수" colsep="^" colwidth="120, 0, 100, 100, 100, 250, 100, 200, 200" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:75px; width:1194px; height:664px; text-align:center; ">
- <col ref="opdd" type="output" format="yyyy-mm-dd"/>
- <col ref="rgstdd" format="yyyy-mm-dd"/>
- <col ref="eyebankid"/>
- <col ref="hngnm" type="output"/>
- <col disabled="true" ref="trnptkind" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmbinfo/trnptkind/A0376">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="diagcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/sick/diagcd/A0382">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="chrgdrid" type="combo">
- <choices>
- <item>
- <label>김만수</label>
- <value>85015179</value>
- </item>
- <item>
- <label>주천기</label>
- <value>88015059</value>
- </item>
- <item>
- <label>박신혜</label>
- <value>10105637</value>
- </item>
- <item>
- <label>정소향</label>
- <value>20800466</value>
- </item>
- <item>
- <label>이현수</label>
- <value>10205379</value>
- </item>
- <item>
- <label>나경선</label>
- <value>10303020</value>
- </item>
- <item>
- <label>권형구</label>
- <value>10001401</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="ergradflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/ergrad/ergradflag/A0381">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="cntctims" type="combo">
- <choices>
- <itemset nodeset="/root/init/cntc/cntctims/A0380">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- </datagrid>
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption5" class="search_no_b" style="left:262px; top:10px; width:12px; height:17px; ">~</caption>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <input id="input1" ref="/root/main/info/item/fromdd" class="input_s_essential" inputtype="date" style="left:159px; top:8px; width:100px; height:19px; "/>
- <input id="input25" ref="/root/main/info/item/todd" class="input_s_essential" inputtype="date" style="left:277px; top:8px; width:100px; height:19px; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetInfo();
- ]]>
- </script>
- </button>
- <select1 id="combo2" ref="/root/main/info/item/trnptkind" class="combo_search" appearance="minimal" style="left:490px; top:8px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmbinfo/trnptkind/A0376">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fExeSelect();
- ]]>
- </script>
- </select1>
- <caption id="caption7" class="search_name" style="left:401px; top:9px; width:86px; height:17px; ">이식종류 :</caption>
- <select1 id="rad_seaflag" ref="/root/main/info/item/seaflag" appearance="full" cols="2" overflow="visible" style="left:15px; top:10px; width:140px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>수술일자</label>
- <value>1</value>
- </item>
- <item>
- <label>등록일자 :</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_corneakind" ref="/root/main/info/item/corneakind" class="combo_search" appearance="minimal" style="left:595px; top:8px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmbkind/corneakind/A0377">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <button id="btn_excsave" class="btn2_letter4" style="left:1129px; top:50px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- grd_list.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_prt" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|