123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLQP00300_QC장비상관관계조회.xrw
- * 설 명 : QC장비상관관계조회
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 -
- * 작 성 일 : 2006.12.26
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title/>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <eqmtdata1/>
- <eqmtdata2/>
- </main>
- <send>
- <acptfromdd/>
- <acpttodd/>
- <testroom>00</testroom>
- <eqmtcd1>00</eqmtcd1>
- <eqmtcd2>00</eqmtcd2>
- <testcd/>
- <testcd2/>
- <testnm/>
- <testnm2/>
- <levlcd/>
- <levlcd2/>
- <levlnm/>
- <deptflag/>
- <acptflag>00</acptflag>
- </send>
- <init/>
- <hidden>
- <ref>
- <testlist>
- <testnm/>
- <testcd/>
- <testcd2/>
- <testnm2/>
- </testlist>
- <levllist>
- <levlnm/>
- <levlcd/>
- <levlcd2/>
- </levllist>
- </ref>
- <testdetlinfo>
- <testdetlinfo/>
- </testdetlinfo>
- <calcrslt>
- <meandiff/>
- <meandiff2/>
- <sddiff/>
- <sddiff2/>
- <cvdiff/>
- <cvdiff2/>
- <sdi/>
- <cvr/>
- <accuracy/>
- <corr/>
- </calcrslt>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/LB0111"/>
- <submission id="TRLQP00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fSetInit(){
- //model.removeNodeset("/root/main/testdetlinfo");
- //grd_testDetlInfo.rebuild();
-
- var fromdate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-15)
-
- model.setValue("/root/send/acptfromdd", fromdate.getDateFormat("YYYYMMDD"));
- //model.setValue("/root/send/acptfromdd" , getCurrentDate());
- model.setValue("/root/send/acpttodd" , getCurrentDate());
-
- model.makeValue("/root/send/codeflag","0000|0111|0701|"); //0000:사용자부서코드, 0111:시행부서계 0707: 장비코드
- submit("TRLZZ00101", false);
-
- model.makeValue("/root/send/basecdid", model.getValue("/root/init/LB0000/nm"));
- model.setValue("/root/send/codeflag", "0501|0704|"); //사용자 부서별로 레벨코드를 조회하기 위해 사용자부서 코드를 가져온 다음 다시 레벨코드 조회
- submit("TRLZZ00101");
- }
-
- //검사실에 대한 장비 조회
- function fSetEqmtCd(){
-
- model.removeNodeset("/root/init/LB0701");
-
- var testroom = model.getValue("/root/send/testroom");
- model.makeValue("/root/send/basecdid", testroom); //검사실구분 코드(장비코드앞자리)
- model.makeValue("/root/send/codeflag","0701|");
- model.setValue("/root/send/eqmtcd1", '00');
- model.setValue("/root/send/eqmtcd2", '00');
-
- submit("TRLZZ00101");
- }
-
-
- //검사항목별 레벨 조회 팝업
- function fTestLevlSch(){
- var eqmtcd = model.getValue("/root/send/eqmtcd"); //장비코드
- var deptflag = model.getValue("/root/init/LB0000/nm"); //사용자부서코드
- var tlentgh = model.getValue("/root/hidden/ref/testlist/testcd").split("▦");
- var testcd = model.getValue("/root/hidden/ref/testlist/testcd");
- for(i = 0; i < tlentgh.length; i++){
- testcd = testcd.replace("▦", "▤");
- }
- var sflag = "nu" + "▦" + eqmtcd + "▦" + deptflag+ "▦" + testcd;
- setParameter("opener_parameter_id", sflag);
- modal("SPLQP00200", "", "", "", "", "", "");
-
- model.setValue("/root/send/levlnm" , model.getValue("/root/hidden/ref/levllist/levlnm")); //검사명
- model.setValue("/root/send/levlcd" , model.getValue("/root/hidden/ref/levllist/levlcd")); //검사코드를 받아와서 셋팅~
- model.setValue("/root/send/levlcd2" , model.getValue("/root/hidden/ref/levllist/levlcd2"));
- model.refresh();
-
- fGrdSet();//검사항목에 따른 그리드 셋팅
- }
-
- //장비별 검사항목 조회 팝업
- function fTestListSch(){
- var eqmtcd1 = model.getValue("/root/send/eqmtcd1"); //장비코드
- var eqmtcd2 = model.getValue("/root/send/eqmtcd2"); //장비코드
-
- if(eqmtcd1 == "00"){ //장비코드가 전체이면
- messageBox("장비1을", "C002","");
- return;
- }
- if(eqmtcd2 == "00"){ //장비코드가 전체이면
- messageBox("장비2를", "C002","");
- return;
- }
- if(eqmtcd1 == eqmtcd2){ //장비1과 2가 같다면
- alert("장비1과 장비2가 같습니다!\n장비를 다시 선택하세요!!");
- return;
- }
-
- var deptflag = model.getValue("/root/init/LB0000/nm"); //사용자부서코드
- var sflag = "nu" + "▦" + eqmtcd1 + "▦" + deptflag + "▦" + eqmtcd2;
- setParameter("opener_parameter_id", sflag);
- modal("SPLQP00100", "", "", "", "", "", "");
-
- model.setValue("/root/send/testnm" , model.getValue("/root/hidden/ref/testlist/testnm")); //검사명
- model.setValue("/root/send/testnm2" , model.getValue("/root/hidden/ref/testlist/testnm2")); //검사명
- model.setValue("/root/send/testcd" , model.getValue("/root/hidden/ref/testlist/testcd")); //검사코드를 받아와서 셋팅~
- model.setValue("/root/send/testcd2" , model.getValue("/root/hidden/ref/testlist/testcd2"));
- model.refresh();
-
- fGrdSet();//검사항목에 따른 그리드 셋팅
- }
-
- //검사항목에 따른 그리드 셋팅
- function fGrdSet(){
-
- model.removeNodeset("/root/main/eqmtdata1");
- model.removeNodeset("/root/main/eqmtdata2");
-
- if(model.getValue("/root/hidden/ref/testlist/testnm") != ""){
- datagrid1.addRow(); ///////////////////////////////////////////////////removeNodeset하면 컬럼이 사라지지 않아
- datagrid2.addRow();
-
- //그리드 컬럼 추가 및 캡션 설정 //컬럼 추가때 사용
- var vCap = "접수일시"; //캡션 test로 초기화(고정인 컬럼 캡션)
- var vTestnm = model.getValue("/root/hidden/ref/testlist/testnm2").split("▦"); //검사항목을 ", "단위로 쪼개서 담고
- var vLevlnm = model.getValue("/root/hidden/ref/levllist/levlnm").split(", "); //검사항목을 ", "단위로 쪼개서 담고
-
- if( vTestnm.length > 10){
- alert("10항목 이상 선택하실 수 없습니다\n검사항목을 다시 선택하세요!!");
- fTestListSch();
- return;
- }
- //1번째 컬럼을 제외하고 다 지운다~~
- for(i = datagrid1.cols; i>2; i--){
- datagrid1.removeColumn(false);
- datagrid2.removeColumn(false);
- }
-
- //검사항목 갯수만큼 컬럼 추가
- for(i = 0; i<vTestnm.length ; i++){ //선택한 검사항목 갯수만큼
- for(j = 0; j < vLevlnm.length; j++){
- vCap = vCap + "^" + vTestnm[i]+"\n"+vLevlnm[j]; //캡션에 하나씩 넣어주고
- datagrid1.addColumn("ref:column"+i+j+ " ; type:output;", false); //컬럼 ref설정 및 output타입으로 컬럼 추가
- datagrid2.addColumn("ref:column"+i+j+ " ; type:output;", false); //컬럼 ref설정 및 output타입으로 컬럼 추가
- }
- }
- datagrid1.caption = vCap;
- datagrid2.caption = vCap;
- }
- model.refresh();
- }
-
- //결과조회(검사항목별)
- function fGetRslt(){
-
- model.removeNodeset("/root/main/eqmtdata1");
- model.removeNodeset("/root/main/eqmtdata2");
-
- if(model.getValue("/root/send/eqmtcd1") == "00"){
- messageBox("장비1을", "C002","");
- return;
- }
- if(model.getValue("/root/send/eqmtcd2") == "00"){
- messageBox("장비2를", "C002","");
- return;
- }
- if(model.getValue("/root/hidden/ref/testlist/testnm") == ""){
- messageBox("검사항목을", "C002","");
- fTestListSch();
- return;
- }
- if(model.getValue("/root/send/levlcd") == ""){
- messageBox("Standard를", "C002","");
- return;
- }
-
- model.setValue("/root/send/deptflag", model.getValue("/root/init/LB0000/nm"));
- submit("TRLQP00301", false);
-
- model.refresh();
- }
-
- function fGetCalcRslt(col){
-
- var cv1 = parseFloat(datagrid1.valueMatrix(1, col)); //장비1의 결과
- var mean1 = parseFloat(datagrid1.valueMatrix(2, col));
- var sd1 = parseFloat(datagrid1.valueMatrix(3, col));
- var cv2 = parseFloat(datagrid2.valueMatrix(1, col)); //장비2의 결과
- var mean2 = parseFloat(datagrid2.valueMatrix(2, col));
- var sd2 = parseFloat(datagrid2.valueMatrix(3, col));
-
- var meanDiff = Math.round((mean2 - mean1) * Math.pow(10, 10)) / Math.pow(10, 10); //Diff
- var meanDiff2 = Math.round((meanDiff / mean2) * Math.pow(10, 10)) / Math.pow(10, 10); //Diff(%)
- var sdDiff = Math.round((sd2 - sd1) * Math.pow(10, 10)) / Math.pow(10, 10);
- var sdDiff2 = Math.round((sdDiff / sd2) * Math.pow(10, 10)) / Math.pow(10, 10);
- var cvDiff = Math.round((cv2 - cv1) * Math.pow(10, 10)) / Math.pow(10, 10);
- var cvDiff2 = Math.round((cvDiff / cv2) * Math.pow(10, 10)) / Math.pow(10, 10);
-
- var sdi = Math.round(((mean2-mean1) / sd1) * Math.pow(10, 10)) / Math.pow(10, 10); //(실험실평균-peer 평균)/ peer SD
- var cvr = Math.round((cv1 / cv2) * Math.pow(10, 10)) / Math.pow(10, 10); //Peer CV / 실험실 CV
- var accuracy = Math.round((mean2 / mean1) * Math.pow(10, 10)) / Math.pow(10, 10);
- //var corr = ;
-
- model.setValue("/root/hidden/calcrslt/meandiff" , meanDiff);
- model.setValue("/root/hidden/calcrslt/meandiff2" , meanDiff2);
- model.setValue("/root/hidden/calcrslt/sddiff" , sdDiff);
- model.setValue("/root/hidden/calcrslt/sddiff2" , sdDiff2);
- model.setValue("/root/hidden/calcrslt/cvdiff" , cvDiff);
- model.setValue("/root/hidden/calcrslt/cvdiff2" , cvDiff2);
- model.setValue("/root/hidden/calcrslt/sdi" , sdi);
- model.setValue("/root/hidden/calcrslt/cvr" , cvr);
- model.setValue("/root/hidden/calcrslt/accuracy" , accuracy);
- //model.setValue("/root/hidden/calcrslt/corr", corr);
-
- model.refresh();
- }
-
- ]]>
- </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:744; ">
- <caption id="caption13" class="tit_2" style="left:5px; top:73px; width:370px; height:13px; ">장비간 검사항목별 비교결과 정보</caption>
- <line id="line6" class="line_1" style="x1:0px; y1:88px; x2:1194px; y2:88px; "/>
- <caption id="caption23" class="cell_1" style="left:201px; top:94px; width:85px; height:23px; ">Mean_Diff</caption>
- <caption id="caption24" class="cell_1" style="left:201px; top:119px; width:85px; height:23px; ">Mean_Diff(%)</caption>
- <caption id="caption25" class="cell_1" style="left:400px; top:95px; width:85px; height:23px; ">SD_Diff</caption>
- <caption id="caption7" class="cell_1" style="left:1px; top:95px; width:85px; height:23px; ">CV_Diff</caption>
- <caption id="caption11" class="cell_1" style="left:1px; top:120px; width:85px; height:24px; ">CV_Diff(%)</caption>
- <caption id="caption26" class="cell_1" style="left:598px; top:95px; width:116px; height:23px; ">SDI</caption>
- <caption id="caption27" class="cell_1" style="left:897px; top:95px; width:116px; height:23px; ">CVR</caption>
- <caption id="caption28" class="cell_1" style="left:598px; top:120px; width:116px; height:23px; ">Accuracy</caption>
- <caption id="caption29" class="cell_1" style="left:400px; top:120px; width:85px; height:24px; ">SD_Diff(%)</caption>
- <caption id="caption30" class="cell_1" style="left:897px; top:120px; width:116px; height:23px; ">상관성(Corr)</caption>
- <output id="output1" ref="/root/hidden/calcrslt/meandiff" class="output_fix" style="left:288px; top:96px; width:108px; height:19px; vertical-align:middle; ">
- <hint>
- <![CDATA[(장비2)Mean-(장비1)Mean]]>
- </hint>
- </output>
- <output id="output2" ref="/root/hidden/calcrslt/meandiff2" class="output_fix" format="(-)###.###" roundmode="round" roundposition="-4" style="left:288px; top:121px; width:108px; height:19px; vertical-align:middle; ">
- <hint>
- <![CDATA[Mean_Diff/(장비2)Mean]]>
- </hint>
- </output>
- <output id="output3" ref="/root/hidden/calcrslt/sddiff" class="output_fix" style="left:487px; top:97px; width:108px; height:19px; vertical-align:middle; ">
- <hint>
- <![CDATA[(장비2)SD-(장비1)SD]]>
- </hint>
- </output>
- <output id="output4" ref="/root/hidden/calcrslt/sdi" class="output_fix" format="(-)###.###" roundmode="round" roundposition="-4" style="left:716px; top:97px; width:177px; height:19px; ">
- <hint>
- <![CDATA[((장비2)Mean-(장비1)Mean)/(장비1)SD]]>
- </hint>
- </output>
- <output id="output5" ref="/root/hidden/calcrslt/cvr" class="output_fix" format="(-)###.###" roundmode="round" roundposition="-4" style="left:1015px; top:97px; width:177px; height:19px; ">
- <hint>
- <![CDATA[(장비1)CV/(장비2)CV]]>
- </hint>
- </output>
- <output id="output6" ref="/root/hidden/calcrslt/accuracy" class="output_fix" format="(-)###.###" roundmode="round" roundposition="-4" style="left:716px; top:122px; width:177px; height:19px; ">
- <hint>
- <![CDATA[(장비2)Mean/(장비1)Mean]]>
- </hint>
- </output>
- <output id="output7" ref="/root/hidden/calcrslt/cvdiff" class="output_fix" style="left:88px; top:97px; width:108px; height:19px; vertical-align:middle; ">
- <hint>
- <![CDATA[(장비2)CV-(장비1)CV]]>
- </hint>
- </output>
- <output id="output8" ref="/root/hidden/calcrslt/cvdiff2" class="output_fix" format="(-)###.###" roundmode="round" roundposition="-4" style="left:88px; top:122px; width:108px; height:19px; vertical-align:middle; ">
- <hint>
- <![CDATA[CV_Diff/(장비2)CV]]>
- </hint>
- </output>
- <output id="output10" ref="/root/hidden/calcrslt/corr" class="output_fix" format="(-)###.###" roundmode="round" roundposition="-4" style="left:1015px; top:120px; width:177px; height:19px; "/>
- <output id="output9" ref="/root/hidden/calcrslt/sddiff2" class="output_fix" format="(-)###.###" roundmode="round" roundposition="-4" style="left:487px; top:122px; width:108px; height:19px; vertical-align:middle; ">
- <hint>
- <![CDATA[SD_Diff/(장비2)SD]]>
- </hint>
- </output>
- <line id="line1" class="line_3" style="x1:0px; y1:145px; x2:1194px; y2:145px; "/>
- <line id="line2" class="line_1" style="x1:0px; y1:165px; x2:595px; y2:165px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:150px; width:134px; height:13px; ">장비1 상세내역</caption>
- <group id="group1" style="left:0px; top:10px; width:1195px; height:60px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:60px; "/>
- <button id="button3" class="btn1_letter2" style="left:1124px; top:31px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetRslt();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:735px; top:10px; width:94px; height:17px; ">접수구분 :</caption>
- <select1 id="combo2" ref="/root/send/acptflag" class="combo_search" appearance="minimal" style="left:825px; top:9px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0704">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <line id="line3" class="line_4" style="x1:1109px; y1:31px; x2:1109px; y2:53px; "/>
- <caption id="caption5" class="search_name" style="left:15px; top:9px; width:87px; height:17px; ">접수일자 :</caption>
- <caption id="caption8" style="left:196px; top:9px; width:15px; height:20px; vertical-align:middle; ">~</caption>
- <caption id="caption9" class="search_name" style="left:321px; top:9px; width:92px; height:17px; ">장 비1 :</caption>
- <input id="input3" ref="/root/send/acptfromdd" class="input_search" inputtype="date" style="left:106px; top:8px; width:85px; height:19px; "/>
- <input id="input4" ref="/root/send/acpttodd" class="input_search" inputtype="date" style="left:211px; top:8px; width:85px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:15px; top:36px; width:86px; height:17px; ">검사항목 :</caption>
- <caption id="caption4" class="search_name" visibility="hidden" style="left:960px; top:35px; width:94px; height:17px; ">검사실 :</caption>
- <output id="input1" ref="/root/send/testnm" class="output_fix" style="left:106px; top:35px; width:385px; height:19px; "/>
- <button id="button4" class="icon_search" visibility="visible" style="left:888px; top:37px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fTestLevlSch(); //레벨조회 팝업 뜨지롱
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/send/eqmtcd1" class="combo_search" appearance="minimal" style="left:419px; top:8px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0701">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(combo1.value != "00" && combo3.value != "00"){
- if(combo1.value == combo3.value){
- alert("장비1과 장비2가 같습니다!\n장비를 다시 선택하세요!!");
- return;
- }
- fTestListSch(); //장비에대한 검사항목 조회 팝업뜬다~~~
- }
- var eqmt1 = (combo1.label).substr(6, combo1.label.length);
- caption1.value = eqmt1+" 상세내역";
-
- model.removeNodeset("/root/main/eqmtdata1");
- model.removeNodeset("/root/main/eqmtdata2");
-
- model.resetInstanceNode("/root/hidden/calcrslt");
- model.refresh();
- ]]>
- </script>
- </select1>
- <button id="btn_testListSch" class="icon_search" style="left:494px; top:37px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fTestListSch(); //장비별 검사항목 팝업 뜨지롱
- ]]>
- </script>
- </button>
- <select1 id="combo5" ref="/root/send/testroom" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:1046px; top:34px; width:30px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0111">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSetEqmtCd(); //검사실에 대한 장비 조회
- ]]>
- </script>
- </select1>
- <select1 id="combo3" ref="/root/send/eqmtcd2" class="combo_search" appearance="minimal" style="left:620px; top:8px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0701">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(combo1.value != "00" && combo3.value != "00"){
- if(combo1.value == combo3.value){
- alert("장비1과 장비2가 같습니다!\n장비를 다시 선택하세요!!");
- return;
- }
- fTestListSch(); //장비에대한 검사항목 조회 팝업뜬다~~~
- }
- var eqmt2 = (combo3.label).substr(6, combo3.label.length);
- caption4.value = eqmt2+" 상세내역";
-
- model.removeNodeset("/root/main/eqmtdata1");
- model.removeNodeset("/root/main/eqmtdata2");
-
- model.resetInstanceNode("/root/hidden/calcrslt");
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption10" class="search_name" style="left:521px; top:9px; width:92px; height:17px; ">장 비2 :</caption>
- <caption id="caption12" class="search_name" style="left:521px; top:37px; width:92px; height:17px; ">Standard :</caption>
- <input id="input2" ref="/root/send/levlnm" class="input_s_essential" style="left:619px; top:35px; width:260px; height:19px; "/>
- <select1 id="cbo_levlCd" ref="/root/send/levlcd" class="combo_search" appearance="minimal" style="left:619px; top:35px; width:260px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0501">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <output id="output11" ref="/root/send/levlnm" class="output_fix" appearance="minimal" style="left:619px; top:35px; width:260px; height:19px; "/>
- </group>
- <datagrid id="datagrid1" nodeset="/root/main/eqmtdata1" class="datagrid2" caption="접수일시" colsep="^" colwidth="120" dataheight="23" frozenrows="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" selectionmode="bycol" style="left:0px; top:170px; width:595px; height:573px; ">
- <col ref="rsltcnfmdt"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var col = datagrid1.col;
-
- if (isDataCell() && col > 1 && datagrid1.valueMatrix(2, col) != "" && datagrid2.valueMatrix(2, col) != ""){
- fGetCalcRslt(col);
- }else{
- model.resetInstanceNode("/root/hidden/calcrslt");
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption6" class="tit_2" style="left:600px; top:150px; width:134px; height:13px; ">장비2 상세내역</caption>
- <button id="btn_excel1" class="btn2_letter5" style="left:1039px; top:145px; width:75px; height:19px; ">
- <caption>장비1저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var eqmt1 = (combo1.label).substr(6, combo1.label.length);
- var fileName = window.fileDialog("save", ",", false, getCurrentDate()+"_"+eqmt1, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- datagrid1.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <button id="btn_excel2" class="btn2_letter5" style="left:1116px; top:145px; width:75px; height:19px; ">
- <caption>장비2저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var eqmt2 = (combo3.label).substr(6, combo3.label.length);
- var fileName = window.fileDialog("save", ",", false, getCurrentDate()+"_"+eqmt2, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- datagrid2.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <line id="line4" class="line_1" style="x1:599px; y1:165px; x2:1194px; y2:165px; "/>
- <datagrid id="datagrid2" nodeset="/root/main/eqmtdata2" class="datagrid2" caption="접수일시" colsep="^" colwidth="120" dataheight="23" frozenrows="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" selectionmode="bycol" style="left:599px; top:170px; width:595px; height:573px; ">
- <col ref="rsltcnfmdt"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var col = datagrid2.col;
-
- if (isDataCell() && col > 1 && datagrid1.valueMatrix(2, col) != "" && datagrid2.valueMatrix(2, col) != ""){
- fGetCalcRslt(col);
- }else{
- model.resetInstanceNode("/root/hidden/calcrslt");
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.reload();
- ]]>
- </script>
- </button>
- <button id="button11" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <line id="line7" class="line_2" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- </group>
- <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption14" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">QC장비상관관계조회</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|