123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?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 xmlns="">
- <main>
- <limantibiodruginfo/>
- <cond>
- <prcpcd/>
- <prcpnm/>
- </cond>
- </main>
- <send>
- <savedata/>
- </send>
- <hidden/>
- <init/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var sUserId = getUserInfo ( "userid" );
- if(fContainsHardCD("286", sUserId)) {
- button1.disabled = false;
- } else {
- button1.disabled = true;
- }
-
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <submission id="TRMMD08701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/main/limantibiodruginfo"/>
- <submission id="TXMMD08701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/limantibiodruginfo"/>
- </model>
- <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/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript">
- <![CDATA[
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="900" pageheight="520" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group2" style="left:0px; top:0px; width:865px; height:520px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:20px; width:860px; height:40px; "/>
- <caption id="caption2" class="search_name" style="left:10px; top:30px; width:95px; height:17px; vertical-align:middle; ">처방코드 :</caption>
- <input id="input5" ref="/root/main/cond/prcpcd" style="left:105px; top:30px; width:165px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption13" class="search_name" style="left:375px; top:30px; width:95px; height:17px; vertical-align:middle; ">처방명:</caption>
- <input id="input6" ref="/root/main/cond/prcpnm" style="left:452px; top:30px; width:165px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption10" class="tit_2" style="left:5px; top:70px; width:139px; height:14px; ">제한항생제 등록</caption>
- <line id="line19" class="line_1" style="x1:0px; y1:86px; x2:860px; y2:87px; "/>
- <button id="btn_excel" class="btn2_letter2" style="left:805px; top:64px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "제한항생제등록내역", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- grd_limantibioapplist.saveExcel(fileName, "SheetName", false, false, "", "", false);
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_limantibioapplist" nodeset="/root/main/limantibiodruginfo/limantibiodruglist" caption="승인필요^처방코드^처방명^차수^시작일자^종료일자" colsep="^" colwidth="60, 107, 385, 71, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:90px; width:865px; height:400px; ">
- <col checkvalue="Y,N" ref="chkflag" type="checkbox"/>
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col ref="dgflag" type="input"/>
- <col ref="valifromdd" type="inputdate"/>
- <col ref="valitodd" type="inputdate"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row = grd_limantibioapplist.row;
- if (grd_limantibioapplist.col == grd_limantibioapplist.colRef("chkflag")) {
- if (model.getValue("/root/main/limantibiodruginfo/limantibiodruglist[" + row + "]/chkflag") == "Y") {
- model.setValue("/root/main/limantibiodruginfo/limantibiodruglist[" + row + "]/valitodd", "99991231");
- } else {
- model.setValue("/root/main/limantibiodruginfo/limantibiodruglist[" + row + "]/valitodd", getCurrentDate()-1);
- }
- grd_limantibioapplist.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:168px; height:14px; ">제한항생제 등록</caption>
- <line id="line20" class="line_4" style="x1:764px; y1:29px; x2:764px; y2:52px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:780px; top:29px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_limantibioapplist.clearStatus();
- if (submit("TRMMD08701", false) == true) {
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <line id="line15" class="line_3" style="x1:0px; y1:490px; x2:860px; y2:490px; "/>
- <button id="button1" class="btn4_letter2" style="left:805px; top:495px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/send/savedate");
- model.makeValue("/root/send/savedata", grd_limantibioapplist.getUpdateData());
- if (submit("TXMMD08701", false) == true) {
- model.refresh();
- }
- ]]>
- </script>
- <hint>
- <![CDATA[제한 항생제 승인 권한자만 사용 가능 합니다.]]>
- </hint>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|