123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLQF00500_QC물질레벨관리.xrw
- * 설 명 : QC물질레벨관리
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 윤재한
- * 작 성 일 : 2007.11.01
- * 수정이력 :
- * 기 타 :
- -->
- <?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>QC Standard 및 Coltrol수</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <getlevel>
- <chk/>
- <levlcd/>
- <levlnm/>
- <oclevlcd/>
- </getlevel>
- </main>
- <send>
- <codeflag/>
- <levldata/>
- <userdeptcd/>
- </send>
- <init/>
- <hidden>
- <cont/>
- </hidden>
- <tmp>
- <addcontrol/>
- </tmp>
- </root>
- </instance>
- <script src="../../../com/commonweb/js/common.js" type="javascript"/>
- <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
- <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
- <script src="../../../lis/commonweb/js/LLZ001.js" type="javascript"/>
- <script src="../../../lis/commonweb/js/LZZ001.js" type="javascript"/>
- <script src="../../../lis/commonweb/js/LPZ001.js" type="javascript"/>
- <script ev:event="xforms-ready" type="javascript">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- <submission id="TRLQF00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getlevel"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0000"/>
- <submission id="TXLQF00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- </model>
- <script type="javascript">
- <![CDATA[
- // 초기화
- function fSetInit() {
- model.setValue("/root/send/codeflag", "0000|");
- submit("TRLZZ00101");
-
- model.removenode("/root/main/getlevel");
-
- fGetLevel();
- }
-
- //조회
- function fGetLevel() {
- model.setValue("/root/send/userdeptcd", model.getValue("/root/init/LB0000/nm"));
-
- submit("TRLQF00501");
- grd_levllist.isReadOnly(1, 2, grd_levllist.rows-1, 3)= true;
-
-
- }
-
- function fupload(){
- var cotrol = model.getValue("/root/hidden/cont");
-
- if(cotrol != ""){
- var allstring = "";
- for(i = 1 ; i < grd_levllist.rows ; i++){
-
- var chk = model.getValue("/root/main/getlevel["+i+"]/chk");
-
-
- if(chk == "true"){
- allstring = allstring + model.getValue("/root/main/getlevel["+i+"]/levlcd") + "@";
- }
- }
- model.makeValue("/root/tmp/addcontrol/levlcd", allstring);
- model.makeValue("/root/tmp/addcontrol/matrcd", model.getValue("/root/hidden/cont"));
- model.copyNode(opener.root.tmp.addcontrol, root.tmp.addcontrol);
- window.close();
-
-
- }else{
- alert("Control 코드를 입력해 주십시요.");
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="500" pageheight="600" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:460px; height:515px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:195px; height:13px; ">Standard 및 Control수</caption>
- <datagrid id="grd_levllist" nodeset="/root/main/getlevel" caption="^Standard 및 Control수 코드^Standard 및 Control수^OnCall레벨코드" colsep="^" colwidth="28,200, 200, 150" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="select" rowheight="23" rowsep="|" style="left:0px; top:25px; width:450px; height:455px; ">
- <col checkvalue="true,false" ref="chk" type="checkbox"/>
- <col ref="levlcd" type="input"/>
- <col ref="levlnm" type="input"/>
- <col ref="oclevlcd" type="input" visibility="hidden"/>
- </datagrid>
- <input id="opt_matrfromdd" ref="/root/hidden/cont" appearance="input" style="left:158px; top:488px; width:237px; height:19px; "/>
- <caption id="cap_regno" class="cell_1" style="left:0px; top:486px; width:155px; height:23px; text-align:center; ">Control 코드</caption>
- <line id="line9" class="line_3" style="x1:0px; y1:510px; x2:450px; y2:510px; "/>
- <line id="line1" class="line_3" style="x1:0px; y1:484px; x2:450px; y2:484px; "/>
- <button id="button52" class="btn2_letter3" style="left:397px; top:488px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fupload();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|