| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773 |
- <?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>
- <rsdhdinflist>
- <instcd/>
- <workdd/>
- <fixasetcd/>
- <goodflag/>
- <usetims/>
- <usetm/>
- <funtngtm/>
- <expsurtmpr/>
- <expsurtm/>
- <dinftmpr/>
- <dinfitemspec/>
- <nowrongyn/>
- <purfctm/>
- <userid/>
- <useridnm/>
- <totm/>
- <endpsnid/>
- <endpsnnm/>
- <cheindint/>
- <cheindext/>
- <biindng/>
- <biindg/>
- <bowdicok/>
- <bowdicic/>
- <bowdicna/>
- <incubtm/>
- <incubcnfmr/>
- <incubcnfmrnm/>
- <rsltcnfmtm/>
- <rsltcnfmpsn/>
- <rsltcnfmpsnnm/>
- <reading/>
- <spclmentfact/>
- <chrgid/>
- <chrgnm/>
- <cmt/>
- </rsdhdinflist>
- <eqiprgstlist>
- <instcd/>
- <fixasetcd/>
- <fixasetnm/>
- <dinfkind/>
- <useyn/>
- <cmt/>
- </eqiprgstlist>
- <prndatalist/>
- <list>
- <temp/>
- </list>
- </main>
- <send>
- <instcd/>
- <goodflag/>
- <dinfkind/>
- <workdd/>
- <usernm/>
- <true/>
- <fixasetcd/>
- <rsdhdinflist/>
- <test/>
- <dutycd/>
- </send>
- <init>
- <radio1>
- <label>고압증기</label>
- <value>1</value>
- <label>건열</label>
- <value>2</value>
- <label>EO gas</label>
- <value>3</value>
- <label>STERRAD</label>
- <value>4</value>
- <label>전체</label>
- <value/>
- </radio1>
- <biindflag>
- <label>No growth</label>
- <value>1</value>
- <label>Growth</label>
- <value>2</value>
- </biindflag>
- <bowdicflag1>
- <label>OK</label>
- <value>1</value>
- <label>IC</label>
- <value>2</value>
- <label>NA</label>
- <value>3</value>
- </bowdicflag1>
- <bowdicflag2>
- <label>No growth</label>
- <value>1</value>
- <label>Growth</label>
- <value>2</value>
- </bowdicflag2>
- </init>
- <temp>
- <nodeset/>
- </temp>
- </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="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TXRSE01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TRRSE01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rsdhdinflist"/>
- <submission id="TRRSE01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/reqcollcdeptlist"/>
- <submission id="TRRSE01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/prndatalist"/>
- <submission id="TRRSS01311" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/divsflaglist"/>
- <submission id="TRRSS01312" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/eqiprgstlist"/>
- <submission id="TRRSC06411" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/dutylist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- misfComboComCdList("Z0007", cmb_instcd); //기관코드
-
- //기관코드 설정
- // rszfUserReqInstList(cmb_instcd,getUserInfo("userid"),"5","B");
-
-
- misfGridInit(grd_reqcollcdeptlist);
- misfGridInit(grd_rsdhdinflist);
-
- model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/reqdata/useyn", "Y");
- model.makeValue("/root/send/reqdata/cdflag", "E");
- submit("TRRSC06411");
- model.removeNodeset("/root/main/dutylist[dutycd='S']"); //일반장비구분 삭제.
-
- addComboItem("cmb_dutycd", "전체" , "", "above");
- cmb_dutycd.refresh();
- //fsearch2();
-
- misfMsterDetailSet(grd_rsdhdinflist, null, "TRRSE01101", "Y");
-
- model.removeNodeset("/root/main/rsdhdinflist");
- model.removeNodeset("/root/main/reqcollcdeptlist");
- model.resetInstanceNode("/root/send");
-
- model.setValue("/root/send/usernm", getUserInfo("usernm")); // 사용자 이름 설정
- model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관 설정
- model.setValue("/root/send/goodflag", "E"); // 물품 설정
- model.setValue("/root/send/true", "Y"); // 사용유무 설정.
- model.setValue("/root/send/dinfkind", rdo_dinfkind.value); // 멸균 구분
- // model.setValue("/root/send/cntrdeptcd", getUserInfo("dutplcecd")); // 귀속부서 설정
-
- model.setValue("/root/send/workdd", getCurrentDate());
-
- //화면 권한 설정
- // btn_save.disabled = !(checkAuth("X"));
- // btn_prt.disabled= !(checkAuth("P"));
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- cmb_dutycd.select(0);
- rdo_dinfkind.select(0);
-
- fsearch();
-
-
- // rszfModeGetComboList( '012', , "grd_rsdhdinflist.csrfixasetmdnm");
-
- // var obj = document.controls(grd_rsdhdinflist.colAttribute(grd_rsdhdinflist.colRef("csrfixasetmdnm"), "id"));
- // alert(obj.choices.itemset.attribute("nodeset"));
- misfSetReadOnlyCol(grd_reqcollcdeptlist, "fixasetcd,fixasetnm", true);
- }
-
- function fModeCheck()
- {
- // var fixasetcd = grd_reqcollcdeptlist.valueMatrix(grd_reqcollcdeptlist.row, grd_reqcollcdeptlist.colRef("fixasetcd"));
- //
- // if( fixasetcd.substr(0, 5) == "E8001" ) {
- //
- // grd_rsdhdinflist.colHidden(grd_rsdhdinflist.colRef("purfctm")) = false;
- //
- // } else {
- //
- // grd_rsdhdinflist.colHidden(grd_rsdhdinflist.colRef("purfctm")) = true;
- //
- // }
- }
- function fCheckTime(ftimeset)
- {
- if(grd_rsdhdinflist.col == grd_rsdhdinflist.colRef(ftimeset))
- {
- var sTime = grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef(ftimeset));
-
- if(sTime.length != 4)
- {
- messageBox("네자리를 ","C001");
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef(ftimeset)) = "";
- return;
- }
-
- var sFrontTime = sTime.substr(0, 2);
- var sBackTime = sTime.substr(2, 2);
-
- if(parseInt(sFrontTime) > 24)
- {
- messageBox("24시를 ","E003");
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef(ftimeset)) = "";
- return;
- }
-
- if(parseInt(sBackTime) > 59)
- {
- messageBox("59분을 ","E003");
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef(ftimeset)) = "";
- return;
- }
- }
- }
-
- // 장비코드 조회
- function fsearch()
- {
-
- model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/reqdata/dutycd", cmb_dutycd.value);
- model.makeValue("/root/send/reqdata/divscd", rdo_dinfkind.value);
- model.makeValue("/root/send/reqdata/useyn", "Y");
-
-
- if(submit("TRRSS01312")) {
-
- }
- //
- //
- }
-
- function fsearch2() {
- var dutycd = model.getValue(cmb_dutycd.attribute("ref"));
-
- model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/reqdata/dutycd", dutycd);
- model.makeValue("/root/send/reqdata/useyn", "Y");
-
- submit("TRRSS01311");
- addComboItem("rdo_dinfkind", "전체" , "", "above");
- rdo_dinfkind.select(0);
- }
-
- function fsearch3() {
-
- model.removeNodeset("/root/main/rsdhdinflist");
- grd_rsdhdinflist.rebuild();
-
- model.makeValue("/root/send/reqdata/instcd", cmb_instcd.value);
- model.makeValue("/root/send/reqdata/dutycd", cmb_dutycd.value);
- model.makeValue("/root/send/reqdata/divscd", cmb_dinfkind.value);
- model.makeValue("/root/send/reqdata/useyn", "Y");
-
- if(submit("TRRSS01312")) {
- grd_reqcollcdeptlist.row = 1;
- }
- }
-
- // 세부내역 조회
- function fsearchGrid()
- {
- var updtdata = getGridUpdateData(grd_rsdhdinflist);
- if ( updtdata != "") {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
-
- model.setValue("/root/send/fixasetcd", grd_reqcollcdeptlist.valueMatrix(grd_reqcollcdeptlist.row, grd_reqcollcdeptlist.colRef("fixasetcd")));
- model.setValue("/root/send/workdd", ipt_workdd.value);
- model.setValue("/root/send/dinfkind", rdo_dinfkind.value); // 멸균 구분
- submit("TRRSE01101");
- misfSetReadOnlyCol(grd_rsdhdinflist, "instcd,workdd,fixasetcd,goodflag", true);
- }
-
- //행 추가
- function finsert()
- {
- if(grd_reqcollcdeptlist.valueMatrix(grd_reqcollcdeptlist.row, grd_reqcollcdeptlist.colRef("fixasetcd")) == "")
- {
- messageBox("장비코드를","C002");
- }else{
- misfGridIUD(grd_rsdhdinflist, "A");
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("fixasetcd")) = grd_reqcollcdeptlist.valueMatrix(grd_reqcollcdeptlist.row, grd_reqcollcdeptlist.colRef("fixasetcd"));
- }
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("usetims") ) = grd_rsdhdinflist.row;
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("chrgid") ) = getUserInfo("userid");
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("chrgnm") ) = getUserInfo("usernm");
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("workdd")) = ipt_workdd.value;
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("goodflag")) = "E";
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("nowrongyn")) = "Y";
-
- if(grd_reqcollcdeptlist.valueMatrix(grd_reqcollcdeptlist.row, grd_reqcollcdeptlist.colRef("instcd")) == "")
- {
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("instcd")) = cmb_instcd.value;
- }else{
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("instcd")) = grd_reqcollcdeptlist.valueMatrix(grd_reqcollcdeptlist.row, grd_reqcollcdeptlist.colRef("instcd"));
- }
-
- misfSetReadOnlyCol(grd_rsdhdinflist, "instcd,fixasetcd,goodflag", true);
- }
-
-
- function fModeComboNodeSetGet()
- {
- //////////////////////////모드코드 콤보설정//////////////////////////////////////////
- // 모드 콤보 설정되기전에 콤보에 nodeset이 지정되어 있으며 화면상에 나타내어 지고 있으면 콤보의 노드를 변경할 수가 없다.
- // 그리드를 초기화 시켜줌으로써 nodeset을 재설정 할수있도록 해준다.
- misfGridInit(grd_rsdhdinflist);
- grd_rsdhdinflist.rebuild();
-
- // 모드코드 콤보를 설정한다.
- rszfModeGetComboList( grd_reqcollcdeptlist.valueMatrix(grd_reqcollcdeptlist.row, grd_reqcollcdeptlist.colRef("instcd")), grd_reqcollcdeptlist.valueMatrix(grd_reqcollcdeptlist.row, grd_reqcollcdeptlist.colRef("fixasetcd")), "grd_rsdhdinflist.csrfixasetmd");
-
- /* 모드콤보에 설정된 nodeset을 임시저장소에 담아둔다.
- 이유 : 임시저장소에 저장된 nodeset은 모드코드콤보를 선택했을시
- 콤보값에 맞는 노출시간과 멸균온도를 가져오기위한 위치를 나타낼때 사용됨.
- */
- var obj = document.controls(grd_rsdhdinflist.colAttribute(grd_rsdhdinflist.colRef("csrfixasetmd"), "id"));
- model.removenode("/root/temp/nodeset");
- model.makeNode("/root/temp/nodeset");
- model.setValue("/root/temp/nodeset", obj.choices.itemset.attribute("nodeset"));
- //////////////////////////모드코드 콤보설정//////////////////////////////////////////
- }
-
- function fPrintRex() {
-
- model.makeNode("/root/send/report/rsdhdinflist");
-
- copyNodesetType("/root/send/report/rsdhdinflist", "/root/main/rsdhdinflist");
-
- exeReportPreview("RPRSE01102", "XMLSTR", "/root/send/report/rsdhdinflist");
-
- }
-
- function subTm(fstTm, lastTm) {
-
- var fstHour = fstTm.substr(0,2);
- var fstTm2 = fstTm.substr(2,2);
-
- var fstss = fstTm.substr(4,2);
-
- var lastHour = lastTm.substr(0,2);
- var lastTm2 = lastTm.substr(2,2);
- var lastss = lastTm.substr(4,2);
-
- var subHour = Number(lastHour) - Number(fstHour);
- var subTm = Number(lastTm2) - Number(fstTm2);
- var subss = Number(lastss) - Number(fstss);
-
- var hr;
- var tm;
- var ss;
-
- if(subss < 0) {
- subss += 60;
- subTm -= 1;
- }
-
- if(subTm < 0) {
- subTm += 60;
- subHour -= 1;
- }
-
- if(subHour < 0) {
- subHour += 24;
- }
-
- if(subHour < 10) {
- subHour = "0" + subHour;
- } else {
- subHour = String(subHour);
- }
-
- if(subTm < 10) {
- subTm = "0" + subTm;
- } else {
- subTm = String(subTm);
- }
-
- if(subss <10) {
- subss = "0" + subss;
- } else {
- subss = String(subss);
- }
- return subHour + subTm + subss;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body 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:186px; height:14px; ">일일 멸균일지</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1191px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:4px; width:1190px; height:51px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_workdd" class="search_name" style="left:15px; top:35; width:86px; height:17px; ">작업일자 :</caption>
- <caption id="cap_dinfkind" class="search_name" style="left:465px; top:10px; width:102px; height:17px; ">멸균구분 :</caption>
- <input id="ipt_workdd" ref="/root/send/workdd" class="input_default" inputtype="date" style="left:103px; top:34px; width:120px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var workdd = model.getValue(ipt_workdd.attribute("ref"));
-
-
- if(workdd == getCurrentDate()) {
- btn_insert.disabled = false;
- btn_delete.disabled = false;
- btn_save.disabled = false;
-
- } else {
- btn_insert.disabled = true;
- btn_delete.disabled = true;
- btn_save.disabled = true;
-
- }
- btn_insert.refresh();
- btn_delete.refresh();
- btn_save.refresh();
- fsearchGrid();
- ]]>
- </script>
- </input>
- <caption id="cap_usernm" class="search_name" visibility="hidden" style="left:235px; top:35px; width:83px; height:17px; ">담 당 자 :</caption>
- <output id="opt_usernm" ref="/root/send/usernm" class="output_fix" visibility="hidden" appearance="output" style="left:323px; top:34px; width:130px; height:19px; "/>
- <line id="line30" class="line_4" style="x1:985px; y1:14px; x2:985px; y2:47px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:996px; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fsearch3();
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" navindex="2" appearance="minimal" style="left:103px; top:8px; width:120px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/instcd", cmb_instcd.value);
- fsearch();
- ]]>
- </script>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:15px; top:9; width:90px; height:17px; ">기관코드 :</caption>
- <select1 id="rdo_dinfkind" ref="/root/send/dinfkind" visibility="hidden" appearance="full" cellspacing="5" cols="5" overflow="visible" style="left:660px; top:10px; width:219px; height:15px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/divsflaglist">
- <label ref="divsnm"/>
- <value ref="divscd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- fsearch();
- ]]>
- </script>
- </select1>
- <button id="btn_excel" class="btn1_letter2" style="left:1054px; top:19px; width:56px; height:22px; ">
- <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_csrtmlist.saveExcel(fileName, "일일멸균일지");
- }
- ]]>
- </script>
- </button>
- <button id="btn_prt" class="btn1_letter2" style="left:1112px; top:19px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fPrintRex();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:235px; top:10px; width:87px; height:17px; ">장비구분 :</caption>
- <select1 id="cmb_dutycd" ref="/root/send/dutycd" appearance="minimal" style="left:323px; top:10px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/dutylist">
- <label ref="dutynm"/>
- <value ref="dutycd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fsearch2();
- fsearch3();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_dinfkind" ref="/root/send/dinfkind" appearance="minimal" style="left:550px; top:10px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/divsflaglist">
- <label ref="divsnm"/>
- <value ref="divscd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fsearch3();
- ]]>
- </script>
- </select1>
- </group>
- <caption id="cap_fixasetcdlist" class="tit_2" style="left:5px; top:80px; width:80px; height:13px; ">장비코드</caption>
- <line id="line1" class="line_1" style="x1:205px; y1:94px; x2:1195px; y2:94px; "/>
- <datagrid id="grd_rsdhdinflist" nodeset="/root/main/rsdhdinflist" class="datagrid2" visibility="visible" autoresize="true" caption="횟수^모드^노출시간^멸균온도^시작시간^종료시간^작동시간^B-I^Bowie-Dick^정화시간^멸균품내역^이상무^비고^작동자ID^작동자ID^종료자ID^종료자ID^Chemical indicator Internal^Chemical indicator External^Incubator 시간^Incubator 확인자ID^Incubator 확인자ID^결과확인시간^결과확인자ID^결과확인자ID^reading^특기사항^담당자ID^담당자ID^기관코드^작업일자^고정자산코드^물품구분^사용
시간^노출온도" colsep="^" colwidth="36, 129, 75, 55, 70, 70, 55, 83, 73, 55, 192, 46, 250, 80, 70, 80, 70, 60, 60, 100, 160, 169, 130, 120, 120, 120, 100, 100, 120, 100, 100, 100, 130, 39, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:205px; top:99px; width:990px; height:635px; ">
- <col ref="usetims" format="9" _key="true" style="left:20px; top:23px; width:36px; height:23px; text-align:center; "/>
- <col ref="csrfixasetmd" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="expsurtm" format="hh:nn" maxlength="6" style="text-align:right; "/>
- <col ref="dinftmpr" maxlength="4" style="text-align:right; "/>
- <col ref="starttm" type="input" format="hh:nn:ss"/>
- <col ref="endtm" type="input" format="hh:nn:ss"/>
- <col ref="funtngtm" format="hh:nn:ss"/>
- <col ref="biindflag" type="combo" visibility="visible">
- <choices>
- <itemset nodeset="/root/init/biindflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col id="bowdicflag" ref="bowdicflag" type="combo" visibility="visible">
- <choices>
- <itemset nodeset="/root/init/bowdicflag1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="purfctm" type="input" format="hh:nn"/>
- <col ref="dinfitemspec" type="inputbutton" maxlength="96"/>
- <col checkvalue="Y,N" ref="nowrongyn" type="checkbox"/>
- <col ref="cmt" type="input" maxlength="100"/>
- <col ref="userid" type="inputbutton" maxlength="10"/>
- <col ref="useridnm"/>
- <col ref="endpsnid" type="inputbutton" maxlength="10"/>
- <col ref="endpsnnm"/>
- <col ref="cheindint" type="input" visibility="hidden" maxlength="24"/>
- <col ref="cheindext" type="input" visibility="hidden" maxlength="24"/>
- <col ref="incubtm" type="input" visibility="hidden" format="hh:nn"/>
- <col ref="incubcnfmr" type="inputbutton" visibility="hidden" maxlength="10"/>
- <col ref="incubcnfmrnm" visibility="hidden"/>
- <col ref="rsltcnfmtm" type="input" format="hh:nn"/>
- <col ref="rsltcnfmpsn" type="inputbutton" maxlength="10"/>
- <col ref="rsltcnfmpsnnm"/>
- <col ref="reading" type="input" visibility="hidden" maxlength="24"/>
- <col ref="spclmentfact" type="input" visibility="hidden" maxlength="36"/>
- <col ref="chrgid" type="inputbutton" visibility="hidden" maxlength="10"/>
- <col ref="chrgnm" visibility="hidden"/>
- <col ref="instcd" type="input" visibility="hidden" maxlength="3" _key="true"/>
- <col class="input_default" ref="workdd" type="inputdate" visibility="hidden" _key="true"/>
- <col ref="fixasetcd" type="input" visibility="hidden" maxlength="20" _key="true"/>
- <col ref="goodflag" type="input" visibility="hidden" maxlength="1" _key="true"/>
- <col disabled="true" ref="usetm" visibility="hidden" format="hh:nn"/>
- <col ref="expsurtmpr" type="input" visibility="hidden" maxlength="4"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fCheckTime("usetm");
- fCheckTime("funtngtm");
- fCheckTime("expsurtm");
- fCheckTime("purfctm");
- fCheckTime("totm");
- fCheckTime("incubtm");
- fCheckTime("rsltcnfmtm");
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- model.property("instcd") = cmb_instcd.value;
- model.property("dutplcecd") = getUserInfo("dutplcecd");
- model.property("dutplcenm") = getUserInfo("dutplcenm");
- clearParameter("param");
- if (grd_rsdhdinflist.col == grd_rsdhdinflist.colRef("userid")) {//작동자 ID 버튼을 눌렀을 때
- modal("SPRSE01102");
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("userid")) = model.property("userid");
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("useridnm")) = model.property("usernm");
- }
- else if (grd_rsdhdinflist.col == grd_rsdhdinflist.colRef("endpsnid")) {//종료자ID 버튼을 눌렀을 때
- modal("SPRSE01102");
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("endpsnid")) = model.property("userid");
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("endpsnnm")) = model.property("usernm");
- }
- else if (grd_rsdhdinflist.col == grd_rsdhdinflist.colRef("incubcnfmr")) {//Incubator 확인자ID 버튼을 눌렀을 때
- modal("SPRSE01102");
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("incubcnfmr")) = model.property("userid");
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("incubcnfmrnm")) = model.property("usernm");
- }
- else if (grd_rsdhdinflist.col == grd_rsdhdinflist.colRef("rsltcnfmpsn")) {//결과확인자ID 버튼을 눌렀을 때
- modal("SPRSE01102");
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("rsltcnfmpsn")) = model.property("userid");
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("rsltcnfmpsnnm")) = model.property("usernm");
- }
- else if (grd_rsdhdinflist.col == grd_rsdhdinflist.colRef("chrgid")) {//담당자ID 버튼을 눌렀을 때
- modal("SPRSE01102");
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("chrgid")) = model.property("userid");
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("chrgnm")) = model.property("usernm");
- }
- else if(grd_rsdhdinflist.col == grd_rsdhdinflist.colRef("dinfitemspec")){
- modal("SPRSE01101");
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("dinfitemspec")) = getParameter("param");
- grd_rsdhdinflist.resizeCells();
- }
- model.property("instcd") = "";
- model.property("dutplcecd") = "";
- model.property("dutplcenm") = "";
-
- // else if(grd_rsdhdinflist.col == grd_rsdhdinflist.colRef("csrfixasetmdnm")){
- // misfOpenPopUpList("42", grd_rsdhdinflist, "", "fixasetcd,csrfixasetmd,csrfixasetmdnm,expsurtm,dinftmpr", grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("instcd")) + "," + grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("fixasetcd")),"instcd,fixasetcd");
- // //rszfOpenPopUpListByWndName(grd_rsdhdinflist,"","csrfixasetmd,expsurtm,dinftmpr","SPRSD00300", "instcd,fixasetcd", sins+ "," + sfix, "Y");
- // }
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var starttm = grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("starttm"));
- var endtm = grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("endtm"));
-
- if(grd_rsdhdinflist.col == grd_rsdhdinflist.colRef("starttm") || grd_rsdhdinflist.col == grd_rsdhdinflist.colRef("endtm") ) {
- if(starttm.length < 6) {
- messageBox("시작시간 hh:mm:ss 시:분:초 자릿수가 맞지않습니다.", "E");
- grd_rsdhdinflist.col = grd_rsdhdinflist.colRef("starttm");
- return;
- }
-
- if(endtm.length < 6) {
- messageBox("종료시간 hh:mm:ss 시:분:초 자릿수가 맞지않습니다.", "E");
- grd_rsdhdinflist.col = grd_rsdhdinflist.colRef("endtm");
- return;
- }
- }
- var fixasetcd = grd_reqcollcdeptlist.valueMatrix(grd_reqcollcdeptlist.row, grd_reqcollcdeptlist.colRef("fixasetcd"));
- var csrfixasetmd = grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("csrfixasetmd"));
- if(grd_rsdhdinflist.col == grd_rsdhdinflist.colRef("csrfixasetmd")) {
-
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("expsurtm")) = model.getValue("/root/init/item/"+fixasetcd+"/rscmeqmdlist[csrfixasetmd='"+csrfixasetmd+"']/expsurtm");
-
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("dinftmpr")) = model.getValue("/root/init/item/"+fixasetcd+"/rscmeqmdlist[csrfixasetmd='"+csrfixasetmd+"']/dinftmpr");
-
- }
-
-
-
- if(starttm != "" && endtm != "") {
-
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("funtngtm")) = subTm(starttm, endtm);
- }
-
- ]]>
- </script>
- </datagrid>
- <button id="btn_delete" class="btn2_letter3" style="left:1089px; top:74px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_rsdhdinflist, "D");
- ]]>
- </script>
- </button>
- <button id="btn_insert" class="btn2_letter3" style="left:1033px; top:74px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // finsert()
- grd_rsdhdinflist.addRow();
-
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("fixasetcd")) = grd_reqcollcdeptlist.valueMatrix(grd_reqcollcdeptlist.row, grd_reqcollcdeptlist.colRef("fixasetcd"));
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("usetims") ) = grd_rsdhdinflist.row;
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("chrgid") ) = getUserInfo("userid");
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("chrgnm") ) = getUserInfo("usernm");
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("workdd")) = ipt_workdd.value;
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("goodflag")) = "E";
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("nowrongyn")) = "Y";
- grd_rsdhdinflist.valueMatrix(grd_rsdhdinflist.row, grd_rsdhdinflist.colRef("instcd")) = getUserInfo("dutplceinstcd");
-
- ]]>
- </script>
- </button>
- <caption id="caption4" class="tit_2" style="left:210px; top:80px; width:70px; height:13px; ">세부내역</caption>
- <datagrid id="grd_reqcollcdeptlist" nodeset="/root/main/eqiprgstlist" caption="기관코드^장비코드^멸균구분^장비명^CSR청구부서코드^사용유무^비고" colsep="^" colwidth="0, 0, 96, 90, 70, 58, 100, 100, 100" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:99px; width:200; height:635px; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="fixasetcd" visibility="hidden"/>
- <col ref="divsnm"/>
- <col ref="csrfixasetnm" style="text-align:center; "/>
- <col ref="dinfkind" visibility="hidden"/>
- <col ref="useyn" visibility="hidden"/>
- <col ref="cmt" visibility="hidden"/>
- <col ref="fixasetnm" visibility="hidden"/>
- <col ref="csrfixaset" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if(grd_reqcollcdeptlist.row > 0){
-
- fModeCheck();
-
- // 모드콤보 설정.
- fModeComboNodeSetGet();
-
- fsearchGrid();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:0px; y1:94px; x2:200; y2:94px; "/>
- <button id="btn_save" class="btn5_letter2" style="left:1145px; top:74px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_rsdhdinflist);
- if (updtdata == "")
- {
- messageBox("변경된 데이터가","I004");
- return;
- }
-
- //if(!checkKeyColumn("grd_rsdhdinflist")) return;
-
- rtn = messageBox("", "Q002");
- if(rtn != "6" ) return false;
-
- misfSave("TXRSE01101");
-
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|