123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207 |
- <?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>
- <eduopinitemlist>
- <valuitemcd/>
- <valucnts/>
- <valupnt/>
- <useyn/>
- <appdd/>
- <instcd/>
- </eduopinitemlist>
- <send>
- <baseyymmdd_s/>
- <eduopinitemlist/>
- <baseyymmdd_e/>
- </send>
- <temp/>
- </main>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
-
- fInit();
- misfGridInit(grd_eduopinitemlist);
- misfMsterDetailSet(grd_eduopinitemlist,null, "TRRPN00101" ,"Y");
- //btn_search.dispatch("DOMActivate");
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //화면 실행시 기준일자에 현제 날짜를 넣는다.
-
- function fInit()
- {
- setCurDate();
- // fInitialize();
- }
-
- function setCurDate()
- {
- ipt_baseyymmdd_s.value = mis_to_day();
- ipt_baseyymmdd_e.value =mis_to_day();
- }
- ]]>
- </script>
- <submission id="TRRPN00101" ref="/root/main/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/eduopinitemlist"/>
- <submission id="TXRPN00101" ref="/root/main/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/temp"/>
- <script type="javascript" ev:event="xforms-reset">
- <![CDATA[
- btn_save.disabled = !checkAuth("X")
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- model.removeNodeset("/root/main/eduopinitemlist");
- model.resetInstanceNode("/root/send");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/pubwelfmngtweb/js/RPS001.js"/>
- </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>
- <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:19px; width:86px; height:17px; ">기준일자 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:17px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(ipt_baseyymmdd_s.value == "" || ipt_baseyymmdd_e.value == "") {
- messageBox("기준일자를","C002");
- return;
- }
- submit("TRRPN00101");
-
- // misfSetReadOnlyCol(grd_nursnewemplist, "valuitemcd,valucnts,valupnt,useyn,appdd", true); //읽기전용
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
- <caption id="caption278" class="tit_2" style="left:5px; top:54px; width:162px; height:13px; ">교육평가 항목내역</caption>
- <line id="line207" class="line_1" style="x1:0px; y1:68px; x2:1195px; y2:68px; "/>
- <input id="ipt_baseyymmdd_s" ref="/root/main/send/baseyymmdd_s" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:104px; top:18; width:100px; height:19px; "/>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:1130px; top:47px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- grd_eduopinitemlist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <button id="btn_grddelnursnew" class="btn2_letter3" style="left:1075px; top:47px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- misfGridIUD(grd_eduopinitemlist, "D");
- ]]>
- </script>
- </button>
- <button id="btn_grdaddnursnew" class="btn2_letter3" style="left:1019px; top:47px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- misfGridIUD(grd_eduopinitemlist, "A");
- var cur_row = grd_eduopinitemlist.row; // 추가된 행 번호 가져오기
- //grd_eduopinitemlist.valueMatrix(cur_row, grd_eduopinitemlist.colRef("appdd")) = ipt_appdd.value;
- ]]>
- </script>
- </button>
- <datagrid id="grd_eduopinitemlist" nodeset="/root/main/eduopinitemlist" caption="평가항목코드^평가내용^평가배점^사용여부^적용일자^기관코드" colwidth="97, 783, 82, 65, 130, 0, 0, 0, 0, 0" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" colsep="^" style="left:0px; top:73px; width:1195px; height:661px; ">
- <col ref="valuitemcd" type="input" maxlength="3" style="text-align:center; "/>
- <col ref="valucnts" type="input" maxlength="30"/>
- <col ref="valupnt" type="input" format="#,###" maxlength="3" style="text-align:right; "/>
- <col ref="useyn" type="checkbox" checkvalue="Y,N"/>
- <col ref="appdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="instcd"/>
- </datagrid>
- <caption id="caption3" class="search_n_b" style="left:209px; top:20px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="ipt_baseyymmdd_e" ref="/root/main/send/baseyymmdd_e" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:225px; top:18; width:100px; height:19px; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="button8" class="btn3_letter4" style="left:0px; top:3px; width:80px; height:22px; ">
- <caption>화면이동</caption>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_eduopinitemlist);
- if (updtdata == "" ) {
- messageBox("변경된 데이터가","I004");
- return;
- }
- var null_check1 = "";
- var null_chech2 = "";
-
- for(var i=1;i<=grd_eduopinitemlist.rows-1;i++)
- {
- null_check1 = model.getValue(grd_eduopinitemlist.attribute("nodeset")+"["+i+"]/valuitemcd");
- null_check2 = model.getValue(grd_eduopinitemlist.attribute("nodeset")+"["+i+"]/appdd");
- // rgstaVal= model.getValue(grd_clubmemblist.attribute("nodeset")+"["+i+"]/rgstaprv");
- if(null_check1 =="") {
- messageBox("교육평가항목코드는","I003");
- return;
- } else if(null_check2 == "") {
- messageBox(" 적용일자는","I003");
- return;
- }
- }
- misfSave("TXRPN00101");
-
- ]]>
- </script>
- </button>
- <line id="line11" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="btn_init" class="btn4_letter3" style="left:1069px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_eduopinitemlist);
-
- if (updtdata != "") {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
- fInitialize();
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn6_letter2" style="left:82px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPRPV00100", "XMLSTR", "", "", "", "true", "", "", "", "");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|