123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750 |
- <?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>
- <controlinfo>
- <cntrlst>
- <pat>
- <pid/>
- <pnm/>
- <sex/>
- <age/>
- <tagno/>
- <regtime/>
- <cmpyflag/>
- <rtime/>
- <healexamplacecd/>
- <orddd/>
- </pat>
- <room>
- <sel/>
- <examroomid/>
- <examroomnm/>
- <waitpsncnt/>
- <healexamplacecd/>
- <orddd/>
- </room>
- <patcnt>
- <totcnt/>
- <endcnt/>
- <examcnt/>
- <waitcnt/>
- </patcnt>
- </cntrlst>
- </controlinfo>
- <controldetl>
- <roomdetllst>
- <wait>
- <sel/>
- <pid/>
- <pidnm/>
- <tagno/>
- <regroomdate/>
- <examid/>
- <examroomid/>
- <healexamplacecd/>
- <rtime/>
- <orddd/>
- <cmpyflag/>
- </wait>
- <end>
- <sel/>
- <pid/>
- <pidnm/>
- <tagno/>
- <regroomdate/>
- <finroomdate/>
- <examid/>
- <examroomid/>
- <healexamplacecd/>
- <rtime/>
- <waityn/>
- <orddd/>
- </end>
- </roomdetllst>
- <examlst>
- <item>
- <sel/>
- <examroomid/>
- <examnm/>
- <waitpsncnt/>
- <examorddd/>
- <finyn/>
- <findate/>
- <pid/>
- <rtime/>
- <healexamplacecd/>
- <examid/>
- </item>
- <pre>
- <healexamplacecd/>
- <examid/>
- <examroomid/>
- <preexamid/>
- <preexamroomid/>
- <preexamnm/>
- </pre>
- </examlst>
- </controldetl>
- <bfinqrinfo>
- <bfinqr>
- <inqrnm/>
- <answcnts/>
- </bfinqr>
- <remcnts>
- <remcnts/>
- <clntgrde/>
- </remcnts>
- </bfinqrinfo>
- </main>
- <send>
- <srchhealexamplacecd>S</srchhealexamplacecd>
- <srchorddd/>
- <srchpid/>
- <srchpnm/>
- <srchexamstat>1</srchexamstat>
- <srchtagno/>
- <room/>
- <patexam/>
- <save>
- <room/>
- <exam/>
- <choose>
- <examroom/>
- </choose>
- </save>
- <bfinfo>
- <srchrtime/>
- <srchbfpid/>
- <srchroom/>
- </bfinfo>
- </send>
- <init>
- <baseinfo>
- <healexamplacelst/>
- </baseinfo>
- </init>
- <hidden>
- </hidden>
- <codedata>
- <popupmenu>
- <menu>
- <item>
- <label>상세조회</label>
- <func>fGetBfInqr(grd_waitlst)</func>
- </item>
- </menu>
- </popupmenu>
- <popupmenu2>
- <menu>
- <item>
- <label>상세조회</label>
- <func>fGetBfInqr(grd_endlst)</func>
- </item>
- </menu>
- </popupmenu2>
- </codedata>
- </root>
- </instance>
- <submission id="TRAHA00001"/>
- <submission id="TRAHR00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/controlinfo/cntrlst"/>
- <submission id="TRAHR00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/room" resultref="/root/main/controldetl/roomdetllst"/>
- <submission id="TRAHR00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/patexam" resultref="/root/main/controldetl/examlst"/>
- <submission id="TRAHR00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/bfinfo" resultref="/root/main/bfinqrinfo"/>
- <submission id="TXAHR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden"/>
- <submission id="TXAHR00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/choose" resultref="/root/hidden"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetBasicCdList();
- fInit();
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- /*
- * 기본코드 정보 조회
- */
- function fGetBasicCdList() {
- healGetCodeList( new Array("S600")
- , new Array("/root/init/baseinfo/healexamplacelst") );
- }
-
- /*
- * 초기화
- */
- function fInit() {
- var cur_date = getCurrentDate();
- model.setValue(ipt_ordddate.attribute("ref"), cur_date);
- //cmb_placeflag.select(1);
- model.toggle("case_exam");
- btn_pat.selected = true;
- model.toggle("case_pid");
- btn_patdetl.selected = true;
-
- var vHealExamDetlFg = fGetHealExamDetlFlag();
- if( vHealExamDetlFg == 'C01' ){
- cmb_placeflag.value='S';
- } else if (vHealExamDetlFg == 'C03') {
- cmb_placeflag.value='K';
- }
- cmb_placeflag.refresh();
-
- }
-
- /*
- * 조회 조건에 따른 건진자,검사실 리스트 및 대기자현황 조회
- */
- function fGetCntrList() {
-
- if(submit("TRAHR00106")) {
- var roomid = model.getValue("/root/send/room/examroomid");
- var placecd = model.getValue("/root/send/room/healexamplacecd");
- for(var i=1; i < grd_roomlst.rows ; i++ ) {
- var desroomid = grd_roomlst.valueMatrix( i , grd_roomlst.colRef("examroomid"));
- var desplacecd = grd_roomlst.valueMatrix( i , grd_roomlst.colRef("healexamplacecd"));
- if(desroomid == roomid && placecd == desplacecd) {
- grd_roomlst.valueMatrix( i , grd_roomlst.colRef("sel")) = "Y";
- copyNodesetType("/root/send/room","/root/main/controlinfo/cntrlst/room[" + i + "]","replace");
- submit("TRAHR00107");
- }
- }
- fSetPatPaint();
- submit("TRAHR00108");
- fSetPaintUnChoose();
- model.refresh();
- }
- }
-
- /*
- * 검사자의 필요정보를 색깔로 표시한다.
- */
- function fSetPatPaint() {
- grd_patlst.rebuildStyle();
-
- for( i = 1; i < grd_patlst.rows; i++) {
- var cmpyflag = grd_patlst.valueMatrix( i , grd_patlst.colRef("cmpyflag"));
- if(cmpyflag == "Y") {
- grd_patlst.rowStyle(i, "data", "background-color") = "#f3e1bf";
- }else if (cmpyflag == "N") {
- grd_patlst.rowStyle(i, "data", "background-color") = "#7BE6B7";
- }
- }
- }
-
- /*
- * 검사자의 검사정보 리스트를 조회
- */
- function fGetPatExamList(vGrd) {
- var row = vGrd.row;
- copyNodesetType("/root/send/patexam",vGrd.nodeset + "[" + row + "]","replace");
- if(submit("TRAHR00108")) {
- btn_patdetl.dispatch("DOMActivate");
- }
- }
-
- /*
- * 검사완료 후 검사실 미지정자를 표시한다.
- */
- function fSetPaintUnChoose() {
- grd_endlst.rebuildStyle();
- grd_waitlst.rebuildStyle();
-
- for(var i=0; i <= grd_endlst.rows; i++) {
- var waityn = grd_endlst.valueMatrix(i , grd_endlst.colRef("waityn"));
- if(waityn == "Y") {
- grd_endlst.rowStyle(i , "data" , "background-color") = "#ffff00";
- }
- }
-
- for(var j=0; j < grd_waitlst.rows; j++) {
- var cmpyflag = grd_waitlst.valueMatrix( j , grd_waitlst.colRef("cmpyflag"));
- if(cmpyflag == "Y") {
- grd_waitlst.rowStyle(j, "data", "background-color") = "#f3e1bf";
- }else if (cmpyflag == "N") {
- grd_waitlst.rowStyle(j, "data", "background-color") = "#7BE6B7";
- }
- }
- }
- /*
- *검사실 지정을 하여 선택한다.
- */
- function fSetChooseRoom() {
- // 선택 검사 및 검사완료여부 체크
- var nodeList = instance1.selectNodes("/root/main/controldetl/examlst/pre");
- for(var i=1; i<=grd_examlst.rows; i++) {
- var sel = grd_examlst.valueMatrix(i, grd_examlst.colRef("sel"));
- var selexamroomid = grd_examlst.valueMatrix(i, grd_examlst.colRef("examroomid"));
- var selhealexamplacecd = grd_examlst.valueMatrix(i, grd_examlst.colRef("healexamplacecd"));
-
- // 선택되었으면서 검사 완료 되지 않은 검사실
- if(sel == "Y" ) {
- for(var x=1; x <= grd_examlst.rows; x++) {
- if(selexamroomid == grd_examlst.valueMatrix(x, grd_examlst.colRef("examroomid"))) {
- var srchexamroomid = grd_examlst.valueMatrix(x, grd_examlst.colRef("examroomid"))
- var srchexamid = grd_examlst.valueMatrix(x, grd_examlst.colRef("examid"))
- var srchhealexamplacecd = grd_examlst.valueMatrix(x, grd_examlst.colRef("healexamplacecd"))
- // 선택 한 검사가 선행검사를 검사실 있는지 체크
- for(var j=1; j<=nodeList.length; j++) {
- var desexamroomid = model.getValue("/root/main/controldetl/examlst/pre[" + j + "]/examroomid");
- var desexamid = model.getValue("/root/main/controldetl/examlst/pre[" + j + "]/examid");
- var deshealexamplacecd = model.getValue("/root/main/controldetl/examlst/pre[" + j + "]/healexamplacecd");
- var preexamroomid = model.getValue("/root/main/controldetl/examlst/pre[" + j + "]/preexamroomid");
- var preexamid = model.getValue("/root/main/controldetl/examlst/pre[" + j + "]/preexamid");
- var preexamnm = model.getValue("/root/main/controldetl/examlst/pre[" + j + "]/preexamnm");
-
- if(srchexamroomid == desexamroomid && srchexamid == desexamid && srchhealexamplacecd == deshealexamplacecd ) {
- // 선행검사가 있는 검사실 일경우 선행검사 완료 되었는지 체크
- var node = instance1.selectNodes(grd_examlst.nodeset + "[examid='" + preexamid + "' and examroomid='" + preexamroomid + "' and finyn='N']") ;
- if(node.length > 0) {
- messageBox("선행검사 [ " + preexamnm + " ] 미완료","E008");
- return;
- break;
- }
- }
- }
- }
- }
- }
- }
-
- copyNodesetType("/root/send/save/choose", "/root/send/patexam","replace");
- var nodeList = instance1.selectNodes(grd_examlst.nodeset + "[sel='Y']");
- if(nodeList.length < 1) {
- messageBox("지정할 검사실을","C002");
- return;
- }
- var rCSV = getNodeListCSV(nodeList);
- model.makeValue("/root/send/save/choose/examroom",rCSV);
-
- if(submit("TXAHR00102")) {
- fGetCntrList();
- }
- }
-
- function fGetBfInqr(vGrd)
- {
- var row = vGrd.row;
- model.setValue("/root/send/bfinfo/srchbfpid", model.getValue(vGrd.nodeset + "[" + row + "]/pid"));
- model.setValue("/root/send/bfinfo/srchrtime", model.getValue(vGrd.nodeset + "[" + row + "]/rtime"));
- submit("TRAHR00109");
- model.refresh();
- }
-
- function fSetGridColor()
- {
- for(var i = 1 ; i < grd_waitlst.rows; i++)
- {
- if(model.getValue("/root/main/controldetl/roomdetllst/wait/bfinqrcnt") > 0)
- {
- grd_waitlst.rowStyle(i, "data", "background-color") = "#FFF000";
- }
- }
- for(var i = 1 ; i < grd_endlst.rows; i++)
- {
- if(model.getValue("/root/main/controldetl/roomdetllst/end/bfinqrcnt") > 0)
- {
- grd_endlst.rowStyle(i, "data", "background-color") = "#FFF000";
- }
- }
- }
- ]]>
- </script>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:98px; height:14px; ">중앙관제화면</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group6" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetCntrList();
- ]]>
- </script>
- </button>
- <line id="line18" class="line_4" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-left-style:solid; "/>
- <caption id="caption59" class="search_name" style="left:186px; top:8px; width:86px; height:17px; ">건진일자 :</caption>
- <caption id="caption21" class="search_name" style="left:5px; top:8px; width:86px; height:17px; ">건진장소:</caption>
- <caption id="caption1" class="search_name" style="left:400px; top:8px; width:89px; height:17px; ">등록번호 :</caption>
- <caption id="caption2" class="search_name" style="left:945px; top:8px; width:89px; height:17px; ">태그번호 :</caption>
- <input id="ipt_ordddate" ref="/root/send/srchorddd" class="input_s_essential" inputtype="date" style="left:277px; top:8px; width:110px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="cmb_placeflag" ref="/root/send/srchhealexamplacecd" class="combo_default" appearance="minimal" style="left:98px; top:8px; width:76px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamplacelst/S600">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <input id="btn_tagno" ref="/root/send/srchtagno" style="left:1040px; top:8px; width:60px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == 13) {
- model.setValue("/root/send/srchtagno" , btn_tagno.currentText);
- btn_tagno.refresh();
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_srchpid" ref="/root/send/srchpid" class="input_search" imemode="hangul" style="left:490px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == 13) {
- btn_srchpat.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <button id="btn_srchpat" class="icon_search" style="left:595px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchPatInfo("SMAHA00100", "pid", ipt_srchpid.currentText , "N", "/root/send" ,ipt_srchpid.attribute("ref"), opt_srchpnm.attribute("ref") );
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <output id="opt_srchpnm" ref="/root/send/srchpnm" class="output_fix" style="left:615px; top:8px; width:115px; height:19px; "/>
- <caption id="caption5" class="search_name" style="left:745px; top:8px; width:89px; height:17px; ">검사상태:</caption>
- <select1 id="combo1" ref="/root/send/srchexamstat" class="combo_default" appearance="minimal" style="left:830px; top:8px; width:106px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>1</value>
- </item>
- <item>
- <label>검사완료자</label>
- <value>2</value>
- </item>
- <item>
- <label>검사자</label>
- <value>3</value>
- </item>
- <item>
- <label>검사대기자</label>
- <value>4</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- </group>
- <switch id="sw_rfid" style="left:488px; top:71px; width:704px; height:500px; ">
- <case id="case_examroom" selected="true">
- <datagrid id="grd_waitlst" nodeset="/root/main/controldetl/roomdetllst/wait" caption="선택^고객번호^고객명^태그번호^등록시간^examid^examroomid^healexamplacecd^rtime^orddd^cmpyflag" colsep="^" colwidth="80, 150, 150, 150, 160, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:30px; width:692px; height:215px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="pid"/>
- <col ref="pidnm"/>
- <col ref="tagno"/>
- <col ref="regroomdate" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="examid" visibility="hidden"/>
- <col ref="examroomid" visibility="hidden"/>
- <col ref="healexamplacecd" visibility="hidden"/>
- <col ref="rtime" visibility="hidden"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="cmpyflag" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(isDataCell()) {
- fGetPatExamList(grd_waitlst);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_waitlst", false, "/root/codedata/popupmenu/menu/item", "label", "func");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- <script type="javascript" ev:event="ondelayclick">
- <![CDATA[
- fGetBfInqr(grd_waitlst);
- ]]>
- </script>
- </datagrid>
- <button id="btn_choisel" class="btn2_letter4" style="left:633px; top:5px; width:64px; height:19px; ">
- <caption>검사완료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var nodeList = instance1.selectNodes(grd_waitlst.nodeset + "[sel='Y']");
- var rCSV = getNodeListCSV(nodeList);
- model.setValue("/root/send/save/room",rCSV);
- model.setValue("/root/send/save/exam","");
- if(submit("TXAHR00101")) {
- fGetCntrList();
- }
- ]]>
- </script>
- </button>
- <caption id="caption3" class="tit_2" style="left:5px; top:10px; width:144px; height:14px; ">검사실대기자리스트</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:25px; x2:697px; y2:25px; "/>
- <datagrid id="grd_endlst" nodeset="/root/main/controldetl/roomdetllst/end" caption="선택^고객번호^고객명^태그번호^등록시간^완료시간^examid^examroomid^healexamplacecd^rtime^waityn^orddd" colsep="^" colwidth="50, 120, 123, 80, 140, 140, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:275px; width:692px; height:218px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="pid"/>
- <col ref="pidnm"/>
- <col ref="tagno"/>
- <col ref="regroomdate" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="finroomdate" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="examid" visibility="hidden"/>
- <col ref="examroomid" visibility="hidden"/>
- <col ref="healexamplacecd" visibility="hidden"/>
- <col ref="rtime" visibility="hidden"/>
- <col ref="waityn" visibility="hidden"/>
- <col ref="orddd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(isDataCell()) {
- fGetPatExamList(grd_endlst);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="ondelayclick">
- <![CDATA[
- fGetBfInqr(grd_endlst);
- ]]>
- </script>
- </datagrid>
- <caption id="caption12" class="tit_2" style="left:5px; top:255px; width:144px; height:13px; ">검사완료자리스트</caption>
- <line id="line4" class="line_1" style="x1:5px; y1:270px; x2:697px; y2:270px; "/>
- <button id="button3" class="btn2_letter4" style="left:633px; top:250px; width:64px; height:19px; ">
- <caption>검사취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var nodeList = instance1.selectNodes(grd_endlst.nodeset + "[sel='Y']");
- var rCSV = getNodeListCSV(nodeList);
- model.setValue("/root/send/save/room","");
- model.setValue("/root/send/save/exam",rCSV);
- if(submit("TXAHR00101")) {
- fGetCntrList();
- }
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter2" style="left:590px; top:250px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
- grd_endlst.saveExcel(file);
- ]]>
- </script>
- </button>
- </case>
- <case id="case_pid" style="left:0px; top:0px; width:702px; height:500px; ">
- <button id="button1" class="btn2_letter5" style="left:622px; top:5px; width:75px; height:19px; ">
- <caption>검사실지정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetChooseRoom();
- ]]>
- </script>
- </button>
- <datagrid id="grd_examlst" nodeset="/root/main/controldetl/examlst/item" caption="선택^방번호^검사명^대기인원^검사일^완료여부^완료시간^등록번호^rtime^건진장소^검사ID" colsep="^" colwidth="50, 80, 150, 70, 100, 80, 160, 50, 50, 50, 50" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:30px; width:692px; height:465px; ">
- <col checkvalue="Y,N" ref="sel" type="radio"/>
- <col ref="examroomid"/>
- <col ref="examnm"/>
- <col ref="waitpsncnt"/>
- <col ref="examorddd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="finyn" type="combo">
- <choices>
- <item>
- <label>대기</label>
- <value>W</value>
- </item>
- <item>
- <label>미완료</label>
- <value>N</value>
- </item>
- <item>
- <label>완료</label>
- <value>Y</value>
- </item>
- </choices>
- </col>
- <col ref="findate" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="rtime" visibility="hidden"/>
- <col ref="healexamplacecd" visibility="hidden"/>
- <col ref="examid" visibility="hidden"/>
- </datagrid>
- <line id="line2" class="line_1" style="x1:5px; y1:25px; x2:697px; y2:25px; "/>
- <caption id="caption7" class="tit_2" style="left:5px; top:10px; width:144px; height:14px; ">검사내역</caption>
- </case>
- </switch>
- <button id="btn_patdetl" class="btn_sw" group="tab2" selected="true" style="left:493px; top:50px; width:90px; height:22px; ">
- <caption>건진자현황</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_pid");
- btn_patdetl.selected = true;
- ]]>
- </script>
- </button>
- <button id="btn_roomdetl" class="btn_sw" group="tab2" selected="true" style="left:583px; top:50px; width:90px; height:22px; ">
- <caption>검사실현황</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_examroom");
- btn_roomdetl.selected = true;
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter4" style="left:420px; top:50px; width:64px; height:19px; ">
- <caption>새로고침</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetCntrList();
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:0px; top:71px; width:484px; height:615px; ">
- <case id="case_exam" style="left:0px; top:0px; width:484px; height:615px; ">
- <line id="line5" class="line_1" style="x1:5px; y1:25px; x2:477px; y2:25px; "/>
- <caption id="caption11" class="tit_2" style="left:5px; top:10px; width:144px; height:14px; ">건진자현황</caption>
- <datagrid id="grd_patlst" nodeset="/root/main/controlinfo/cntrlst/pat" caption="등록번호^성명^성별^나이^태그번호^등록시간^단체여부^rtime^healexamplacecd^orddd" colsep="^" colwidth="90, 90, 40, 40, 60, 120, 60, 100, 100, 100" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:30px; width:472px; height:577px; ">
- <col ref="pid"/>
- <col ref="pnm"/>
- <col ref="sex"/>
- <col ref="age"/>
- <col ref="tagno"/>
- <col ref="regtime" format="yyyy-mm-dd hh:nn:ss"/>
- <col checkvalue="Y,N" disabled="true" ref="cmpyflag" type="checkbox"/>
- <col ref="rtime" visibility="hidden"/>
- <col ref="healexamplacecd" visibility="hidden"/>
- <col ref="orddd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(isDataCell()) {
- fGetPatExamList(grd_patlst);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_patlst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case_room" selected="true" style="left:0px; top:0px; width:484px; height:613px; ">
- <line id="line20" class="line_1" style="x1:5px; y1:25px; x2:477px; y2:25px; "/>
- <caption id="caption4" class="tit_2" style="left:5px; top:10px; width:144px; height:14px; ">검사실현황</caption>
- <datagrid id="grd_roomlst" nodeset="/root/main/controlinfo/cntrlst/room" caption="선택^검사실코드^검사실명^대기인원^건진장소^건진일자" colsep="^" colwidth="50, 100, 200, 95, 50, 50" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:30px; width:472px; height:577px; ">
- <col checkvalue="Y,N" ref="sel" type="radio" style="left:0px; top:23px; width:50px; height:23px; "/>
- <col ref="examroomid"/>
- <col ref="examroomnm"/>
- <col ref="waitpsncnt" style="text-align:center; "/>
- <col ref="healexamplacecd" visibility="hidden"/>
- <col ref="orddd" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(isDataCell()) {
- var col = grd_roomlst.col;
- if(col == grd_roomlst.colRef("sel")) {
- var row = grd_roomlst.row;
- copyNodesetType("/root/send/room","/root/main/controlinfo/cntrlst/room[" + row + "]","replace");
- model.setValue("/root/send/bfinfo/srchroom", model.getValue("/root/main/controlinfo/cntrlst/room[" + row + "]/examroomid"));
- if(submit("TRAHR00107")) {
- btn_roomdetl.dispatch("DOMActivate");
- fSetPaintUnChoose();
- fSetGridColor();
- }
- }
- }
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <caption id="cap_rsrvflag" class="cell_1" style="left:240px; top:692px; width:77px; height:23px; vertical-align:middle; ">검사완료자</caption>
- <line id="line46" class="line_2" style="x1:0px; y1:690px; x2:484px; y2:690px; "/>
- <caption id="caption8" class="cell_1" style="left:0px; top:692px; width:77px; height:23px; vertical-align:middle; ">전체검사자</caption>
- <caption id="caption9" class="cell_1" style="left:0px; top:718px; width:77px; height:23px; vertical-align:middle; ">검사자</caption>
- <line id="line3" class="line_2" style="x1:0px; y1:716px; x2:484px; y2:716px; "/>
- <output id="opt_acptcnt" ref="/root/main/controlinfo/cntrlst/patcnt/endcnt" class="output_fix" style="left:319px; top:694px; width:163px; height:19px; text-align:right; "/>
- <output id="output1" ref="/root/main/controlinfo/cntrlst/patcnt/totcnt" class="output_fix" style="left:79px; top:694px; width:158px; height:19px; text-align:right; "/>
- <output id="output2" ref="/root/main/controlinfo/cntrlst/patcnt/examcnt" class="output_fix" style="left:79px; top:720px; width:158px; height:19px; text-align:right; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:741px; x2:484px; y2:741px; "/>
- <caption id="caption10" class="cell_1" style="left:240px; top:717px; width:77px; height:23px; vertical-align:middle; ">검사대기자</caption>
- <output id="output3" ref="/root/main/controlinfo/cntrlst/patcnt/waitcnt" class="output_fix" style="left:319px; top:720px; width:163px; height:19px; text-align:right; "/>
- <button id="btn_pat" class="btn_sw" group="tab1" selected="true" style="left:5px; top:50px; width:60px; height:22px; ">
- <caption>건진자</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_exam");
- btn_pat.selected = true;
- ]]>
- </script>
- </button>
- <button id="btn_room" class="btn_sw" group="tab1" selected="true" style="left:65px; top:50px; width:60px; height:22px; ">
- <caption>검사실</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_room");
- btn_room.selected = true;
- ]]>
- </script>
- </button>
- <line id="line7" class="line_1" style="x1:489px; y1:600px; x2:1191px; y2:600px; "/>
- <caption id="caption13" class="tit_2" style="left:490px; top:580px; width:144px; height:13px; ">사전질의 알림</caption>
- <datagrid id="datagrid1" nodeset="/root/main/bfinqrinfo/bfinqr" caption="사전질의사항^답변" colsep="^" colwidth="315, 109" mergecellsfixedrows="bycolrec" rowsep="|" style="left:488px; top:605px; width:447px; height:134px; ">
- <col ref="inqrnm"/>
- <col ref="answcnts"/>
- </datagrid>
- <textarea id="tar_remcnts" ref="/root/main/bfinqrinfo/remcnts/remcnts" disabled="true" maxlength="500" style="left:940px; top:605px; width:249px; height:131px; "/>
- <input id="ipt_ownbamt" ref="/root/main/bfinqrinfo/remcnts/clntgrde" class="input_default" disabled="true" style="left:1050px; top:575px; width:135px; height:19px; text-align:right; "/>
- <caption id="caption26" class="cell_1" style="left:982px; top:575px; width:66px; height:20px; vertical-align:middle; ">
- <![CDATA[고객등급]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fPriceCheck();
- ]]>
- </script>
- </caption>
- <caption id="caption35" class="color_3" style="left:1091px; top:51px; width:15px; height:15px; "/>
- <caption id="caption36" style="left:1109px; top:52px; width:44px; height:14px; ">단체</caption>
- <caption id="caption37" class="color_4" style="left:1140px; top:51px; width:15px; height:15px; "/>
- <caption id="caption38" style="left:1158px; top:52px; width:33px; height:14px; ">개인</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; "/>
- </xhtml:body>
- </xhtml:html>
|