123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328 |
- <?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>
- <apntscorebatrgst/>
- <capaadjtcnfmlist>
- <supinfqurtyyflag/>
- <fstlattrmflag/>
- <trngflag/>
- <dentyn/>
- </capaadjtcnfmlist>
- </main>
- <send>
- <apntyy/>
- <supinfqurtyyflag>-</supinfqurtyyflag>
- <fstlattrmflag>-</fstlattrmflag>
- <trngflag>-</trngflag>
- <dentyn>-</dentyn>
- <capaadjtcnfmlist/>
- </send>
- <init/>
- <hidden>
- </hidden>
- <temp>
- </temp>
- </root>
- </instance>
- <submission id="TRRTR00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/capaadjtcnfmlist"/>
- <submission id="TXRTR00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/capaadjtcnfmlist" resultref="/root/temp"/>
- <bind id="bind1" ref="/root/main/capaadjtcnfmlist/cnfmtot" calculate="../cnfm011 + ../cnfm012 + ../cnfm013 + ../cnfm014 + ../cnfm015 + ../cnfm016 + ../cnfm017 + ../cnfm018 + ../cnfm201 +../cnfm217"/>
- <bind id="bind011" ref="/root/main/capaadjtcnfmlist/cnfm011" readonly="../edityn = 'N' or ../cnfm011 = ''"/>
- <bind id="bind012" ref="/root/main/capaadjtcnfmlist/cnfm012" readonly="../edityn = 'N' or ../cnfm012 = ''"/>
- <bind id="bind013" ref="/root/main/capaadjtcnfmlist/cnfm013" readonly="../edityn = 'N' or ../cnfm013 = ''"/>
- <bind id="bind014" ref="/root/main/capaadjtcnfmlist/cnfm014" readonly="../edityn = 'N' or ../cnfm014 = ''"/>
- <bind id="bind015" ref="/root/main/capaadjtcnfmlist/cnfm015" readonly="../edityn = 'N' or ../cnfm015 = ''"/>
- <bind id="bind016" ref="/root/main/capaadjtcnfmlist/cnfm016" readonly="../edityn = 'N' or ../cnfm016 = ''"/>
- <bind id="bind017" ref="/root/main/capaadjtcnfmlist/cnfm017" readonly="../edityn = 'N' or ../cnfm017 = ''"/>
- <bind id="bind018" ref="/root/main/capaadjtcnfmlist/cnfm018" readonly="../edityn = 'N' or ../cnfm018 = ''"/>
- <bind id="bind201" ref="/root/main/capaadjtcnfmlist/cnfm201" readonly="../edityn = 'N' or ../cnfm201 = ''"/>
- <bind id="bind217" ref="/root/main/capaadjtcnfmlist/cnfm217" readonly="../edityn = 'N' or ../cnfm217 = ''"/>
- <bind id="bindsum011" ref="/root/main/capaadjtcnfmlist[deptcd = 'sum']/cnfm011" calculate="sum(/root/main/capaadjtcnfmlist[deptcd != 'sum' and apntinfono = ../apntinfono]/cnfm011)"/>
- <bind id="bindsum012" ref="/root/main/capaadjtcnfmlist[deptcd = 'sum']/cnfm012" calculate="sum(/root/main/capaadjtcnfmlist[deptcd != 'sum' and apntinfono = ../apntinfono]/cnfm012)"/>
- <bind id="bindsum013" ref="/root/main/capaadjtcnfmlist[deptcd = 'sum']/cnfm013" calculate="sum(/root/main/capaadjtcnfmlist[deptcd != 'sum' and apntinfono = ../apntinfono]/cnfm013)"/>
- <bind id="bindsum014" ref="/root/main/capaadjtcnfmlist[deptcd = 'sum']/cnfm014" calculate="sum(/root/main/capaadjtcnfmlist[deptcd != 'sum' and apntinfono = ../apntinfono]/cnfm014)"/>
- <bind id="bindsum015" ref="/root/main/capaadjtcnfmlist[deptcd = 'sum']/cnfm015" calculate="sum(/root/main/capaadjtcnfmlist[deptcd != 'sum' and apntinfono = ../apntinfono]/cnfm015)"/>
- <bind id="bindsum016" ref="/root/main/capaadjtcnfmlist[deptcd = 'sum']/cnfm016" calculate="sum(/root/main/capaadjtcnfmlist[deptcd != 'sum' and apntinfono = ../apntinfono]/cnfm016)"/>
- <bind id="bindsum017" ref="/root/main/capaadjtcnfmlist[deptcd = 'sum']/cnfm017" calculate="sum(/root/main/capaadjtcnfmlist[deptcd != 'sum' and apntinfono = ../apntinfono]/cnfm017)"/>
- <bind id="bindsum018" ref="/root/main/capaadjtcnfmlist[deptcd = 'sum']/cnfm018" calculate="sum(/root/main/capaadjtcnfmlist[deptcd != 'sum' and apntinfono = ../apntinfono]/cnfm018)"/>
- <bind id="bindsum201" ref="/root/main/capaadjtcnfmlist[deptcd = 'sum']/cnfm201" calculate="sum(/root/main/capaadjtcnfmlist[deptcd != 'sum' and apntinfono = ../apntinfono]/cnfm201)"/>
- <bind id="bindsum217" ref="/root/main/capaadjtcnfmlist[deptcd = 'sum']/cnfm217" calculate="sum(/root/main/capaadjtcnfmlist[deptcd != 'sum' and apntinfono = ../apntinfono]/cnfm217)"/>
- </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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fCheckAuth();
-
- misfGridInit(grd_capaadjtcnfmlist);
- misfMsterDetailSet(grd_capaadjtcnfmlist, null, "TRRTR00901", "Y");
-
- misfGridComboComCdList("R0237",grd_capaadjtcnfmlist,"supinfqurtyyflag");
- misfGridComboComCdList("R0238",grd_capaadjtcnfmlist,"fstlattrmflag");
- misfGridComboComCdList("R0151",grd_capaadjtcnfmlist,"trngflag");
- misfGridComboComCdList("R0239",grd_capaadjtcnfmlist,"dentyn");
-
- misfComboComCdListMulti("R0237,R0238,R0151,R0239", "cmb_supinfqurtyyflag,cmb_fstlattrmflag,cmb_trngflag,cmb_dentyn");
-
- /*var arr = new Array("R0237", "R0238", "R0151", "R0239");
- for (var i=0; i<arr.length; i++)
- {
- model.duplicate("/root/init/comcd/"+arr[i], instance1.selectSingleNode("/root/init/comcd/"+arr[i]+"/"+arr[i]+"[1]"), "*[1]");
- model.setValue("/root/init/comcd/"+arr[i]+"/"+arr[i]+"/cdid", "-");
- model.setValue("/root/init/comcd/"+arr[i]+"/"+arr[i]+"/cdnm", "");
- }*/
- addComboItem( "cmb_supinfqurtyyflag", "전체", "-", "above") ;
- addComboItem( "cmb_fstlattrmflag", "전체", "-", "above") ;
- addComboItem( "cmb_trngflag", "전체", "-", "above") ;
- addComboItem( "cmb_dentyn", "전체", "-", "above") ;
-
- var today = getCurrentDate();
- var cur_mm = parseInt(today.substring(4, 6));
- var cur_yy = parseInt(today.substring(0, 4));
-
- if (cur_mm >= 11)
- cur_yy++;
-
- model.setValue("/root/send/apntyy", cur_yy);
- model.refresh();
-
- //그리드의 타이틀을 누르면 sort되는 기능
- grd_capaadjtcnfmlist.explorerbar = "sort";
- grd_capaadjtcnfmlist.selectionMode = "byrow"
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //========================================================================================
- //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
- //========================================================================================
- function fCheckAuth() {
- btn_search.disabled = !checkAuth("R") ;
- btn_save.disabled = !checkAuth("X") ;
- }
-
- function fGetList() {
- //필수 입력 항목 체크(공통 ftHelper.js)
- if ( !isRequiredControls("ipt_apntyy") ) {
- return false;
- }
-
- misfMsterDetailRetrieve();
-
- for (var i=1; i<grd_capaadjtcnfmlist.rows; i++)
- {
- grd_capaadjtcnfmlist.rowstyle(i, "data", "background-color") = "transparent";
- }
-
- var cellcol_sum = "#ffeebb";
- var cellcol_readonly = "#eeeeee";
- grd_capaadjtcnfmlist.colstyle(grd_capaadjtcnfmlist.colRef("apntinfono"), "data", "background-color") = cellcol_readonly;
- grd_capaadjtcnfmlist.colstyle(grd_capaadjtcnfmlist.colRef("supinfqurtyyflag"), "data", "background-color") = cellcol_readonly;
- grd_capaadjtcnfmlist.colstyle(grd_capaadjtcnfmlist.colRef("fstlattrmflag"), "data", "background-color") = cellcol_readonly;
- grd_capaadjtcnfmlist.colstyle(grd_capaadjtcnfmlist.colRef("trngflag"), "data", "background-color") = cellcol_readonly;
- grd_capaadjtcnfmlist.colstyle(grd_capaadjtcnfmlist.colRef("dentyn"), "data", "background-color") = cellcol_readonly;
- grd_capaadjtcnfmlist.colstyle(grd_capaadjtcnfmlist.colRef("deptnm"), "data", "background-color") = cellcol_readonly;
- grd_capaadjtcnfmlist.colstyle(grd_capaadjtcnfmlist.colRef("cnfmtot"), "data", "background-color") = cellcol_sum;
-
- var colref_deptcd = grd_capaadjtcnfmlist.colRef("deptcd");
- var colref_edityn = grd_capaadjtcnfmlist.colRef("edityn");
- for (var i=1; i<grd_capaadjtcnfmlist.rows; i++)
- {
- if (grd_capaadjtcnfmlist.valueMatrix(i, colref_edityn) == "N")
- {
- grd_capaadjtcnfmlist.rowstyle(i, "data", "background-color") = cellcol_readonly;
- }else{
- grd_capaadjtcnfmlist.rowstyle(i, "data", "background-color") = "#ffffff";
-
- }
-
- if (grd_capaadjtcnfmlist.valueMatrix(i, colref_deptcd) == "sum")
- {
- grd_capaadjtcnfmlist.rowstyle(i, "data", "background-color") = cellcol_sum;
- }
- }
- } // function
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-right:8; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">채용정원관리</caption>
- </group>
- <caption id="caption10" style="left:725px; top:705px; width:350px; height:25px; vertical-align:middle; ">상태 : 가입, 탈퇴, 보임</caption>
- <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <button id="button4" class="btn2_letter4" style="left:1128px; top:52px; 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_capaadjtcnfmlist.colHidden(1) = false;
- grd_capaadjtcnfmlist.colHidden(2) = false;
- //grd_apntscorebatrgst.saveExcel(fileName);
- grd_capaadjtcnfmlist.saveExcel(fileName, "", false, true);
- //grd_apntscorebatrgst.colHidden(1) = true;
- //grd_apntscorebatrgst.colHidden(2) = true;
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_capaadjtcnfmlist" nodeset="/root/main/capaadjtcnfmlist" caption="번호^상하^전후^IR^의치^deptcd^진료과^edityn^성모병원^서울성모병원^의정부성모병원^부천성모병원^성바오로병원^인천성모병원^성빈센트병원^대전성모병원^청주성모병원^창원파티마병원^합계" colsep="^" colwidth="40, 50, 35, 60, 35, 0, 130, 0, 80, 80, 90, 80, 80, 80, 80, 80, 80, 90, 70" dataheight="25" extendlastcol="scroll" frozencols="7" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="100" rowsep="|" selectionmode="byrow" style="left:0px; top:74px; width:1195px; height:660px; ">
- <col disabled="true" ref="apntinfono"/>
- <col disabled="true" ref="supinfqurtyyflag" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="fstlattrmflag" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="trngflag" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="dentyn" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="deptcd" visibility="hidden"/>
- <col disabled="true" ref="deptnm"/>
- <col ref="edityn" visibility="hidden"/>
- <col ref="cnfm011" type="input" format="99" style="text-align:center; "/>
- <col ref="cnfm012" type="input" format="99" style="text-align:center; "/>
- <col ref="cnfm013" type="input" format="99" style="text-align:center; "/>
- <col ref="cnfm014" type="input" format="99" style="text-align:center; "/>
- <col ref="cnfm015" type="input" format="99" style="text-align:center; "/>
- <col ref="cnfm016" type="input" format="99" style="text-align:center; "/>
- <col ref="cnfm017" type="input" format="99" style="text-align:center; "/>
- <col ref="cnfm018" type="input" format="99" style="text-align:center; "/>
- <col ref="cnfm201" type="input" format="99" style="text-align:center; "/>
- <col ref="cnfm217" type="input" format="99" style="text-align:center; "/>
- <col disabled="true" ref="cnfmtot" style="text-align:center; "/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- // 합계를 구한다.
- //fRecalculate();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_capaadjtcnfmlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line3" class="line_1" style="x1:0px; y1:73px; x2:1195px; y2:73px; "/>
- <caption id="caption9" class="tit_2" style="left:10px; top:59px; width:117px; height:13px; ">채용별 정원내역</caption>
- <group id="group4" style="left:0px; top:5px; width:1195px; height:45px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1190px; height:39px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" navindex="10" style="left:1125px; top:10px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetList();
- ]]>
- </script>
- </button>
- <line id="line1" class="line_4" style="x1:1110px; y1:6px; x2:1110px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_trngflag" ref="/root/send/trngflag" class="combo_search" navindex="4" appearance="minimal" style="left:775px; top:10px; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_trngflag" class="search_name" style="left:660px; top:9px; width:110px; height:17px; ">전공의구분 :</caption>
- <caption id="cap_apntyy" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">년 도 :</caption>
- <caption id="cap_supinfqurtyyflag" class="search_name" style="left:225px; top:9px; width:86px; height:17px; ">상하반기 :</caption>
- <caption id="cap_fstlattrmflag" class="search_name" style="left:435px; top:9px; width:86px; height:17px; ">전후기 :</caption>
- <select1 id="cmb_dentyn" ref="/root/send/dentyn" class="combo_search" navindex="5" appearance="minimal" style="left:975px; top:10px; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_dentyn" class="search_name" style="left:885px; top:9px; width:96px; height:17px; ">치과여부 :</caption>
- <select1 id="cmb_fstlattrmflag" ref="/root/send/fstlattrmflag" class="combo_search" navindex="3" appearance="minimal" style="left:525px; top:10px; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_supinfqurtyyflag" ref="/root/send/supinfqurtyyflag" class="combo_search" navindex="2" appearance="minimal" style="left:310px; top:10px; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_apntyy" ref="/root/send/apntyy" class="input_s_essential" navindex="1" style="left:100px; top:10px; width:100px; height:19px; "/>
- </group>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="btn_save" class="btn4_letter2" style="left:1137px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var retMes = messageBox("저장 하시겠습니까?", "Q999");
- if ( retMes != 6) {
- return;
- }
-
- /*var colref = grd_capaadjtcnfmlist.colRef("deptcd");
- for (var i=0; i<grd_capaadjtcnfmlist.rows; i++)
- {
- grd_capaadjtcnfmlist.rowStatus(i, "update");
- }*/
-
- var updtdata = getGridUpdateData(grd_capaadjtcnfmlist);
- if (updtdata == "") {
- messageBox("변경된 데이터가","I004");
- return;
- }
-
- misfSave("TXRTR00901");
- //fGetList();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|