123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <diagcodelist>
- <item>
- <sortno/>
- <basecd/>
- <basecdflagdesc/>
- <basecdcnts/>
- <basesuppdeptcd/>
- </item>
- </diagcodelist>
- </main>
- <send>
- <basecd/>
- <req>
- <data/>
- </req>
- <globalinstance>
- <instance1/>
- </globalinstance>
- </send>
- <init/>
- <hidden>
- <item>
- </item>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript">
- <![CDATA[
- function fGetDiagCodeList() {
-
- model.removenode("/root/main/diagcodelist");
-
- submit("TRAEB01501");
- grd_diaglist.rebuild();
- model.refresh();
- }
- ]]>
- </script>
- <submission id="TRAEB01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/diaglist"/>
- <submission id="TXAEB01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- aezfSetSuppDeptcd();
-
- model.removeNodeset("/root/main/diagcodelist/item");
- model.refresh();
-
- model.setFocus("ipt_basecd");
- ]]>
- </script>
- </model>
- </xhtml:head>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">진단코드관리</caption>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:2px; top:16px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line2" class="line_1" style="x1:2px; y1:79px; x2:1195px; y2:79px; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:1132px; top:22px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // if (ipt_basecd.currentText == "") {
- // messageBox("상병코드를 한글자이상", "C001");
- // return;
- // }
- fGetDiagCodeList();
-
- ]]>
- </script>
- </button>
- <button id="btn_grdadd" class="btn2_letter3" style="left:1086px; top:55px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_diaglist.addRow();
- grd_diaglist.row = grd_diaglist.bottomRow;
-
- var cnt = parseInt(grd_diaglist.row);
-
- model.setValue("/root/main/diagcodelist/item[" + cnt + "]/basesuppdeptcd",
- model.getValue("/root/send/globalinstance/instance1") );
- ]]>
- </script>
- </button>
- <button id="btn_grddel" class="btn2_letter3" style="left:1141px; top:55px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_diaglist, true);
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1139px; top:762px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if ( messageBox("","Q002")==6 ) {
-
- var update = getGridUpdateData(grd_diaglist);
- // var update = model.getValue("/root/send/req/data");
- if(update == ""){
- messageBox("업데이트 정보가 없습니다.", "I");
- return 0;
-
- } else {
- model.setValue("/root/send/req/data", update);
- if (submit("TXAEB01501")) {
- fGetDiagCodeList();
- }
- }
- }
-
-
- ]]>
- </script>
- </button>
- <caption id="caption25" class="search_name" style="left:20px; top:25px; width:86px; height:17px; ">진단코드 :</caption>
- <datagrid id="grd_diaglist" nodeset="/root/main/diagcodelist/item" caption="순번^진단 코드^진 단 명^진단그룹" colsep="^" colwidth="71, 93, 820, 165, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:2px; top:85px; width:1193px; height:673px; ">
- <col ref="sortno" type="input" format="#,###"/>
- <col ref="basecd" type="input"/>
- <col ref="basecdflagdesc" type="input"/>
- <col ref="basecdcnts" type="input"/>
- <col ref="basesuppdeptcd"/>
- </datagrid>
- <button id="button61" class="icon_search" style="left:215px; top:25px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </button>
- <input id="ipt_basecd" ref="/root/send/basecd" class="input_search" style="left:110px; top:25px; width:100px; height:19px; "/>
- </xhtml:body>
- </xhtml:html>
|