123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLPC02000_기본파트팝업.xrw
- * 설 명 : 기본파트 선택 공통 팝업화면
- * 설 계 자 : (주)에이씨케이 - 황상미
- * 작 성 자 : (주)에이씨케이 - 황상미
- * 작 성 일 : 2009.06.17
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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/>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <userinitialcnts>
- <userinitiallist/>
- </userinitialcnts>
- <screenerlist>
- <screenerinfo>
- <resncnts/>
- <dispseqno/>
- <baseflagcd/>
- <resncd/>
- <instcd/>
- <delflagcd/>
- </screenerinfo>
- </screenerlist>
- </main>
- <send>
- </send>
- <init>
- <screenflag>1</screenflag>
- </init>
- <hidden>
- <temp/>
- <scipflag/>
- </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="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- <!-- public Script Start -->
- <script type="javascript">
- <![CDATA[
-
- /* @group : 기본파트선택 공통 팝업화면
- * @ver : 2007.01.30 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 함수
- */
- function fExeInitialize(){
- model.resetInstanceNode("/root/main/basepartcnts/basepartlist");
- fGetRefData();
-
- //세포 스크리너 or 결과 입력자 구분.
- model.makeValue("/root/hidden/scipflag", opener.model.getValue("/root/hidden/scipflag"));
-
- if(model.getValue("/root/hidden/scipflag") == "SC") {
- caption1.attribute("text") = "세포 스크리너";
- radio1.visible = true;
- } else if(model.getValue("/root/hidden/scipflag") == "IP") {
- caption1.attribute("text") = "결과 입력자";
- radio1.visible = false;
- }
-
- fGetSepoScrn(model.getValue("/root/hidden/scipflag"));
- }
-
- /* @group : 기본파트선택 공통 팝업화면
- * @ver : 2007.01.30 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 기초코드조회 함수
- */
- function fGetRefData(){
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/delflagcd", "0"); //delflag
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd")); //instcd
- submit("TRLPC01301");
-
- }
-
- /* @group : 기본파트선택 공통 팝업화면
- * @ver : 2007.01.30 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 세포스크리너조회.
- */
- function fGetSepoScrn(pFlag){
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/screenflag", model.getValue("/root/init/screenflag" ));
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/baseflagcd", pFlag);
- submit("TRLPC02701");
-
- }
-
- /* @group : 세포스크리너 팝업 팝업화면
- * @ver : 2007.01.30 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 세포스크리너 저장
- */
- function fExeSepoScrn(){
-
- grd_cellscreener.clearStatus();
- for(var iRowNo = 1 ; iRowNo < grd_cellscreener.rows ; iRowNo++){
- grd_cellscreener.addStatus(iRowNo, "insert");
- }
- model.removenode("/root/send/caeqlist");
- model.makeValue("/root/send/screenerlist", grd_cellscreener.getUpdateData("insert"));
-
- if(submit("TXLPC02701")) {
- messageBox("저장이", "I002");
- fGetSepoScrn(model.getValue("/root/hidden/scipflag"));
- }
- }
-
- /* @group : 기본파트선택 공통 팝업화면
- * @ver : 2007.01.30 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면 닫기 함수
- */
- function fExeClsScrn(){
- model.close();
- }
- ]]>
- </script>
- <submission id="TRLPC01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/userinitialcnts/userinitiallist"/>
- <!-- public Script End -->
- <submission id="TXLPC02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/temp"/>
- <submission id="TRLPC02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/screenerlist"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="325" pageheight="425" guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_popup" style="left:0px; top:0px; width:305px; height:380px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:121px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:305px; y2:25px; "/>
- <datagrid id="grd_cellscreener" nodeset="/root/main/screenerlist/screenerinfo" caption="사용자명^표시순서^baseflagcd^resncd^instcd^삭제구분" colsep="^" colwidth="127, 70, 0, 0, 0, 80" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:30px; width:305px; height:347px; border-color:#c0c0c0; ">
- <col ref="resncnts" type="combo">
- <choices>
- <itemset nodeset="/root/main/userinitialcnts/userinitiallist">
- <label ref="usernm"/>
- <value ref="usercd"/>
- </itemset>
- </choices>
- </col>
- <col ref="dispseqno" type="input" format="##" maxbyte="2"/>
- <col ref="baseflagcd" visibility="hidden"/>
- <col ref="resncd" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="delflagcd"/>
- </datagrid>
- <button id="button3" class="btn2_letter3" navindex="20" style="left:196px; top:5px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_cellscreener.addRow(false);
-
- var iNewNo = 1;
- var sStop = "N";
-
- if(model.getValue("/root/init/screenflag") == "1") {
- iNewNo = 1000;
- } else {
- iNewNo = 2000;
- }
-
- model.setValue("/root/main/screenerlist/screenerinfo["+ grd_cellscreener.row +"]/baseflagcd", model.getValue("/root/hidden/scipflag"));
-
- for(var iRowNo = 1 ; iRowNo < grd_cellscreener.rows ; iRowNo++) {
-
- iNewNo++;
-
- for(var iNo = 1 ; iNo < grd_cellscreener.rows ; iNo++) {
- if(iNewNo == Number(model.getValue("/root/main/screenerlist/screenerinfo["+ iNo +"]/resncd"))) {
- break
- }
-
- if(iNo == (Number(grd_cellscreener.rows) - 1)) {
- sStop = "Y";
- }
- }
-
- if(sStop == "Y") {
- break;
- }
-
- }
- model.setValue("/root/main/screenerlist/screenerinfo["+ grd_cellscreener.row +"]/resncd", iNewNo);
- model.setValue("/root/main/screenerlist/screenerinfo["+ grd_cellscreener.row +"]/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/main/screenerlist/screenerinfo["+ grd_cellscreener.row +"]/delflagcd", "0");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="radio1" ref="/root/init/screenflag" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:109px; top:8px; width:81px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>1차</label>
- <value>1</value>
- </item>
- <item>
- <label>2차</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetSepoScrn( model.getValue("/root/hidden/scipflag") );
- ]]>
- </script>
- </select1>
- <button id="button1" class="btn2_letter3" navindex="20" style="left:252px; top:5px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //grd_cellscreener.deleteRow(grd_cellscreener.row);
- model.setValue("/root/main/screenerlist/screenerinfo["+grd_cellscreener.row+"]/delflagcd", "1");
- ]]>
- </script>
- </button>
- </group>
- <group id="group3" style="left:0px; top:380px; width:305px; height:27px; ">
- <button id="btn_cls" class="btn4_letter2" style="left:247px; top:2px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeClsScrn();
- ]]>
- </script>
- </button>
- <button id="btn_cfm" class="btn4_letter2" style="left:188px; top:2px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeSepoScrn();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|