123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>임상관찰기록 조회순서관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- <wardcd/>
- </cond>
- <iteminfo>
- <itemlist>
- <itcd/>
- <itnm/>
- <sortseq/>
- </itemlist>
- </iteminfo>
- </main>
- <init>
- <deptinfo/>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var sUserid = getUserInfo("userid");
- if(sUserid == 'ENR' || sUserid == '01111') {
- cmb_wardcd.disabled = false;
- }
-
- submit("TRMNW11001");
-
- model.setValue(cmb_wardcd.attribute("ref"), getUserInfo("dutplcecd"));
- cmb_wardcd.refresh();
- fGetItemIist();
- ]]>
- </script>
- <submission id="TRMNW11001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/deptinfo"/>
- <submission id="TRMNR08701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/iteminfo"/>
- <submission id="TXMNR08701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/tmp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
-
- function fGetItemIist() {
- model.makeValue("/root/send/reqdata/wardcd", model.getValue(cmb_wardcd.attribute("ref")));
- submit("TRMNR08701");
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="335" pageheight="550" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_inpatinfo" style="left:0px; top:20px; width:315px; height:35px; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:315px; height:35px; "/>
- <caption id="caption33" class="search_name" style="left:5px; top:9px; width:70px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">병 동 :</caption>
- <button id="button1" class="btn1_letter2" style="left:250px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetItemIist();
- ]]>
- </script>
- </button>
- <select1 id="cmb_wardcd" ref="/root/main/cond/wardcd" class="combo_search" disabled="true" appearance="minimal" editmode="search" itemcount="40" style="left:71px; top:9px; width:119px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/deptinfo/deptlist">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
-
-
- ]]>
- </script>
- </select1>
- <line id="line3" class="line_4" style="x1:240px; y1:7px; x2:240px; y2:27px; "/>
- </group>
- <!--
- <button id="button4" class="btn3_letter12" visibility="hidden" style="left:393px; top:5px; width:176px; height:22px; ">
- <caption>I/O기준시간관리 Master</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPMNR08500");
- ]]>
- </script>
- </button>
- -->
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:315px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">임상관찰기록 조회순서관리</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:85px; x2:315px; y2:85px; "/>
- <caption id="caption1" class="tit_2" style="left:0px; top:70px; width:116px; height:14px; ">부서별 Item List</caption>
- <datagrid id="grd_itemlist" nodeset="/root/main/iteminfo/itemlist" caption="아이템코드^아이템명^순번^부서코드" colsep="^" colwidth="74, 156, 47, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:90px; width:315px; height:440px; ">
- <col ref="itcd" style="text-align:center; "/>
- <col ref="itnm"/>
- <col ref="sortseq" type="input" style="text-align:center; "/>
- <col ref="wardcd" visibility="hidden"/>
- </datagrid>
- <button id="btn_save" class="btn2_letter2" style="left:275px; top:65px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_itemlist);
-
- if(updtdata == null || updtdata == "") {
- messageBox("저장할 내용이 없습니다.", "E");
- return;
- }
- model.makeValue("/root/send/savedata/itemlist", getGridUpdateData(grd_itemlist));
- submit("TXMNR08701");
-
- fGetItemIist();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|