123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <lrglist>
- <item>
- <hsctlrgcd/>
- <hsctlrgnm/>
- <icd10/>
- <testflag/>
- </item>
- </lrglist>
- <mdllist>
- <item>
- <hsctmdlcd/>
- <hsctmdlnm/>
- </item>
- </mdllist>
- </main>
- <send>
- <data>
- <mdldata/>
- <lrgdata/>
- </data>
- <hsctlrgcd/>
- <lrggrupcd/>
- </send>
- <init>
- <testflag>
- <item>
- <cdnm>조혈모세포처리실</cdnm>
- <cdid>SC</cdid>
- </item>
- </testflag>
- </init>
- <hidden>
- <count/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- grd_exptdeptlist.colDisabled(1) = true;
- grd_exptdeptlist.colDisabled(2) = true;
- grd_voldivlist.colDisabled(1) = true;
- grd_voldivlist.colDisabled(2) = true;
- cmb_lrggrupcd.select(0); //화면 로딩 시 대분류가 자동으로 진단명이 되도록...
- submit("TRABO02101"); //진단명 대분류 조회
-
- //타부서에서는 버튼 비활성화
- btn_save.disabled = !checkAuth("X");
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- /* @group : BMT 진단관리
- * @ver : 2009.08.13
- * @by : 박상환
- * @type : function
- * @access : public
- * @desc :
- * @param : 코드 변경 사항을 저장(추가, 수정 삭제)
- */
- function fSaveData(){
-
- //대분류, 중분류 코드 변경 사항
- model.setValue("/root/send/data/lrgdata", grd_exptdeptlist.getUpdateData());
- model.setValue("/root/send/data/mdldata",grd_voldivlist.getUpdateData());
-
- submit("TXABO02101"); //대분류 저장
- submit("TXABO02102"); //소분류 저장
- submit("TRABO02101"); //대분류 재조회
- submit("TRABO02102"); //소분류 재조회
- }
-
- ]]>
- </script>
- <submission id="TRABO02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/lrglist"/>
- <submission id="TRABO02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/mdllist"/>
- <submission id="TXABO02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/count"/>
- <submission id="TXABO02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/count"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:335px; height:13px; ">조혈모세포처리실 기준자료관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1194px; height:744px; ">
- <caption id="caption2" class="tit_2" style="left:575px; top:10px; width:144px; height:14px; ">중분류</caption>
- <caption id="caption4" class="tit_2" style="left:10px; top:10px; width:144px; height:14px; ">대분류</caption>
- <caption id="caption5" class="cell_1" style="left:635px; top:275px; width:85px; height:23px; vertical-align:middle; ">분할코드내역</caption>
- <line id="line1" class="line_1" style="x1:570px; y1:25px; x2:1185px; y2:25px; "/>
- <line id="line2" class="line_1" style="x1:5px; y1:25px; x2:565px; y2:25px; "/>
- <line id="line4" class="line_3" style="x1:5px; y1:742px; x2:1185px; y2:742px; "/>
- <datagrid id="grd_exptdeptlist" nodeset="/root/main/lrglist/item" visibility="visible" caption="대분류코드^대분류명" colsep="^" colwidth="110, 428" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:30px; width:560px; height:710px; ">
- <col ref="hsctlrgcd" type="input" _key="true"/>
- <col ref="hsctlrgnm" type="input"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_exptdeptlist.row > 0 && grd_exptdeptlist.col < 3){ //그리드 헤더 제외
- model.setValue("/root/send/hsctlrgcd",model.getValue("/root/main/lrglist/item["+ grd_exptdeptlist.row+"]/hsctlrgcd"));
- submit("TRABO02102"); //해당 대분류 코드 그룹에 대한 소분류를 조회
- }
- if(grd_exptdeptlist.col >= 3 && grd_exptdeptlist.col < 4 ){
- grd_exptdeptlist.editCell();
- model.removeNodeset("/root/main/mdllist/item");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_exptdeptlist.gridToInstance(); //정렬 후 인스턴스 재구성
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fExeDiagPopup();
- model.refresh();
- ; ]]>
- </script>
- </datagrid>
- <datagrid id="grd_voldivlist" nodeset="/root/main/mdllist/item" visibility="visible" caption="중분류코드^중분류명" colsep="^" colwidth="100, 467" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:570px; top:30px; width:615px; height:710px; ">
- <col ref="hsctmdlcd" type="input"/>
- <col ref="hsctmdlnm" type="input"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_exptdeptlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_grdadd1" class="btn2_letter3" style="left:455px; top:5px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_exptdeptlist.addItem();
- ]]>
- </script>
- </button>
- <button id="btn_grddel1" class="btn2_letter3" style="left:511px; top:5px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( messageBox("코드가 삭제 됩니다.", "Q003") != 6 ) {
- return false;
- }
- grd_exptdeptlist.addStatus(grd_exptdeptlist.row,"delete");
- ]]>
- </script>
- </button>
- <button id="btn_grdadd2" class="btn2_letter3" style="left:1075px; top:5px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_voldivlist.addItem();
-
- ]]>
- </script>
- </button>
- <button id="btn_grddel2" class="btn2_letter3" style="left:1131px; top:5px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( messageBox("코드가 삭제 됩니다.", "Q003") != 6 ) {
- return false;
- }
- grd_voldivlist.addStatus(grd_voldivlist.row,"delete");
- ]]>
- </script>
- </button>
- <select1 id="cmb_lrggrupcd" ref="/root/send/lrggrupcd" class="combo_essential" appearance="minimal" style="left:75px; top:5px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/testflag/item">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- submit("TRABO02101"); //대분류 조회
-
- model.resetInstanceNode("/root/main/mdllist/item");
-
- grd_voldivlist.refresh();
-
- ]]>
- </script>
- </select1>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1194px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1129px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveData();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|