123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLNP90600_체외일계표이력관리
- * 설 명 : 일계표이력관리
- * 설 계 자 : 설계자가 별도로 존재시 작성
- * 작 성 자 : 서승현
- * 작 성 일 : 2009.05.12
- * 수정이력: 최종작성일 기준으로 변경사항 이력관리
- * 기 타 : 주석문에 반영되어야 할 사항 표기
- -->
- <?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>
- <cntlist>
- <iodd/>
- <goodcd/>
- <tclsnm/>
- <seq/>
- <icnt/>
- <ocnt/>
- <mcnt/>
- <idt/>
- <odt/>
- <mdt/>
- </cntlist>
- </main>
- <send>
- <codeflag/>
- <fromdd/>
- <todd/>
- <refflag>1</refflag>
- </send>
- <init/>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/LB0110"/>
- <submission id="TRLNP90601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cntlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- //초기화
- function fExeInitialize(){
-
- model.removeNodeset("/root/main/cntlist");
-
- var strRefDd = getCurrentDate();
- model.setValue("/root/send/fromdd" , strRefDd);
- model.setValue("/root/send/todd" , strRefDd);
-
- model.refresh();
- }
-
- function fGetList(){
-
- if(submit("TRLNP90601")){
- for( i = 2 ; i < mgrd_cntlist.rows; i++){
- var seq = model.getValue("/root/main/cntlist["+ (i-1) +"]/seq");
- if(seq != 1){ //1이 아니면 수정이력이 있는 항목임
- mgrd_cntlist.cellStyle("background-color", i, 0, i, mgrd_cntlist.cols-1) = "#f3e1bf";
- }else{
- mgrd_cntlist.cellStyle("background-color", i, 0, i, mgrd_cntlist.cols-1) = "#ffffff";
- }
- }
- }
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="980" pageheight="716" guideline="1,482;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_biz" style="left:0px; top:0px; width:984px; height:700px; ">
- <multilinegrid id="mgrd_cntlist" nodeset="/root/main/cntlist" class="multilinegrid2" autoresize="true" caption="업무일자^검사코드^검사명^순번^입고^사용^관리|업무일자^검사코드^검사명^순번^등록(수정)일자^등록(수정)일자^등록(수정)일자" colsep="^" colwidth="100, 50, 174, 50, 220, 220, 220" dataheight="20" extendlastcol="scroll" focuscolor="transparent" rowsep="|" mergecellsfixedrows="bycolrec" style="left:5px; top:90px; width:974px; height:608px; ">
- <row>
- <col ref="iodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="goodcd" visibility="hidden"/>
- <col ref="tclsnm"/>
- <col ref="seq" style="text-align:center; "/>
- <col ref="icnt" style="font-weight:bolder; text-align:center; "/>
- <col ref="ocnt" style="font-weight:bolder; text-align:center; "/>
- <col ref="mcnt" style="font-weight:bolder; text-align:center; "/>
- </row>
- <row>
- <!-- 빈값처리 -->
- <col ref="iodd1" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <!-- 빈값처리 -->
- <col ref="goodcd1" visibility="hidden"/>
- <!-- 빈값처리 -->
- <col ref="tclsnm1" visibility="hidden"/>
- <!-- 빈값처리 -->
- <col ref="seq1" visibility="hidden" style="text-align:center; "/>
- <col ref="idt" style="text-align:center; "/>
- <col ref="odt" style="text-align:center; "/>
- <col ref="mdt" style="text-align:center; "/>
- </row>
- </multilinegrid>
- <group id="grp_sea" style="left:5px; top:25px; width:974px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:974; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">조회일자 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="5" style="left:904px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetList();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:888px; y1:7px; x2:888px; y2:29px; "/>
- <caption id="caption3" class="search_no_b" style="left:197; top:8px; width:12px; height:17px; text-align:center; vertical-align:middle; ">~</caption>
- <input id="ipt_prcptodd" ref="/root/send/todd" class="input_search" navindex="2" inputtype="date" style="left:212; top:8px; width:90px; height:19px; "/>
- <input id="ipt_prcpfromdd" ref="/root/send/fromdd" class="input_search" navindex="1" inputtype="date" style="left:104; top:8px; width:90; height:19px; "/>
- <caption id="caption4" class="search_name" style="left:568px; top:10px; width:86px; height:17px; ">조회기준 :</caption>
- <select1 id="radio1" ref="/root/send/refflag" appearance="full" cols="2" overflow="visible" style="left:660px; top:10px; width:145px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>업무일자</label>
- <value>1</value>
- </item>
- <item>
- <label>등록일자</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" autoresize="true" style="left:10px; top:70px; width:161px; height:14px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">일계표 이력 리스트</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:85px; x2:979px; y2:85px; "/>
- <caption id="cap_title" class="tit_1" style="left:15px; top:10px; width:800px; height:13px; ">체외 일계표 이력 관리</caption>
- <button id="btn_init" class="btn4_letter3" style="left:897px; top:2px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.reload();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|