123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>XE2100 결과조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <xersltlist>
- <tclsnm/>
- <reptrslt/>
- <reptdt/>
- <refval/>
- <rsltunit/>
- <bfinptrslt/>
- <bflastreptdt/>
- <bfrsltnm/>
- <prcpyn/>
- </xersltlist>
- </main>
- <send>
- <bcno/>
- </send>
- <init>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script src="../../../com/commonweb/js/common.js" type="javascript"/>
- <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
- <script ev:event="xforms-ready" type="javascript">
- <![CDATA[
-
- submit("TRLLR91501");
- initGridStyle("xersltlist");
- setRowStyleSep("xersltlist", "0", "N", "prcpyn", "equal");
-
-
- ]]>
- </script>
- <submission id="TRLLR91501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/xersltlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fExeCancel() {
- window.close();
- }
-
- function fExeOut(){
-
- if (event.keyCode == 115) {
-
- fExeCancel();
- }
- }
-
- function setRowStyleSep( gridID , styleFlag , data , colRef , control ) {
- var style = new Array("#33cc33" , "#ffe79d" , "#f3e1bf" , "#7BE6B7" , "#b9e5fb" , "#f7a08b" , "#fec34d" , "#dec6a4" , "#c8e67b" , "#43c8f5", "#99cf16", "#e5f3c2" );
- var styleFlags = styleFlag.split("^");
- var datas = data.split("^");
- if( control == null || control == "" )
- control = "equal";
- var controls = control.split("^");
- gridObj = document.all(gridID);
- gridObj.backcoloralternate = "transparent";
- for( var j = 0 ; j < datas.length ; j++ ) {
- var dataValue = datas[j];
- var styleValue = style[styleFlags[j]];
- for( var i = gridObj.fixedRows ; i < gridObj.Rows ; i++ ) {
- if(controls[j] == null)
- controls[j] = "equal";
- switch( controls[j] ) {
- case "small":
- if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) < dataValue ) {
- gridObj.rowstyle( i , "data" , "color" ) = styleValue;
- gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
- }
- break;
- case "smallThen":
- if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) <= dataValue ) {
- gridObj.rowstyle( i , "data" , "color" ) = styleValue;
- gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
- }
- break;
- case "bigger":
- if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) > dataValue ) {
- gridObj.rowstyle( i , "data" , "color" ) = styleValue;
- gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
- }
- break;
- case "biggerThen":
- if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) >= dataValue ) {
- gridObj.rowstyle( i , "data" , "color" ) = styleValue;
- gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
- }
- break;
- case "notEqual":
- if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) != dataValue ) {
- gridObj.rowstyle( i , "data" , "color" ) = styleValue;
- gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
- }
- break;
- case "equal":
- if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) == dataValue ) {
- gridObj.rowstyle( i , "data" , "color" ) = styleValue;
- gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
- }
- break;
- }
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="900" pageheight="650" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:830px; height:585px; ">
- <caption id="caption5" class="tit_2" style="left:5px; top:1px; width:134px; height:13px; ">결과 리스트</caption>
- <line id="line8" class="line_1" style="x1:0px; y1:16px; x2:830px; y2:16px; "/>
- <line id="line2" class="line_3" style="x1:0px; y1:584px; x2:830px; y2:584px; "/>
- <datagrid id="xersltlist" nodeset="/root/main/xersltlist" class="datagrid2" caption="검사명^결과^결과보고시간^참고치^단위^이전결과^이전결과일^이전검사자" colsep="^" colwidth="210, 60, 135, 85, 60, 60, 135, 80, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:20px; width:830px; height:563px; ">
- <col ref="tclsnm"/>
- <col ref="reptrslt"/>
- <col ref="reptdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="refval" style="text-align:center; "/>
- <col ref="rsltunit"/>
- <col ref="bfinptrslt"/>
- <col ref="bflastreptdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="bfrsltnm"/>
- <col ref="prcpyn" visibility="hidden"/>
- </datagrid>
- </group>
- <group id="group2" style="left:0px; top:585px; width:830px; height:25px; ">
- <line id="line11" class="line_6" style="x1:0px; y1:0px; x2:830px; y2:0px; "/>
- <button id="btn_can" class="btn4_letter2" style="left:770px; top:1px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fExeCancel();
- ]]>
- </script>
- </button>
- </group>
- <script ev:event="onkeydown" type="javascript">
- <![CDATA[
- fExeOut();
- ]]>
- </script>
- </xhtml:body>
- </xhtml:html>
|