123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLPC01600_세포단축키등록.xrw
- * 설 명 : 세포단축키등록 화면
- * 설 계 자 : (주)에이씨케이 - 황상미
- * 작 성 자 : (주)에이씨케이 - 황상미
- * 작 성 일 : 2007.01.12
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <eqmtinfo>
- <eqmtlist>
- <instcd/>
- <eqmtcd/>
- <eqmtnm/>
- <sectcnt/>
- <rackcnt/>
- <boxcnt/>
- <purcdd/>
- <purctm/>
- <perchgrid/>
- <delflagcd/>
- <existsyn/>
- </eqmtlist>
- </eqmtinfo>
- </main>
- <send>
- </send>
- <init>
- <hospenv>
- <hospenvinfo>
- <instcd/>
- <lendrtnterm/>
- <recvqualmthdcd/>
- <plgydeptcd/>
- <plgyteamcd/>
- <doctjobgradcd/>
- <teamjobgradcd/>
- </hospenvinfo>
- </hospenv>
- <userinfo>
- <userinfolist>
- <userid/>
- <usernm/>
- <jobkindcd/>
- </userinfolist>
- </userinfo>
- </init>
- <hidden>
- </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="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- <submission id="TRLPZ00101" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/init/hospenv/hospenvinfo"/>
- <submission id="TRLPZ00105" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
- <submission id="TRLPC01701" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/eqmtinfo/eqmtlist"/>
- <submission id="TXLPC01701" ref="/root/send/eqmtlist" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/message"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /* @group : 조직은행 장비등록
- * @ver : 2007.09.21 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 처리 Function
- */
- function fExeInitialize() {
-
- //----------------
- // 시스템일자 조회
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- submit("TRLPZ00101", false);
-
- lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/init/userinfo");
- model.makeValue("/root/send/userdeptcd", model.getValue("/root/init/userinfo/userdeptcd"));
- model.makeValue("/root/send/doctjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/doctjobgradcd"));
- model.makeValue("/root/send/teamjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/teamjobgradcd"));
- submit("TRLPZ00105");
-
- //------------
- // 초기값 설정
- model.removeNodeset("/root/main/eqmtinfo/eqmtlist");
-
- //--------------
- model.refresh();
- }
-
- /* @group : 조직은행 장비등록
- * @ver : 2007.09.21 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 그리드 한줄추가 처리 Function
- */
- function fExeEqmtAdd() {
- grd_eqmtlist.addrow();
-
- model.makeValue("/root/main/eqmtinfo/eqmtlist["+grd_eqmtlist.row+"]/instcd", getUserInfo("dutplceinstcd"));
- }
-
- /* @group : 조직은행 장비등록
- * @ver : 2007.09.21 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 그리드 한줄삭제 처리 Function
- */
- function fExeEqmtDel() {
-
- //---------------------------------------------------------------------
- if (getNodesetCount("/root/main/eqmtinfo/eqmtlist") <= 0) return false;
- //-----------------------------------------------------------------------------------------
- if (model.getValue("/root/main/eqmtinfo/eqmtlist["+grd_eqmtlist.row+"]/existsyn") == "N") {
- grd_eqmtlist.deleteRow(grd_eqmtlist.row);
- } else {
- grd_eqmtlist.addStatus(grd_eqmtlist.row,"delete");
- }
- }
-
- /* @group : 조직은행 장비등록
- * @ver : 2007.09.21 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 장비목록 조회 처리 Function
- */
- function fGetEqmtList() {
-
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- submit("TRLPC01701");
- }
-
- /* @group : 조직은행 장비등록
- * @ver : 2007.09.21 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 장비정보 저장 처리 Function
- */
- function fExeEqmtInfo() {
-
- var sEqmtCd = "";
- var sSrcNode = "/root/main/eqmtinfo/eqmtlist";
-
- //-----------------------------------
- if (getNodesetCount(sSrcNode) <= 0) {
- messageBox("조직은행 장비를 ", "C001");
- return false;
- } else {
- for (var iNo=1; iNo <= getNodesetCount(sSrcNode); iNo++) {
- if (model.getValue(sSrcNode+"["+iNo+"]/delflagcd") == "") {
- messageBox("사용구분을 ", "C002");
- return false;
- }
-
- if (model.getValue(sSrcNode+"["+iNo+"]/eqmtcd") == "") {
- messageBox("장비코드를 ", "C001");
- return false;
- }
-
- if (model.getValue(sSrcNode+"["+iNo+"]/eqmtnm") == "") {
- messageBox("장비명을 ", "C001");
- return false;
- }
-
- //----------------------------------------------------
- sEqmtCd = model.getValue(sSrcNode+"["+iNo+"]/eqmtcd");
- model.makeValue(sSrcNode+"["+iNo+"]/eqmtcd", sEqmtCd.toUpperCase());
- }
- }
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/eqmtlist", grd_eqmtlist.getUpdateData());
-
- //-----------
- setAlertOn();
- if (submit("TXLPC01701")) fGetEqmtList();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1194;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">조직은행 장비등록</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line14" class="line_4" style="x1:1108px; y1:6px; x2:1108px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_sea" navindex="4" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetEqmtList();
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption3" class="tit_2" style="left:5px; top:55px; width:139px; height:14px; ">조직은행 장비목록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70; x2:1194px; y2:70; "/>
- <datagrid id="grd_eqmtlist" nodeset="/root/main/eqmtinfo/eqmtlist" caption="기관코드^장비코드^장비명^Section수^Rack수^Box수^구매일자^구매시간^담당자^사용구분^존재여부" colwidth="0, 90, 411, 90, 90, 90, 90, 90, 99, 100, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" colsep="^" style="left:0; top:75px; width:1194px; height:668px; ">
- <col ref="instcd"/>
- <col class="text_center" ref="eqmtcd" type="input" maxlength="2"/>
- <col ref="eqmtnm" type="input" maxlength="60"/>
- <col class="text_center" ref="sectcnt" type="input" format="#,###" showmask="true" mask="exclude" maxlength="4"/>
- <col class="text_center" ref="rackcnt" type="input" format="#,###" showmask="true" mask="exclude" maxlength="4"/>
- <col class="text_center" ref="boxcnt" type="input" format="#,###" showmask="true" mask="exclude" maxlength="4"/>
- <col class="text_center" ref="purcdd" type="input" format="yyyy-mm-dd" showmask="true" mask="exclude"/>
- <col class="text_center" ref="purctm" type="input" format="hh:nn:ss" showmask="true" mask="exclude"/>
- <col ref="perchgrid" type="combo">
- <choices>
- <itemset nodeset="/root/init/userinfo/userinfolist">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col ref="delflagcd" type="combo">
- <choices>
- <item>
- <label>사용</label>
- <value>0</value>
- </item>
- <item>
- <label>미사용</label>
- <value>1</value>
- </item>
- </choices>
- </col>
- <col ref="existsyn"/>
- </datagrid>
- <button id="btn_addeqmt" navindex="6" class="btn2_letter3" style="left:1085px; top:50px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeEqmtAdd();
- ]]>
- </script>
- </button>
- <button id="btn_deleqmt" navindex="7" class="btn2_letter3" style="left:1141px; top:50px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeEqmtDel();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
- <line id="line17" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
- <button id="btn_save" navindex="13" class="btn4_letter2" style="left:1139px; top:3; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeEqmtInfo();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|