123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAED00100.xrw
- * 설 명 : 치기공접수
- * 설 계 자 : 손승현
- * 작 성 자 : 손승현
- * 작 성 일 : 2010.09.26
- * 수정이력 : 2010.09.26 손승현 신규
- * 기 타 :
- -->
- <?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 tag="""">
- <xhtml:title>영상의학 파트별 처방이력 관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <execrcodelist>
- <execrcode>
- <sortno/>
- <basecd/>
- <basecdflagdesc/>
- <basecdcnts/>
- <basecdflag/>
- <basesuppdeptcd/>
- <seq/>
- </execrcode>
- </execrcodelist>
- <partprcplst>
- <item>
- <check1/>
- <orddrid/>
- <prcpdd/>
- <rgsttm/>
- <execprcpstatcd/>
- <dispexecprcpstatnm/>
- <prcpkindcd/>
- <prcpnm/>
- <wardcd/>
- <wardcddeptengabbr/>
- <roomcd/>
- <prcpexecdeptcd/>
- <inclprcpcd/>
- <excuroomnm/>
- <rgstdepthngnm/>
- <rgstridnm/>
- <prcpgenrflag/>
- <rsrvdt/>
- <execprcpuniqno/>
- <calcscorcd/>
- <prcpexecdeptcd/>
- <excuroomcd/>
- <excuroomgrpcd/>
- <rgstdeptcd/>
- <rgstrid/>
- <pid/>
- <portprcpflag/>
- <inflag/>
- <prcpno/>
- <prcphistno/>
- <rrgstno1/>
- <rrgstno2/>
- <sna/>
- <rcptacptyn/>
- <execbaseflag/>
- <lrgcd/>
- <mdlcd/>
- <excupartcd/>
- <modality/>
- <acptrem/>
- <execrem/>
- <reqagnphoyn/>
- <dyetrivialyn/>
- <acptdt/>
- <pacsnocretcdyn/>
- <pacsnocretyn/>
- <acptid/>
- <execrid1/>
- <execrid2/>
- <execrid3/>
- <execrid4/>
- <execdd/>
- <execdt/>
- <cnfmdt/>
- <ivinputyn/>
- <arvtm/>
- <excuexecfromdt1/>
- <excueqcd1/>
- <rslttmplcd/>
- <eqmtifyn/>
- <basecdflagdes/>
- <rcptno/>
- <prcpdelivefact/>
- <clinccmtcnts/>
- <patnm/>
- <payflagcd/>
- <rsrvdd/>
- <prcphopedd/>
- <orddepthngnm/>
- <orddrnm/>
- <cntctel/>
- <rcptdd/>
- <carecnfmdd/>
- <orddeptcd/>
- <orddd/>
- <actorddd/>
- <cretno/>
- <precureprcpflag/>
- <clincstdycd/>
- <basesuppdeptcd/>
- <migyn/>
- <prcpkindnm/>
- <section/>
- <phocntstats/>
- <pacsno/>
- <mdlcd/>
- <termengn/>
- </item>
- </partprcplst>
- </main>
- <send>
- <srch>
- <srchfromdd/>
- <srchtodd/>
- <grupcdid/>
- <suppdeptcd/>
- <dutplceinstcd/>
- <basesuppdeptcd/>
- <srchprodid/>
- <srchinitsect/>
- <srchexcuroomgrp/>
- <prcpcment/>
- <execprcpuniqno/>
- <prcpdd/>
- <acptrem/>
- <srchflag/>
- <execrem/>
- <srchexecroom/>
- </srch>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <basecd/>
- <basecdflag/>
- <instcd/>
- <selectallyn/>
- <prntnum/>
- <bolpart/>
- <bolindi/>
- <excuroomgrpcdid/>
- </send>
- <init>
- <baseinfo>
- <initinsukind/>
- </baseinfo>
- <cmb_section/>
- <cmb_info2/>
- </init>
- <hidden>
- <item>
- <count/>
- </item>
- </hidden>
- <temp>
- <templst/>
- </temp>
- <rexprnt>
- <srchfromdd/>
- <srchtodd/>
- <excuroomgrp/>
- <initsect/>
- <partprcplst/>
- <execroom/>
- </rexprnt>
- <rexdata>
- <partprcplst/>
- </rexdata>
- </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="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../ast/dentalcraftweb/js/dentalcraftcombolist.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/combolist.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetScreenInit();
- fGetComboInit();
- ]]>
- </script>
- <submission id="TRAVB00001"/>
- <submission id="TRAAA00001"/>
- <submission id="TRZBC00101"/>
- <!-- SECTION 정보 가져오기-->
- <submission id="TRAEF00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_section"/>
- <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
- <submission id="TRAEA05900" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/partprcplst"/>
- <submission id="TXAEA01304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/count"/>
- <submission id="TXAER01202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
- <submission id="TRAEA01306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_info2"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /**
- * 콤보 초기화
- */
- function fGetComboInit() {
- aezfSetSuppDeptcd();
- model.setValue("/root/send/srch/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- // Section 정보
- submit("TRAEF00203");
- // 구분 정보
- submit("TRAEA01301");
-
- model.removeNodeset("/root/init/cmb_info/initexecroom");
- var cnt = getNodesetCount("/root/init/cmb_info/initexecroom");
- for( var i = 1; i <= cnt ; i++ ){
- model.makeNode("/root/init/cmb_info2/initexecroom[" + i + "]");
- model.copyNode("/root/init/cmb_info2/initexecroom[" + i + "]", "/root/init/cmb_info/initexecroom[" + i + "]");
- }
-
- // 검사실 Combo박스 전체추가
- addComboItem("cmb_exroom", "-- 전체 --", "all", "above");
- cmb_exroom.select(0);
- cmb_exroom.value = "all";
- bool_part.selected = true;
- bool_indi.selected = true;
- model.refresh();
- }
- /**
- * 화면 기본 초기화
- */
- function fGetScreenInit() {
- model.resetInstanceNode("/root/send");
- model.setValue("/root/send/srch/srchfromdd", getCurrentDate() );
- model.setValue("/root/send/srch/srchtodd", getCurrentDate() );
- model.setValue("/root/send/prntnum", "1");
- model.setValue("/root/send/srch/srchflag", "A");
- model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1217;2,885;" 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:200px; height:14px; ">영상의학 파트별 처방이력 관리</caption>
- </group>
- <group id="grp_btn" style="left:5px; top:745px; width:1185px; height:27px; ">
- <button id="btn_prt" class="btn6_letter10" navindex="6" style="left:1px; top:3px; width:56px; height:22px; ">
- <caption>파트별 처방이력 출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/rexprnt");
- model.removeNodeset("/root/rexprnt/partprcplst");
-
- var partCnt = getNodesetCount("/root/main/partprcplst/item");
- if( partCnt > 0 ) {
- if( model.getValue("/root/send/srch/srchexcuroomgrp") != "" ) {
- model.setValue("/root/rexprnt/excuroomgrp", cmb_excuroomgrp.label );
- } else {
- model.setValue("/root/rexprnt/excuroomgrp", "" );
- }
-
- if( model.getValue("/root/send/srch/srchinitsect") != "" ) {
- model.setValue("/root/rexprnt/initsect", cmb_initsect.label );
- } else {
- model.setValue("/root/rexprnt/initsect", "" );
- }
-
- if( model.getValue("/root/send/srch/srchexecroom") != "all" && model.getValue("/root/send/srch/srchexecroom") != "" ){
- model.setValue("/root/rexprnt/execroom", cmb_exroom.label );
- }else{
- model.setValue("/root/rexprnt/execroom", "" );
- }
-
- model.setValue("/root/rexprnt/srchfromdd", ipt_srchfromdd.label );
- model.setValue("/root/rexprnt/srchtodd", ipt_srchtodd.label );
-
- // 체크구분 ==> 전체출력
- var chckflag = 0;
- for (var a = 1 ; a <= partCnt ; a++ ) {
- if( model.getValue("/root/main/partprcplst/item[" + a + "]/check1") == "Y" ) {
- chckflag++;
- }
- }
-
- var idx = 1;
- if( chckflag > 0 ) {
- for (var a = 1 ; a <= partCnt ; a++ ) {
- if( model.getValue("/root/main/partprcplst/item[" + a + "]/check1") == "Y" ) {
- model.makeNode("/root/rexprnt/partprcplst/item["+ idx +"]");
- model.copyNode("/root/rexprnt/partprcplst/item["+ idx +"]" , "/root/main/partprcplst/item[" + a + "]");
- model.setValue("/root/rexprnt/partprcplst/item["+ idx +"]/acptdt" , model.getValue("/root/main/partprcplst/item[" + a + "]/acptdt"));
- model.setValue("/root/rexprnt/partprcplst/item["+ idx +"]/rsrvdt" , model.getValue("/root/main/partprcplst/item[" + a + "]/rsrvdt"));
- idx++;
- }
- }
- } else { // 선택된 Row 없이 출력버튼을 누르면 전체출력
- for (var i = 1 ; i <= partCnt ; i++ ) {
- model.makeNode("/root/rexprnt/partprcplst/item["+ i +"]");
- model.copyNode("/root/rexprnt/partprcplst/item["+ i +"]" , "/root/main/partprcplst/item[" + i + "]");
- model.setValue("/root/rexprnt/partprcplst/item["+ i +"]/acptdt" , model.getValue("/root/main/partprcplst/item[" + i + "]/acptdt"));
- model.setValue("/root/rexprnt/partprcplst/item["+ i +"]/rsrvdt" , model.getValue("/root/main/partprcplst/item[" + i + "]/rsrvdt"));
- }
- }
-
- if( model.getValue("/root/send/bolpart") == "true"){
- exeReportPreview("RPAEA05900", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
- }else{
- exeReportPreview("RPAEA05900", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
- }
-
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn6_letter10" navindex="7" style="left:235px; top:3px; width:156px; height:22px; ">
- <caption>개인별 처방이력 출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var partCnt = getNodesetCount("/root/main/partprcplst/item");
- if( partCnt > 0 ) {
-
- var temp = 0;
- // Check 확인
- for( var i = 1 ; i <= partCnt ; i++ ) {
- if( model.getValue("/root/main/partprcplst/item[" + i + "]/check1") == "Y" ) {
- temp++;
- }
- }
-
- var idx = 1;
- var num = model.getValue("/root/send/prntnum");
- if( temp > 0 ) {
- for (var a = 1 ; a <= partCnt ; a++ ) {
-
- if( model.getValue("/root/main/partprcplst/item[" + a + "]/check1") == "Y" ) {
- model.makeNode("/root/rexdata/partprcplst/item");
- model.copyNode("/root/rexdata/partprcplst/item" , "/root/main/partprcplst/item[" + a + "]");
- model.setValue("/root/rexdata/partprcplst/item/acptdt" , model.getValue("/root/main/partprcplst/item[" + a + "]/acptdt").substring(0,8));
- model.setValue("/root/rexdata/partprcplst/item/rsrvdt" , model.getValue("/root/main/partprcplst/item[" + a + "]/rsrvdt"));
- idx++;
- for( var j = 1 ; j <= num ; j++) {
- if( model.getValue("/root/send/bolindi") == "true"){
- exeReportPreview("RPAEA05901", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
- }else{
- exeReportPreview("RPAEA05901", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
- }
- }
- model.removeNodeset("/root/rexdata/partprcplst/item");
- }
- }
- } else { // 선택된 Row 없이 출력버튼을 누르면 전체출력
- for (var i = 1 ; i <= partCnt ; i++ ) {
- model.makeNode("/root/rexdata/partprcplst/item");
- model.copyNode("/root/rexdata/partprcplst/item" , "/root/main/partprcplst/item[" + i + "]");
- model.setValue("/root/rexdata/partprcplst/item/acptdt" , model.getValue("/root/main/partprcplst/item[" + i + "]/acptdt").substring(0,8));
- model.setValue("/root/rexdata/partprcplst/item/rsrvdt" , model.getValue("/root/main/partprcplst/item[" + i + "]/rsrvdt"));
- for( var j = 1 ; j <= num ; j++) {
- if( model.getValue("/root/send/bolindi") == "true"){
- exeReportPreview("RPAEA05901", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
- }else{
- exeReportPreview("RPAEA05901", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
- }
- }
- model.removeNodeset("/root/rexdata/partprcplst/item");
- }
- }
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <input id="ipt_prntnum" ref="/root/send/prntnum" style="left:390px; top:4px; width:20px; height:19px; "/>
- <bool id="bool_part" ref="/root/send/bolpart" style="left:152px; top:4px; width:25px; height:20px; "/>
- <bool id="bool_indi" ref="/root/send/bolindi" style="left:410px; top:4px; width:25px; height:20px; "/>
- <caption id="caption5" style="left:177px; top:5px; width:50px; height:20px; ">미리보기</caption>
- <caption id="caption7" style="left:433px; top:5px; width:50px; height:20px; ">미리보기</caption>
- </group>
- <group id="grp_main" scroll="auto" style="left:0px; top:15px; width:1190px; height:732px; ">
- <group id="grp_srch" style="left:0px; top:7px; width:1185px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:1184px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line16" class="line_4" style="x1:1105px; y1:7px; x2:1105px; y2:29px; "/>
- <button id="btn_select" class="btn1_letter2" navindex="5" style="left:1118px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRAEA05900");
-
- var row = getNodesetCount("/root/main/partprcplst/item");
- for(var i = 1 ; i <= row ; i++){
- if(model.getValue("/root/main/partprcplst/item["+i+"]/cnfmdt") == "00000000000000" ) {
- model.setValue("/root/main/partprcplst/item["+i+"]/cnfmdt", "-")
-
- }
- model.setValue("/root/main/partprcplst/item["+i+"]/prcpdd", model.getValue("/root/main/partprcplst/item["+i+"]/prcpdd") + model.getValue("/root/main/partprcplst/item["+i+"]/rgsttm"))
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_srchtodd" ref="/root/send/srch/srchtodd" class="input_s_essential" navindex="4" inputtype="date" style="left:787px; top:8px; width:100px; height:19px; "/>
- <input id="ipt_srchfromdd" ref="/root/send/srch/srchfromdd" class="input_s_essential" navindex="3" inputtype="date" style="left:661px; top:8px; width:100px; height:19px; "/>
- <caption id="lbl_srchdd" class="search_name" style="left:8px; top:9px; width:86px; height:17px; ">구분 :</caption>
- <caption id="lbl_~" class="search_no_b" style="left:768px; top:10px; width:12px; height:17px; ">~</caption>
- <caption id="caption1" class="search_name" style="left:361px; top:9px; width:94px; height:17px; ">SECTION :</caption>
- <select1 id="cmb_initsect" ref="/root/send/srch/srchinitsect" class="combo_search" navindex="2" appearance="minimal" style="left:460px; top:8px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_section/initsection">
- <label ref="sectionnm"/>
- <value ref="sectionid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_excuroomgrp" ref="/root/send/srch/srchexcuroomgrp" class="combo_search" navindex="1" appearance="minimal" style="left:73px; top:8px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexcuroomgrp">
- <label ref="excuroomgrpcdnm"/>
- <value ref="excuroomgrpcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("/root/send/excuroomgrpcdid", model.getValue("/root/send/srch/srchexcuroomgrp") );
- submit("TRAEA01306");
- cmb_exroom.select(0);
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="search_name" style="left:570px; top:10px; width:94px; height:17px; ">조회기간 :</caption>
- <caption id="caption3" class="search_name" style="left:895px; top:10px; width:94px; height:17px; ">구분 :</caption>
- <select1 id="rdo_flag" ref="/root/send/srch/srchflag" appearance="full" cols="3" overflow="visible" style="left:960px; top:10px; width:140px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>영상</label>
- <value>E</value>
- </item>
- <item>
- <label>건진</label>
- <value>S</value>
- </item>
- </choices>
- </select1>
- <caption id="caption4" class="search_name" style="left:167px; top:9px; width:86px; height:17px; ">검사실 :</caption>
- <select1 id="cmb_exroom" ref="/root/send/srch/srchexecroom" class="combo_search" navindex="1" appearance="minimal" style="left:244px; top:8px; width:106px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info2/initexecroom">
- <label ref="excuroomcdnm"/>
- <value ref="excuroomcdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <caption id="caption45" class="tit_2" style="left:5px; top:55px; width:190px; height:13px; ">파트별 처방이력 LIST</caption>
- <line id="line18" class="line_1" style="x1:0px; y1:70px; x2:1180px; y2:70px; "/>
- <multilinegrid id="mltgrd_partlst" nodeset="/root/main/partprcplst/item" caption="^촬 영 예 정^등 록 번 호^성 명^진 료 과^진 료 과^촬 영 의 뢰 내 역^촬 영 의 뢰 내 역^촬 영 의 뢰 내 역^촬 영 부 위^주 상 병^주 상 병^접수 Comment^실시 Comment|^처 방 일 자^접 수 번 호^성 별/나 이^병 실^외 / 입^진 료 의^촬 영 실^횟 수^판 독 일 자^상 태^접 수 자^접수 Comment^실시 Comment" colsep="^" colwidth="25, 130, 85, 74, 80, 59, 90, 90, 50, 70, 90, 90, 100, 100" ellipsis="true" rowheader="seq" rowsep="|" tooltip="true" mergecellsfixedrows="bycolrec" style="left:0px; top:77px; width:1180px; height:650px; ">
- <row>
- <col checkvalue="Y,N" ref="check1" rowspan="2" type="checkbox"/>
- <col ref="rsrvdt" type="output" format="yyyy-mm-dd hh:mm:ss" style="text-align:center; "/>
- <col ref="pid" type="output" style="text-align:center; "/>
- <col ref="patnm" type="output" style="text-align:center; "/>
- <col colspan="2" ref="orddepthngnm" type="output" style="text-align:left; "/>
- <col colspan="3" ref="prcpnm" type="output" style="text-align:left; "/>
- <col ref="section" type="output" style="text-align:center; "/>
- <col colspan="2" ref="termengn" type="output" style="text-align:left; "/>
- <col ref="acptrem" rowspan="2" type="inputbutton" style="text-align:left; vertical-align:top; "/>
- <col ref="execrem" rowspan="2" type="inputbutton" style="text-align:left; vertical-align:top; "/>
- </row>
- <row>
- <col ref="prcpdd" type="output" format="yyyy-mm-dd hh:mm:ss" style="text-align:center; "/>
- <col ref="pacsno" type="output" style="text-align:center; "/>
- <col ref="sna" type="output" style="text-align:center; "/>
- <col ref="roomcd" type="output" style="text-align:center; "/>
- <col ref="prcpgenrflag" type="output" style="text-align:center; "/>
- <col ref="orddrnm" type="output" style="text-align:center; "/>
- <col ref="basecdflagdes" type="output" style="text-align:center; "/>
- <col ref="phocntstats" type="output" style="text-align:center; "/>
- <col ref="cnfmdt" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="dispexecprcpstatnm" type="output" style="text-align:center; "/>
- <col ref="acptid" type="output"/>
- </row>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- /*
- * 처방 Comment 입력
- */
-
- var colidx = mltgrd_partlst.col;
- var idx = mltgrd_partlst.row-1;
- model.setValue("/root/send/srch/acptrem", model.getValue("/root/main/partprcplst/item["+ idx +"]/acptrem"));
- if(mltgrd_partlst.colAttribute(colidx, "ref") == "acptrem"){
- grp_prcpcment.visible = true;
- }
-
- /*
- * 실시 Comment 입력
- */
- var colidx1 = mltgrd_partlst.col;
- var idx1 = mltgrd_partlst.row-1;
- model.setValue("/root/send/srch/execrem", model.getValue("/root/main/partprcplst/item["+ idx1 +"]/execrem"));
- if(mltgrd_partlst.colAttribute(colidx1, "ref") == "execrem"){
- grp_execment.visible = true;
- }
-
- model.refresh();
- ]]>
- </script>
- </multilinegrid>
- <group id="grp_prcpcment" visibility="hidden" style="left:390px; top:295px; width:445px; height:245px; ">
- <textarea id="txt_prcpcment" ref="/root/send/srch/acptrem" style="left:5px; top:30px; width:435px; height:180px; "/>
- <button id="btn_cls" class="btn4_letter2" style="left:380px; top:215px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_prcpcment.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_savecment" class="btn4_letter2" style="left:320px; top:215px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var idx = mltgrd_partlst.row-1;
-
- model.setValue("/root/send/srch/basesuppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- model.setValue("/root/send/srch/execprcpuniqno", model.getValue("/root/main/partprcplst/item["+ idx +"]/execprcpuniqno"));
- model.setValue("/root/send/srch/prcpdd", model.getValue("/root/main/partprcplst/item[" + idx + "]/prcpdd").substring(0,8));
-
- if ( messageBox("접수Comment 정보를","Q002")== 6 ) {
- if( submit("TXAEA01304") ) {
- messageBox("저장이 완료되었습니다.","I999");
- grp_prcpcment.visible = false;
- btn_select.dispatch("DOMActivate");
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption32" class="tit_2" style="left:10px; top:13px; width:173px; height:14px; ">접수Comment</caption>
- <shape id="rectangle1" appearance="rectangle" style="left:0px; top:0px; width:445px; height:245px; "/>
- </group>
- <group id="grp_execment" visibility="hidden" style="left:390px; top:295px; width:445px; height:245px; ">
- <textarea id="txta_exerem" ref="/root/send/srch/execrem" style="left:5px; top:30px; width:435px; height:180px; "/>
- <button id="btn_execclse" class="btn4_letter2" style="left:380px; top:215px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_execment.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_execsave" class="btn4_letter2" style="left:320px; top:215px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var idx = mltgrd_partlst.row-1;
-
- model.setValue("/root/send/srch/basesuppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- model.setValue("/root/send/srch/execprcpuniqno", model.getValue("/root/main/partprcplst/item["+ idx +"]/execprcpuniqno"));
- model.setValue("/root/send/srch/prcpdd", model.getValue("/root/main/partprcplst/item[" + idx + "]/prcpdd").substring(0,8) );
-
- if ( messageBox("실시Comment 정보를","Q002")== 6 ) {
- if( submit("TXAER01202")) {
- messageBox("저장이 완료되었습니다.","I999");
- grp_execment.visible = false;
- btn_select.dispatch("DOMActivate");
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption8" class="tit_2" style="left:10px; top:13px; width:173px; height:14px; ">실시Comment</caption>
- <shape id="rectangle5" appearance="rectangle" style="left:0px; top:0px; width:444px; height:244px; "/>
- </group>
- </group>
- <bool id="bol_selectall" overflow="visible" appearance="full" ref="/root/send/selectallyn" style="left:24px; top:103px; width:20px; height:18px; border-style:none; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var row = mltgrd_partlst.rows;
- //캡션의 체크박스를 체크 또는 해제한다.
- if( row > 2 ) {
- if(bol_selectall.value == "true") {
- for( var i = 1; i <= row-2 ; i++ ) {
- model.setValue("/root/main/partprcplst/item["+ i +"]/check1" , "Y");
- }
- } else {
- for( var i = 1; i <= row-2 ; i++ ) {
- model.setValue("/root/main/partprcplst/item["+ i +"]/check1" , "N");
- }
- }
- model.refresh();
- }
- ]]>
- </script>
- </bool>
- </xhtml:body>
- </xhtml:html>
|