123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLLF00100_계검사계코드관리.xrw
- * 설 명 : 검사시행부서코드관리 조회 및 등록
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 박정은
- * 작 성 일 : 2007.04.10
- * 수정이력 : 2007.07.27 박정은 lastupdtdt 수정함
- * 기 타 :
- -->
- <?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>
- <main>
- <flag>
- <cond1>2</cond1>
- </flag>
- <MSG/>
- <getUsernm/>
- <tsectlist>
- <tsectfromdd/>
- <tsecttodd/>
- <sectcd/>
- <tsectcd/>
- <tsectnm/>
- <tsectscrnnm/>
- <tsectabbrnm/>
- <tsectprntnm/>
- <tsectlblnm/>
- </tsectlist>
- </main>
- <send>
- <refgbn/>
- <sectcd/>
- <sectdata/>
- <tsectdata/>
- <deptflag/>
- <codeflag/>
- </send>
- <init>
- </init>
- <hidden>
- <ref>
- <refgbn>1</refgbn>
- </ref>
- <deptflagcd/>
- <addlist>
- <addstring/>
- </addlist>
- </hidden>
- <temp>
- <sectinfo/>
- </temp>
- </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"/>
- <!-- 계코드 조회-->
- <submission id="TRLLF10101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/sectlist"/>
- <!-- 검사계코드 조회-->
- <submission id="TRLLF10102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tsectlist"/>
- <!-- 계코드 수정,등록-->
- <!-- 검사계코드 수정,등록-->
- <submission id="TXLLF10101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/sectlist"/>
- <submission id="TXLLF10102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tsectlist"/>
- <!--<submission id="TRLZZ00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getUsernm"/>-->
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
- <script ev:event="xforms-ready" type="javascript">
- <![CDATA[
- // 권한 설정
- //var auth = model.getValue("/root/properties/auth");
- //checkAuth(auth);
- //btn_save.disabled = !checkAuth("X") ;
-
- // 초기정보 조회
- model.setValue("/root/send/codeflag", "0000|"); // 0000= 유저과플래그
- submit("TRLZZ00101");
- fSetInit();
- fGetTsecTsect();
-
-
-
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
-
- // 초기화 버튼
- function fSetInit() {
- //model.reset();
- model.removeNodeset("/root/main/tsectlist");
- model.refresh();
- }
-
- // 계리스트 조회
- function fGetTsecTsect(){
- grd_tsect.rebuildstyle();
-
- model.setValue("/root/send/sectcd", model.getValue("/root/temp/sectinfo/sectcd"));
- model.setValue("/root/send/refgbn", model.getValue("/root/hidden/ref/refgbn"));
- model.setValue("/root/send/deptflag", model.getValue("/root/init/LB0000/nm"));
-
- submit("TRLLF10102"); // 검사계 리스트 조회
-
- }
-
-
- function fAddRow(){
- var AddRowString = "";
- for(i = 1 ; i < grd_tsect.rows ; i++ ){
- if(model.getValue("/root/main/tsectlist["+i+"]/chk") == "true"){
- AddRowString = AddRowString + model.getValue("/root/main/tsectlist["+i+"]/tsectcd") + "▦"
- + model.getValue("/root/main/tsectlist["+i+"]/tsectnm") + "▦"
- + model.getValue("/root/main/tsectlist["+i+"]/tsectscrnnm") + "▦"
- + model.getValue("/root/main/tsectlist["+i+"]/tsectabbrnm") + "▦"
- + model.getValue("/root/main/tsectlist["+i+"]/tsectprntnm") + "▦"
- + model.getValue("/root/main/tsectlist["+i+"]/tsectlblnm") + "▩" ;
-
- }
- }
-
- model.setValue("/root/hidden/addlist/addstring" , AddRowString);
- model.copyNode(opener.root.temp.addlist,root.hidden.addlist);
- window.close();
-
- }
-
-
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="700" pageheight="320" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:680px; height:290px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:134px; height:14px; ">통합검사계코드목록</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:20px; x2:665px; y2:20px; "/>
- <datagrid id="grd_tsect" nodeset="/root/main/tsectlist" caption="^검사계코드^검사계명^검사계명(화면)^검사계명(약어)^검사계명(출력)^검사계명(라벨)" colwidth="20, 85, 100, 100, 100, 100, 100" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" style="left:0px; top:25px; width:665px; height:230px; ">
- <col ref="chk" type="checkbox"/>
- <col ref="tsectcd" type="output"/>
- <col ref="tsectnm" type="output"/>
- <col ref="tsectscrnnm" type="output"/>
- <col ref="tsectabbrnm" type="output"/>
- <col ref="tsectprntnm" type="output"/>
- <col ref="tsectlblnm" type="output"/>
- <script ev:event="onaftersort" type="javascript">
- <![CDATA[
- grd_tsect.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="button1" class="btn4_letter2" style="left:551px; top:257px; width:56px; height:22px; ">
- <caption>추가</caption>
- <script ev:event="onclick" type="javascript">
- <![CDATA[
- fAddRow()
- ]]>
- </script>
- </button>
- <button id="btn_cfm" class="btn4_letter2" style="left:610px; top:257px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script ev:event="onclick" type="javascript">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|