123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- <?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>
- <list2>
- <item>
- <check/>
- <sortno/>
- <basecd/>
- <basecdflagdesc/>
- <excudd/>
- </item>
- </list2>
- </main>
- <send>
- <execrid/>
- <sortno/>
- <afexcudd/>
- <bfexcudd/>
- <bfexcuroomcd/>
- <afexcuroomcd/>
- <excudd/>
- <curerid/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- </send>
- <send1>
- <instance1/>
- <excuroomcd/>
- </send1>
- <popdata>
- <execrid/>
- <excuroomcd/>
- <excudd/>
- </popdata>
- <init>
- <list1>
- <item>
- <basecd/>
- <basecdflagdesc/>
- </item>
- </list1>
- <curerlist>
- <curernm/>
- <curerid/>
- </curerlist>
- </init>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/execrid", model.getValue("/root/popdata/execrid"));
- model.setValue("/root/send/bfexcuroomcd", model.getValue("/root/popdata/excuroomcd"));
- model.setValue("/root/send/bfexcudd", model.getValue("/root/popdata/excudd"));
- aezfSetSuppDeptcd();
- model.setValue("/root/send/afexcudd", getCurrentDate());
- model.removeNodeset("/root/main/list2/item");
- submit("TRAEA00201");
- submit("TRAEA00203");
- model.refresh();
- ]]>
- </script>
- <submission id="TRAEA00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/list1"/>
- <submission id="TRAEA00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send1" replace="instance" resultref="/root/main/list2"/>
- <submission id="TRAEA00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/curerlist"/>
- <submission id="TXAER02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
- <script type="javascript" ev:event="xforms-model-destruct">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript">
- <![CDATA[
- function readfunc() {
- model.setValue("/root/send1/excuroomcd", model.getValue("/root/send/afexcuroomcd"));
- model.setValue("/root/send1/instance1", model.getValue("/root/send/globalinstance/instance1"));
- submit("TRAEA00202", false);
- model.refresh();
- }
- function datacheck(){
- var sexcudd = model.getValue("/root/send/afexcudd");
- if (sexcudd == ""){
- messageBox("시행일자는 필수 입력항목입니다.", "E999", "");
- return false;
- }
- if (isValidDateTime(sexcudd, "YYYYMMDD") == false){
- messageBox("날짜 형식이 잘못 입력되었습니다.", "E999", "");
- return false;
- }
- var sexcudd2 = model.getValue("/root/send/bfexcudd");
- if (sexcudd < sexcudd2){
- messageBox("이전 시행일자보다 현재 시행일자가 적어서 처리할 수 없습니다.", "E999", "");
- return false;
- }
- if (model.getValue("/root/send/afexcuroomcd") == model.getValue("/root/send/bfexcuroomcd")){
- messageBox("현근무지와 변경할 근무지가 동일합니다.", "E999", "");
- return false;
- }
- var sexecrid = model.getValue("/root/send/execrid");
- var irow = grd_curerlist.findRow(sexecrid, 1, 4, false, false);
- if (irow > 0){
- messageBox("변경할 근무지에 이미 등록되었습니다.", "E999", "");
- return false;
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="475" pageheight="550" guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:450px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:142px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">근무지 변경관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:1px; top:15px; width:454px; height:510px; ">
- <caption id="caption2" class="search_name" style="left:200px; top:20px; width:88px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">시 행 일 :</caption>
- <input id="input1" ref="/root/send/afexcudd" class="input_search" navindex="1" inputtype="date" _chartype="upper" style="left:295px; top:20px; width:110px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:20px; top:20px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">사 번 :</caption>
- <caption id="caption3" class="search_name" style="left:200px; top:50px; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">현근무지 :</caption>
- <select1 id="combo1" ref="/root/send/bfexcuroomcd" disabled="true" appearance="minimal" style="left:295px; top:50px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/list1/item">
- <label ref="basecdflagdesc"/>
- <value ref="basecd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo2" ref="/root/send/afexcuroomcd" appearance="minimal" style="left:125px; top:82px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/list1/item">
- <label ref="basecdflagdesc"/>
- <value ref="basecd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- readfunc();
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="search_name" style="left:20px; top:82px; width:99px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">변경근무지 :</caption>
- <caption id="caption5" class="search_name" style="left:20px; top:50px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">순 번 :</caption>
- <input id="input2" ref="/root/send/sortno" style="left:95px; top:50px; width:95px; height:19px; text-align:center; "/>
- <datagrid id="grd_curerlist" nodeset="/root/main/list2/item" caption="^No^이름^사번^시행일" colsep="^" colwidth="33, 54, 101, 96, 112" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:16px; top:143px; width:424px; height:362px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox" visibility="hidden"/>
- <col ref="sortno" format="99" style="text-align:center; "/>
- <col disabled="true" ref="basecd" type="combo" _key="true">
- <choices>
- <itemset nodeset="/root/init/curerlist">
- <label ref="curernm"/>
- <value ref="curerid"/>
- </itemset>
- </choices>
- </col>
- <col ref="basecdflagdesc" style="text-align:center; "/>
- <col ref="excudd" style="text-align:center; "/>
- </datagrid>
- <caption id="caption7" class="tit_2" style="left:20px; top:123px; width:133px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">근무자 현황</caption>
- <button id="btn_save" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:380px; top:119px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (datacheck() == false){
- return;
- }
- submit("TXAER02101", false);
- window.close();
-
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- checkKeyColumn("grd_curerlist");
- ]]>
- </script>
- </button>
- <select1 id="combo3" ref="/root/send/execrid" disabled="true" appearance="minimal" style="left:95px; top:20px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/curerlist">
- <label ref="curernm"/>
- <value ref="curerid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- </xhtml:body>
- </xhtml:html>
|