123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLLR00100.xrw
- * 설 명 : 판독결과관리
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 조철형
- * 작 성 일 : 2007.
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" ztype="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/>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <patlist>
- <img/>
- <spclno/>
- <pid/>
- <patnm/>
- <tclsscrnnm/>
- <bcno/>
- <testcd/>
- </patlist>
- <testinfo>
- <spcltestinfo>
- <extrtestinstcd/>
- <pid/>
- <patnm/>
- <orddeptnm/>
- <orddrnm/>
- <bcno/>
- <bcolldt/>
- <spcacptdt/>
- <lastreptdt/>
- <medispcdt/>
- <testcd/>
- <tclsscrnm/>
- <descrslt/>
- <testlrgkind/>
- <tclscd/>
- </spcltestinfo>
- <detailtestinfo>
- <testcd/>
- <tclsscrnnm/>
- <inptrslt/>
- </detailtestinfo>
- </testinfo>
- <imglist>
- <rsltseqno/>
- <lastupdtrdt/>
- <imght/>
- <imgwidt/>
- </imglist>
- <view>
- <imgnm/>
- <imgrslt/>
- <imgwidt/>
- <imght/>
- <rsltseqno/>
- <savdelflag/>
- </view>
- <rsltcode>
- <cd/>
- <nm/>
- </rsltcode>
- </main>
- <send>
- <data1/>
- <data2/>
- <bcno/>
- <testcd/>
- </send>
- <init>
- <LB0103>
- <cd/>
- <nm/>
- </LB0103>
- <LB0901>
- <cd/>
- <nm/>
- </LB0901>
- </init>
- <hidden>
- <testgroup>
- <searchflag>1</searchflag>
- <searchtext/>
- <startdd/>
- <enddd/>
- <spcltestgrupcd/>
- <testgrupcd/>
- <rstflag>1</rstflag>
- <sworkseq>00001</sworkseq>
- <eworkseq>99999</eworkseq>
- </testgroup>
- <workno>
- <searchflag>1</searchflag>
- <searchtext/>
- <startdd/>
- <enddd/>
- <sworkseq>0000</sworkseq>
- <eworkseq>9999</eworkseq>
- <workcd/>
- <rstflag>1</rstflag>
- </workno>
- <refparam>
- <refgbn/>
- <refgbn2/>
- </refparam>
- <TestData>
- <bcno/>
- <testcd/>
- <spccd/>
- <inptrslt/>
- <rsltstat/>
- <testlrgkind/>
- <descrslt/>
- </TestData>
- <default/>
- <rsltseqno/>
- <RelationParm>
- <pid/>
- <tclsscrnnm/>
- <testcd/>
- <spccd/>
- </RelationParm>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
-
- fBaseInfoRef("0103|0901|0109|");
-
- model.setvalue("/root/hidden/testgroup/spcltestgrupcd" , "00");
- datagrid3.fixedcellcheckbox(0,1)=true;
- model.setvalue("/root/hidden/workno/startdd",getCurrentDate());
- model.setvalue("/root/hidden/workno/enddd",getCurrentDate());
-
- model.setvalue("/root/hidden/testgroup/startdd",getCurrentDate());
- model.setvalue("/root/hidden/testgroup/enddd",getCurrentDate());
-
-
-
- model.setvalue("/root/hidden/refparam/refgbn" , "1");
- model.setvalue("/root/hidden/refparam/refgbn2" , "1");
-
- button5.dispatch("DOMActivate");
- button6.dispatch("DOMActivate");
-
- datagrid3.removeRow();
- datagrid4.removeRow();
- grd_patList.removeRow();
- model.refresh();
- ]]>
- </script>
- <submission id="TRLRR00101" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/patlist"/>
- <submission id="TRLRR00102" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/testinfo"/>
- <submission id="TXLRR00101" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance"/>
- <submission id="TRLRR01502" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/view"/>
- <submission id="TRLRR01501" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/imglist"/>
- <submission id="TRLZZ00101" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/init"/>
- <submission id="TRLZZ00103" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/init/LB0103"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fSetClear(){
-
- model.removeNodeset("/root/main/patlist");
- model.resetInstanceNode("/root/main/testinfo/spcltestinfo");
- model.removeNodeset("/root/main/testinfo/detailtestinfo");
-
- model.refresh();
- }
-
- function Onclick_btnRef(){
-
- fSetClear();
- var refGbn = model.getvalue("/root/hidden/refparam/refgbn");
-
- if (refGbn == "1"){
- model.copyNode("/root/send/data1","/root/hidden/testgroup");
- }
- else if(refGbn == "2"){
- model.copyNode("/root/send/data1","/root/hidden/workno");
- }
-
- model.copyNode("/root/send/data2","/root/hidden/refparam");
-
- submit("TRLRR00101");
-
- model.copyNode("/root/send/data1","/root/hidden/default");
- model.copyNode("/root/send/data2","/root/hidden/default");
-
- for(i=1 ;i<grd_patList.rows;i++){
- if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "-"){
- grd_patList.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_N.gif";
- grd_patList.cellstyle("background-position", i, 1) = "center"
- }else if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "1"){
- grd_patList.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_1.gif";
- grd_patList.cellstyle("background-position", i, 1) = "center"
- }
- else if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "2"){
- grd_patList.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_2gif";
- grd_patList.cellstyle("background-position", i, 1) = "center"
- }
- else if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "4"
- || model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "5"
- || model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "6"){
- grd_patList.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_3.gif";
- grd_patList.cellstyle("background-position", i, 1) = "center"
- }
- else if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "3"){
- grd_patList.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_F.gif";
- grd_patList.cellstyle("background-position", i, 1) = "center"
- }
-
- if(model.getvalue("/root/main/patlist["+i+"]/imagrsltyn") == "Y"){
- grd_patList.cellstyle("background-image", i, 2) = "../../../com/commonweb/images/icon_picture.gif";
- grd_patList.cellstyle("background-position", i, 2) = "center"
- }
-
-
-
- }
-
- }
-
- function fOnclick_grd_patList(){
-
-
- if(grd_patList.isCell(event.target) && grd_patList.row >= grd_patList.fixedRows ){
- model.resetInstanceNode("/root/main/testinfo");
- model.resetInstanceNode("/root/main/imglist");
- model.resetInstanceNode("/root/main/view");
- var row = grd_patList.row;
- model.makeValue("/root/send/bcno" , model.getvalue("/root/main/patlist["+row+"]/bcno"));
- model.makeValue("/root/send/testcd" , model.getvalue("/root/main/patlist["+row+"]/testcd"));
- submit("TRLRR00102");
-
- model.removeNodeset("/root/send/bcno");
- model.removeNodeset("/root/send/testcd");
-
- if(getNodesetCount("/root/main/testinfo/detailtestinfo") > 0){
- fReMake();
- }
-
- if(model.getvalue("/root/hidden/refparam/refgbn2") == "2"){
- fImgRslt();
- }
- //fUpPatinfo();
-
- fRsltCode();
-
- }
-
- }
-
-
- function fRsltCode(){
-
- model.removeNodeset("/root/main/rsltcode");
-
- model.refresh();
-
- var vTestcd = model.getvalue("/root/main/testinfo/spcltestinfo/testcd");
-
- var cdNodes = instance1.selectNodes("/root/init/LB0109[etc01='" + vTestcd + "']/cd");
- var cdNodes2 = instance1.selectNodes("/root/init/LB0109[etc01='" + vTestcd + "']/nm");
- var vRstcontLower ="";
- var vRstcontUpper = "";
- for (i = 1; i <= cdNodes.length; i++) {
-
- var cd = cdNodes.item(i - 1).text;
- var nm = cdNodes2.item(i - 1).text;
-
- datagrid4.addRow();
-
- model.setvalue("/root/main/rsltcode["+i+"]/cd" , cd);
- model.setvalue("/root/main/rsltcode["+i+"]/nm" , nm);
-
-
- }
-
- if(cdNodes.length > 0)
- model.refresh();
- }
-
- function fUpPatinfo(){
- if(datagrid3.rows> 1){
- //alert(" S▦" + model.getvalue("/root/main/testinfo/detailtestinfo/prcpdd")+ "▦" + model.getvalue("/root/main/testinfo/detailtestinfo/execprcpseqno") + "▦" + "012")
- setParameter("condparam", "S" + "▦" + model.getvalue("/root/main/testinfo/detailtestinfo/prcpdd")+ "▦"
- + model.getvalue("/root/main/testinfo/detailtestinfo/execprcpuniqno") + "▦"
- + model.getvalue("/root/main/testinfo/detailtestinfo/instcd") );
-
- modal("SPMMO08900");
- }
- }
- function fReMake(){
- for(i=1;i<datagrid3.rows;i++){
- datagrid3.cellstyle("background-color" , i,4) = "#EEFFFF";
- datagrid3.cellstyle("background-color" , i,5) = "#FFFFFA";
-
-
- if(model.getvalue("/root/main/testinfo/detailtestinfo["+i+"]/rstcdexists") == "Y"){
- datagrid3.cellstyle("background-image", i, 4) = "../../../lis/commonweb/images/icnRstCDExists.gif";
- datagrid3.cellstyle("background-position", i, 4) = "right";
- }
- }
- }
-
- function fInsRsltSave(flag){
-
-
- if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") == "") return;
-
- model.setvalue("/root/hidden/TestData/bcno" , model.getvalue("/root/main/testinfo/spcltestinfo/bcno"));
- model.setvalue("/root/hidden/TestData/testcd", model.getvalue("/root/main/testinfo/spcltestinfo/testcd"));
- model.setvalue("/root/hidden/TestData/spccd", model.getvalue("/root/main/testinfo/spcltestinfo/spccd"));
- model.setvalue("/root/hidden/TestData/inptrslt", "");
- model.setvalue("/root/hidden/TestData/rsltstat" , flag);
- model.setvalue("/root/hidden/TestData/testlrgkind" , model.getvalue("/root/main/testinfo/spcltestinfo/testlrgkind"));
- model.setvalue("/root/hidden/TestData/descrslt" , model.getvalue("/root/main/testinfo/spcltestinfo/descrslt"));
-
- model.copyNode("/root/send/data1" ,"/root/hidden/TestData" );
-
- if(getNodesetCount("/root/main/testinfo/detailtestinfo") > 0){
- for(i=1;i<datagrid3.rows; i++){
- //if(model.getvalue("/root/main/testinfo/detailtestinfo["+i+"]/chk") == "true")
- datagrid3.addStatus(i,"update");
- }
-
- var sSendData = datagrid3.getUpdateData();
-
-
- }
- else{
- var sSendData = "m▦rownum▦chk▦testcd▦bufinptrslt▦reptrslt▦inptrslt▩";
-
- }
-
- sSendData = sSendData + "u▦100▦true▦"+model.getvalue("/root/main/testinfo/spcltestinfo/testcd") +"▦" + model.getvalue("/root/main/testinfo/spcltestinfo/tclsscrnnm") +"▦▦▦▩";
- model.setvalue("/root/send/data2" , sSendData);
-
-
-
- submit("TXLRR00101");
-
- model.copyNode("/root/send/data1","/root/hidden/default");
- model.copyNode("/root/send/data2","/root/hidden/default");
- }
-
- function fImgRef(){
- model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
- if(model.getvalue("/root/hidden/rsltseqno") == "") return;
- model.setvalue("/root/send/data2" , model.getvalue("/root/hidden/rsltseqno"));
- submit("TRLRR01502",false);
- setImageRefInstance("/root/main/view/imgrslt");
- img1.attribute("width")= model.getValue("/root/main/view/imgwidt");
- img1.attribute("height")= model.getValue("/root/main/view/imght");
- model.copyNode("/root/send/data1" , "/root/hidden/default");
- model.copyNode("/root/send/data2" , "/root/hidden/default");
- model.refresh();
- }
-
- function fImgRslt(){
- model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
- submit("TRLRR01501");
-
- if(getNodesetCount("/root/main/imglist") > 0){
- combo5.value = model.getvalue("/root/main/imglist/rsltseqno");
- fImgRef();
- }
-
- model.refresh();
- }
-
- //키이벤트
- function fGridKeyEvent(){
-
- var row = datagrid3.row;
- var col = datagrid3.col;
-
- if(col == 4 ){
- if(event.keyCode == "13"){
-
- var vBufInptRslt = model.getvalue("/root/main/testinfo/detailtestinfo["+row+"]/bufinptrslt");
- var InptRslt = model.getvalue("/root/main/testinfo/detailtestinfo["+row+"]/inptrslt");
- if(vBufInptRslt == "" && InptRslt==""){
- model.setvalue("/root/main/testinfo/detailtestinfo["+row+"]/inptrslt",vBufInptRslt);
- return;
- }
- else{
- if(vBufInptRslt == InptRslt){
- fCvtViewResult(true);
- return;
- }
- }
-
-
- fCvtResultCode(row);
- fCvtViewResult();
- }
-
-
- }
- else{
-
-
- }
-
-
- }
-
- function datagrid3Click(){
- if(datagrid3.isCell(event.target) && datagrid3.row >= datagrid3.fixedRows ){
-
- }
- else return;
-
- var row = datagrid3.row;
- var col = datagrid3.col;
-
- if(row < 1) return;
-
- for(i=1;i<datagrid3.rows;i++){
- if(i == row){
- if(col == 4){
-
- var vInptRslt = model.getvalue("/root/main/testinfo/detailtestinfo["+row+"]/inptrslt");
-
- if(vInptRslt != ""){
- model.setvalue("/root/main/testinfo/detailtestinfo["+i+"]/bufinptrslt" , vInptRslt);
- //alert(model.getvalue("/root/main/testinfo/detailtestinfo["+i+"]/bufinptrslt"))
- }
- }
- else{
- model.setvalue("/root/main/testinfo/detailtestinfo["+i+"]/bufinptrslt" , "");
- }
- }
- else{
- model.setvalue("/root/main/testinfo/detailtestinfo["+i+"]/bufinptrslt" , "");
- }
- }
-
- }
- // 결과판정
- function fCvtViewResult(pMatch, pMulty, pRow){
-
- var vRow = datagrid3.row;
- var vCol = datagrid3.col;
-
- var vMaxRow = datagrid3.rows-1;
-
- if (typeof(pMatch) == "undefined") pMatch = false;
- if (typeof(pMulty) == "undefined") pMulty = false;
- if (typeof(pRow) != "undefined") vRow = pRow;
-
- var vBufinptrslt = model.getvalue("/root/main/testinfo/detailtestinfo["+vRow+"]/bufinptrslt");
-
- model.setvalue("/root/main/testinfo/detailtestinfo["+vRow+"]/inptrslt",vBufinptrslt);
- model.setvalue ("/root/main/testinfo/detailtestinfo["+vRow+"]/reptrslt",vBufinptrslt);
-
- if(model.getvalue("/root/main/testinfo/detailtestinfo["+vRow+"]/reptrslt") != ""){
- model.setvalue("/root/main/testinfo/detailtestinfo["+vRow+"]/chk", "true");
- }
-
- if (pMulty) {
-
- model.setvalue("/root/main/testinfo/detailtestinfo["+vRow+"]/bufinptrslt", "");
-
- } else {
-
- var vMoveRow = "";
- if(vMaxRow == parseInt(vRow))
- vMoveRow = parseInt(vRow);
- else
- vMoveRow = parseInt(vRow) + 1;
- if( vMaxRow >= vMoveRow ) {
-
- } else {
- vMoveRow -= 1;
- }
-
- model.setvalue("/root/main/testinfo/detailtestinfo["+vRow+"]/bufinptrslt", "");
-
- datagrid3.row = vMoveRow;
- datagrid3.col = 4;
-
-
- model.setvalue("/root/main/testinfo/detailtestinfo["+vMoveRow+"]/bufinptrslt",
- model.getvalue("/root/main/testinfo/detailtestinfo["+vMoveRow+"]/inptrslt"));
-
- }
-
-
- }
- function fCvtResultCode(row){
- var pRef = "/root/main/testinfo/detailtestinfo";
- var vTestcd = model.getValue(pRef + "["+row+"]/testcd");
- var vInptRslt = model.getValue(pRef + "["+row+"]/bufinptrslt");
-
- var cdNodes = instance1.selectNodes("/root/init/LB0109[etc01='" + vTestcd + "']/cd");
- var cdNodes2 = instance1.selectNodes("/root/init/LB0109[etc01='" + vTestcd + "']/nm");
- var vRstcontLower ="";
- var vRstcontUpper = "";
- for (i = 1; i <= cdNodes.length; i++) {
-
- var cd = cdNodes.item(i - 1).text;
- var nm = cdNodes2.item(i - 1).text;
-
- if(vInptRslt.toLowerCase() == cd) vRstcontLower = nm;
- if(vInptRslt.toUpperCase() == cd) vRstcontUpper = nm;
- }
-
-
- if (vRstcontLower.getTrim() != "" || vRstcontUpper.getTrim() != "" ) {
-
- var vRstcont = (vRstcontLower.getTrim() != "") ? vRstcontLower.getTrim() : vRstcontUpper.getTrim();
-
- model.setValue(pRef + "["+row+"]/bufinptrslt", vRstcont);
- model.setValue(pRef + "["+row+"]/inptrslt", vRstcont);
- }
- }
-
-
- function fRsltCodeDBClick(){
- var vDescrslt = model.getvalue("/root/main/testinfo/spcltestinfo/descrslt");
- var vRow = datagrid4.row;
-
- vDescrslt = vDescrslt + "\n" + model.getvalue("/root/main/rsltcode["+vRow+"]/nm");
-
- model.setvalue("/root/main/testinfo/spcltestinfo/descrslt" , vDescrslt);
- model.refresh();
-
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,65;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:126px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">판독결과관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <switch id="switch1" class="sw_box" style="left:0px; top:31px; width:320px; height:119px; ">
- <case id="case1" selected="true">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:4px; top:4px; width:310px; height:109px; "/>
- <caption id="caption2" class="search_name" style="left:14px; top:12px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">접수일자 :</caption>
- <caption id="caption4" class="search_name" style="left:14px; top:36px; width:112px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">특수검사그룹 :</caption>
- <input id="input1" ref="/root/hidden/testgroup/startdd" class="input_search" inputtype="date" style="left:105px; top:11px; width:89px; height:19px; "/>
- <input id="input2" ref="/root/hidden/testgroup/enddd" class="input_search" inputtype="date" style="left:210px; top:11px; width:89px; height:19px; "/>
- <caption id="caption7" class="search_no_b" style="left:196px; top:12px; width:15px; height:17px; ">~</caption>
- <select1 id="combo1" ref="/root/hidden/testgroup/spcltestgrupcd" class="combo_search" appearance="minimal" style="left:129px; top:35px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0901">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <line id="line13" class="line_4" style="x1:228px; y1:84px; x2:228px; y2:106px; "/>
- <button id="button13" class="btn1_letter2" style="left:243px; top:84px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- Onclick_btnRef();
- ]]>
- </script>
- </button>
- <caption id="caption18" class="search_name" style="left:14px; top:84px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">결과구분 :</caption>
- <select1 id="combo3" ref="/root/hidden/testgroup/rstflag" class="combo_search" appearance="minimal" style="left:130px; top:83px; width:73px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>미검사</label>
- <value>1</value>
- </item>
- <item>
- <label>미완료</label>
- <value>2</value>
- </item>
- <item>
- <label>최종보고</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:14px; top:60px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">일련번호 :</caption>
- <caption id="caption17" class="search_no_b" style="left:208px; top:58px; width:15px; height:17px; ">~</caption>
- <input id="input3" ref="/root/hidden/testgroup/sworkseq" class="input_search" style="left:129px; top:59px; width:75px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- var sNo = model.getvalue("/root/hidden/testgroup/sworkseq");
- sNo = sNo.getLeftPad(5,0);
-
- model.setvalue("/root/hidden/testgroup/sworkseq" , sNo) ;
- input3.refresh();
- ]]>
- </script>
- </input>
- <input id="input10" ref="/root/hidden/testgroup/eworkseq" class="input_search" style="left:224px; top:59px; width:75px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- var sNo = model.getvalue("/root/hidden/testgroup/eworkseq");
- sNo = sNo.getLeftPad(5,0);
-
- model.setvalue("/root/hidden/testgroup/eworkseq" , sNo) ;
- input10.refresh();
- ]]>
- </script>
- </input>
- </case>
- <case id="case2">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:4px; top:4px; width:310px; height:109px; "/>
- <caption id="caption8" class="search_name" style="left:14px; top:12px; width:100px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">작업일자 :</caption>
- <caption id="caption9" class="search_name" style="left:14px; top:36px; width:100px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">작업그룹 :</caption>
- <caption id="caption10" class="search_name" style="left:14px; top:60px; width:100px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">작업번호 :</caption>
- <input id="input4" ref="/root/hidden/workno/sworkseq" class="input_search" style="left:105px; top:59px; width:89px; height:19px; "/>
- <input id="input5" ref="/root/hidden/workno/eworkseq" class="input_search" style="left:210px; top:59px; width:89px; height:19px; "/>
- <input id="input6" ref="/root/hidden/workno/startdd" class="input_search" inputtype="date" style="left:105px; top:11px; width:89px; height:19px; "/>
- <input id="input7" ref="/root/hidden/workno/enddd" class="input_search" inputtype="date" style="left:210px; top:11px; width:89px; height:19px; "/>
- <caption id="caption11" class="search_no_b" style="left:196px; top:12px; width:15px; height:17px; ">~</caption>
- <caption id="caption12" class="search_no_b" style="left:196px; top:61px; width:15px; height:17px; ">~</caption>
- <line id="line3" class="line_4" style="x1:228px; y1:84px; x2:228px; y2:106px; "/>
- <button id="button19" class="btn1_letter2" style="left:243px; top:84px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- Onclick_btnRef();
- ]]>
- </script>
- </button>
- <select1 id="combo8" ref="/root/hidden/workno/rstflag" class="combo_search" appearance="minimal" style="left:105px; top:83px; width:88px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>미검사</label>
- <value>1</value>
- </item>
- <item>
- <label>미완료</label>
- <value>2</value>
- </item>
- <item>
- <label>최종보고</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:14px; top:84px; width:100px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">결과구분 :</caption>
- <select1 id="combo2" ref="/root/hidden/workno/workcd" class="combo_search" appearance="minimal" style="left:105px; top:35px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0103">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <button id="button61" class="icon_search" style="left:280px; top:35px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF90400");
- fBaseInfoRef2("0103|");
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <caption id="caption16" class="tit_2" style="left:5px; top:159px; width:115px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자목록</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:175px; x2:320px; y2:175px; "/>
- <button id="button16" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:89px; top:10px; width:75px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>검사항목별</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setvalue("/root/hidden/refparam/refgbn","2");
- model.toggle("case2");
- ]]>
- </script>
- </button>
- <button id="button6" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:0px; top:10px; width:89px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>특수검사그룹별</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setvalue("/root/hidden/refparam/refgbn","1");
-
- model.toggle("case1");
- ]]>
- </script>
- </button>
- <datagrid id="grd_patList" nodeset="/root/main/patlist" caption="^특수검사번호^특수검사번호^등록번호^성명^검사명^검체번호^testcd" colwidth="22, 21, 111, 71, 62, 100, 100, 100" dataheight="23" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" colsep="^" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:180px; width:320px; height:554px; ">
- <col ref="img"/>
- <col/>
- <col ref="spclno"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="tclsscrnnm"/>
- <col ref="bcno"/>
- <col ref="testcd"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fOnclick_grd_patList();
- ]]>
- </script>
- </datagrid>
- <caption id="caption21" class="tit_2" style="left:330px; top:15px; width:115px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">특수검사 정보</caption>
- <line id="line7" class="line_1" style="x1:325px; y1:31px; x2:1192px; y2:31px; "/>
- <caption id="caption20" class="cell_1" style="left:325px; top:60px; width:70px; height:23px; vertical-align:middle; ">채취일시</caption>
- <caption id="caption22" class="cell_1" style="left:541px; top:60px; width:70px; height:23px; vertical-align:middle; ">접수일시</caption>
- <caption id="caption23" class="cell_1" style="left:757px; top:60px; width:70px; height:23px; vertical-align:middle; ">검사일시</caption>
- <caption id="caption24" class="cell_1" style="left:973px; top:60px; width:70px; height:23px; vertical-align:middle; ">판독일시</caption>
- <output id="output3" ref="/root/main/testinfo/spcltestinfo/extrtestinstcd" class="output_fix" style="left:398px; top:37px; width:100px; height:19px; "/>
- <output id="output1" ref="/root/main/testinfo/spcltestinfo/pid" class="output_fix" style="left:574px; top:37px; width:90px; height:19px; "/>
- <output id="output2" ref="/root/main/testinfo/spcltestinfo/patnm" class="output_fix" style="left:740px; top:37px; width:100px; height:19px; "/>
- <output id="output4" ref="/root/main/testinfo/spcltestinfo/orddeptnm" class="output_fix" style="left:916px; top:37px; width:100px; height:19px; "/>
- <output id="output5" ref="/root/main/testinfo/spcltestinfo/orddrnm" class="output_fix" style="left:1092px; top:37px; width:100px; height:19px; "/>
- <output id="output6" ref="/root/main/testinfo/spcltestinfo/bcolldt" class="output_fix" format="9999-99-99 99:99:99" style="left:398px; top:61px; width:140px; height:19px; "/>
- <output id="output7" ref="/root/main/testinfo/spcltestinfo/spcacptdt" class="output_fix" format="9999-99-99 99:99:99" style="left:614px; top:61px; width:140px; height:19px; "/>
- <output id="output8" ref="/root/main/testinfo/spcltestinfo/lastreptdt" class="output_fix" format="9999-99-99 99:99:99" style="left:830px; top:61px; width:140px; height:19px; "/>
- <output id="output9" ref="/root/main/testinfo/spcltestinfo/medispcdt" class="output_fix" format="9999-99-99 99:99:99" style="left:1046px; top:61px; width:146px; height:19px; "/>
- <line id="line9" class="line_3" style="x1:325px; y1:82px; x2:1192px; y2:82px; "/>
- <line id="line6" class="line_2" style="x1:325px; y1:58px; x2:1192px; y2:58px; "/>
- <caption id="caption1" class="cell_1" style="left:501px; top:36px; width:70px; height:23px; vertical-align:middle; ">등록번호</caption>
- <caption id="caption13" class="cell_1" style="left:667px; top:36px; width:70px; height:23px; vertical-align:middle; ">성명</caption>
- <caption id="caption14" class="cell_1" style="left:325px; top:36px; width:70px; height:23px; vertical-align:middle; ">병원명</caption>
- <caption id="caption15" class="cell_1" style="left:843px; top:36px; width:70px; height:23px; vertical-align:middle; ">진료과명</caption>
- <caption id="caption19" class="cell_1" style="left:1019px; top:36px; width:70px; height:23px; vertical-align:middle; ">진료의명</caption>
- <button id="button4" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:414px; top:288px; width:90px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>이미지결과</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case4");
- model.setvalue("/root/hidden/refparam/refgbn2" , "2");
- if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
- fImgRslt();
- }
- ]]>
- </script>
- </button>
- <button id="button5" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:325px; top:288px; width:89px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>서술결과</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case3");
- model.setvalue("/root/hidden/refparam/refgbn2" , "1");
-
- ]]>
- </script>
- </button>
- <switch id="switch2" class="sw_box" style="left:325px; top:309px; width:865px; height:425px; ">
- <case id="case3" selected="true">
- <textarea id="textarea1" ref="/root/main/testinfo/spcltestinfo/descrslt" style="left:5px; top:5px; width:855px; height:415px; "/>
- </case>
- <case id="case4">
- <select1 id="combo5" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:88px; top:4px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/imglist">
- <label ref="lastupdtrdt"/>
- <value ref="rsltseqno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fImgRef();
- ]]>
- </script>
- </select1>
- <button id="button17" class="btn2_letter7" style="left:210px; top:4px; width:97px; height:19px; background-image:../../../com/commonweb/images/btn2_letter7.gif; ">
- <caption>이미지결과등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
- modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
- fImgRslt();
- }
- ]]>
- </script>
- </button>
- <caption id="caption30" class="cell_1" style="left:5px; top:2px; width:80px; height:23px; vertical-align:middle; ">History</caption>
- <caption id="caption31" class="no_image" visibility="hidden" style="left:75px; top:65px; width:210px; height:240px; vertical-align:middle; background-image:../../../com/commonweb/images/no_image.gif; "/>
- <img id="img1" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:25px; top:35px; width:800px; height:380px; background-stretch:stretch; "/>
- <img id="img2" visibility="hidden" style="left:455px; top:85px; width:365px; height:550px; background-color:#ff6600; background-stretch:stretch; "/>
- </case>
- </switch>
- <group id="group2" style="left:325px; top:89px; width:868px; height:190px; ">
- <line id="line5" class="line_1" style="x1:0px; y1:20px; x2:400px; y2:20px; "/>
- <caption id="caption32" class="tit_2" style="left:0px; top:5px; width:115px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">세부검사 목록</caption>
- <datagrid id="datagrid3" nodeset="/root/main/testinfo/detailtestinfo" caption="^검사코드^검사명^결과^결과^inptrslt" colwidth="0, 80, 174, 50, 50, 0" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" selectionmode="free" rowsep="|" colsep="^" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:25px; width:400px; height:163px; ">
- <col ref="chk" type="checkbox" checkvalue="true,false"/>
- <col ref="testcd"/>
- <col ref="tclsscrnnm"/>
- <col ref="bufinptrslt" type="input"/>
- <col ref="reptrslt"/>
- <col ref="inptrslt"/>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fGridKeyEvent();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- datagrid3Click();
- ]]>
- </script>
- </datagrid>
- <datagrid id="datagrid4" nodeset="/root/main/rsltcode" caption="코드^내용" colwidth="100, 320" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" colsep="^" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:405px; top:25px; width:462px; height:163px; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fRsltCodeDBClick();
- ]]>
- </script>
- </datagrid>
- <button id="button9" class="btn2_letter9" style="left:748px; top:0px; width:119px; height:19px; background-image:../../../com/commonweb/images/btn2_letter9.gif; ">
- <caption>결과예문코드 등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF00700");
- ]]>
- </script>
- </button>
- <line id="line8" class="line_1" style="x1:405px; y1:20px; x2:867px; y2:20px; "/>
- <caption id="caption33" class="tit_2" style="left:410px; top:5px; width:115px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">결과예문</caption>
- <button id="button10" class="btn2_letter6" style="left:314px; top:0px; width:86px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
- <caption>연관검사조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/testinfo/spcltestinfo/testcd") != ""){
- model.setValue("/root/hidden/RelationParm/pid", model.getValue("/root/main/testinfo/spcltestinfo/pid"));
- model.setValue("/root/hidden/RelationParm/tclsscrnnm", model.getValue("/root/main/testinfo/spcltestinfo/tclsscrnnm"));
- model.setValue("/root/hidden/RelationParm/testcd", model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
- model.setValue("/root/hidden/RelationParm/spccd", model.getValue("/root/main/testinfo/spcltestinfo/spccd"));
- modal("SMLLR90400" , "","","","","/root/hidden/RelationParm" , "/root/hidden/RelationParm");
- }
- ]]>
- </script>
- </button>
- </group>
- <button id="button7" class="btn2_letter6" style="left:1105px; top:10px; width:86px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
- <caption>기본정보조회</caption>
- </button>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button1" class="btn3_letter6" style="left:107px; top:3px; width:104px; height:22px; background-image:../../../com/commonweb/images/btn3_letter6.gif; ">
- <caption>통합결과조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- modal("SMAER00800 ","","","","","/root/main/testinfo/spcltestinfo/pid","/root/send/data/singdata/srchpid");
-
- ]]>
- </script>
- </button>
- <button id="button2" class="btn3_letter5" style="left:214px; top:3px; width:116px; height:22px; background-image:../../../com/commonweb/images/btn3_letter5.gif; ">
- <caption>의뢰서조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- modal("SPLRR90100")
- ]]>
- </script>
- </button>
- <button id="button8" class="btn3_letter6" style="left:0px; top:3px; width:96px; height:22px; background-image:../../../com/commonweb/images/btn3_letter6.gif; ">
- <caption>수진이력조회</caption>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_rsltsave" class="btn4_letter4" disable.background-image="../../../com/commonweb/images/dis_btn4_letter4.gif" style="left:866px; top:3px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn4_letter4.gif; ">
- <caption>결과저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fInsRsltSave("1");
- ]]>
- </script>
- </button>
- <button id="btn_LstRept" class="btn4_letter4" disable.background-image="../../../com/commonweb/images/dis_btn4_letter4.gif" style="left:949px; top:3px; width:82px; height:22px; background-image:../../../com/commonweb/images/btn4_letter4.gif; ">
- <caption>결과보고</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fInsRsltSave("4");
- ]]>
- </script>
- </button>
- <button id="btn_cle" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:1127px; top:3px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetClear();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter5" disable.background-image="../../../com/commonweb/images/dis_btn4_letter5.gif" style="left:1032px; top:3px; width:92px; height:22px; background-image:../../../com/commonweb/images/btn4_letter5.gif; ">
- <caption>전문의확인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fInsRsltSave("6");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|