12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <?xml-stylesheet href="C:/CMCProject/application/webapps/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>CSR 일일 업무일지</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <nodeinfo>
- <drntlist>
- <split/>
- <day/>
- <eve/>
- <tmpr/>
- <instcd/>
- <workdd/>
- <humi/>
- <cdrnotice/>
- <csrnotice/>
- <spcf/>
- <eqmt/>
- <allnotice/>
- <cnfmrid/>
- <cnfmrnm/>
- </drntlist>
- <drctlist>
- <bfstockcnt/>
- <usecnt/>
- <reqcnt/>
- <stockcnt/>
- <workdd/>
- <workseq/>
- <instcd/>
- <ioflag/>
- </drctlist>
- <rgstqtylist>
- <goodflaghngnm/>
- <csrreqdeptnm/>
- <day/>
- <eve/>
- <csrfixasetnm/>
- </rgstqtylist>
- <machiuselist>
- <divsnm/>
- <csrfixasetnm/>
- <dutyday/>
- <dutyeve/>
- </machiuselist>
- <enemalist>
- <cdnm/>
- <day/>
- <eve/>
- <instcd/>
- <workdd/>
- <gubuncd/>
- <workseq/>
- <cdid/>
- <ioflag/>
- </enemalist>
- <ccdrcentrlist>
- <cdnm/>
- <day/>
- <eve/>
- <instcd/>
- <workdd/>
- <gubuncd/>
- <workseq/>
- <cdid/>
- <ioflag/>
- </ccdrcentrlist>
- <ccdroperlist>
- <cdnm/>
- <day/>
- <eve/>
- <instcd/>
- <workdd/>
- <gubuncd/>
- <workseq/>
- <cdid/>
- <ioflag/>
- </ccdroperlist>
- <etclist>
- <item/>
- <day/>
- <eve/>
- <ioflag/>
- <gubuncd/>
- <workseq/>
- <cdid/>
- <workdd/>
- <instcd/>
- <flag/>
- </etclist>
- <linenlist>
- <csrgoodnm/>
- <certrgstqtyday/>
- <certrgstqtyeve/>
- </linenlist>
- <rgstqtyiolist>
- <goodnm/>
- <dlvexchngqtyday/>
- <dlvexchngqtyeve/>
- <dlvreqqtyday/>
- <dlvreqqtyeve/>
- <dlvlendqtyday/>
- <dlvlendqtyeve/>
- <dlvrgstqtyday/>
- <dlvrgstqtyeve/>
- <dlvrergstqtyday/>
- <dlvrergstqtyeve/>
- </rgstqtyiolist>
- <cleanlist/>
- </nodeinfo>
- <workscinfo>
- <worksclist>
- <split/>
- <day/>
- <eve/>
- </worksclist>
- </workscinfo>
- </main>
- <temp/>
- <init>
- <srchflag/>
- <srchsumflag/>
- </init>
- <cond>
- <workdd/>
- <instcd/>
- <worktodd/>
- <instnm/>
- <chkyn/>
- </cond>
- <hidden>
- <common>
- <reqflaginfo/>
- <instcdinfo/>
- </common>
- <setvalue>
- <cdid/>
- </setvalue>
- </hidden>
- <send>
- <workdd/>
- <savedata>
- <savedrntdata/>
- <savedrctdata/>
- <enemalist/>
- <etclist/>
- <ccdrcentrlist/>
- <ccdroperlist/>
- </savedata>
- <srchflag/>
- <srchsumflag/>
- <cdgrupid>T65</cdgrupid>
- <worktodd/>
- <flag>1</flag>
- <chkyn>Y</chkyn>
- </send>
- <tmp/>
- <setvalue>
- <cnfmrid/>
- </setvalue>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
-
-
- function fInitialize() {
-
-
- caption28.value = "CCDR Cart(일일수술실)" ;
-
- if (getUserInfo("dutplceinstcd") == "032") {
- caption28.value = "CCDR Cart(마취회복실)";
- }
-
- zbcfGetCodeList(new Array("Z0007","M0587"),new Array("/root/hidden/common/instcdinfo","/root/hidden/common/reqflaginfo"),true);
-
- model.setValue(opt_instnm.attribute("ref"), getUserInfo("dutplceinstnm")); //기관코드명
- model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd")); //기관코드
- model.setValue(ipt_workdd.attribute("ref") , getCurrentDate());
- model.setValue(ipt_worktodd.attribute("ref") , getCurrentDate());
- rdo_search.value = "D";
- rdo_sum.value = "D";
-
- rdo_search.dispatch("xforms-value-changed");
-
- ipt_workdd.refresh();
- cmb_instcd.refresh();
-
- model.setValue("/root/send/workdd", model.getValue(ipt_workdd.attribute("ref")));
-
- // 중앙공급실 파트장 id 가져오기
- submit("TRMSG04004");
-
- model.setValue("/root/setvalue/cnfmrid", model.getValue("/root/hidden/setvalue/cdid"));
-
- model.toggle("case1");
- cnfmrndisable();
- fSearch();
- }
-
- function fSearch() {
-
- for(var i= grd_rgstqtylist.fixedRows; i < grd_rgstqtylist.rows; i++) {
-
- if(grd_rgstqtylist.valueMatrix(i, grd_rgstqtylist.colRef("goodflaghngnm")) == "합 계") {
-
- grd_rgstqtylist.rowStyle( i , "data", "background-color") = "white"; //#B9E5FB
- grd_rgstqtylist.rowStyle( i , "data", "font-weight") = ""; //#B9E5FB
-
- }
- }
-
- for(var i= grd_machiuselist.fixedRows; i < grd_machiuselist.rows; i++) {
-
- if(grd_machiuselist.valueMatrix(i, grd_machiuselist.colRef("divsnm")) == "합 계") {
-
- grd_machiuselist.rowStyle( i , "data", "background-color") = "white"; //#B9E5FB
- grd_machiuselist.rowStyle( i , "data", "font-weight") = ""; //#B9E5FB
-
- }
- }
-
- model.setValue("/root/send/workdd", model.getValue(ipt_workdd.attribute("ref")));
- model.setValue("/root/send/worktodd", model.getValue(ipt_worktodd.attribute("ref")));
-
- // 중앙공급실 파트장 id 가져오기
- submit("TRMSG04004");
-
- model.setValue("/root/setvalue/cnfmrid", model.getValue("/root/hidden/setvalue/cdid"));
-
- submit("TRMSG04001");
- submit("TRMSG04002");
- var ioflag;
- for(var i = grd_drctlist.fixedRows; i < grd_drctlist.rows; i++) {
- ioflag = grd_drctlist.valueMatrix(i, grd_drctlist.colRef("ioflag"));
- if(ioflag == "N") {
- grd_drctlist.rowStatus(i) = "1";
- }
- }
-
- // for(var i = grd_enemalist.fixedRows; i < grd_enemalist.rows; i++) {
- // ioflag = grd_enemalist.valueMatrix(i, grd_enemalist.colRef("ioflag"));
- // if(ioflag == "N") {
- // grd_enemalist.rowStatus(i) = "1";
- // }
- // }
-
- for(var i = grd_ccdrcentrlist.fixedRows; i < grd_ccdrcentrlist.rows; i++) {
- ioflag = grd_ccdrcentrlist.valueMatrix(i, grd_ccdrcentrlist.colRef("ioflag"));
- if(ioflag == "N") {
- grd_ccdrcentrlist.rowStatus(i) = "1";
- }
- }
-
- for(var i = grd_ccdroperlist.fixedRows; i < grd_ccdroperlist.rows; i++) {
- ioflag = grd_ccdroperlist.valueMatrix(i, grd_ccdroperlist.colRef("ioflag"));
- if(ioflag == "N") {
- grd_ccdroperlist.rowStatus(i) = "1";
- }
- }
-
- for(var i = grd_etclist.fixedRows; i < grd_etclist.rows; i++) {
-
- ioflag = grd_etclist.valueMatrix(i, grd_etclist.colRef("ioflag"));
-
- if(ioflag == "N") {
-
- grd_etclist.rowStatus(i) = "1";
- }
- if(ioflag == "" || ioflag == null) { // 분류 Row Style 설정 (구분)
-
- grd_etclist.rowstyle( i , "data", "background-color") = "#8EBCFF"; //#B9E5FB
- grd_etclist.rowstyle( i , "data", "text-align") = "center";
- } else {
- grd_etclist.rowstyle( i , "data", "background-color") = "#ffffff"; //#B9E5FB
- grd_etclist.rowstyle( i , "data", "text-align") = "right";
- }
- }
-
- for(var i= grd_rgstqtylist.fixedRows; i < grd_rgstqtylist.rows; i++) {
-
- if(grd_rgstqtylist.valueMatrix(i, grd_rgstqtylist.colRef("goodflaghngnm")) == "합 계") {
-
- grd_rgstqtylist.rowStyle( i , "data", "background-color") = "#8EBCFF"; //#B9E5FB
- grd_rgstqtylist.rowStyle( i , "data", "font-weight") = "bold"; //#B9E5FB
-
- }
- }
-
- for(var i= grd_machiuselist.fixedRows; i < grd_machiuselist.rows; i++) {
-
- if(grd_machiuselist.valueMatrix(i, grd_machiuselist.colRef("divsnm")) == "합 계") {
-
- grd_machiuselist.rowStyle( i , "data", "background-color") = "#8EBCFF"; //#B9E5FB
- grd_machiuselist.rowStyle( i , "data", "font-weight") = "bold"; //#B9E5FB
-
- }
- }
-
- createTempNode();
- cnfmrndisable();
-
- // grd_rgstqtylist.subtotalPosition = "below";
- // grd_rgstqtylist.subtotal("sum", grd_rgstqtylist.colRef("goodflaghngnm"), grd_rgstqtylist.colRef("day"), "#,###.##", "background-color:#99ff99; font-weight:bold", 0, "합 계", true);
- // grd_rgstqtylist.subtotal("sum", grd_rgstqtylist.colRef("goodflaghngnm"), grd_rgstqtylist.colRef("eve"), "#,###.##", "background-color:#99ff99; font-weight:bold", 0, "합 계", true);
- // grd_rgstqtylist.subtotal("sum", grd_rgstqtylist.colRef("goodflaghngnm"), grd_rgstqtylist.colRef("sumcnt"), "#,###.##", "background-color:#99ff99; font-weight:bold", 0, "합 계", true);
-
- }
-
- var sDYBIZDIARYGNRLINFO_PATH = "/root/main/nodeinfo/drntlist";
- var sDRNTLIST_PATH = "/root/main/nodeinfo/drntlist";
- var sDYBIZDIARYINFO_PATH = "/root/main/";
-
- function cnfmrndisable()
- {
- //확인자가 있고
- if (model.getValue(sDYBIZDIARYGNRLINFO_PATH + "/cnfmrid") != '' ) {
- //로그인아이디가 93464 이면
- if (getUserInfo("userid") == model.getValue("/root/setvalue/cnfmrid") ) {
- ipt_cnfmrid.attribute("editable") = "true";
- //model.setValue(ipt_cnfmrid.attribute("ref"), getUserInfo("userid"));
- btn_chksave.disabled = false;
- button5.disabled = false;
- } else {
- ipt_cnfmrid.attribute("editable") = "false";
- btn_chksave.disabled = true;
- button5.disabled = true;
- }
-
- } else {
-
- //로그인아이디가 93464 이면
- if (getUserInfo("userid") == model.getValue("/root/setvalue/cnfmrid") ) {
- ipt_cnfmrid.attribute("editable") = "true";
- //model.setValue(ipt_cnfmrid.attribute("ref"), getUserInfo("userid"));
- btn_chksave.disabled = false;
- button5.disabled = false;
- } else {
- ipt_cnfmrid.attribute("editable") = "false";
- btn_chksave.disabled = false;
- button5.disabled = false;
- }
- }
-
- ipt_cnfmrid.refresh();
- btn_chksave.refresh();
- button5.refresh();
-
- }
-
- function createTempNode()
- {
- // 일일업무일지_일반정보가 없으면, 임의로 Node를 만든다.
- if (instance1.selectNodes(sDYBIZDIARYGNRLINFO_PATH).length <= 0)
- {
- model.makeValue(sDYBIZDIARYGNRLINFO_PATH + "/workdd" , model.getValue("/root/cond/workdd"));
- model.makeValue(sDYBIZDIARYGNRLINFO_PATH + "/workseq", 1);
- model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/cnfmrid");
- model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/split" );
- model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/day" );
- model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/eve" );
- model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/allnotice" );
- model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/csrnotice" );
- model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/cdrnotice" );
- model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/spcf" );
- model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/eqmt" );
- model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/tmpr" );
- model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/humi" );
- model.makeValue (sDYBIZDIARYGNRLINFO_PATH + "/instcd", getUserInfo("dutplceinstcd") );
- model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/writnm" );
- model.makeNode (sDYBIZDIARYGNRLINFO_PATH + "/cnfmrnm");
- }
- model.refresh();
- }
-
- function getLastDay(dd) {
- var d = new Array(31,28,31,30,31,30,31,31,30,31,30,31);
-
-
- var year = parseInt(dd.substr(0,4));
- var month = parseInt(dd.substr(4,2));
-
-
- if (((0 == (year%4)) && ( (0 != (year%100)) || (0 == (year%400)))) && month == 1) {
- return 29;
- } else {
- return d[month];
- }
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
-
- ]]>
- </script>
- <submission id="TRMSG04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/nodeinfo"/>
- <submission id="TRMSG04004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXMSG04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/drntlist"/>
- <submission id="TRMSG04002" ref="/root/send" resultref="/root/main/workscinfo"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <object id="tfexcel" clsid="{fe8d1001-6a9d-424d-ae2a-301493bb12da}" visibility="hidden" style="left:950px; top:55px; width:180px; height:35px; "/>
- <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:141px; height:14px; ">CSR 일일 업무일지</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; font-family:돋움체; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; font-family:돋움체; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; font-family:돋움체; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_instcd" class="search_name" style="left:10px; top:9px; width:70px; height:17px; font-family:돋움체; ">기관명:</caption>
- <line id="line13" class="line_4" style="x1:1130px; y1:5px; x2:1130px; y2:30px; font-family:돋움체; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1135px; top:8px; width:56px; height:22px; font-family:돋움체; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/cond/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:82px; top:8px; width:93px; height:19px; font-family:돋움체; text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/common/instcdinfo/Z0007">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="caption3" class="search_name" style="left:781px; top:9px; width:86px; height:17px; font-family:돋움체; ">업무일자:</caption>
- <input id="ipt_workdd" ref="/root/cond/workdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:865px; top:8px; width:94px; height:19px; font-family:돋움체; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </input>
- <select1 id="rdo_search" ref="/root/send/srchflag" appearance="full" cellspacing="10" cols="2" itemwidth="50" overflow="visible" style="left:415px; top:10px; width:100px; height:15px; font-family:돋움체; border-style:none; ">
- <choices>
- <item>
- <label>업무</label>
- <value>D</value>
- </item>
- <item>
- <label>통계</label>
- <value>S</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(rdo_search.value == "D") {
- rdo_sum.visible = false;
- // caption19.visible = false;
- // ipt_worktodd.visible = false;
- caption13.visible = false;
- button5.visible = true;
- ipt_worktodd.visible = false;
- caption19.visible =false;
- } else if (rdo_search.value == "S") {
- rdo_sum.visible = true;
- // caption19.visible = true;
- // ipt_worktodd.visible = true;
- caption13.visible = true;
- button5.visible = false;
-
- if(rdo_sum.value == "D") {
- ipt_worktodd.visible = true;
- caption19.visible =true;
- } else {
- ipt_worktodd.visible = false;
- caption19.visible =false;
- }
-
-
- }
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:335px; top:10px; width:86px; height:17px; font-family:돋움체; ">조회구분:</caption>
- <caption id="caption13" class="search_name" style="left:530px; top:10px; width:86px; height:17px; font-family:돋움체; ">통계구분:</caption>
- <select1 id="rdo_sum" ref="/root/send/srchsumflag" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:615px; top:10px; width:165px; height:15px; font-family:돋움체; border-style:none; ">
- <choices>
- <item>
- <label>일간</label>
- <value>D</value>
- </item>
- <item>
- <label>월간</label>
- <value>M</value>
- </item>
- <item>
- <label>년간</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var srchsumflag = model.getValue(rdo_sum.attribute("ref"));
-
-
-
- if(srchsumflag == "D") {
- ipt_worktodd.visible = true;
- caption19.visible = true;
- } else {
- ipt_worktodd.visible = false;
- caption19.visible = false;
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_worktodd" ref="/root/cond/worktodd" class="input_s_essential" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:980px; top:8px; width:94px; height:19px; font-family:돋움체; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </input>
- <caption id="caption19" visibility="hidden" style="left:959px; top:11px; width:20px; height:15px; font-family:돋움체; font-weight:bold; text-align:center; ">~</caption>
- <output id="opt_instnm" ref="/root/cond/instnm" class="output_fix" style="left:82px; top:8px; width:93px; height:19px; "/>
- <select1 id="rdo_flag" ref="/root/send/flag" appearance="full" cols="2" overflow="visible" style="left:245px; top:10px; width:85px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>상세</label>
- <value>1</value>
- </item>
- <item>
- <label>구분</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </select1>
- <caption id="caption30" class="search_name" style="left:185px; top:10px; width:60px; height:17px; font-family:돋움체; ">구분:</caption>
- </group>
- <switch id="switch1" style="left:0px; top:80px; width:1195px; height:664px; font-family:돋움체; ">
- <case id="case1">
- <input id="ipt_split" ref="/root/main/workscinfo/worksclist/split" navindex="5" editable="false" maxlength="500" scroll="auto" style="left:52px; top:24px; width:1135px; height:19px; font-family:돋움체; text-align:left; "/>
- <textarea id="txt_day" ref="/root/main/workscinfo/worksclist/day" navindex="6" scroll="auto" editable="false" maxlength="500" style="left:52px; top:46px; width:1135px; height:52px; font-family:돋움체; text-align:left; vertical-align:top; "/>
- <caption id="caption2" class="cell_1" style="left:0px; top:99px; width:50px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; padding-left:0; ">Evening</caption>
- <caption id="caption4" class="cell_1" style="left:0px; top:22px; width:50px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; padding-left:0; ">Split</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:19px; x2:1190px; y2:19px; font-family:돋움체; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:46px; width:50px; height:52px; font-family:돋움체; text-align:center; vertical-align:middle; padding-left:0; ">Day</caption>
- <line id="line3" class="line_3" style="x1:0px; y1:122px; x2:1190px; y2:122px; font-family:돋움체; "/>
- <caption id="caption8" class="tit_2" style="left:0px; top:5px; width:170px; height:13px; font-family:돋움체; vertical-align:middle; ">근무자</caption>
- <input id="ipt_eve" ref="/root/main/workscinfo/worksclist/eve" navindex="7" editable="false" maxlength="1500" scroll="auto" style="left:52px; top:101px; width:1135px; height:19px; font-family:돋움체; text-align:left; "/>
- <input id="ipt_humi" ref="/root/main/nodeinfo/drntlist/humi" navindex="12" maxlength="500" format="#,##0.##" scroll="auto" style="left:302px; top:147px; width:114px; height:19px; font-family:돋움체; text-align:center; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:145px; width:70px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; padding-left:0; ">온도</caption>
- <caption id="caption9" class="cell_1" style="left:230px; top:145px; width:70px; height:23px; font-family:돋움체; text-align:center; vertical-align:middle; padding-left:0; ">습도</caption>
- <caption id="caption14" style="left:188px; top:145px; width:25px; height:23px; font-family:돋움체; font-size:11pt; text-align:left; vertical-align:middle; padding-left:0; ">℃</caption>
- <input id="ipt_tmpr" ref="/root/main/nodeinfo/drntlist/tmpr" navindex="11" maxlength="500" format="#,##0.##" scroll="auto" style="left:72px; top:147px; width:114px; height:19px; font-family:돋움체; text-align:center; "/>
- <caption id="caption10" class="tit_2" style="left:0px; top:126px; width:186px; height:13px; font-family:돋움체; vertical-align:middle; ">멸균물품보관장</caption>
- <caption id="caption15" style="left:420px; top:145px; width:25px; height:23px; font-family:돋움체; font-size:11pt; text-align:left; vertical-align:middle; padding-left:0; ">%</caption>
- <line id="line6" class="line_3" style="x1:596px; y1:122px; x2:596px; y2:212px; font-family:돋움체; "/>
- <datagrid id="grd_drctlist" nodeset="/root/main/nodeinfo/drctlist" caption="이월수량^사용수량^사용수량^사용수량^청구수량^재고수량^caption1^caption2|이월수량^DAY^EVE^사용수량^청구수량^재고수량^caption1^caption2" colsep="^" colwidth="132, 99, 100, 0, 125, 125, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:600px; top:145px; width:588px; height:93px; font-family:돋움체; ">
- <col ref="bfstockcnt" format="#,###" style="text-align:right; "/>
- <col ref="dayusecnt" type="input" style="text-align:right; "/>
- <col ref="eveusecnt" type="input" style="text-align:right; "/>
- <col ref="usecnt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="reqcnt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="stockcnt" format="#,###" style="text-align:right; "/>
- <col ref="workdd" visibility="hidden"/>
- <col ref="workseq" type="input" visibility="hidden"/>
- <col ref="instcd" type="input" visibility="hidden"/>
- <col ref="ioflag" type="input" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var col = grd_drctlist.col;
-
- if(col == grd_drctlist.colRef("dayusecnt") || col == grd_drctlist.colRef("eveusecnt")) {
- var dayusecnt = grd_drctlist.valueMatrix(grd_drctlist.row, grd_drctlist.colRef("dayusecnt"));
- var eveusecnt = grd_drctlist.valueMatrix(grd_drctlist.row, grd_drctlist.colRef("eveusecnt"));
-
- if(dayusecnt == "" || dayusecnt == null) {
- dayusecnt = 0;
- } else {
- dayusecnt = parseInt(dayusecnt);
- }
-
- if(eveusecnt == "" || eveusecnt == null) {
- eveusecnt = 0;
- } else {
- eveusecnt = parseInt(eveusecnt);
- }
-
- grd_drctlist.valueMatrix(grd_drctlist.row, grd_drctlist.colRef("usecnt")) = dayusecnt + eveusecnt;
- }
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:0px; y1:140px; x2:594px; y2:140px; font-family:돋움체; "/>
- <line id="line5" class="line_1" style="x1:599px; y1:140px; x2:1189px; y2:140px; font-family:돋움체; "/>
- <caption id="caption11" class="tit_2" style="left:600px; top:125px; width:195px; height:13px; font-family:돋움체; vertical-align:middle; ">E.O Gas Cartrige 사용현황</caption>
- <line id="line8" class="line_3" style="x1:0px; y1:212px; x2:1190px; y2:212px; font-family:돋움체; "/>
- <caption id="caption12" class="tit_2" style="left:595px; top:375px; width:170px; height:13px; font-family:돋움체; vertical-align:middle; ">CSR 실무공지</caption>
- <caption id="caption16" class="tit_2" style="left:0px; top:374px; width:170px; height:13px; font-family:돋움체; vertical-align:middle; ">장비이상보고</caption>
- <textarea id="textarea2" ref="/root/main/nodeinfo/drntlist/eqmt" style="left:0px; top:397px; width:590px; height:110px; font-family:돋움체; "/>
- <line id="line9" class="line_1" visibility="visible" style="x1:0px; y1:391px; x2:594px; y2:391px; font-family:돋움체; "/>
- <line id="line10" class="line_1" visibility="visible" style="x1:0px; y1:527px; x2:594px; y2:527px; font-family:돋움체; "/>
- <caption id="caption17" class="tit_2" style="left:5px; top:510px; width:170px; height:14px; font-family:돋움체; vertical-align:middle; ">진료재료 특이사항</caption>
- <textarea id="textarea3" ref="/root/main/nodeinfo/drntlist/spcf" style="left:0px; top:533px; width:590px; height:125px; font-family:돋움체; "/>
- <line id="line11" class="line_3" style="x1:595px; y1:529px; x2:595px; y2:656px; font-family:돋움체; "/>
- <line id="line12" class="line_3" style="x1:595px; y1:532px; x2:595px; y2:659px; font-family:돋움체; "/>
- <line id="line14" class="line_1" visibility="visible" style="x1:596px; y1:527px; x2:1190px; y2:527px; font-family:돋움체; "/>
- <caption id="caption18" class="tit_2" style="left:595px; top:511px; width:170px; height:13px; font-family:돋움체; vertical-align:middle; ">CCDR 실무공지</caption>
- <textarea id="textarea4" ref="/root/main/nodeinfo/drntlist/cdrnotice" style="left:596px; top:533px; width:590px; height:125px; font-family:돋움체; "/>
- <line id="line4" class="line_1" visibility="visible" style="x1:0px; y1:231px; x2:1185px; y2:230px; font-family:돋움체; "/>
- <line id="line17" class="line_3" style="x1:595px; y1:394px; x2:595px; y2:506px; font-family:돋움체; "/>
- <line id="line18" class="line_1" visibility="visible" style="x1:596px; y1:391px; x2:1190px; y2:391px; font-family:돋움체; "/>
- <textarea id="textarea1" ref="/root/main/nodeinfo/drntlist/allnotice" style="left:0px; top:234px; width:1187px; height:135px; font-family:돋움체; "/>
- <textarea id="textarea6" ref="/root/main/nodeinfo/drntlist/csrnotice" style="left:596px; top:397px; width:590px; height:110px; font-family:돋움체; "/>
- <caption id="caption21" class="tit_2" style="left:0px; top:215px; width:170px; height:13px; font-family:돋움체; vertical-align:middle; ">전체공지</caption>
- <button id="btn_chksave" class="btn5_letter2" disabled="false" visibility="visible" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:1145px; top:0px; width:42px; height:19px; font-family:돋움체; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.setValue("/root/send/workdd", model.getValue(ipt_workdd.attribute("ref")));
-
- model.copyNode("/root/send/savedata/savedrntdata", "/root/main/nodeinfo/drntlist");
- model.copyNode("/root/send/savedata/savedrctdata", "/root/main/nodeinfo/drctlist");
-
- if(!submit("TXMSG04001")){
- messageBox("저장을 실패하였습니다.", "E999");
- return;
- }
-
- fSearch() ;
- ]]>
- </script>
- </button>
- </case>
- <case id="case2" selected="true">
- <datagrid id="grd_rgstqtyiolist" nodeset="/root/main/nodeinfo/rgstqtyiolist" caption="물품명^교환^교환^청구^청구^대여^대여^멸균의뢰^멸균의뢰^재멸균^재멸균|물품명^Day^Eve^Day^Eve^Day^Eve^Day^Eve^Day^Eve" colsep="^" colwidth="165, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:320px; width:685px; height:340px; font-family:돋움체; ">
- <col ref="goodnm"/>
- <col ref="dlvexchngqtyday" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="dlvexchngqtyeve" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="dlvreqqtyday" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="dlvreqqtyeve" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="dlvlendqtyday" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="dlvlendqtyeve" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="dlvrgstqtyday" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="dlvrgstqtyeve" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="dlvrergstqtyday" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="dlvrergstqtyeve" format="#,###" style="text-align:right; padding-right:3; "/>
- </datagrid>
- <line id="line16" class="line_1" style="x1:0px; y1:315px; x2:685px; y2:315px; font-family:돋움체; "/>
- <caption id="caption20" class="tit_2" style="left:3px; top:300px; width:170px; height:13px; font-family:돋움체; vertical-align:middle; ">불출현황</caption>
- <datagrid id="grd_rgstqtylist" nodeset="/root/main/nodeinfo/rgstqtylist" caption="분류구분^장비명^부서구분^Day^Eve^합계" colsep="^" colwidth="108, 0, 94, 55, 55, 55" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:30px; width:385px; height:260px; font-family:돋움체; ">
- <col ref="goodflaghngnm"/>
- <col ref="csrfixasetnm" visibility="hidden"/>
- <col ref="csrreqdeptnm"/>
- <col ref="day" format="(-)#,###" style="text-align:right; padding-right:3; "/>
- <col ref="eve" format="(-)#,###" style="text-align:right; padding-right:3; "/>
- <col ref="sumcnt" format="(-)#,###" style="text-align:right; padding-right:3; "/>
- </datagrid>
- <caption id="caption22" class="tit_2" style="left:0px; top:10px; width:170px; height:13px; font-family:돋움체; vertical-align:middle; ">멸균현황</caption>
- <line id="line19" class="line_1" style="x1:0px; y1:25px; x2:385px; y2:25px; font-family:돋움체; "/>
- <line id="line21" class="line_1" style="x1:690px; y1:25px; x2:915px; y2:25px; font-family:돋움체; "/>
- <caption id="caption24" class="tit_2" style="left:690px; top:10px; width:225px; height:13px; font-family:돋움체; vertical-align:middle; ">Enema</caption>
- <line id="line22" class="line_1" style="x1:691px; y1:375px; x2:916px; y2:375px; font-family:돋움체; "/>
- <datagrid id="grd_linenlist" nodeset="/root/main/nodeinfo/linenlist" caption="물품명^Day^Eve" colsep="^" colwidth="110, 49, 49" mergecellsfixedrows="bycolrec" rowsep="|" style="left:691px; top:380px; width:225px; height:280px; font-family:돋움체; ">
- <col ref="csrgoodnm"/>
- <col ref="certrgstqtyday" type="input" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="certrgstqtyeve" type="input" format="#,###" style="text-align:right; padding-right:3; "/>
- </datagrid>
- <caption id="caption25" class="tit_2" style="left:691px; top:360px; width:225px; height:13px; font-family:돋움체; vertical-align:middle; ">진료재료파트 멸균의뢰</caption>
- <datagrid id="grd_ccdrcentrlist" nodeset="/root/main/nodeinfo/ccdrcentrlist" caption="구분^Day^Eve^caption1^caption2^caption3^caption4^caption5^caption6" colsep="^" colwidth="110, 46, 45, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:690px; top:130px; width:225px; height:95px; font-family:돋움체; ">
- <col ref="cdnm"/>
- <col ref="day" type="input" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="eve" type="input" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="workdd" visibility="hidden"/>
- <col ref="gubuncd" visibility="hidden"/>
- <col ref="workseq" visibility="hidden"/>
- <col ref="cdid" visibility="hidden"/>
- <col ref="ioflag" visibility="hidden"/>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- var row = grd_ccdrcentrlist.row;
- if(event.keyCode == 13) { // Enter 쳤을 경우 아래 수량으로
- if(grd_ccdrcentrlist.col == grd_ccdrcentrlist.colRef("day") ||
- grd_ccdrcentrlist.col == grd_ccdrcentrlist.colRef("eve") ) { //불출수량이나 미불출수량 엔터시
- if(grd_ccdrcentrlist.row + 1 < grd_ccdrcentrlist.rows) {
- grd_ccdrcentrlist.row = row + 1;
- }
- }
- }
- ]]>
- </script>
- </datagrid>
- <line id="line23" class="line_1" style="x1:690px; y1:125px; x2:915px; y2:125px; font-family:돋움체; "/>
- <caption id="caption26" class="tit_2" style="left:690px; top:110px; width:225px; height:13px; font-family:돋움체; vertical-align:middle; ">CCDR Cart(중앙수술실)</caption>
- <line id="line24" class="line_1" style="x1:920px; y1:25px; x2:1190px; y2:25px; font-family:돋움체; "/>
- <datagrid id="grd_etclist" nodeset="/root/main/nodeinfo/etclist" caption="물품명^Day^Eve^caption1^caption2^caption3^caption4^caption5^caption6^caption7" colsep="^" colwidth="117, 56, 56, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:920px; top:30px; width:270px; height:485px; font-family:돋움체; ">
- <col ref="item"/>
- <col ref="day" type="input" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="eve" type="input" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="ioflag" visibility="hidden"/>
- <col ref="gubuncd" visibility="hidden"/>
- <col ref="workseq" visibility="hidden"/>
- <col ref="cdid" visibility="hidden"/>
- <col ref="workdd" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="flag" visibility="hidden" style="text-align:right; "/>
- <script type="javascript" ev:event="onstartedit">
- <![CDATA[
- if ( grd_etclist.valueMatrix(grd_etclist.row,grd_etclist.colRef("ioflag")) == "")
- {
- event.defaultAction = "cancel";
- }
- else
- {
- event.defaultAction = "perform";
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- var row = grd_etclist.row;
- if(event.keyCode == 13) { // Enter 쳤을 경우 아래 수량으로
- if(grd_etclist.col == grd_etclist.colRef("day") ||
- grd_etclist.col == grd_etclist.colRef("eve") ) { //불출수량이나 미불출수량 엔터시
- if(grd_etclist.row + 1 < grd_etclist.rows) {
- grd_etclist.row = row + 1;
- }
- }
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption27" class="tit_2" style="left:920px; top:10px; width:75px; height:13px; font-family:돋움체; vertical-align:middle; ">기타업무</caption>
- <line id="line25" class="line_1" style="x1:690px; y1:250px; x2:915px; y2:250px; font-family:돋움체; "/>
- <datagrid id="grd_ccdroperlist" nodeset="/root/main/nodeinfo/ccdroperlist" caption="구분^Day^Eve^caption1^caption2^caption3^caption4^caption5^caption6" colsep="^" colwidth="110, 45, 45, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:691px; top:255px; width:225px; height:95px; font-family:돋움체; ">
- <col ref="cdnm"/>
- <col ref="day" type="input" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="eve" type="input" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="workdd" visibility="hidden"/>
- <col ref="gubuncd" visibility="hidden"/>
- <col ref="workseq" visibility="hidden"/>
- <col ref="cdid" visibility="hidden"/>
- <col ref="ioflag" visibility="hidden"/>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- var row = grd_ccdroperlist.row;
- if(event.keyCode == 13) { // Enter 쳤을 경우 아래 수량으로
- if(grd_ccdroperlist.col == grd_ccdroperlist.colRef("day") ||
- grd_ccdroperlist.col == grd_ccdroperlist.colRef("eve") ) { //불출수량이나 미불출수량 엔터시
- if(grd_ccdroperlist.row + 1 < grd_ccdroperlist.rows) {
- grd_ccdroperlist.row = row + 1;
- }
- }
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption28" class="tit_2" style="left:690px; top:235px; width:225px; height:13px; font-family:돋움체; vertical-align:middle; ">CCDR Cart(일일수술실)</caption>
- <datagrid id="grd_machiuselist" nodeset="/root/main/nodeinfo/machiuselist" caption="분류구분^장비명^Day^Eve^합계" colsep="^" colwidth="77, 82, 39, 39, 39" mergecellsfixedrows="bycolrec" rowsep="|" style="left:390px; top:30px; width:295px; height:260px; font-family:돋움체; ">
- <col ref="divsnm"/>
- <col ref="csrfixasetnm"/>
- <col ref="dutyday" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="dutyeve" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="sumcnt" format="#,###" style="text-align:right; padding-right:3; "/>
- </datagrid>
- <line id="line20" class="line_1" style="x1:390px; y1:25px; x2:685px; y2:25px; font-family:돋움체; "/>
- <caption id="caption23" class="tit_2" style="left:390px; top:10px; width:177px; height:13px; font-family:돋움체; vertical-align:middle; ">장비사용현황</caption>
- <datagrid id="grd_enemalist" nodeset="/root/main/nodeinfo/enemalist" caption="구분^Day^Eve^caption1^caption2^caption3^caption4^caption5^caption6" colsep="^" colwidth="110, 46, 45, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:690px; top:30px; width:225px; height:75px; font-family:돋움체; ">
- <col ref="cdnm"/>
- <col ref="day" type="output" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="eve" type="output" format="#,###" style="text-align:right; padding-right:3; "/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="workdd" visibility="hidden"/>
- <col ref="gubuncd" visibility="hidden"/>
- <col ref="workseq" visibility="hidden"/>
- <col ref="cdid" visibility="hidden"/>
- <col ref="ioflag" visibility="hidden"/>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- // var row = grd_enemalist.row;
- // if(event.keyCode == 13) { // Enter 쳤을 경우 아래 수량으로
- // if(grd_enemalist.col == grd_enemalist.colRef("day") ||
- // grd_enemalist.col == grd_enemalist.colRef("eve") ) { //불출수량이나 미불출수량 엔터시
- // if(grd_enemalist.row + 1 < grd_enemalist.rows) {
- // grd_enemalist.row = row + 1;
- // }
- // }
- // }
- // ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- var srchflag = model.getValue(rdo_search.attribute("ref"));
- var srchsumflag = model.getValue(rdo_sum.attribute("ref"));
-
- if(srchflag == "D") {
- setParameter("fromdd", model.getValue(ipt_workdd.attribute("ref")));
- setParameter("todd", model.getValue(ipt_workdd.attribute("ref")));
- } else {
- if(srchsumflag == "D") {
- setParameter("fromdd", model.getValue(ipt_workdd.attribute("ref")));
- setParameter("todd", model.getValue(ipt_worktodd.attribute("ref")));
-
- } else if(srchsumflag == "M") {
- var fromdd = model.getValue(ipt_workdd.attribute("ref"));
-
-
- setParameter("fromdd", fromdd.substring(0,6) + "01");
- setParameter("todd", fromdd.substring(0,6) + getLastDay(fromdd));
-
- } else if(srchsumflag == "Y") {
-
- var year = model.getValue(ipt_workdd.attribute("ref")).substring(0,4);
-
- setParameter("fromdd", year + "0101");
- setParameter("todd", year + "1231");
-
- }
- }
-
- open("SPMNG04300");
-
-
-
- ]]>
- </script>
- </datagrid>
- <button id="button5" class="btn5_letter2" disabled="false" visibility="visible" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:1145px; top:5px; width:42px; height:19px; font-family:돋움체; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var enemalist = getGridUpdateData(grd_enemalist);
- var etclist = getGridUpdateData(grd_etclist);
- var ccdrcentrlist = getGridUpdateData(grd_ccdrcentrlist);
- var ccdroperlist = getGridUpdateData(grd_ccdroperlist);
-
- //노드 SET
- model.makeValue("/root/send/savedata/enemalist", enemalist);
- model.makeValue("/root/send/savedata/etclist" , etclist);
- model.makeValue("/root/send/savedata/ccdrcentrlist", ccdrcentrlist);
- model.makeValue("/root/send/savedata/ccdroperlist", ccdroperlist);
-
- model.setValue("/root/send/workdd", model.getValue(ipt_workdd.attribute("ref")));
-
- if(!submit("TXMSG04001")){
- messageBox("저장을 실패하였습니다.", "E999");
- return;
- }
-
- fSearch() ;
-
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter2" style="left:1101px; top:5px; width:42px; height:19px; font-family:돋움체; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var fromdd = model.getValue(ipt_workdd.attribute("ref"));
- var srchflag = model.getValue(rdo_search.attribute("ref"));
- var srchsumflag = model.getValue(rdo_sum.attribute("ref"));
-
- var workdd = model.getValue(ipt_workdd.attribute("ref"));
-
- model.makeValue("/root/cond/srchsumflag", model.getValue(rdo_sum.attribute("ref")));
- model.makeValue("/root/cond/srchflag", model.getValue(rdo_sum.attribute("ref")));
-
- if(srchflag == "D") {
- model.makeValue("/root/cond/fromdd", model.getValue(ipt_workdd.attribute("ref")));
- model.makeValue("/root/cond/todd", model.getValue(ipt_worktodd.attribute("ref")));
- } else {
- if(srchsumflag == "D") {
- model.makeValue("/root/cond/fromdd", model.getValue(ipt_workdd.attribute("ref")));
- model.makeValue("/root/cond/todd", model.getValue(ipt_workdd.attribute("ref")));
- } else if(srchsumflag == "M") {
- var dd = workdd.toDate();
- var lastday = dd.getMonthDay();
-
- model.makeValue("/root/cond/fromdd", workdd.substr(0,6) + "01");
- model.makeValue("/root/cond/todd", workdd.substr(0,6) + lastday);
-
- } else if(srchsumflag == "Y") {
- model.makeValue("/root/cond/fromdd", workdd.substr(0,4) + "0101");
- model.makeValue("/root/cond/todd", workdd.substr(0,4) + "1231");
- }
- }
-
- if (getGridUpdateData(grd_etclist).length == 0) {
- exeReportPreview("RPMSG04001", "XMLSTR", "", "", "false","","","","","false", "", "");//미리보기
- } else {
- messageBox("입력된 정보가 있어서 출력할 수 없습니다.", "E999");
- return;
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_cleanlist" nodeset="/root/main/nodeinfo/cleanlist" caption="명칭^건수" colsep="^" colwidth="166, 87" mergecellsfixedrows="bycolrec" rowsep="|" style="left:920px; top:540px; width:270px; height:120px; ">
- <col ref="cdnm"/>
- <col ref="cnt" style="text-align:right; "/>
- </datagrid>
- <line id="line7" class="line_1" style="x1:919px; y1:535px; x2:1189px; y2:535px; font-family:돋움체; "/>
- <caption id="caption31" class="tit_2" style="left:919px; top:520px; width:225px; height:14px; font-family:돋움체; vertical-align:middle; ">세척현황</caption>
- <select1 id="combo1" ref="/root/send/chkyn" appearance="minimal" style="left:995px; top:5px; width:89px; height:19px; ">
- <choices>
- <item>
- <label>사용물품</label>
- <value>Y</value>
- </item>
- <item>
- <label>미사용물품</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- </case>
- <case id="case3"/>
- </switch>
- <button id="button2" class="btn_sw7" group="tab" style="left:76px; top:59px; width:88px; height:22px; font-family:돋움체; ">
- <caption>기본업무관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- cnfmrndisable();
-
- model.toggle("case2");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn_sw5" group="tab" selected="true" style="left:0px; top:59px; width:76px; height:22px; font-family:돋움체; ">
- <caption>공지사항</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //model.removeNodeset("/root/tmp/tabflag");
- //model.makeValue("/root/tmp/tabflag","1");
- //btn_excel.attribute("visibility") = "visible";
- //btn_allprt.attribute("visibility") = "hidden";
- cnfmrndisable();
-
- model.toggle("case1");
-
-
- ]]>
- </script>
- </button>
- <input id="ipt_cnfmrid" ref="/root/main/nodeinfo/drntlist/cnfmrid" editable="false" style="left:1005px; top:57px; width:80px; height:19px; font-family:돋움체; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (getUserInfo("userid") == model.getValue("/root/setvalue/cnfmrid") ) {
- ipt_cnfmrid.attribute("editable") = "true";
- model.setValue(ipt_cnfmrid.attribute("ref"), getUserInfo("userid"));
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <button id="btn_dlvhide" class="btn2_letter8" style="left:650px; top:55px; width:108px; height:19px; font-family:돋움체; ">
- <caption>Set 및 기구관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMMSG04100" ,"1", "100", "100", "SMMSG04100", "", "");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter6" style="left:765px; top:55px; width:86px; height:19px; font-family:돋움체; ">
- <caption>Check List</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMMNG01400" ,1, "100", "100", "SMMNG01400", "", "");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter4" style="left:857px; top:55px; width:64px; height:19px; font-family:돋움체; ">
- <caption>항목관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMMSG03000" ,"", "100", "100", "SMMSG03000", "", "");
- ]]>
- </script>
- </button>
- <input id="input2" ref="/root/main/nodeinfo/drntlist/cnfmrnm" disabled="true" style="left:1090px; top:57px; width:80px; height:19px; font-family:돋움체; "/>
- </group>
- <caption id="caption29" visibility="visible" style="left:940px; top:70px; width:65px; height:20px; font-weight:bold; ">* 확인자 :</caption>
- </xhtml:body>
- </xhtml:html>
|