123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- <?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>
- <levlcd/>
- <levlnm/>
- <oclevlcd/>
- </getlevel>
- </main>
- <send>
- <codeflag/>
- <levldata/>
- <userdeptcd/>
- </send>
- <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[
- 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, 1, grd_levllist.rows-1, 1)= true;
-
- }
-
- //저장
- function fInsLevel() {
- model.setValue("/root/send/levldata", getGridUpdateData(grd_levllist));
- model.setValue("/root/send/userdeptcd", model.getValue("/root/init/LB0000/nm"));
-
- submit("TXLQF00501");
-
- fGetLevel();
- }
- ]]>
- </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; ">
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:195px; height:13px; ">Standard 및 Control수</caption>
- <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <button id="button3" class="btn1_letter2" style="left:1123px; top:7px; width:57px; height:22px; ">
- <caption>조회</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fGetLevel();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:1108px; y1:6px; x2:1108px; y2:28px; "/>
- </group>
- <datagrid id="grd_levllist" nodeset="/root/main/getlevel" caption="Standard 및 Control수 코드^Standard 및 Control수^OnCall레벨코드" colsep="^" colwidth="200, 300, 150" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:75px; width:1194px; height:644px; ">
- <col ref="levlcd" type="input"/>
- <col ref="levlnm" type="input"/>
- <col ref="oclevlcd" type="input" visibility="hidden"/>
- </datagrid>
- <button id="btn_addrow" class="btn2_letter3" style="left:1141px; top:49px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- grd_levllist.addItem();
-
-
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="btn_init" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script ev:event="onclick" type="javascript">
- <![CDATA[
- window.reload();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_2" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_save" class="btn4_letter2" style="left:1068px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fInsLevel();
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">Standard 및 Control수</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|