123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SMPIS00800_유알스코프.xrw
- * 수정이력
- * - 2008.11.05 / 최초작성 / 강종태
- -->
- <?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>
- <grdlist>
- <orddeptlist>
- <deptcd/>
- <depthngnm/>
- <reqdeptno/>
- <valitodd/>
- <newcode/>
- </orddeptlist>
- <drlist>
- <userid/>
- <usernm/>
- <dutplcecd/>
- <position/>
- <todd/>
- </drlist>
- </grdlist>
- </main>
- <send>
- <ordym/>
- <srchkind/>
- <ioflag/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 화면 초기화
- fInitialize();
- ]]>
- </script>
- <!-- submission -->
- <submission id="TRPIS00800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grdlist"/>
- </model>
- <!-- js import -->
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
- <!-- 뽕숑 -->
- <script type="javascript">
- <![CDATA[
- // 화면 초기화
- function fInitialize()
- {
- model.removeNodeset("/root/main/grdlist/orddeptlist"); // 그리드 초기화
- model.removeNodeset("/root/main/grdlist/drlist"); // 그리드 초기화
- rdo_ioflag.select(0);
- model.refresh();
- }
-
- function fSearch()
- {
- model.makeNode("/root/tmp/tmpdept");
- model.makeNode("/root/tmp/tmpdr");
- model.copyNode("/root/tmp/tmpdept","/root/main/grdlist[1]"); // submit이 하나로 날아가서 기존의 노드를 다 날려 먹는다
- model.copyNode("/root/tmp/tmpdr","/root/main/grdlist[2]"); // 그래서 조회 후 기존의 데이터를 다시 뿌려준다.
-
- submit("TRPIS00800");
-
- if ( model.getValue("/root/send/srchkind") == "dr") {
- model.copyNode("/root/main/grdlist[1]","/root/tmp/tmpdept");
- } else if ( model.getValue("/root/send/srchkind") == "orddept") {
- model.copyNode("/root/main/grdlist[2]","/root/tmp/tmpdr");
- } else {
- model.copyNode("/root/main/grdlist[1]","/root/tmp/tmpdept");
- model.copyNode("/root/main/grdlist[2]","/root/tmp/tmpdr");
- }
-
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1213;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <!-- TITLE -->
- <group id="group1" style="left:0px; top:0px; width:1190px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:173px; height:14px; ">유알스코프</caption>
- </group>
- <!-- 전체 그룹 -->
- <group id="group2" scroll="no" style="left:0px; top:13px; width:1190px; height:732px; ">
- <!-- 조회조건 -->
- <group id="group4" style="left:0px; top:645px; width:1190px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" style="left:0px; top:0px; width:1190px; height:35px; "/>
- <caption id="caption5" class="search_name" style="left:10px; top:10px; width:76px; height:17px; ">진료년월</caption>
- <input id="ipt_ordym" ref="/root/send/ordym" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:100px; top:10px; width:80px; height:19px; "/>
- <line id="line2" class="line_4" style="x1:954px; y1:5px; x2:954px; y2:24px; "/>
- <button id="button1" class="btn1_letter2" navindex="2" style="left:980px; top:5px; width:56px; height:22px; ">
- <caption>생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (ipt_ordym.value != "") {
- model.setValue("/root/send/srchkind","orddetail");
- fSearch();
- } else {
- messageBox("진료년월 조건은 ", "I003");
- }
- ]]>
- </script>
- </button>
- <button id="button6" class="btn1_letter6" navindex="2" style="left:1070px; top:5px; width:104px; height:22px; ">
- <caption>배치결과확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var todd = getCurrentDate();
- todd = todd.toDate().getAddDate(+1, 'D');
- zsbfOpenBatchLogPopup("aftjudgstatmgr.UrScopeBatch",getCurrentDate(),todd.getDateFormat());
- ]]>
- </script>
- </button>
- <caption id="caption4" class="search_name" style="left:210px; top:10px; width:76px; height:17px; ">내원유형</caption>
- <select1 id="rdo_ioflag" ref="/root/send/ioflag" class="radio_search" overflow="visible" appearance="full" cols="3" style="left:295px; top:10px; width:180px; height:19px; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- </group>
- <caption id="caption12" class="tit_2" style="left:0px; top:15px; width:100px; height:13px; ">진료과 마스터</caption>
- <button id="button2" class="btn2_letter4" style="left:1120px; top:12px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_orddept.rows > 1) {
- var fileName = window.fileDialog("save", "", false, "진료과마스터_" + getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- //datagrid.saveExcel의 7번째 인자 값(boolean) : 그리드의 col type=combo일 경우 엑셀저장내용이 lable 또는 value로 설정 함
- // grd_clbsmast.saveExcel(fileName, "SheetName", true, true, "", "", true);
- grd_orddept.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
- }
- } else {
- messageBox("엑셀저장할 대상이 ", "I004"); ///엑셀저장할 대상자가 없습니다.
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_orddept" nodeset="/root/main/grdlist/orddeptlist" class="datagrid2" caption="세부진료과 코드^세부진료과명^심평원 공통
진료과목 코드^코드의 종료 년월^새로운 대체 코드" colsep="^" colwidth="105, 161, 88, 105, 107" explorerbar="sortshow" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:35px; width:1190px; height:240px; ">
- <col ref="deptcd" style="text-align:center; "/>
- <col ref="depthngnm" style="text-align:center; "/>
- <col ref="reqdeptno" style="text-align:center; "/>
- <col ref="valitodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="newcode" style="text-align:center; "/>
- </datagrid>
- <button id="button3" class="btn1_letter2" navindex="2" style="left:1055px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/srchkind","orddept");
- fSearch();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter4" style="left:1120px; top:300px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_drmst.rows > 1) {
- var fileName = window.fileDialog("save", "", false, "의사마스터_" + getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- //datagrid.saveExcel의 7번째 인자 값(boolean) : 그리드의 col type=combo일 경우 엑셀저장내용이 lable 또는 value로 설정 함
- // grd_clbsmast.saveExcel(fileName, "SheetName", true, true, "", "", true);
- grd_drmst.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
- }
- } else {
- messageBox("엑셀저장할 대상이 ", "I004"); ///엑셀저장할 대상자가 없습니다.
- }
- ]]>
- </script>
- </button>
- <button id="button5" class="btn1_letter2" navindex="2" style="left:1055px; top:298px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/srchkind","dr");
- fSearch();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="tit_2" style="left:0px; top:303px; width:100px; height:13px; ">의사 마스터</caption>
- <datagrid id="grd_drmst" nodeset="/root/main/grdlist/drlist" class="datagrid2" caption="의사코드^의사이름^세부진료과 코드^직위^코드의 종료 년월" colsep="^" colwidth="87, 65, 111, 67, 103" explorerbar="sortshow" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:323px; width:1190px; height:262px; ">
- <col ref="userid" style="text-align:center; "/>
- <col ref="usernm" style="text-align:center; "/>
- <col ref="dutplcecd" style="text-align:center; "/>
- <col ref="position" format="yyyy-mmd" style="text-align:center; "/>
- <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
- </datagrid>
- <caption id="caption3" class="tit_2" style="left:0px; top:620px; width:113px; height:13px; ">세부진료과 파일</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|