12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052 |
- <?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>
- <list>
- <item>
- <systkey1/>
- <systkey2/>
- <item01/>
- <item02/>
- <item03/>
- <item04/>
- <item05/>
- <item06/>
- <item07/>
- <item08/>
- <item09/>
- <item10/>
- <item11/>
- <item12/>
- <item13/>
- <item14/>
- <item15/>
- <item16/>
- <item17/>
- <item18/>
- <item19/>
- <item20/>
- <item21/>
- <item22/>
- <item23/>
- <item24/>
- <item25/>
- <item26/>
- <item27/>
- <item28/>
- <item29/>
- <item30/>
- <item31/>
- </item>
- <recridlist>
- <item/>
- </recridlist>
- </list>
- </main>
- <send>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <execfromdd/>
- <exectodd/>
- <data>
- <srchdate/>
- <srchexcuroomgrp/>
- <srchexecroom/>
- <suppdeptcd/>
- <excuroomgrpcdid/>
- <etcexecroom1/>
- <etcexecroom2/>
- <fexecroom/>
- </data>
- <equiremark/>
- <txtea_output/>
- <recrid_i/>
- <recrid_o/>
- <data1/>
- <req>
- <srchrepodd/>
- <srchsuppdeptcd/>
- <srchgrpxrm/>
- <srchexrm/>
- <srchrecdate/>
- </req>
- <srrecrid/>
- </send>
- <init>
- <cmb_info>
- <initexcuroomgrp2>
- <excuroomgrpcdid/>
- <excuroomgrpcdnm/>
- </initexcuroomgrp2>
- <initexcuroomgrp>
- <excuroomgrpcdid/>
- <excuroomgrpcdnm/>
- </initexcuroomgrp>
- <initexecrid1>
- <execrid1cdnm/>
- <execrid1cdid/>
- </initexecrid1>
- </cmb_info>
- <calenlist>
- <calendinfo>
- <basedd/>
- <dutflag/>
- </calendinfo>
- </calenlist>
- </init>
- <hidden>
- <comcd/>
- <count/>
- </hidden>
- <rexprnt>
- <srchdate/>
- <excuroomgrp/>
- <execroom/>
- <re/>
- </rexprnt>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var rowidx = 0;
- var colidx = 0;
- var caption = "";
- var recridnm = "";
-
- aezfSetSuppDeptcd();
- model.setValue("/root/send/data/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
-
- //기준년월
- model.setValue("/root/send/data/srchdate", getCurrentDate().substr(0,6));
- model.setValue("/root/send/req/srchrecdate", getCurrentDate());
- model.setValue("/root/send/srrecrid", getUserId() );
-
-
-
- // 구분 정보
- submit("TRAEA01301");
-
- // 검사실 Combo박스 전체추가
- if(submit("TRAEA01306")){
- model.removeNodeset("/root/init/cmb_info/initexecroom");
- var cnt = getNodesetCount("/root/init/cmb_info2/initexecroom");
- for(var i = 1 ; i<= cnt ; i++ ){
- model.makeNode("/root/init/cmb_info/initexecroom["+ i +"]");
- model.makeValue("/root/init/cmb_info/initexecroom["+ i +"]/excuroomcdid", model.getValue("/root/init/cmb_info2/initexecroom["+ i +"]/excuroomcdid"));
- model.makeValue("/root/init/cmb_info/initexecroom["+ i +"]/excuroomcdnm", model.getValue("/root/init/cmb_info2/initexecroom["+ i +"]/excuroomcdnm"));
- }
- }
-
- //화면에 마지막으로 저장된 구분값 넘겨주기.
- var excuroomgrp = model.property("excuroomgrp");
- if (excuroomgrp != "") {
- model.setValue("/root/send/data/srchexcuroomgrp" , excuroomgrp );
- }else{
- cmb_excuroomgrp.select(0);
- }
-
- var excuroom = model.property("excuroom");
- if (excuroom != "") {
- model.setValue("/root/send/data/srchexecroom" , excuroom);
- }else{
- cmb_exroom.select(0);
- }
- // cmb_execrid1.select(0);
- setTitle();
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRAEA07001" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send/data" replace="instance" resultref="root/main/list"/>
- <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_info"/>
- <submission id="TRAES01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_lrgcd"/>
- <submission id="TRAEA01306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_info2"/>
- <submission id="TXAEA07001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/count"/>
- <submission id="TRAEA02012" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/calenlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- /* @group : 장비일지 2011.04.26
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 장비일지 그리드 header를 정의하는 함수
- */
- function setTitle() {
-
- model.removenode("/root/main/list");
- var baseDate = model.getValue("/root/send/data/srchdate") + "01";
- var sDayCnt = baseDate.toDate().getMonthDay();
- var stHeader = "";
- var stDay = "";
- stHeader = "검사실^구분코드^구분^";
- // grd_daylist.colHidden(grd_daylist.colRef("systkey1")) = true;
- // grd_daylist.colWidth(1) = 100;
- // grd_daylist.colWidth(2) = 240;
-
- stDay = "1일^1일^2일^2일^3일^3일^4일^4일^5일^5일^6일^6일^7일^7일^8일^8일^9일^9일^10일^10일^11일^11일^12일^12일^13일^13일^14일^14일^15일^15일^16일^16일^17일^17일^18일^18일^19일^19일^20일^20일^21일^21일^22일^22일^23일^23일^24일^24일^25일^25일^26일^26일^27일^27일^28일^28일^29일^29일^30일^30일^31일^31일";
- // 일별
- stDay = stHeader + stDay;
- grd_daylist.caption = stDay;
-
- if(sDayCnt > 30) {
- grd_daylist.colHidden(grd_daylist.colRef("item29")) = false;
- grd_daylist.colHidden(grd_daylist.colRef("item30")) = false;
- grd_daylist.colHidden(grd_daylist.colRef("item31")) = false;
- grd_daylist.colHidden(grd_daylist.colRef("remark29")) = false;
- grd_daylist.colHidden(grd_daylist.colRef("remark30")) = false;
- grd_daylist.colHidden(grd_daylist.colRef("remark31")) = false;
- }else if(sDayCnt == 28) {
- grd_daylist.colHidden(grd_daylist.colRef("item29")) = true;
- grd_daylist.colHidden(grd_daylist.colRef("item30")) = true;
- grd_daylist.colHidden(grd_daylist.colRef("item31")) = true;
- grd_daylist.colHidden(grd_daylist.colRef("remark29")) = true;
- grd_daylist.colHidden(grd_daylist.colRef("remark30")) = true;
- grd_daylist.colHidden(grd_daylist.colRef("remark31")) = true;
- }else if(sDayCnt == 29) { //20160323 kya 윤달포함
- grd_daylist.colHidden(grd_daylist.colRef("item29")) = false;
- grd_daylist.colHidden(grd_daylist.colRef("item30")) = true;
- grd_daylist.colHidden(grd_daylist.colRef("item31")) = true;
- grd_daylist.colHidden(grd_daylist.colRef("remark29")) = false;
- grd_daylist.colHidden(grd_daylist.colRef("remark30")) = true;
- grd_daylist.colHidden(grd_daylist.colRef("remark31")) = true;
- }else {
- grd_daylist.colHidden(grd_daylist.colRef("item29")) = false;
- grd_daylist.colHidden(grd_daylist.colRef("item30")) = false;
- grd_daylist.colHidden(grd_daylist.colRef("item31")) = true;
- grd_daylist.colHidden(grd_daylist.colRef("remark29")) = false;
- grd_daylist.colHidden(grd_daylist.colRef("remark30")) = false;
- grd_daylist.colHidden(grd_daylist.colRef("remark31")) = true;
- }
-
- grd_daylist.rebuild();
-
-
-
- }
-
- /* @group : 달력일지
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 장비일지 조회 하는 함수
- */
-
- function fCalendar(){
-
- var lstcnt = getNodesetCount("/root/main/list/item");
-
- if (submit("TRAEA02012")){
-
- rowidx = grd_daylist.row;
- colidx = grd_daylist.col;
-
- //alert("rowidx = " + rowidx + " colidx = " + colidx );
-
- for (var j = 1; j < grd_date.rows; j++) {
-
- var colidx = 2 + ( j * 2 ) ;
- for (var i = 1; i <= lstcnt; i++ ){
- if ( model.getValue("/root/init/calenlist/calendinfo[" + j + "]/dutflag") == "8") {
- grd_daylist.cellstyle("background-color", i, colidx, i, colidx + 1 ) = "#fad6fd"; //"#daa7d9"; //보라
- } else if (model.getValue("/root/init/calenlist/calendinfo[" + j + "]/dutflag") == "4") {
- grd_daylist.cellstyle("background-color", i, colidx, i, colidx + 1 ) = "#e5ffb3"; //"#c4e693"; //그린
- } else {
- grd_daylist.cellstyle("background-color", i, colidx, i, colidx + 1 ) = "white";
- }
-
-
-
- }
- }
-
- }
- grd_daylist.refresh();
- }
-
- /* @group : 장비일지
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 장비일지 조회 하는 함수
- */
- function getimgSytsStatsCaseList(){
- model.removenode("/root/main/list");
- /**if( model.getValue("/root/send/data/srchexecroom") == "RA021"){ // 혈관중재실
- model.setValue("/root/send/data/fexecroom", model.getValue("/root/send/data/etcexecroom2"));
- }else if( model.getValue("/root/send/data/srchexecroom") == "RA022" ){ // 심혈관촬영실
- model.setValue("/root/send/data/fexecroom", model.getValue("/root/send/data/etcexecroom1"));
- }else{
- model.setValue("/root/send/data/fexecroom", model.getValue("/root/send/data/srchexecroom"));
- }
- **/
-
- model.setValue("/root/send/data/fexecroom", model.getValue("/root/send/data/srchexecroom"));
-
- if( submit("TRAEA07001") ) {
- grd_daylist.clearStatus();
- }
-
-
- //20150424 by kya
- //영상의학과 요청
- //이상이 없으면 체크, 있으면 체크 표시 없도록 수정요청함
-
- var lstcnt = getNodesetCount("/root/main/list/item");
- var baseDate = model.getValue("/root/send/data/srchdate") + "01";
- var sDayCnt = baseDate.toDate().getMonthDay();
- //특이사항에 remark 정보를 조회하도록 요청함
- var reptot ="";
-
- for (var i = 1; i <= lstcnt; i++ ){
- for ( var j = 1; j <= sDayCnt; j++ ) {
- if ( j <= 9 ) {
- var jj = "0" + j.toString();
- } else {
- var jj = j.toString();
- }
-
- if( model.getValue("/root/main/list/item[" + i + "]/remark" + jj) != "" ){
- reptot = reptot + "☞ " + ipt_date.label + "-" + jj + " ( " + model.getValue("/root/main/list/item[" + i + "]/systkey2") + " ) : " + model.getValue("/root/main/list/item[" + i + "]/remark" + jj) + "\n";
- }
- }
-
- }
-
- model.setValue("/root/send/txtea_output", reptot);
-
-
- }
-
- ]]>
- </script>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1197;" 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_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:762px; ">
- <datagrid id="grd_date" nodeset="/root/init/calenlist/calendinfo" caption="caption1^caption2^caption3" colsep="^" mergecellsfixedrows="bycolrec" rowsep="|" style="left:1015px; top:450px; width:105px; height:85px; ">
- <col ref="basedd"/>
- <col ref="dutflag"/>
- <col/>
- </datagrid>
- <group id="group1" style="left:0px; top:5px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1192px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line2" class="line_4" style="x1:1095px; y1:8px; x2:1095px; y2:28px; "/>
- <button id="button1" class="btn1_letter2" navindex="4" style="left:1120px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( model.getValue("/root/send/data/srchdate" ) == "" || model.getValue("/root/send/data/srchexcuroomgrp") == "" || model.getValue( "/root/send/data/srchexecroom" ) == "" ){
- messageBox("조회 조건값은 ","I003", "기준년월, 구분 또는 검사실을 선택하십시오.");
- return;
- }
-
- /**}else if( model.getValue("/root/send/data/srchexecroom") == "RA021"){ // 혈관중재실
- if( model.getValue("/root/send/data/etcexecroom2") == "" ){
- messageBox("조회 조건값은 ","I003", "검사실을 선택하십시오.");
- return;
- }
- }else if( model.getValue("/root/send/data/srchexecroom") == "RA022" ){ // 심혈관촬영실
- if( model.getValue("/root/send/data/etcexecroom1") == "" ){
- messageBox("조회 조건값은 ","I003", "검사실을 선택하십시오.");
- return;
- }
- }
- **/
-
- openLoadingBar("장비일지 통계을 조회 중입니다....") ;
- getimgSytsStatsCaseList();
- closeLoadingBar() ;//처리중 화면을 close한다.
-
- //공휴일 표시
- model.makeValue("/root/send/data/rsrvdd", model.getValue("/root/send/data/srchdate") + "01");
- fCalendar();
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <caption id="caption7" class="search_name" style="left:215px; top:9px; width:86px; height:17px; ">구분 :</caption>
- <caption id="caption3" class="search_name" style="left:415px; top:9px; width:86px; height:17px; ">검사실 :</caption>
- <select1 id="cmb_exroom" ref="/root/send/data/srchexecroom" appearance="minimal" style="left:493px; top:8px; width:172px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info2/initexecroom">
- <label ref="excuroomcdnm"/>
- <value ref="excuroomcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 심혈관촬영실 혹은 혈관중재실일 경우
- /**if( model.getValue("/root/send/data/srchexecroom") == "RA022"){ //심혈관촬영실
- cmb_etcroom1.visible = true;
- cmb_etcroom2.visible = false;
- // <select1 id="cmb_etcroom" ref="/root/send/data/etcexecroom"
- }else if( model.getValue("/root/send/data/srchexecroom") == "RA021" ){
- cmb_etcroom2.visible = true;
- cmb_etcroom1.visible = false;
- }else{
- cmb_etcroom1.visible = false;
- cmb_etcroom2.visible = false;
- }
- **/
- cmb_etcroom1.visible = false;
- cmb_etcroom2.visible = false;
- model.refresh()
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="search_name" style="left:20px; top:9px; width:86px; height:17px; ">기준년월 :</caption>
- <select1 id="cmb_excuroomgrp" ref="/root/send/data/srchexcuroomgrp" class="combo_search" appearance="minimal" style="left:281px; top:8px; width:104px; 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.removeNodeset("/root/init/cmb_info2/initexecroom");
- model.setValue("/root/send/data/excuroomgrpcdid", model.getValue("/root/send/data/srchexcuroomgrp") );
- if(submit("TRAEA01306")){
- model.removeNodeset("/root/init/cmb_info/initexecroom");
- var cnt = getNodesetCount("/root/init/cmb_info2/initexecroom");
- for(var i = 1 ; i<= cnt ; i++ ){
- model.makeNode("/root/init/cmb_info/initexecroom["+ i +"]");
- model.makeValue("/root/init/cmb_info/initexecroom["+ i +"]/excuroomcdid", model.getValue("/root/init/cmb_info2/initexecroom["+ i +"]/excuroomcdid"));
- model.makeValue("/root/init/cmb_info/initexecroom["+ i +"]/excuroomcdnm", model.getValue("/root/init/cmb_info2/initexecroom["+ i +"]/excuroomcdnm"));
- }
- }
- model.setValue("/root/send/data/srchexecroom", "");
- cmb_etcroom1.visible = false;
- cmb_etcroom2.visible = false;
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_date" ref="/root/send/data/srchdate" class="input_default" inputtype="date" format="yyyy-mm" style="left:110px; top:8px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- setTitle();
- ]]>
- </script>
- </input>
- <select1 id="cmb_etcroom1" ref="/root/send/data/etcexecroom1" visibility="hidden" appearance="minimal" style="left:670px; top:8px; width:165px; height:19px; ">
- <choices>
- <item>
- <label>-- 전체 --</label>
- <value/>
- </item>
- <item>
- <label>심혈관촬영실1</label>
- <value>RA022-1</value>
- </item>
- <item>
- <label>심혈관촬영실2</label>
- <value>RA022-2</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_etcroom2" ref="/root/send/data/etcexecroom2" visibility="hidden" appearance="minimal" style="left:670px; top:8px; width:165px; height:19px; ">
- <choices>
- <item>
- <label>-- 전체 --</label>
- <value/>
- </item>
- <item>
- <label>혈관중재실21</label>
- <value>RA021-21</value>
- </item>
- <item>
- <label>혈관중재실22</label>
- <value>RA021-22</value>
- </item>
- <item>
- <label>혈관중재실23</label>
- <value>RA021-23</value>
- </item>
- </choices>
- </select1>
- </group>
- <button id="button2" class="btn2_letter4" visibility="visible" style="left:1128px; top:44px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- // 일별
- grd_daylist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_daylist" nodeset="/root/main/list/item" backcoloralternate="transparent" caption="검사실^구분코드^구분^1일^1일^2일^2일^3일^3일^4일^4일^5일^5일^6일^6일^7일^7일^8일^8일^9일^9일^10일^10일^11일^11일^12일^12일^13일^13일^14일^14일^15일^15일^16일^16일^17일^17일^18일^18일^19일^19일^20일^20일^21일^21일^22일^22일^23일^23일^24일^24일^25일^25일^26일^26일^27일^27일^28일^28일^29일^29일^30일^30일^31일^31일" colsep="^" colwidth="69, 60, 370, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38,30, 38, 30, 38, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" frozencols="3" mergecellsfixedrows="bycolrec" multitotal="false" rowheader="update" rowsep="|" subtotalposition="below" tooltip="true" style="left:0px; top:70px; width:1193px; height:515px; ">
- <col ref="systkey1" visibility="hidden" style="text-align:center; "/>
- <col ref="systkey3" visibility="hidden" style="text-align:center; "/>
- <col ref="systkey2" style="text-align:left; "/>
- <col ref="item01" type="checkbox" style="text-align:center; "/>
- <col ref="remark01" type="inputbutton" style="text-align:center; "/>
- <col ref="item02" type="checkbox" style="text-align:center; "/>
- <col ref="remark02" type="inputbutton" style="text-align:center; "/>
- <col ref="item03" type="checkbox" style="text-align:center; "/>
- <col ref="remark03" type="inputbutton" style="text-align:center; "/>
- <col ref="item04" type="checkbox" style="text-align:center; "/>
- <col ref="remark04" type="inputbutton" style="text-align:center; "/>
- <col ref="item05" type="checkbox" style="text-align:center; "/>
- <col ref="remark05" type="inputbutton" style="text-align:center; "/>
- <col ref="item06" type="checkbox" style="text-align:center; "/>
- <col ref="remark06" type="inputbutton" style="text-align:center; "/>
- <col ref="item07" type="checkbox" style="text-align:center; "/>
- <col ref="remark07" type="inputbutton" style="text-align:center; "/>
- <col ref="item08" type="checkbox" style="text-align:center; "/>
- <col ref="remark08" type="inputbutton" style="text-align:center; "/>
- <col ref="item09" type="checkbox" style="text-align:center; "/>
- <col ref="remark09" type="inputbutton" style="text-align:center; "/>
- <col ref="item10" type="checkbox" style="text-align:center; "/>
- <col ref="remark10" type="inputbutton" style="text-align:center; "/>
- <col ref="item11" type="checkbox" style="text-align:center; "/>
- <col ref="remark11" type="inputbutton" style="text-align:center; "/>
- <col ref="item12" type="checkbox" style="text-align:center; "/>
- <col ref="remark12" type="inputbutton" style="text-align:center; "/>
- <col ref="item13" type="checkbox" style="text-align:center; "/>
- <col ref="remark13" type="inputbutton" style="text-align:center; "/>
- <col ref="item14" type="checkbox" style="text-align:center; "/>
- <col ref="remark14" type="inputbutton" style="text-align:center; "/>
- <col ref="item15" type="checkbox" style="text-align:center; "/>
- <col ref="remark15" type="inputbutton" style="text-align:center; "/>
- <col ref="item16" type="checkbox" style="text-align:center; "/>
- <col ref="remark16" type="inputbutton" style="text-align:center; "/>
- <col ref="item17" type="checkbox" style="text-align:center; "/>
- <col ref="remark17" type="inputbutton" style="text-align:center; "/>
- <col ref="item18" type="checkbox" style="text-align:center; "/>
- <col ref="remark18" type="inputbutton" style="text-align:center; "/>
- <col ref="item19" type="checkbox" style="text-align:center; "/>
- <col ref="remark19" type="inputbutton" style="text-align:center; "/>
- <col ref="item20" type="checkbox" style="text-align:center; "/>
- <col ref="remark20" type="inputbutton" style="text-align:center; "/>
- <col ref="item21" type="checkbox" style="text-align:center; "/>
- <col ref="remark21" type="inputbutton" style="text-align:center; "/>
- <col ref="item22" type="checkbox" style="text-align:center; "/>
- <col ref="remark22" type="inputbutton" style="text-align:center; "/>
- <col ref="item23" type="checkbox" style="text-align:center; "/>
- <col ref="remark23" type="inputbutton" style="text-align:center; "/>
- <col ref="item24" type="checkbox" style="text-align:center; "/>
- <col ref="remark24" type="inputbutton" style="text-align:center; "/>
- <col ref="item25" type="checkbox" style="text-align:center; "/>
- <col ref="remark25" type="inputbutton" style="text-align:center; "/>
- <col ref="item26" type="checkbox" style="text-align:center; "/>
- <col ref="remark26" type="inputbutton" style="text-align:center; "/>
- <col ref="item27" type="checkbox" style="text-align:center; "/>
- <col ref="remark27" type="inputbutton" style="text-align:center; "/>
- <col ref="item28" type="checkbox" style="text-align:center; "/>
- <col ref="remark28" type="inputbutton" style="text-align:center; "/>
- <col ref="item29" type="checkbox" style="text-align:center; "/>
- <col ref="remark29" type="inputbutton" style="text-align:center; "/>
- <col ref="item30" type="checkbox" style="text-align:center; "/>
- <col ref="remark30" type="inputbutton" style="text-align:center; "/>
- <col ref="item31" type="checkbox" style="text-align:center; "/>
- <col ref="remark31" type="inputbutton" style="text-align:center; "/>
- <col ref="recrid01" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid02" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid03" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid04" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid05" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid06" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid07" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid08" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid09" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid10" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid11" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid12" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid13" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid14" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid15" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid16" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid17" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid18" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid19" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid20" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid21" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid22" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid23" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid24" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid25" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid26" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid27" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid28" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid29" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid30" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recrid31" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </col>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- colidx = grd_daylist.col;
- rowidx = grd_daylist.row;
- if( grd_daylist.colAttribute(colidx, "ref") == "remark01" || grd_daylist.colAttribute(colidx, "ref") == "remark02" || grd_daylist.colAttribute(colidx, "ref") == "remark03" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark04" || grd_daylist.colAttribute(colidx, "ref") == "remark05" || grd_daylist.colAttribute(colidx, "ref") == "remark06" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark07" || grd_daylist.colAttribute(colidx, "ref") == "remark08" || grd_daylist.colAttribute(colidx, "ref") == "remark09" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark10" || grd_daylist.colAttribute(colidx, "ref") == "remark11" || grd_daylist.colAttribute(colidx, "ref") == "remark12" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark13" || grd_daylist.colAttribute(colidx, "ref") == "remark14" || grd_daylist.colAttribute(colidx, "ref") == "remark15" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark16" || grd_daylist.colAttribute(colidx, "ref") == "remark17" || grd_daylist.colAttribute(colidx, "ref") == "remark18" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark19" || grd_daylist.colAttribute(colidx, "ref") == "remark20" || grd_daylist.colAttribute(colidx, "ref") == "remark21" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark22" || grd_daylist.colAttribute(colidx, "ref") == "remark23" || grd_daylist.colAttribute(colidx, "ref") == "remark24" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark25" || grd_daylist.colAttribute(colidx, "ref") == "remark26" || grd_daylist.colAttribute(colidx, "ref") == "remark27" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark28" || grd_daylist.colAttribute(colidx, "ref") == "remark29" || grd_daylist.colAttribute(colidx, "ref") == "remark30" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark31" ) {
- caption = grd_daylist.colAttribute(colidx, "ref");
- recridnm = caption.substring(6,8);
-
- model.setValue("/root/send/equiremark", model.getValue("/root/main/list/item[" + rowidx + "]/" + caption ) );
- grp_equiremark.visible = true;
- cap_day.value = "(" + recridnm + "일)";
-
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- rowidx = grd_daylist.row;
- colidx = grd_daylist.col;
-
- if( grd_daylist.colAttribute(colidx, "ref") == "remark01" || grd_daylist.colAttribute(colidx, "ref") == "remark02" || grd_daylist.colAttribute(colidx, "ref") == "remark03" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark04" || grd_daylist.colAttribute(colidx, "ref") == "remark05" || grd_daylist.colAttribute(colidx, "ref") == "remark06" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark07" || grd_daylist.colAttribute(colidx, "ref") == "remark08" || grd_daylist.colAttribute(colidx, "ref") == "remark09" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark10" || grd_daylist.colAttribute(colidx, "ref") == "remark11" || grd_daylist.colAttribute(colidx, "ref") == "remark12" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark13" || grd_daylist.colAttribute(colidx, "ref") == "remark14" || grd_daylist.colAttribute(colidx, "ref") == "remark15" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark16" || grd_daylist.colAttribute(colidx, "ref") == "remark17" || grd_daylist.colAttribute(colidx, "ref") == "remark18" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark19" || grd_daylist.colAttribute(colidx, "ref") == "remark20" || grd_daylist.colAttribute(colidx, "ref") == "remark21" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark22" || grd_daylist.colAttribute(colidx, "ref") == "remark23" || grd_daylist.colAttribute(colidx, "ref") == "remark24" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark25" || grd_daylist.colAttribute(colidx, "ref") == "remark26" || grd_daylist.colAttribute(colidx, "ref") == "remark27" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark28" || grd_daylist.colAttribute(colidx, "ref") == "remark29" || grd_daylist.colAttribute(colidx, "ref") == "remark30" ||
- grd_daylist.colAttribute(colidx, "ref") == "remark31" ) {
- caption = grd_daylist.colAttribute(colidx, "ref");
- recridnm = caption.substring(6,8);
-
- model.setValue("/root/send/txtea_output", model.getValue("/root/main/list/item[" + rowidx + "]/" + caption ) );
- model.setValue("/root/send/srrecrid", model.getValue("/root/main/list/item[" + rowidx + "]/recrid" + recridnm ) );
- model.setValue("/root/send/req/srchrecdate", model.getValue("/root/send/data/srchdate").substring(0,6) + recridnm );
- }
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <textarea id="txtea_output" ref="/root/send/txtea_output" disabled="false" style="left:100px; top:599px; width:1092px; height:91px; padding-left:10; padding-top:10; padding-right:10; padding-bottom:10; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:66px; x2:1192px; y2:66px; "/>
- <button id="btn_save" class="btn4_letter2" style="left:1135px; top:716px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/send/data1");
- /**
- if( model.getValue("/root/send/data/srchexecroom") == "RA021"){ // 혈관중재실
- model.setValue("/root/send/data/fexecroom", model.getValue("/root/send/data/etcexecroom2"));
- }else if( model.getValue("/root/send/data/srchexecroom") == "RA022" ){ // 심혈관촬영실
- model.setValue("/root/send/data/fexecroom", model.getValue("/root/send/data/etcexecroom1"));
- }else{
- model.setValue("/root/send/data/fexecroom", model.getValue("/root/send/data/srchexecroom"));
- }
- **/
-
- model.setValue("/root/send/data/fexecroom", model.getValue("/root/send/data/srchexecroom"));
-
- model.setValue("/root/send/req/srchrepodd", model.getValue("/root/send/data/srchdate"));
- model.setValue("/root/send/req/srchgrpxrm", model.getValue("/root/send/data/srchexcuroomgrp"));
- model.setValue("/root/send/req/srchexrm", model.getValue("/root/send/data/fexecroom"));
- model.setValue("/root/send/req/srchsuppdeptcd", model.getValue("/root/send/data/suppdeptcd"));
- var lstcnt = getNodesetCount("/root/main/list/item");
- var dt = model.getValue("/root/send/req/srchrecdate").substring(6,8);
- for(var i = 1; i <= lstcnt; i++ ){
- model.setValue("/root/main/list/item[" + i + "]/recrid" + dt , model.getValue("/root/send/srrecrid") );
- grd_daylist.addStatus( i ,"update");
- }
-
- model.setValue("/root/send/data1", grd_daylist.getUpdateData());
-
- if( submit("TXAEA07001") ){
- messageBox("저장","I002");
- button1.dispatch("DOMActivate");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="lbl_graftno" class="cell_1" style="left:0px; top:599px; width:100px; height:91px; font-family:돋움체; font-size:10pt; font-weight:bold; text-align:center; vertical-align:middle; ">특이사항</caption>
- <line id="line19" class="line_1" style="x1:0px; y1:595px; x2:1192px; y2:595px; "/>
- <caption id="caption101" class="tit_2" style="left:0px; top:48px; width:110px; height:13px; ">장비일지 LIST</caption>
- <group id="grp_equiremark" visibility="hidden" style="left:435px; top:265px; width:445px; height:245px; ">
- <textarea id="txtea_rmrk" ref="/root/send/equiremark" style="left:5px; top:30px; width:435px; height:175px; "/>
- <button id="button4" class="btn4_letter2" style="left:380px; top:215px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_equiremark.visible = false;
- ]]>
- </script>
- </button>
- <button id="button5" class="btn4_letter2" style="left:320px; top:215px; width:56px; height:22px; ">
- <caption>적용</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rownum = grd_daylist.row - 1;
- var equiremark = model.getValue("/root/send/equiremark");
- var refmk = "/root/main/list/item[" + rowidx + "]/" + caption;
- model.setValue( refmk , equiremark );
- grd_daylist.addStatus(grd_daylist.row,"update");
- //grd_daylist.dispatch("xforms-value-changed");
- grp_equiremark.visible = false;
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption8" class="tit_2" style="left:10px; top:13px; width:173px; height:14px; ">장비일지 특이사항</caption>
- <shape id="rectangle2" appearance="rectangle" style="left:0px; top:0px; width:445px; height:245px; "/>
- <caption id="cap_day" style="left:138px; top:13px; width:85px; height:13px; font-weight:bold; "/>
- </group>
- <button id="button3" class="btn6_letter2" style="left:0px; top:716px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.removenode("/root/rexprnt/list");
- model.setValue("/root/rexprnt/srchdate", ipt_date.label );
- model.setValue("/root/rexprnt/excuroomgrp", cmb_excuroomgrp.label );
-
- if( model.getValue("/root/send/data/srchexecroom") == "RA021"){ // 혈관중재실
- model.setValue("/root/rexprnt/execroom", cmb_exroom.label + " ( " + cmb_etcroom2.label + " ) ");
- }else if( model.getValue("/root/send/data/srchexecroom") == "RA022" ){ // 심혈관촬영실
- model.setValue("/root/rexprnt/execroom", cmb_exroom.label + " ( " + cmb_etcroom1.label + " ) ");
- }else{
- model.setValue("/root/rexprnt/execroom", cmb_exroom.label );
- }
-
- //20150424 by kya 출력폼 수정
- var baseDate = model.getValue("/root/send/data/srchdate") + "01";
- var sDayCnt = baseDate.toDate().getMonthDay();
- var lstcnt = getNodesetCount("/root/main/list/item");
-
- var reptot = "";
-
- for( var i = 1 ; i <= lstcnt ; i++ ){
- model.makeNode("/root/rexprnt/list/item[" + i + "]");
- model.copyNode("/root/rexprnt/list/item[" + i + "]", "/root/main/list/item[" + i + "]");
-
- for ( var j = 1; j <= sDayCnt; j++ ) {
- if ( j <= 9 ) {
- var jj = "0" + j.toString();
- } else {
- var jj = j.toString();
- }
- model.setValue("/root/rexprnt/list/item[" + i + "]/recrid" + jj, grd_daylist.labelMatrix(i, grd_daylist.colRef("recrid"+ jj )));
-
- if( model.getValue("/root/rexprnt/list/item[" + i + "]/remark" + jj ) != "" ){
- reptot = reptot + "☞ " + ipt_date.label + "-" + jj + " ( " + model.getValue("/root/rexprnt/list/item[" + i + "]/systkey2") + " ) : " + model.getValue("/root/rexprnt/list/item[" + i + "]/remark" + jj) + "\n";
- }
- }
- }
-
- model.setValue("/root/rexprnt/re", reptot );
- model.refresh();
- exeReportPreview("RPAEA07000", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
- ]]>
- </script>
- </button>
- <caption id="caption4" class="cell_1" style="left:937px; top:694px; width:100px; height:20px; font-family:돋움체; font-size:10pt; font-weight:bold; text-align:center; vertical-align:middle; ">점검자</caption>
- <select1 id="combo1" ref="/root/send/srrecrid" class="combo_search" appearance="minimal" style="left:1040px; top:694px; width:151px; height:19px; font-weight:bold; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrid1">
- <label ref="execrid1cdnm"/>
- <value ref="execrid1cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" class="cell_1" style="left:698px; top:694px; width:100px; height:20px; font-family:돋움체; font-size:10pt; font-weight:bold; text-align:center; vertical-align:middle; ">점검일자</caption>
- <input id="input1" ref="/root/send/req/srchrecdate" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:802px; top:694px; width:131px; height:19px; "/>
- <button id="button6" class="btn1_letter4" navindex="4" style="left:800px; top:715px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>전체선택</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var lstcnt = getNodesetCount("/root/main/list/item");
- var dt = model.getValue("/root/send/req/srchrecdate").substring(6,8);
- for(var i = 1; i <= lstcnt; i++ ){
- if (model.getValue("/root/main/list/item[" + i + "]/item" + dt) == "true") {
- model.setValue("/root/main/list/item[" + i + "]/item" + dt , "false" );
- } else {
- model.setValue("/root/main/list/item[" + i + "]/item" + dt , "true" );
- }
-
- grd_daylist.addStatus( i ,"update");
- }
- ]]>
- </script>
- </button>
- <button id="button7" class="btn1_letter3" navindex="4" style="left:880px; top:715px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var lstcnt = getNodesetCount("/root/main/list/item");
- var dt = model.getValue("/root/send/req/srchrecdate").substring(6,8);
- for(var i = 1; i <= lstcnt; i++ ){
- model.setValue("/root/main/list/item[" + i + "]/item" + dt , "false" );
- model.setValue("/root/main/list/item[" + i + "]/item" + dt , "null" );
- grd_daylist.addStatus( i ,"update");
- }
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|