123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242 |
- <?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>
- <edurecipient/>
- <attedurecipient/>
- <tisorddeptcdlist/>
- </main>
- <hidden>
- </hidden>
- <temp>
- </temp>
- <init/>
- <send>
- <req>
- <yy/>
- <deptcd/>
- <selgubun/>
- </req>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/req/selgubun", "all");
-
- submit("TRRTS00602");
-
- misfGridInit(grd_alledurecipient);
- misfGridInit(grd_attedurecipient);
- misfGridInit(grd_nonattedurecipient);
-
- var today = getCurrentDate();
- var cur_mm = parseInt(today.substring(4, 6));
- var cur_yy = parseInt(today.substring(0, 4));
-
- model.setValue("/root/send/req/yy", cur_yy);
- ipt_yy.refresh();
- ]]>
- </script>
- <submission id="TRRTS01151" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/edurecipient"/>
- <submission id="TRRTS01152" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/attedurecipient"/>
- <submission id="TRRTS00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdept" resultref="/root/main/tisorddeptcdlist"/>
- </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="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript">
- <![CDATA[
- var m_case = 1;
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="930" pageheight="580">
- <group id="group1" style="left:0px; top:0px; width:900px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">교육대상자 관리</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:38px; width:900px; height:517px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:900px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="ipt_yy" ref="/root/send/req/yy" class="input_s_essential" style="left:93px; top:14px; width:55px; height:19px; "/>
- <caption id="cap_yy" class="search_name" style="left:5px; top:15px; width:86px; height:17px; ">년 도 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:840px; top:12px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( !isRequiredControls("ipt_yy") ) {
- return false;
- }
-
- if (m_case == 1) {
- misfGridInit(grd_alledurecipient);
- submit("TRRTS01151");
- } else if (m_case == 2) {
- misfGridInit(grd_attedurecipient);
- submit("TRRTS01152");
- } else if (m_case == 3) {
- misfGridInit(grd_nonattedurecipient);
- submit("TRRTS01151");
- }
- ]]>
- </script>
- </button>
- <line id="line82" class="line_4" style="x1:825px; y1:10px; x2:825px; y2:36px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_deptcd" ref="/root/send/req/deptcd" class="combo_search" appearance="minimal" style="left:238px; top:14px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/tisorddeptcdlist">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="cap_deptcd" class="search_name" style="left:163px; top:15px; width:75px; height:17px; ">임상과 :</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:900px; y2:66px; "/>
- <switch id="switch1" style="left:0px; top:65px; width:900px; height:425px; ">
- <case id="case1" selected="true">
- <caption id="caption1" class="tit_2" style="left:5px; top:4px; width:153px; height:15px; font-size:10pt; ">전체대상자</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:22px; x2:890; y2:23px; "/>
- <button id="button4" class="btn2_letter4" style="left:825px; top:1px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- grd_alledurecipient.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:true;rowhiddenextend:false;exportfalsecols:0,0;col_1:value;");
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_alledurecipient" nodeset="/root/main/edurecipient" caption="교육년도^사번^이름^현근무병원^임상과^년차^성별^E-mail^핸드폰" colsep="^" colwidth="57, 85, 84, 139, 112, 60, 74, 133, 129" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:1px; top:24px; width:890px; height:396px; ">
- <col ref="educyy" visibility="visible" style="text-align:center; "/>
- <col ref="emplno" style="text-align:center; "/>
- <col ref="name" style="text-align:center; "/>
- <col ref="dutinstnm" style="text-align:left; padding-left:10; "/>
- <col ref="deptnm" style="text-align:left; padding-left:10; border-top-style:none; "/>
- <col ref="anual" style="text-align:center; "/>
- <col ref="gndr" style="text-align:center; "/>
- <col ref="email" style="text-align:left; padding-left:10; "/>
- <col ref="mpphonno" style="text-align:left; padding-left:10; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_alledurecipient.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case2">
- <caption id="caption2" class="tit_2" style="left:5px; top:4px; width:153px; height:15px; font-size:10pt; ">참석자</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:22px; x2:890; y2:23px; "/>
- <button id="button5" class="btn2_letter4" style="left:825px; top:1px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- grd_attedurecipient.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:true;rowhiddenextend:false;exportfalsecols:0,0;col_1:value;");
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_attedurecipient" nodeset="/root/main/attedurecipient" caption="교육년도^사번^이름^현근무병원^임상과^년차^성별^E-mail^핸드폰" colsep="^" colwidth="57, 85, 84, 139, 112, 60, 74, 133, 129" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:1px; top:24px; width:890px; height:396px; ">
- <col ref="educyy" visibility="visible" style="text-align:center; "/>
- <col ref="emplno" style="text-align:center; "/>
- <col ref="name" style="text-align:center; "/>
- <col ref="dutinstnm" style="text-align:left; padding-left:10; "/>
- <col ref="deptnm" style="text-align:left; padding-left:10; border-top-style:none; "/>
- <col ref="anual" style="text-align:center; "/>
- <col ref="gndr" style="text-align:center; "/>
- <col ref="email" style="text-align:left; padding-left:10; "/>
- <col ref="mpphonno" style="text-align:left; padding-left:10; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_attedurecipient.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case3">
- <caption id="caption3" class="tit_2" style="left:5px; top:4px; width:890px; height:15px; font-size:10pt; ">미참석자</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:22px; x2:890; y2:23px; "/>
- <button id="button6" class="btn2_letter4" style="left:825px; top:1px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- grd_nonattedurecipientsaveExcel(fileName, "sheetname:sheet1;colhiddenextend:true;rowhiddenextend:false;exportfalsecols:0,0;col_1:value;");
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_nonattedurecipient" nodeset="/root/main/edurecipient" caption="교육년도^사번^이름^현근무병원^임상과^년차^성별^E-mail^핸드폰" colsep="^" colwidth="57, 85, 84, 139, 112, 60, 74, 133, 129" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:1px; top:24px; width:890px; height:396px; ">
- <col ref="educyy" visibility="visible" style="text-align:center; "/>
- <col ref="emplno" style="text-align:center; "/>
- <col ref="name" style="text-align:center; "/>
- <col ref="dutinstnm" style="text-align:left; padding-left:10; "/>
- <col ref="deptnm" style="text-align:left; padding-left:10; border-top-style:none; "/>
- <col ref="anual" style="text-align:center; "/>
- <col ref="gndr" style="text-align:center; "/>
- <col ref="email" style="text-align:left; padding-left:10; "/>
- <col ref="mpphonno" style="text-align:left; padding-left:10; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_nonattedurecipient.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="button1" class="btn_sw" group="tab" selected="true" style="left:0px; top:42px; width:95px; height:22px; ">
- <caption>전체대상자</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- m_case = 1;
- model.setValue("/root/send/req/selgubun", "all");
- misfGridInit(grd_alledurecipient);
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn_sw" group="tab" selected="false" style="left:95px; top:42px; width:95px; height:22px; ">
- <caption>참석자</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- m_case = 2;
- misfGridInit(grd_attedurecipient);
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn_sw" group="tab" selected="false" style="left:190px; top:42px; width:95px; height:22px; ">
- <caption>미참석자</caption>
- <toggle case="case3" ev:event="onclick"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- m_case = 3;
- model.setValue("/root/send/req/selgubun", "nonatt");
- misfGridInit(grd_nonattedurecipient);
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:900px; height:27px; "/>
- </xhtml:body>
- </xhtml:html>
|