12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLLS01400_분자유전 검사통계.xrw
- * 설 명 : 분자유전 검사통계
- * 설 계 자 : (주)에이씨케이 - 손수영
- * 작 성 자 : (주)에이씨케이 -
- * 작 성 일 : 2008.04.15
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <days>
- <rowdata>
- <seq/>
- <tnm/>
- <testcd/>
- <flagnm/>
- <a01/>
- <a02/>
- <a03/>
- <a04/>
- <a05/>
- <a06/>
- <a07/>
- <a08/>
- <a09/>
- <a10/>
- <a11/>
- <a12/>
- <a13/>
- <a14/>
- <a15/>
- <a16/>
- <a17/>
- <a18/>
- <a19/>
- <a20/>
- <a21/>
- <a22/>
- <a23/>
- <a24/>
- <a25/>
- <a26/>
- <a27/>
- <a28/>
- <a29/>
- <a30/>
- <a31/>
- <ahap/>
- </rowdata>
- </days>
- <month>
- <rowdata>
- <seq/>
- <tnm/>
- <testcd/>
- <flagnm/>
- <a01/>
- <a02/>
- <a03/>
- <a04/>
- <a05/>
- <a06/>
- <a07/>
- <a08/>
- <a09/>
- <a10/>
- <a11/>
- <a12/>
- <ahap/>
- </rowdata>
- </month>
- <quarter>
- <rowdata>
- <seq/>
- <tnm/>
- <testcd/>
- <flagnm/>
- <a01/>
- <a02/>
- <a03/>
- <a04/>
- <ahap/>
- </rowdata>
- </quarter>
- <year>
- <rowdata>
- <seq/>
- <tnm/>
- <testcd/>
- <flagnm/>
- <a01/>
- <a02/>
- <a03/>
- <a04/>
- <a05/>
- <a06/>
- <a07/>
- <a08/>
- <a09/>
- <a10/>
- <ahap/>
- </rowdata>
- </year>
- <setup>
- <tclscdlist>
- <chk/>
- <tclscd/>
- <spccd/>
- <tclsnm/>
- <tclskind/>
- <instcd/>
- </tclscdlist>
- <testlist>
- <testcd/>
- <tnm/>
- <seq/>
- </testlist>
- <subformat>
- <testcd/>
- <flagnm/>
- <flaggbn/>
- <flagval/>
- <stepseq/>
- <dispseq/>
- </subformat>
- </setup>
- <testcd/>
- </main>
- <send>
- <maincode>LSP02</maincode>
- <subcode>LSP03</subcode>
- <rexcode>LSP01</rexcode>
- <seq/>
- <fromdd/>
- <fromdy/>
- <todd/>
- <daygbn/>
- <gbn/>
- <flag/>
- <year1/>
- <year2/>
- <year3/>
- <year4/>
- <year5/>
- <year6/>
- <year7/>
- <year8/>
- <year9/>
- <year10/>
- <refgbn/>
- <refcont/>
- <deptflag/>
- <tlist/>
- <flaglist/>
- <spcflag/>
- <spclist/>
- </send>
- <init>
- <spc>
- </spc>
- </init>
- <hidden>
- <setupcode>
- <maincode>LSP02</maincode>
- <subcode>LSP03</subcode>
- <rexcode>LSP01</rexcode>
- </setupcode>
- <ref>
- <fromdd/>
- <todd/>
- <gbn>1</gbn>
- <flag/>
- <yy/>
- <daygbn>1</daygbn>
- </ref>
- <search>
- <searchgbn>2</searchgbn>
- <searchtext/>
- </search>
- <report>
- <month/>
- <quarter/>
- <year/>
- </report>
- <flaglist>
- <flag>
- <cd>1</cd>
- <nm>같다</nm>
- </flag>
- <flag>
- <cd>2</cd>
- <nm>포함</nm>
- </flag>
- <flag>
- <cd>3</cd>
- <nm>크다</nm>
- </flag>
- <flag>
- <cd>4</cd>
- <nm>크거나같다</nm>
- </flag>
- <flag>
- <cd>5</cd>
- <nm>작다</nm>
- </flag>
- <flag>
- <cd>6</cd>
- <nm>작거나같다</nm>
- </flag>
- </flaglist>
- <testcd/>
- <grdview>
- <etc>1</etc>
- <per>1</per>
- <incre>1</incre>
- <errflag/>
- </grdview>
- <spc>
- <spcflag>0</spcflag>
- <searchgbn>nm</searchgbn>
- <searchval/>
- <spclist/>
- <spccd/>
- <spccnt>0</spccnt>
- </spc>
- <tcls>
- <tclsflag>0</tclsflag>
- <searchgbn>nm</searchgbn>
- <searchval/>
- <tclslist/>
- <tclscd/>
- <tclscnt>0</tclscnt>
- </tcls>
- <compargbn>2</compargbn>
- </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/tfHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- <submission id="TRLLS00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/spc/"/>
- <submission id="TRLLS01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/days/"/>
- <submission id="TRLLS01402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/month/"/>
- <submission id="TRLLS01403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <submission id="TRLLS01404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/year/"/>
- <submission id="TRLLS01405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/setup/"/>
- <submission id="TRLLS01406" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/setup/"/>
- <submission id="TRLLF00607" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/setup/"/>
- <submission id="TXLLS01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/msg//"/>
- </model>
- <script type="javascript">
- <![CDATA[
- //초기화
- function fSetInit(){
- model.setValue("/root/hidden/ref/fromdd", getCurrentDate());
- model.setValue("/root/hidden/ref/todd" , getCurrentDate());
-
- model.removeNodeset("/root/main/days/rowdata");
- model.removeNodeset("/root/main/month/rowdata");
- model.removeNodeset("/root/main/quarter/rowdata");
- model.removeNodeset("/root/main/year/rowdata");
- model.removeNodeset("/root/main/setup/*");
- model.removeNodeset("/root/init/spc/cdlist");
- model.setValue("/root/send/gbn", "Spc");
- submit("TRLLS00001");
-
- model.setValue("/root/send/flag", "999"); // 0=일별, 1=월별, 2=분기별, 3=연별, 999 = 항목조회
- TRLLS01403.attribute("resultref") = "/root/main/testcd/rowdata";
- submit("TRLLS01403"); // submit을 추가하기 보다 가장 컬럼이 간단한 TRLLS01403을 활용하여 처리
-
- fGetSetup();
-
- model.setValue("/root/hidden/ref/gbn", "1"); //1=전체, 2= 입원, 3=외래
- btn_0.selected = true;
- btn_1.selected = false;
- btn_2.selected = false;
- btn_3.selected = false;
- model.setValue("/root/hidden/ref/flag", "0"); // 0=일별 1=월별 2=분기별 3=연별
- model.toggle("case0");
-
- model.refresh();
-
- grd_days.mergeCol(2) = false;
- grd_month.mergeCol(2) = false;
- grd_quarter.mergeCol(2) = false;
- grd_year.mergeCol(2) = false;
-
- }
-
- //설정 내용 조회
- function fGetSetup(){
- model.removeNodeset("/root/main/setup/testlist");
- model.removeNodeset("/root/main/setup/subformat");
- submit("TRLLS01405");
- }
-
- //설정 내용 저장
- function fSetTestFlagList(){
- var tmpStr = grd_flag.nodeset;
-
- model.setValue("/root/send/tlist", grd_tlist.getUpdateDataAll("i"));
-
- grd_flag.nodeset = "/root/main/setup/subformat";
- model.setValue("/root/send/flaglist", grd_flag.getUpdateDataAll("i"));
- submit("TXLLS01401");
-
- grd_flag.nodeset = tmpStr;
-
- model.setValue("/root/send/flag", "999"); // 0=일별, 1=월별, 2=분기별, 3=연별, 999 = 항목조회
- TRLLS01403.attribute("resultref") = "/root/main/testcd/rowdata";
- submit("TRLLS01403"); // submit을 추가하기 보다 가장 컬럼이 간단한 TRLLS01403을 활용하여 처리
- }
-
- // 통계 조회
- function fGetTestStsCnt(){
-
- if(model.getValue("/root/hidden/spc/spcflag") == "1" && model.getValue("/root/hidden/spc/spccd") == ""){
- alert("검체를 선택하지 않았습니다\n\n전체조회로 하시거나, 검체를 선택하여 주십시요");
- return;
- }
-
- if(model.getValue("/root/hidden/tcls/tclsflag") == "1" && model.getValue("/root/hidden/tcls/tclscd") == ""){
- alert("검사를 선택하지 않았습니다\n\n전체조회로 하시거나, 검사를 선택하여 주십시요");
- return;
- }
-
- var testcdCnt = model.getXPathValue("count(/root/main/testcd/rowdata)");
- if(model.getValue("/root/hidden/tcls/tclsflag") == "1"){
- testcdCnt = cap_tclscnt.value;
- var arrtclscd = (chk_cdlist2.value).split("▦");
- }
-
- if(testcdCnt == "0") return;
-
- var submitID = ""; // submitID를 위한 변수
-
- model.setValue("/root/send/daygbn", model.getValue("/root/hidden/ref/daygbn")); // 1=보고일 기준, 2= 접수일 기준
- model.setValue("/root/send/fromdd", model.getValue("/root/hidden/ref/fromdd"));
- model.setValue("/root/send/fromdy", model.getValue("/root/hidden/ref/fromdd").substr(0,4));
- model.setValue("/root/send/todd", model.getValue("/root/hidden/ref/todd"));
- model.setValue("/root/send/gbn", model.getValue("/root/hidden/ref/gbn")); // 1=전체, 2= 입원, 3=외래
- model.setValue("/root/send/flag", model.getValue("/root/hidden/ref/flag")); // 0=일별, 1=월별, 2=분기별, 3=연별
- model.setValue("/root/send/spcflag", model.getValue("/root/hidden/spc/spcflag"));
- model.setValue("/root/send/spclist", model.getValue("/root/hidden/spc/spccd"));
-
- // 조건에 맞도록 submit의 resultref의 변경
- if(model.getValue("/root/hidden/ref/flag") == "0"){
- model.removeNodeset("/root/main/days/rowdata");
- submitID = "TRLLS01401";
- }
- if(model.getValue("/root/hidden/ref/flag") == "1"){
- model.removeNodeset("/root/main/month/rowdata");
- submitID = "TRLLS01402";
- }
- if(model.getValue("/root/hidden/ref/flag") == "2"){
- model.removeNodeset("/root/main/quarter/rowdata");
- TRLLS01403.attribute("resultref") = "/root/main/quarter/";
- submitID = "TRLLS01403";
- }
- if(model.getValue("/root/hidden/ref/flag") == "3"){
- model.removeNodeset("/root/main/year/rowdata");
- fYearCaption();
- submitID = "TRLLS01404";
- }
- cap_stat.value = "0/" + testcdCnt;
-
- for(i = 1; i <= testcdCnt; i++){
-
- model.setValue("/root/send/seq", i);
- if(model.getValue("/root/hidden/tcls/tclsflag") == "1"){
- model.setValue("/root/send/refcont", arrtclscd[i - 1]);
- }
- else model.setValue("/root/send/refcont", model.getValue("/root/main/testcd/rowdata["+i+"]/testcd"));
- submit(submitID);
- cap_stat.value = i + "/" + testcdCnt;
- }
- }
-
- //상세 내역 조회
- function fGetDetailList(){
- if(model.getValue("/root/hidden/spc/spcflag") == "1" && model.getValue("/root/hidden/spc/spccd") == ""){
- alert("검체를 선택하지 않았습니다\n\n전체조회로 하시거나, 검체를 선택하여 주십시요");
- return;
- }
- var d = grd_days.textmatrix(0, grd_days.col).replace("일","");
-
- if(parseInt(d) < 10) d = "0" + d;
-
- model.removeNodeset("/root/main/setup/detaillist");
-
- model.setValue("/root/send/daygbn", model.getValue("/root/hidden/ref/daygbn")); // 1=보고일 기준, 2= 접수일 기준
- model.setValue("/root/send/fromdd", model.getValue("/root/hidden/ref/fromdd").substr(0, 6) + d);
- model.setValue("/root/send/gbn", model.getValue("/root/hidden/ref/gbn")); // 1=전체, 2= 입원, 3=외래
- model.setValue("/root/send/refcont", grd_days.textmatrix(grd_days.row, 2));
- model.setValue("/root/send/spcflag", model.getValue("/root/hidden/spc/spcflag"));
- model.setValue("/root/send/spclist", model.getValue("/root/hidden/spc/spccd"));
-
- submit("TRLLS01406");
- cap_detail.value = grd_days.textmatrix(grd_days.row, 1) + " 검사 " + d + "일 상세 조회" ;
- switch3.visible = true;
-
- grd_detail.resizeCells();
- }
-
-
- // 엑셀저장
- function fSaveExcel(){
- var filename = window.fileDialog("save", ",", false, "Excel", "xls", "All Files(*.*)|*.*|Excel File(*.xls)|*.xls");
-
- if(model.getValue("/root/hidden/ref/flag")=="0"){//일별
- if(filename != "") {
- grd_days.saveExcel(filename);
- }
- }else if(model.getValue("/root/hidden/ref/flag")=="1"){//월별
- if(filename != "") {
- grd_month.saveExcel(filename);
- }
- }else if(model.getValue("/root/hidden/ref/flag")=="2"){//분기별
- if(filename != "") {
- grd_quarter.saveExcel(filename);
- }
- }else if(model.getValue("/root/hidden/ref/flag")=="3"){//연별
- if(filename != "") {
- grd_year.saveExcel(filename);
- }
- }
-
- }
-
- // 연별 캡션 변경
- function fYearCaption(){
- var fromyy = parseInt(model.getValue("/root/hidden/ref/fromdd").substr(0,4));
- var toyy = parseInt(model.getValue("/root/hidden/ref/todd").substr(0,4));
- var newCap = "No^검사명^검사코드^구분";
- var newCap2 = "|No^검사명^검사코드^구분^건수^%^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%";
- var cnt = "0";
- var yearval = 0;
- if(toyy - fromyy < 0){
- alert("종료일이 시작일보다 작습니다");
- toyy = fromyy;
- }
- if(toyy - fromyy >= 10){
- alert("조회는 10년까지만 제공합니다");
- toyy = fromyy + 10;
- }
-
- newCap += "^ " + fromyy + "년^ " + fromyy + "년";
- model.setValue("/root/send/year1", fromyy);
- for(i=1; i<10; i++){
- yearval = fromyy + i;
- if(yearval <= toyy){
- newCap += "^ " + yearval + "년" + "^ " + yearval + "년" + "^ " + yearval + "년";
- grd_year.colHidden((i*3)+3) = false;
- if(chk_per.value == "1") grd_year.colHidden((i*3)+4) = false;
- else grd_year.colHidden((i*3)+4) = true;
- if(chk_incre.value == "1") grd_year.colHidden((i*3)+5) = false;
- else grd_year.colHidden((i*3)+5) = true;
- model.setValue("/root/send/year" + (i + 1), yearval);
- }
- else{
- newCap += "^^^";
- grd_year.colHidden((i*3)+3) = true;
- grd_year.colHidden((i*3)+4) = true;
- grd_year.colHidden((i*3)+5) = true;
- model.setValue("/root/send/year" + (i + 1), "");
- }
- }
- grd_year.caption = newCap + "^Total^Total" + newCap2;
- }
-
- function fGetHospTclscd(){
-
- model.setValue("/root/send/refgbn", model.getValue("/root/hidden/search/searchgbn"));
- model.setValue("/root/send/refcont", model.getValue("/root/hidden/search/searchtext"));
- model.setValue("/root/send/deptflag", "L");
- model.removeNodeset("/root/main/setup/tclscdlist");
-
- submit("TRLLF00607");
- }
-
- function fSetFlagGrid(){
- if(grd_tlist.row < 1){
- grd_flag.nodeset = "/root/main/setup/subformat[testcd='']";
- cap_flag_list.value = "대상 검사를 선택하여 주십시요";
- model.setValue("/root/hidden/testcd", "");
- }
- else{
- grd_flag.nodeset = "/root/main/setup/subformat[testcd='"+model.getValue("/root/main/setup/testlist["+grd_tlist.row+"]/testcd")+"']";
- cap_flag_list.value = model.getValue("/root/main/setup/testlist["+grd_tlist.row+"]/tnm");
- model.setValue("/root/hidden/testcd", model.getValue("/root/main/setup/testlist["+grd_tlist.row+"]/testcd"));
- grd_flag.rebuild();
- }
- }
-
- function fCloseSetup(){
- switch2.visible = false;
- switch3.visible = false;
- btn_open_setup.visible = true;
- btn_close_setup.visible = false;
- btn_save_setup.visible = false;
- btn_get_setup.visible = false;
- btn_close_setup.selected = true;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
- <group id="group1" style="left:0px; top:10px; width:1195px; height:35px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:35px; "/>
- <button id="btn_ref" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCloseSetup();
- fGetTestStsCnt();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:29px; "/>
- <caption id="caption5" class="search_name" style="left:568px; top:9px; width:67px; height:17px; ">구분 :</caption>
- <input id="ipt_workfromdd" ref="/root/hidden/ref/fromdd" class="input_search" inputtype="date" format="yyyy-mm" validateformat="true" style="left:188px; top:8px; width:67px; height:19px; "/>
- <input id="ipt_worktodd" ref="/root/hidden/ref/todd" class="input_search" visibility="hidden" inputtype="date" format="yyyy-mm" validateformat="true" style="left:268px; top:8px; width:67px; height:19px; "/>
- <caption id="caption4" class="search_name" style="left:10px; top:9px; width:110px; height:17px; ">통계 희망일 :</caption>
- <caption id="caption9" class="search_no_b" visibility="hidden" style="left:255px; top:10px; width:13px; height:17px; ">~</caption>
- <select1 id="cmb_rtnabnflag" ref="/root/hidden/ref/gbn" appearance="minimal" style="left:638px; top:8px; width:102px; 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>
- </select1>
- <button id="btn_spc" class="btn2_letter5" style="left:910px; top:8px; width:75px; height:19px; ">
- <caption>검체선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_spc");
- switch2.visible = true;
- btn_open_setup.visible = false;
- btn_close_setup.visible = true;
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter5" style="left:1010px; top:8px; width:75px; height:19px; ">
- <caption>상세조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/hidden/ref/flag") == "0"){
- if(grd_days.col > grd_days.fixedCols && grd_days.col < grd_days.cols - 1 ){
- fCloseSetup();
- fGetDetailList();
- }
- else alert("날을 지정하여 주십시요");
- }
- else alert("상세조회는 일별 화면에서만 가능합니다.");
- ]]>
- </script>
- </button>
- <select1 id="cmb_daygbn" ref="/root/hidden/ref/daygbn" appearance="minimal" style="left:115px; top:8px; width:65px; height:19px; ">
- <choices>
- <item>
- <label>보고일</label>
- <value>1</value>
- </item>
- <item>
- <label>접수일</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <select1 id="rdo_compar" ref="/root/hidden/compargbn" visibility="hidden" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:405px; top:10px; width:140px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전월,전분기</label>
- <value>1</value>
- </item>
- <item>
- <label>전년</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="cap_compar" class="search_name" visibility="hidden" style="left:340px; top:10px; width:67px; height:17px; ">비교 :</caption>
- <button id="btn_tcls" class="btn2_letter5" style="left:810px; top:8px; width:75px; height:19px; ">
- <caption>검사선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_tcls");
- switch2.visible = true;
- btn_open_setup.visible = false;
- btn_close_setup.visible = true;
- ]]>
- </script>
- </button>
- </group>
- <switch id="switch1" style="left:0px; top:75px; width:1195px; height:665px; ">
- <case id="case0" selected="true">
- <caption id="caption32" class="tit_2" style="left:10px; top:5px; width:131px; height:14px; ">일별</caption>
- <line id="line19" class="line_1" style="x1:5px; y1:20px; x2:1188px; y2:20px; "/>
- <datagrid id="grd_days" nodeset="/root/main/days/rowdata" caption="No^검사명^검사코드^구분^1일^1일^2일^2일^3일^3일^4일^4일^5일^5일^6일^6일^7일^7일^8일^8일^9일^9일^10일^10일^11일^11일^12일^12일^13일^13일^14일^14일^15일^15일^16일^16일^17일^17일^18일^18일^19일^19일^20일^20일^21일^21일^22일^22일^23일^23일^24일^24일^25일^25일^26일^26일^27일^27일^28일^28일^29일^29일^30일^30일^31일^31일^Total^Total|No^검사명^검사코드^구분^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%^건수^%" colsep="^" colwidth="30,200,0,100, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 70, 70" fixedcols="3" frozencols="1" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:5px; top:25px; width:1183px; height:625px; ">
- <col ref="seq" style="text-align:center; "/>
- <col ref="tnm" style="text-align:center; "/>
- <col ref="testcd" style="text-align:center; "/>
- <col ref="flagnm" style="text-align:center; "/>
- <col ref="a01" format="#,##0.##" style="text-align:right; "/>
- <col ref="a01p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a02" format="#,##0.##" style="text-align:right; "/>
- <col ref="a02p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a03" format="#,##0.##" style="text-align:right; "/>
- <col ref="a03p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a04" format="#,##0.##" style="text-align:right; "/>
- <col ref="a04p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a05" format="#,##0.##" style="text-align:right; "/>
- <col ref="a05p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a06" format="#,##0.##" style="text-align:right; "/>
- <col ref="a06p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a07" format="#,##0.##" style="text-align:right; "/>
- <col ref="a07p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a08" format="#,##0.##" style="text-align:right; "/>
- <col ref="a08p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a09" format="#,##0.##" style="text-align:right; "/>
- <col ref="a09p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a10" format="#,##0.##" style="text-align:right; "/>
- <col ref="a10p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a11" format="#,##0.##" style="text-align:right; "/>
- <col ref="a11p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a12" format="#,##0.##" style="text-align:right; "/>
- <col ref="a12p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a13" format="#,##0.##" style="text-align:right; "/>
- <col ref="a13p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a14" format="#,##0.##" style="text-align:right; "/>
- <col ref="a14p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a15" format="#,##0.##" style="text-align:right; "/>
- <col ref="a15p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a16" format="#,##0.##" style="text-align:right; "/>
- <col ref="a16p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a17" format="#,##0.##" style="text-align:right; "/>
- <col ref="a17p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a18" format="#,##0.##" style="text-align:right; "/>
- <col ref="a18p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a19" format="#,##0.##" style="text-align:right; "/>
- <col ref="a19p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a20" format="#,##0.##" style="text-align:right; "/>
- <col ref="a20p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a21" format="#,##0.##" style="text-align:right; "/>
- <col ref="a21p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a22" format="#,##0.##" style="text-align:right; "/>
- <col ref="a22p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a23" format="#,##0.##" style="text-align:right; "/>
- <col ref="a23p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a24" format="#,##0.##" style="text-align:right; "/>
- <col ref="a24p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a25" format="#,##0.##" style="text-align:right; "/>
- <col ref="a25p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a26" format="#,##0.##" style="text-align:right; "/>
- <col ref="a26p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a27" format="#,##0.##" style="text-align:right; "/>
- <col ref="a27p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a28" format="#,##0.##" style="text-align:right; "/>
- <col ref="a28p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a29" format="#,##0.##" style="text-align:right; "/>
- <col ref="a29p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a30" format="#,##0.##" style="text-align:right; "/>
- <col ref="a30p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a31" format="#,##0.##" style="text-align:right; "/>
- <col ref="a31p" format="#,##0.##" style="text-align:right; "/>
- <col ref="ahap" format="#,##0.##" style="text-align:right; "/>
- <col ref="ahapp" format="#,##0.##" style="text-align:right; "/>
- </datagrid>
- </case>
- <case id="case1">
- <caption id="caption1" class="tit_2" style="left:10px; top:5px; width:131px; height:14px; ">월별</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:20px; x2:1188px; y2:20px; "/>
- <datagrid id="grd_month" nodeset="/root/main/month/rowdata" caption="No^검사명^검사코드^구분^이전12월^이전12월^1월^1월^1월^2월^2월^2월^3월^3월^3월^4월^4월^4월^5월^5월^5월^6월^6월^6월^7월^7월^7월^8월^8월^8월^9월^9월^9월^10월^10월^10월^11월^11월^11월^12월^12월^12월^Total^Total|No^검사명^검사코드^구분^건수^%^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%" colsep="^" colwidth="30,200, 0,100, 65, 50, 65, 50, 65, 65, 50, 65, 65, 50, 65, 65, 50, 65, 65, 50, 65, 65, 50, 65, 65, 50, 65, 65, 50, 65, 65, 50, 65, 65, 50, 65, 65, 50, 65, 65, 50, 65, 80, 50" fixedcols="3" frozencols="1" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:25px; width:1183px; height:625px; ">
- <col ref="seq" style="text-align:center; "/>
- <col ref="tnm" style="text-align:center; "/>
- <col ref="testcd" style="text-align:center; "/>
- <col ref="flagnm" style="text-align:center; "/>
- <col ref="a01bf" format="#,##0.##" style="text-align:right; "/>
- <col ref="a01bfp" format="#,##0.##" style="text-align:right; "/>
- <col ref="a01" format="#,##0.##" style="text-align:right; "/>
- <col ref="a01p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a01i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a02" format="#,##0.##" style="text-align:right; "/>
- <col ref="a02p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a02i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a03" format="#,##0.##" style="text-align:right; "/>
- <col ref="a03p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a03i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a04" format="#,##0.##" style="text-align:right; "/>
- <col ref="a04p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a04i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a05" format="#,##0.##" style="text-align:right; "/>
- <col ref="a05p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a05i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a06" format="#,##0.##" style="text-align:right; "/>
- <col ref="a06p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a06i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a07" format="#,##0.##" style="text-align:right; "/>
- <col ref="a07p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a07i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a08" format="#,##0.##" style="text-align:right; "/>
- <col ref="a08p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a08i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a09" format="#,##0.##" style="text-align:right; "/>
- <col ref="a09p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a09i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a10" format="#,##0.##" style="text-align:right; "/>
- <col ref="a10p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a10i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a11" format="#,##0.##" style="text-align:right; "/>
- <col ref="a11p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a11i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a12" format="#,##0.##" style="text-align:right; "/>
- <col ref="a12p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a12i" format="#,##0.##" style="text-align:right; "/>
- <col ref="ahap" format="#,##0.##" style="text-align:right; "/>
- <col ref="ahapp" format="#,##0.##" style="text-align:right; "/>
- </datagrid>
- </case>
- <case id="case2">
- <caption id="caption2" class="tit_2" style="left:10px; top:5px; width:131px; height:14px; ">분기별</caption>
- <line id="line2" class="line_1" style="x1:5px; y1:20px; x2:1188px; y2:20px; "/>
- <datagrid id="grd_quarter" nodeset="/root/main/quarter/rowdata" caption="No^검사명^검사코드^구분^이전4분기^이전4분기^1분기^1분기^1분기^2분기^2분기^2분기^3분기^3분기^3분기^4분기^4분기^4분기^Total^Total|No^검사명^검사코드^구분^건수^%^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%" colsep="^" colwidth="30,200, 0,100, 80, 50, 80, 50, 80, 80, 50, 80, 80, 50, 80, 80, 50, 80, 100, 50" fixedcols="3" frozencols="1" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:25px; width:1183px; height:625px; ">
- <col ref="seq" style="text-align:center; "/>
- <col ref="tnm" style="text-align:center; "/>
- <col ref="testcd" style="text-align:center; "/>
- <col ref="flagnm" style="text-align:center; "/>
- <col ref="a01bf" format="#,##0.##" style="text-align:right; "/>
- <col ref="a01bfp" format="#,##0.##" style="text-align:right; "/>
- <col ref="a01" format="#,##0.##" style="text-align:right; "/>
- <col ref="a01p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a01i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a02" format="#,##0.##" style="text-align:right; "/>
- <col ref="a02p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a02i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a03" format="#,##0.##" style="text-align:right; "/>
- <col ref="a03p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a03i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a04" format="#,##0.##" style="text-align:right; "/>
- <col ref="a04p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a04i" format="#,##0.##" style="text-align:right; "/>
- <col ref="ahap" format="#,##0.##" style="text-align:right; "/>
- <col ref="ahapp" format="#,##0.##" style="text-align:right; "/>
- </datagrid>
- </case>
- <case id="case3">
- <caption id="caption3" class="tit_2" style="left:10px; top:5px; width:131px; height:14px; ">연별</caption>
- <line id="line4" class="line_1" style="x1:5px; y1:20px; x2:1188px; y2:20px; "/>
- <datagrid id="grd_year" nodeset="/root/main/year/rowdata" caption="No^검사명^검사코드^구분^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Total^Total|No^검사명^검사코드^구분^건수^%^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%^증감율^건수^%" colsep="^" colwidth="30,200, 0, 100, 85, 50, 85, 50, 85, 85, 50, 85, 85, 50, 85, 85, 50, 85, 85, 50, 85, 85, 50, 85, 85, 50, 85, 85, 50, 85, 85, 50, 85, 100, 50" fixedcols="3" frozencols="1" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:25px; width:1183px; height:625px; ">
- <col ref="seq" style="text-align:center; "/>
- <col ref="tnm" style="text-align:center; "/>
- <col ref="testcd" style="text-align:center; "/>
- <col ref="flagnm" style="text-align:center; "/>
- <col ref="a01" format="#,##0.##" style="text-align:right; "/>
- <col ref="a01p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a02" format="#,##0.##" style="text-align:right; "/>
- <col ref="a02p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a02i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a03" format="#,##0.##" style="text-align:right; "/>
- <col ref="a03p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a03i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a04" format="#,##0.##" style="text-align:right; "/>
- <col ref="a04p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a04i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a05" format="#,##0.##" style="text-align:right; "/>
- <col ref="a05p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a05i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a06" format="#,##0.##" style="text-align:right; "/>
- <col ref="a06p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a06i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a07" format="#,##0.##" style="text-align:right; "/>
- <col ref="a07p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a07i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a08" format="#,##0.##" style="text-align:right; "/>
- <col ref="a08p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a08i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a09" format="#,##0.##" style="text-align:right; "/>
- <col ref="a09p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a09i" format="#,##0.##" style="text-align:right; "/>
- <col ref="a10" format="#,##0.##" style="text-align:right; "/>
- <col ref="a10p" format="#,##0.##" style="text-align:right; "/>
- <col ref="a10i" format="#,##0.##" style="text-align:right; "/>
- <col ref="ahap" format="#,##0.##" style="text-align:right; "/>
- <col ref="ahapp" format="#,##0.##" style="text-align:right; "/>
- </datagrid>
- </case>
- </switch>
- <button id="btn_1" class="btn_sw" group="tab" selected="true" style="left:70px; top:54px; width:70px; height:22px; ">
- <caption>월별</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case1");
- model.setValue("/root/hidden/ref/flag", "1"); // 월별
- caption9.visible = false;
- ipt_worktodd.visible = false;
- chk_incre.visible = true;
- chk_per.visible = true;
- cap_compar.visible = false;
- rdo_compar.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_2" class="btn_sw" group="tab" selected="true" style="left:140px; top:54px; width:70px; height:22px; ">
- <caption>분기별</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case2");
- model.setValue("/root/hidden/ref/flag", "2"); // 분기별
- caption9.visible = false;
- ipt_worktodd.visible = false;
- chk_incre.visible = true;
- chk_per.visible = true;
- cap_compar.visible = false;
- rdo_compar.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_3" class="btn_sw" group="tab" selected="true" style="left:210px; top:54px; width:70px; height:22px; ">
- <caption>연별</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case3");
- model.setValue("/root/hidden/ref/flag", "3"); // 연별
- caption9.visible = true;
- ipt_worktodd.visible = true;
- chk_incre.visible = true;
- chk_per.visible = true;
- //연별캡션 변경
- fYearCaption();
- cap_compar.visible = false;
- rdo_compar.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_0" class="btn_sw" group="tab" selected="true" style="left:0px; top:54px; width:70px; height:22px; ">
- <caption>일별</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case0");
- model.setValue("/root/hidden/ref/flag", "0"); // 월별
- caption9.visible = false;
- ipt_worktodd.visible = false;
- chk_incre.visible = false;
- cap_compar.visible = false;
- rdo_compar.visible = false;
- ]]>
- </script>
- </button>
- <switch id="switch2" visibility="hidden" style="left:385px; top:75px; width:810px; height:650px; border-width:3px; ">
- <case id="case_setup" selected="true">
- <shape id="rectangle1" class="roundrect_search" appearance="roundrect" style="left:15px; top:320px; width:775px; height:310px; "/>
- <button id="btn_tlist_up" class="icon_top" style="left:235px; top:15px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_tlist.row
- if(row >= 2){
- model.duplicate("/root/main/setup","/root/main/setup/testlist["+ (row - 1) +"]","testlist["+ row +"]");
- model.copyNode("/root/main/setup/testlist["+ (row - 1) +"]","/root/main/setup/testlist["+ (row + 1) +"]");
- model.removenode("/root/main/setup/testlist["+ (row + 1) +"]");
- model.setValue("/root/main/setup/testlist["+ row +"]/seq", row);
- model.setValue("/root/main/setup/testlist["+ (row - 1) +"]/seq", row - 1);
- grd_tlist.rebuild();
- grd_tlist.row = row - 1;
- fSetFlagGrid();
- }
- ]]>
- </script>
- </button>
- <button id="btn_tlist_down" class="icon_bottom" style="left:270px; top:15px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_tlist.row
- if(row >= 1 && row < grd_tlist.rows - 1){
- model.duplicate("/root/main/setup","/root/main/setup/testlist["+ (row + 1) +"]","testlist["+row +"]")
- model.removenode("/root/main/setup/testlist["+ (row + 2) +"]");
- model.setValue("/root/main/setup/testlist["+ row +"]/seq", row);
- model.setValue("/root/main/setup/testlist["+ (row + 1) +"]/seq", row + 1);
- grd_tlist.rebuild();
- grd_tlist.row = row + 1;
- fSetFlagGrid();
- }
- ]]>
- </script>
- </button>
- <button id="btn_tlist_del" class="btn2_letter4" visibility="visible" style="left:310px; top:15px; width:64px; height:19px; ">
- <caption>선택삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_tlist.row;
-
- if(row >= 1){
- model.removeNodeset("/root/main/setup/subformat[testcd='"+ model.getValue("/root/main/setup/testlist["+ row +"]/testcd") +"']");
- grd_tlist.deleteRow(row);
- for(i = row; i < grd_tlist.rows; i++){
- model.setValue("/root/main/setup/testlist["+ i +"]/seq", i);
- }
- grd_tlist.rebuild();
- grd_tlist.row = row;
- fSetFlagGrid();
- }
-
- grd_flag.row;
- ]]>
- </script>
- </button>
- <datagrid id="grd_tlist" nodeset="/root/main/setup/testlist" caption="검사코드^검사명^순번" colsep="^" colwidth="80, 240,0" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:15px; top:40px; width:360px; height:270px; ">
- <col ref="testcd" style="text-align:left; padding-left:5; "/>
- <col ref="tnm" style="text-align:left; "/>
- <col ref="seq"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- fSetFlagGrid();
- ]]>
- </script>
- </datagrid>
- <button id="btn_flag_del" class="btn2_letter4" visibility="visible" style="left:650px; top:15px; width:64px; height:19px; ">
- <caption>선택삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_flag.row;
- var testcd = grd_flag.textmatrix(row, 1);
- var seq = "";
-
- if(row >= 1){
- if(row < grd_flag.rows){
- for(i = row + 1; i < grd_flag.rows; i++){
- grd_flag.textmatrix(i, 5) = i - 1;
- }
- }
- grd_flag.deleteRow(row);
- grd_flag.rebuild();
- grd_flag.row = row;
- }
- ]]>
- </script>
- </button>
- <button id="btn_flag_up" class="icon_top" style="left:575px; top:15px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_flag.row
- var tmp = "";
- if(row >= 2){
- tmp = grd_flag.textmatrix(row-1,2);
- grd_flag.textmatrix(row-1,2) = grd_flag.textmatrix(row,2);
- grd_flag.textmatrix(row,2) = tmp;
- tmp = grd_flag.textmatrix(row-1,3);
- grd_flag.textmatrix(row-1,3) = grd_flag.textmatrix(row,3);
- grd_flag.textmatrix(row,3) = tmp;
- tmp = grd_flag.textmatrix(row-1,4);
- grd_flag.textmatrix(row-1,4) = grd_flag.textmatrix(row,4);
- grd_flag.textmatrix(row,4) = tmp;
- grd_flag.rebuild();
- grd_flag.row = row - 1;
- }
- ]]>
- </script>
- </button>
- <button id="btn_flag_down" class="icon_bottom" style="left:610px; top:15px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_flag.row
- var tmp = "";
- if(row >= 1 && row < grd_flag.rows - 1){
- tmp = grd_flag.textmatrix(row+1,2);
- grd_flag.textmatrix(row+1,2) = grd_flag.textmatrix(row,2);
- grd_flag.textmatrix(row,2) = tmp;
- tmp = grd_flag.textmatrix(row+1,3);
- grd_flag.textmatrix(row+1,3) = grd_flag.textmatrix(row,3);
- grd_flag.textmatrix(row,3) = tmp;
- tmp = grd_flag.textmatrix(row+1,4);
- grd_flag.textmatrix(row+1,4) = grd_flag.textmatrix(row,4);
- grd_flag.textmatrix(row,4) = tmp;
- grd_flag.rebuild();
- grd_flag.row = row + 1;
- }
- ]]>
- </script>
- </button>
- <caption id="caption10" class="search_name" style="left:390px; top:15px; width:156px; height:17px; ">검사별 집계 방법 설정</caption>
- <button id="btn_flag_add" class="btn2_letter4" visibility="visible" style="left:725px; top:15px; width:64px; height:19px; ">
- <caption>로우추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_flag.nodeset == "/root/main/setup/subformat[testcd='']" || model.getValue("/root/hidden/testcd") == ""){
- alert("대상 검사를 선택하여 주십시요");
- }
- else{
- grd_flag.addRow();
- model.setValue("/root/main/setup/subformat[last()]/testcd", model.getValue("/root/hidden/testcd"));
- model.setValue("/root/main/setup/subformat[last()]/stepseq", model.getXPathValue("count(/root/main/setup/subformat[testcd='"+model.getValue("/root/hidden/testcd")+"'])"));
- grd_flag.rebuild();
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_flag" nodeset="/root/main/setup/subformat[testcd='']" caption="검사코드^구분명^구분방법^구분값^판단순서^표순" colsep="^" colwidth="0, 160, 66, 100,0,35" rowheader="seq" rowsep="|" style="left:390px; top:65px; width:400px; height:245px; ">
- <col ref="testcd"/>
- <col ref="flagnm" type="input"/>
- <col ref="flaggbn" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/flaglist/flag">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="flagval" type="input"/>
- <col ref="stepseq"/>
- <col ref="dispseq" type="input" format="####" validateformat="true"/>
- </datagrid>
- <datagrid id="grd_tclslist" nodeset="/root/main/setup/tclscdlist" caption="^검사코드^검사명^검사구분^" colsep="^" colwidth="27, 90, 487, 100, 0" explorerbar="sortshow" rowheader="seq" rowsep="|" style="left:25px; top:360px; width:755px; height:255px; ">
- <col checkvalue="true,false" ref="chk" type="checkbox"/>
- <col ref="tclscd" style="text-align:left; padding-left:10; "/>
- <col ref="tclsnm" style="text-align:left; padding-left:10; "/>
- <col disabled="true" ref="tclskind" type="combo">
- <choices>
- <item>
- <label>Group</label>
- <value>0</value>
- </item>
- <item>
- <label>Panel</label>
- <value>1</value>
- </item>
- <item>
- <label>Single</label>
- <value>2</value>
- </item>
- <item>
- <label>Parent</label>
- <value>3</value>
- </item>
- <item>
- <label>Child</label>
- <value>4</value>
- </item>
- <item>
- <label>Abnormal</label>
- <value>5</value>
- </item>
- <item>
- <label>성분제제</label>
- <value>6</value>
- </item>
- </choices>
- </col>
- <col ref="instcd"/>
- </datagrid>
- <input id="ipt_refgbn" ref="/root/hidden/search/searchtext" class="input_s_button" inputtype="button" style="left:655px; top:330px; width:120px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fGetHospTclscd();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13"){
- model.setValue("/root/hidden/search/searchtext", ipt_refgbn.currentText);
- fGetHospTclscd();
- }
- ]]>
- </script>
- </input>
- <caption id="caption27" class="search_name" style="left:475px; top:331px; width:87px; height:17px; ">검색구분 :</caption>
- <select1 id="cmb_refgbn" ref="/root/hidden/search/searchgbn" class="combo_search" appearance="minimal" style="left:565px; top:330px; width:85px; height:19px; ">
- <choices>
- <item>
- <label>검사코드</label>
- <value>1</value>
- </item>
- <item>
- <label>검사명</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- //fHiddenTodd();
- ]]>
- </script>
- </select1>
- <button id="btn_add_testcd" class="icon_top" style="left:115px; top:330px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var nowSeq = parseInt(model.getXPathValue("count(/root/main/setup/testlist)")) + 1;
- var moveTestcdCnt = parseInt(model.getXPathValue("count(/root/main/setup/tclscdlist[chk='true'])"));
- var tclscd = "";
- var duplCnt = 0;
- for(i = nowSeq; i < nowSeq + moveTestcdCnt; i++){
- tclscd = model.getValue("/root/main/setup/tclscdlist[chk='true']/tclscd");
- if(model.getXPathValue("count(/root/main/setup/testlist[testcd='" + tclscd + "'])") != "0"){
- duplCnt = duplCnt + 1;
- }
- else{
- model.makeNode("/root/main/setup/testlist[" + (i - duplCnt)+ "]/testcd");
- model.makeNode("/root/main/setup/testlist[" + (i - duplCnt) + "]/tnm");
- model.makeNode("/root/main/setup/testlist[" + (i - duplCnt) + "]/seq");
- model.setValue("/root/main/setup/testlist[last()]/testcd", model.getValue("/root/main/setup/tclscdlist[chk='true']/tclscd"));
- model.setValue("/root/main/setup/testlist[last()]/tnm", model.getValue("/root/main/setup/tclscdlist[chk='true']/tclsnm"));
- model.setValue("/root/main/setup/testlist[last()]/seq", (i - duplCnt));
- }
- model.setValue("/root/main/setup/tclscdlist[chk='true']/chk", "");
- }
-
- grd_tclslist.rebuild();
- grd_tlist.rebuild();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="search_name" style="left:30px; top:330px; width:87px; height:17px; ">검사추가</caption>
- <caption id="caption8" class="search_name" style="left:20px; top:15px; width:143px; height:17px; ">통계 대상 검사 목록</caption>
- <caption id="cap_flag_list" class="tit_2" style="left:390px; top:45px; width:410px; height:14px; ">대상 검사를 선택하여 주십시요</caption>
- <input id="ipt_testcd" visibility="hidden" style="left:670px; top:45px; width:100px; height:19px; "/>
- </case>
- <case id="case_spc">
- <select1 id="radio8" ref="/root/hidden/spc/spcflag" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:170px; top:10px; width:160px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체조회</label>
- <value>0</value>
- </item>
- <item>
- <label>일부조회</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/hidden/spc/spcflag") == "1"){
- group_cdlist.visible = true;
- group_search.visible = true;
- btn_spc.value = "검체선택*";
- }
- else{
- group_cdlist.visible = false;
- group_search.visible = false;
- btn_spc.value = "검체선택";
- }
- ]]>
- </script>
- </select1>
- <group id="group_search" visibility="hidden" style="left:370px; top:5px; width:415px; height:25px; ">
- <button id="button4" class="btn2_letter2" style="left:260px; top:5px; width:42px; height:19px; ">
- <caption>검색</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sstr = model.getValue("/root/hidden/spc/searchval");
- if(sstr == "") return;
- var cnt = chk_cdlist.length;
- var itemval = "";
- var sflag = -1;
- var skind = model.getValue("/root/hidden/spc/searchgbn");
-
- chk_cdlist.disabled = true;
-
- for(i= 0;i<cnt;i++){
- if(skind == "cd"){
- sflag = chk_cdlist.item(i).value.toUpperCase( ).search(sstr.toUpperCase( ));
- }
- else if (skind == "nm"){
- sflag = chk_cdlist.item(i).label.toUpperCase( ).search(sstr.toUpperCase( ));
- }
-
- if(sflag > -1 ){
- chk_cdlist.select(i);
- }
- }
-
- chk_cdlist.disabled = false;
- ]]>
- </script>
- </button>
- <input id="input3" ref="/root/hidden/spc/searchval" style="left:110px; top:5px; width:135px; height:19px; "/>
- <select1 id="radio7" ref="/root/hidden/spc/searchgbn" overflow="visible" appearance="full" cols="2" style="left:10px; top:5px; width:90px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>코드</label>
- <value>cd</value>
- </item>
- <item>
- <label>명칭</label>
- <value>nm</value>
- </item>
- </choices>
- </select1>
- <button id="button1" class="btn2_letter4" style="left:330px; top:5px; width:75px; height:19px; ">
- <caption>전체해제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/hidden/spc/spccd", "");
- chk_cdlist.refresh();
- model.setValue("/root/hidden/spc/spccnt", 0);
- model.setValue("/root/hidden/spc/spclist", "");
- cap_spccnt.refresh();
- txa_spc.refresh();
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption13" class="search_name" style="left:20px; top:10px; width:135px; height:17px; ">검체 선택</caption>
- <group id="group_cdlist" visibility="hidden" style="left:10px; top:35px; width:785px; height:600px; background-color:transparent; ">
- <select id="chk_cdlist" ref="/root/hidden/spc/spccd" visibility="visible" overflow="scroll" scroll="auto" appearance="full" cols="2" sep="▦" vcellspacing="5" style="left:5px; top:10px; width:575px; height:585px; border-width:1px; border-style:solid; ">
- <choices>
- <itemset nodeset="/root/init/spc/cdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/hidden/spc/spccnt", chk_cdlist.value.split("▦").length);
- model.setValue("/root/hidden/spc/spclist", chk_cdlist.label.replace(/▦/g, "\n"));
- cap_spccnt.refresh();
- txa_spc.refresh();
- ]]>
- </script>
- </select>
- <textarea id="txa_spc" ref="/root/hidden/spc/spclist" scroll="both" editable="false" style="left:590px; top:30px; width:190px; height:560px; word-wrap:hard; "/>
- <caption id="caption16" class="search_name" style="left:590px; top:5px; width:95px; height:17px; ">선택 검체</caption>
- <caption id="cap_spccnt" ref="/root/hidden/spc/spccnt" style="left:690px; top:5px; width:35px; height:20px; font-weight:bold; text-align:right; "/>
- <caption id="caption18" style="left:730px; top:5px; width:20px; height:20px; font-weight:bold; ">건</caption>
- </group>
- </case>
- <case id="case_tcls">
- <select1 id="radio1" ref="/root/hidden/tcls/tclsflag" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:170px; top:10px; width:160px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체조회</label>
- <value>0</value>
- </item>
- <item>
- <label>일부조회</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/hidden/tcls/tclsflag") == "1"){
- group_cdlist2.visible = true;
- group_search2.visible = true;
- btn_tcls.value = "검사선택*";
- }
- else{
- group_cdlist2.visible = false;
- group_search2.visible = false;
- btn_tcls.value = "검사선택";
- }
- ]]>
- </script>
- </select1>
- <group id="group_search2" visibility="hidden" style="left:370px; top:5px; width:415px; height:25px; ">
- <button id="button5" class="btn2_letter2" style="left:260px; top:5px; width:42px; height:19px; ">
- <caption>검색</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sstr = model.getValue("/root/hidden/tcls/searchval");
- if(sstr == "") return;
- var cnt = chk_cdlist2.length;
- var itemval = "";
- var sflag = -1;
- var skind = model.getValue("/root/hidden/tcls/searchgbn");
-
- chk_cdlist2.disabled = true;
-
- for(i= 0;i<cnt;i++){
- if(skind == "cd"){
- sflag = chk_cdlist2.item(i).value.toUpperCase( ).search(sstr.toUpperCase( ));
- }
- else if (skind == "nm"){
- sflag = chk_cdlist2.item(i).label.toUpperCase( ).search(sstr.toUpperCase( ));
- }
-
- if(sflag > -1 ){
- chk_cdlist2.select(i);
- }
- }
-
- chk_cdlist2.disabled = false;
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/hidden/tcls/searchval" style="left:110px; top:5px; width:135px; height:19px; "/>
- <select1 id="radio2" ref="/root/hidden/tcls/searchgbn" overflow="visible" appearance="full" cols="2" style="left:10px; top:5px; width:90px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>코드</label>
- <value>cd</value>
- </item>
- <item>
- <label>명칭</label>
- <value>nm</value>
- </item>
- </choices>
- </select1>
- <button id="button6" class="btn2_letter4" style="left:330px; top:5px; width:75px; height:19px; ">
- <caption>전체해제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/hidden/tcls/tclscd", "");
- chk_cdlist2.refresh();
- model.setValue("/root/hidden/tcls/tclscnt", 0);
- model.setValue("/root/hidden/tcls/tclslist", "");
- cap_tclscnt.refresh();
- txa_tcls.refresh();
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption12" class="search_name" style="left:20px; top:10px; width:135px; height:17px; ">검사 선택</caption>
- <group id="group_cdlist2" visibility="hidden" style="left:10px; top:35px; width:785px; height:600px; background-color:transparent; ">
- <select id="chk_cdlist2" ref="/root/hidden/tcls/tclscd" visibility="visible" overflow="scroll" scroll="auto" appearance="full" cols="2" sep="▦" vcellspacing="5" style="left:5px; top:10px; width:575px; height:585px; border-width:1px; border-style:solid; ">
- <choices>
- <itemset nodeset="/root/main/testcd/rowdata">
- <label ref="tnm"/>
- <value ref="testcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/hidden/tcls/tclscnt", chk_cdlist2.value.split("▦").length);
- model.setValue("/root/hidden/tcls/tclslist", chk_cdlist2.label.replace(/▦/g, "\n"));
- cap_tclscnt.refresh();
- txa_tcls.refresh();
- ]]>
- </script>
- </select>
- <textarea id="txa_tcls" ref="/root/hidden/tcls/tclslist" scroll="both" editable="false" style="left:590px; top:30px; width:190px; height:560px; word-wrap:hard; "/>
- <caption id="caption14" class="search_name" style="left:590px; top:5px; width:95px; height:17px; ">선택 검체</caption>
- <caption id="cap_tclscnt" ref="/root/hidden/tcls/tclscnt" style="left:690px; top:5px; width:35px; height:20px; font-weight:bold; text-align:right; "/>
- <caption id="caption17" style="left:730px; top:5px; width:20px; height:20px; font-weight:bold; ">건</caption>
- </group>
- </case>
- </switch>
- <switch id="switch3" visibility="hidden" style="left:285px; top:75px; width:910px; height:650px; border-width:3px; ">
- <case id="case5">
- <caption id="cap_detail" class="search_name" style="left:10px; top:10px; width:685px; height:17px; "/>
- <datagrid id="grd_detail" nodeset="/root/main/setup/detaillist" autoresize="true" caption="No^flag^검체번호^등록번호^환자명^검사코드^검사명^판정결과^입력결과^출력결과^접수일시^결과일시^숫자변환결과^구분명^판정값^구분방법^구분값" colsep="^" colwidth="40,0,80, 70, 60, 0, 0, 100,140, 0, 0, 0, 80, 100, 50, 70, 80" fixedcols="5" mergecellsfixedcols="bycol" rowsep="|" style="left:10px; top:35px; width:885px; height:600px; ">
- <col ref="seq"/>
- <col ref="errflag"/>
- <col ref="bcno" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="testcd"/>
- <col ref="tnm"/>
- <col ref="judgeval" style="padding-left:5; "/>
- <col ref="inptrslt" style="padding-left:5; "/>
- <col ref="reptrslt"/>
- <col ref="spcacptdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="numval" style="text-align:right; padding-right:5; "/>
- <col ref="flagnm" style="text-align:left; padding-left:5; "/>
- <col ref="flag" type="combo" style="font-weight:bold; text-align:center; ">
- <choices>
- <item>
- <label>거짓</label>
- <value>0</value>
- </item>
- <item>
- <label>참</label>
- <value>1</value>
- </item>
- </choices>
- </col>
- <col ref="flaggbn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/flaglist/flag">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="flagval" style="padding-left:5; "/>
- </datagrid>
- <button id="button3" class="btn2_letter4" style="left:825px; top:10px; width:64px; height:19px; ">
- <caption>상세 닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- switch3.visible = false;
- ]]>
- </script>
- </button>
- <select id="chk_errflag" ref="/root/hidden/grdview/errflag" overflow="visible" appearance="full" style="left:660px; top:10px; width:110px; height:20px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>
- <![CDATA[기타&중복 보기]]>
- </label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(chk_errflag.value == "1") grd_detail.nodeset ="/root/main/setup/detaillist[errflag='1']";
- else grd_detail.nodeset ="/root/main/setup/detaillist"
- grd_detail.rebuild();
- grd_detail.resizeCells();
-
- ]]>
- </script>
- </select>
- <button id="button7" class="btn2_letter2" style="left:775px; top:10px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var filename = window.fileDialog("save", ",", false, cap_detail.value , "xls", "All Files(*.*)|*.*|Excel File(*.xls)|*.xls");
- grd_detail.saveExcel(filename);
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <button id="btn_open_setup" class="btn_sw" group="tab2" style="left:1110px; top:54px; width:70px; height:22px; ">
- <caption>설정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- switch2.visible = true;
- model.toggle("case_setup");
- btn_open_setup.visible = false;
- btn_close_setup.visible = true;
- btn_save_setup.visible = true;
- btn_get_setup.visible = true;
- ]]>
- </script>
- </button>
- <button id="btn_close_setup" class="btn_sw" visibility="hidden" group="tab2" style="left:1110px; top:54px; width:70px; height:22px; ">
- <caption>설정닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCloseSetup();
- ]]>
- </script>
- </button>
- <button id="btn_save_setup" class="btn_sw" visibility="hidden" group="tab2" style="left:1025px; top:54px; width:70px; height:22px; ">
- <caption>설정 저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetTestFlagList();
- ]]>
- </script>
- </button>
- <button id="btn_get_setup" class="btn_sw" visibility="hidden" group="tab2" style="left:400px; top:54px; width:70px; height:22px; ">
- <caption>설정 조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetSetup();
- fSetFlagGrid();
- ]]>
- </script>
- </button>
- <group id="group_cntasspc" scroll="auto" style="left:475px; top:49px; width:545px; height:25px; ">
- <shape id="roundrect3" class="roundrect_error" appearance="roundrect" style="left:0px; top:0px; width:545px; height:25px; "/>
- <select id="checkbox2" ref="/root/hidden/grdview/etc" overflow="visible" appearance="full" style="left:210px; top:5px; width:90px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>기타 표시</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/hidden/grdview/etc") == "1"){
- grd_days.nodeset = "/root/main/days/rowdata";
- grd_month.nodeset = "/root/main/month/rowdata";
- grd_quarter.nodeset = "/root/main/quarter/rowdata";
- grd_year.nodeset = "/root/main/year/rowdata";
- }
- else{
- grd_days.nodeset = "/root/main/days/rowdata[flagnm!='기타']";
- grd_month.nodeset = "/root/main/month/rowdata[flagnm!='기타']";
- grd_quarter.nodeset = "/root/main/quarter/rowdata[flagnm!='기타']";
- grd_year.nodeset = "/root/main/year/rowdata[flagnm!='기타']";
- }
- ]]>
- </script>
- </select>
- <select id="chk_per" ref="/root/hidden/grdview/per" overflow="visible" appearance="full" cols="3" sep="▦" style="left:330px; top:5px; width:65px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>% 표시</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(chk_per.value == "1"){
- for(i = 0; i<31; i++){
- grd_days.colHidden(5 + (i*2)) = false;
- }
- grd_month.colHidden(5) = false;
- for(i = 0; i<12; i++){
- grd_month.colHidden(7 + (i*3)) = false;
- }
- grd_quarter.colHidden(5) = false;
- for(i = 0; i<4; i++){
- grd_quarter.colHidden(7 + (i*3)) = false;
- }
- grd_year.colHidden(5) = false;
- for(i = 0; i< 9; i++){
- if(model.getValue("/root/send/year" + (i+2)) != "") grd_year.colHidden(7 + (i*3)) = false;
- }
- }
- else{
- for(i = 0; i<31; i++){
- grd_days.colHidden(5 + (i*2)) = true;
- }
- grd_month.colHidden(5) = true;
- for(i = 0; i<12; i++){
- grd_month.colHidden(7 + (i*3)) = true;
- }
- grd_quarter.colHidden(5) = true;
- for(i = 0; i<4; i++){
- grd_quarter.colHidden(7 + (i*3)) = true;
- }
- grd_year.colHidden(5) = true;
- for(i = 0; i<10; i++){
- if(!grd_year.colHidden(7 + (i*3)))
- grd_year.colHidden(7 + (i*3)) = true;
- }
- }
- ]]>
- </script>
- </select>
- <select id="chk_incre" ref="/root/hidden/grdview/incre" visibility="hidden" overflow="visible" appearance="full" cols="3" sep="▦" style="left:430px; top:5px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>증감율 표시</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(chk_incre.value == "1"){
- for(i = 0; i<12; i++){
- grd_month.colHidden(8 + (i*3)) = false;
- }
- for(i = 0; i<4; i++){
- grd_quarter.colHidden(8 + (i*3)) = false;
- }
- for(i = 0; i< 9; i++){
- if(model.getValue("/root/send/year" + (i+2)) != "") grd_year.colHidden(8 + (i*3)) = false;
- }
- }
- else{
- for(i = 0; i<12; i++){
- grd_month.colHidden(8 + (i*3)) = true;
- }
- for(i = 0; i<4; i++){
- grd_quarter.colHidden(8 + (i*3)) = true;
- }
- for(i = 0; i<10; i++){
- if(!grd_year.colHidden(8 + (i*3)))
- grd_year.colHidden(8 + (i*3)) = true;
- }
- }
- ]]>
- </script>
- </select>
- <caption id="caption11" class="search_name" style="left:20px; top:5px; width:86px; height:17px; ">진행상태 :</caption>
- <caption id="cap_stat" style="left:110px; top:5px; width:85px; height:20px; font-weight:bold; ">0/0</caption>
- </group>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- </button>
- <line id="line5" class="line_2" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
- <button id="btn_print" class="btn6_letter2" style="left:0px; top:3px; width:96px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveExcel();
- ]]>
- </script>
- </button>
- </group>
- <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:800px; height:14px; ">분자유전 검사통계</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|