123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- <?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>
- <memoinfo>
- <item>
- <memo/>
- <writnm/>
- <orddeptnm/>
- <writdt/>
- <pid/>
- <seqno/>
- <hosinhosoutflag/>
- <instcd/>
- <orddeptcd/>
- <drugno/>
- <drugdd/>
- <writid/>
- <useyn/>
- </item>
- </memoinfo>
- </main>
- <send>
- <srchinfo>
- <srchpid/>
- <srchinstcd/>
- <srchioflag/>
- <srchhosinhosoutflag/>
- </srchinfo>
- <delinfo>
- <pid/>
- <seqno/>
- <hosinhosoutflag/>
- <instcd/>
- <m/>
- <ioflag/>
- </delinfo>
- </send>
- <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/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.makeValue("/root/send/srchinfo/srchhosinhosoutflag", model.getValue("/root/send/srchinfo/srchioflag"));
-
- submit("TRADB60604");
- model.refresh();
- ]]>
- </script>
- <submission id="TRADB60604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main/memoinfo"/>
- <submission id="TXADB60601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/delinfo" replace="instance" resultref="/root/hidden"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="650" pageheight="400" guideline="2,-1;1,1194;2,784;2,757;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:630px; height:364px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:11px; width:95px; height:14px; ">메모이력</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:31px; x2:630px; y2:31px; "/>
- <datagrid id="grd_memolist" nodeset="/root/main/memoinfo/item" allowselection="false" autoresize="true" caption="메모^작성자^구분^진료과^작성일시" colsep="^" colwidth="312, 55, 45, 95, 108" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" selectionmode="byrow" style="left:0px; top:36px; width:630px; height:324px; ">
- <col ref="memo"/>
- <col ref="writnm" style="text-align:center; vertical-align:middle; "/>
- <col disabled="true" ref="hosinhosoutflag" type="combo">
- <choices>
- <item>
- <label>입원</label>
- <value>F</value>
- </item>
- <item>
- <label>외래</label>
- <value>G</value>
- </item>
- </choices>
- </col>
- <col ref="orddeptnm"/>
- <col ref="writdt" format="yyyy-mm-dd hh:dd:ss" style="text-align:center; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (model.getValue("/root/main/memoinfo/item["+grd_memolist.row+"]/writid") == getUserId()) {
- btn_del.visible = true;
- } else {
- btn_del.visible = false;
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:361px; width:630px; height:27px; ">
- <button id="btn_cls" class="btn4_letter2" style="left:564px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- <button id="btn_del" class="btn4_letter2" visibility="visible" style="left:504px; top:5px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (messageBox("약사메모를","Q001")==6)
- {
- model.setValue("/root/send/delinfo/pid" , model.getValue("/root/main/memoinfo/item["+grd_memolist.row+"]/pid"));
- model.setValue("/root/send/delinfo/seqno" , model.getValue("/root/main/memoinfo/item["+grd_memolist.row+"]/seqno"));
- model.setValue("/root/send/delinfo/hosinhosoutflag", model.getValue("/root/main/memoinfo/item["+grd_memolist.row+"]/hosinhosoutflag"));
- model.setValue("/root/send/delinfo/m" , "d");
- model.setValue("/root/send/delinfo/ioflag" , "O");
-
- submit("TXADB60601");
- submit("TRADB60601");
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|