123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538 |
- <?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>
- <ngdtregterm>
- <ngdtregtermlist/>
- </ngdtregterm>
- <smsdata>
- <bizabbr/>
- <replytelno/>
- <rsrvyn/>
- <rsrvdate/>
- <rsrvtime/>
- <msgcnts/>
- <closeflag/>
- <recvrlist>
- <chk/>
- <recvrnm/>
- <recvrtelno/>
- </recvrlist>
- </smsdata>
- </main>
- <hidden>
- </hidden>
- <temp>
- </temp>
- <init/>
- <send>
- <req>
- <instcd/>
- <ngdtym/>
- </req>
- <save>
- <ngdtregtermlist/>
- </save>
- </send>
- <tempdd>
- <fromdd/>
- <todd/>
- </tempdd>
- <init>
- <systemflag>T</systemflag>
- <mptable>
- <mpphonno/>
- </mptable>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //사용자 권한
- fCheckAuth();
-
- submit("TRRTS03002");
-
- misfGridInit(grd_ngdtregtermlist);
-
- misfMsterDetailSet(grd_ngdtregtermlist, null, "TRRTS03001", "Y");
-
- rszfGetLabelControlComboList("R0314", "cmb_instcd", "detldesc");
- misfComboComCdListMulti("R0234", "grd_ngdtregtermlist.deptcd");
-
- var dutplceinstcd = getUserInfo("dutplceinstcd");
- model.setValue("/root/send/req/instcd", dutplceinstcd);
-
- if (dutplceinstcd == "001" && getUserInfo("dutplcecd") == "4110100000") {
- cmb_instcd.disabled = false;
- }else{
- cmb_instcd.disabled = true;
- }
-
- var today = getCurrentDate();
- var cur_yymm = parseInt(today.substring(0,6));
- model.setValue("/root/send/req/ngdtym", cur_yymm);
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRRTS00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdept" resultref="/root/main/ngdtcdlist"/>
- <bind id="bind1" ref="/root/main/ngdtamt/ngdtamtlist/ngdtamt" calculate="../weekno * 20000 + ../holino * 40000"/>
- <submission id="TRRTS03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/ngdtregterm"/>
- <submission id="TXRTS03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
- <submission id="TXRTS03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/temp"/>
- <submission id="TRRTS03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root" resultref="/root/init"/>
- </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="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/tistrngeducplanmngtweb/js/SMRTS00600.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/valuationmngtweb/js/RPV001.js"/>
- <script type="javascript">
- <![CDATA[
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <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:5px; width:1195px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_yy" class="search_name" style="left:5px; top:15px; width:60px; height:17px; ">년월 :</caption>
- <datagrid id="grd_ngdtregtermlist" nodeset="/root/main/ngdtregterm/ngdtregtermlist" caption="선택^임상과^기간^기간^의국장^의국장^bp^핸드폰^년월^기관|선택^임상과^from^to^사번^성명^bp^핸드폰^년월^기관" colsep="^" colwidth="22, 364, 140, 139, 122, 135, 117, 112, 100, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:70px; width:1190px; height:670px; ">
- <col checkvalue="Y,N" ref="smsyn" type="checkbox"/>
- <col ref="deptcd" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="fromdd" type="inputdate" style="text-align:center; "/>
- <col ref="todd" type="inputdate" style="text-align:center; "/>
- <col ref="emplno" type="inputbutton" style="text-align:center; "/>
- <col ref="emplnm" style="text-align:center; "/>
- <col ref="bpno" style="text-align:center; "/>
- <col ref="mpphonno" style="text-align:center; "/>
- <col ref="ngdtym" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="olddeptcd" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_ngdtregtermlist.col == grd_ngdtregtermlist.colRef("emplno")){
- var recv_list = "emplno,emplnm";
- rpbfOpenPopUpList("SPRPB00101", grd_ngdtregtermlist, recv_list,"ipt_systemflag","N");
- model.refresh();
-
- // rpbfOpenPopUpList("SPRPB00101", grd_emplauthlist, "emplno,emplnm,dutunitcd,dutunitnm,dutplceinst", "", "N");
- // model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_search" class="btn1_letter2" style="left:1130px; top:12px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("cmb_instcd"))return;
-
- misfMsterDetailRetrieve();
- // if ( !isRequiredControls("ipt_yy", "ipt_mm", "cmb_instcd") ) {
- // return false;
- // }
- // model.setValue("/root/send/req/mm", model.getValue("/root/send/req/mm").getLeftPad(2, "0"));
- // ipt_mm.refresh();
-
- // submit("TRRTS03001");
- ]]>
- </script>
- </button>
- <line id="line82" class="line_4" style="x1:1115px; y1:10px; x2:1115px; y2:36px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:66px; x2:1190px; y2:67px; "/>
- <select1 id="cmb_instcd" ref="/root/send/req/instcd" class="combo_s_essential" disabled="false" appearance="minimal" style="left:295px; top:14px; width:148px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:209px; top:14px; width:94px; height:17px; ">근무병원 :</caption>
- <input id="input1" ref="/root/send/req/ngdtym" inputtype="date" format="yyyy-mm" style="left:65px; top:14px; width:100px; height:19px; "/>
- <button id="button1" class="btn5_letter4" style="left:5px; top:43px; width:64px; height:19px; text-align:left; ">
- <caption>일괄생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset(grd_ngdtregtermlist.nodeset);
-
-
- for(var i=1; i<=model.instance1.selectNodes("/root/init/comcd/R02340/R02340").length; i++){
-
- var deptcd = model.getValue("/root/init/comcd/R02340/R02340["+i+"]/cdid");
- if (deptcd != "AH" && deptcd != "TB" && deptcd != "HS" ) {
- grd_ngdtregtermlist.addRow();
- model.setValue(
- grd_ngdtregtermlist.nodeset +"[" + (grd_ngdtregtermlist.rows - grd_ngdtregtermlist.fixedRows) + "]/deptcd",
- model.getValue("/root/init/comcd/R02340/R02340["+i+"]/cdid")
- );
-
- model.setValue(
- grd_ngdtregtermlist.nodeset +"[" + (grd_ngdtregtermlist.rows - grd_ngdtregtermlist.fixedRows) + "]/fromdd",
- model.getValue("/root/tempdd/fromdd")
- );
-
- model.setValue(
- grd_ngdtregtermlist.nodeset +"[" + (grd_ngdtregtermlist.rows - grd_ngdtregtermlist.fixedRows) + "]/todd",
- model.getValue("/root/tempdd/todd")
- );
-
- model.setValue(
- grd_ngdtregtermlist.nodeset +"[" + (grd_ngdtregtermlist.rows - grd_ngdtregtermlist.fixedRows) + "]/instcd",
- cmb_instcd.value
- );
-
- model.setValue(
- grd_ngdtregtermlist.nodeset +"[" + (grd_ngdtregtermlist.rows - grd_ngdtregtermlist.fixedRows) + "]/ngdtym",
- input1.value
- );
- }
- }
-
- model.refresh();
- // var retMes = messageBox("저장 하시겠습니까?", "Q999");
- // if ( retMes != 6) {
- // return;
- // }
- //
- // model.setValue("/root/send/save", grd_ngdtschelist.getUpdateData("update"));
- //
- // if (submit("TXRTS01201"))
- // {
- // grd_ngdtschelist.clearStatus();
- // }
- ]]>
- </script>
- </button>
- <input id="input2" ref="/root/tempdd/fromdd" inputtype="date" format="yyyy-mm-dd" style="left:73px; top:43px; width:100px; height:19px; "/>
- <caption id="caption1" style="left:175px; top:45px; width:10px; height:20px; ">-</caption>
- <input id="input3" ref="/root/tempdd/todd" inputtype="date" format="yyyy-mm-dd" style="left:185px; top:43px; width:100px; height:19px; "/>
- <button id="button2" class="btn5_letter4" style="left:385px; top:45px; width:64px; height:19px; text-align:left; ">
- <caption>SMS전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridInit(grd_msg);
- var fPhone = '';
- var sPhone = '';
- var fphoneno = model.getValue("/root/init/mptable/mpphonno");
-
- tPhone = fphoneno.split("-");
- fphoneno = '';
-
- for(var r = 0; r < tPhone.length; r++ ){
- fphoneno += tPhone[r];
- }
-
- if(fphoneno == '') return;
-
- model.setValue("/root/main/smsdata/bizabbr", "mis"); // 그룹명, ex> mis, com, tis, his...등등...
- model.setValue("/root/main/smsdata/replytelno", fphoneno); // 발신자 전화번호
- model.setValue("/root/main/smsdata/rsrvyn", 0); // 예약전송 구분
- model.setValue("/root/main/smsdata/rsrvdate", getCurrentDate()); // 전송 날자
- model.setValue("/root/main/smsdata/rsrvtime", getCurrentTime().substr(0,4)); // 전송 시간
- model.setValue("/root/main/smsdata/msgcnts", ""); // 전송할 메세지
- model.setValue("/root/main/smsdata/closeflag", "N"); // 메시지 전송 팝업화면을 바로 닫기위한 구분자.
-
- for(var i = grd_ngdtregtermlist.fixedRows; i < grd_ngdtregtermlist.rows; i++){
- if(grd_ngdtregtermlist.valueMatrix(i, grd_ngdtregtermlist.colRef("smsyn")) == "Y"){
- if(grd_ngdtregtermlist.valueMatrix(i, grd_ngdtregtermlist.colRef("mpphonno")) != ''){
- misfGridIUD(grd_msg, "A");
- fPhone = grd_ngdtregtermlist.valueMatrix(i, grd_ngdtregtermlist.colRef("mpphonno")).split("-");
- sPhone = '';
- for(var p = 0; p < fPhone.length; p++ ){
- sPhone += fPhone[p];
- }
-
- grd_msg.valueMatrix(grd_msg.row, grd_msg.colRef("chk")) = 'Y'; // 여기서 Y의 의미는 문자메세지를 보낼때 팝업화면에서 전송받을 수신자의 선택유무다. 무조건 보내기 위해 Y 로 설정.
- grd_msg.valueMatrix(grd_msg.row, grd_msg.colRef("recvrnm")) = grd_ngdtregtermlist.valueMatrix(i, grd_ngdtregtermlist.colRef("emplnm")); // 수신자 이름 설정.
- grd_msg.valueMatrix(grd_msg.row, grd_msg.colRef("recvrtelno")) = sPhone; // 수신자 전화번호 설정.
- }
- }
- }
-
- rpvfOpenSMS(10, 10, "/root/main/smsdata");
-
- // var retMes = messageBox("저장 하시겠습니까?", "Q999");
- // if ( retMes != 6) {
- // return;
- // }
- //
- // model.setValue("/root/send/save", grd_ngdtschelist.getUpdateData("update"));
- //
- // if (submit("TXRTS01201"))
- // {
- // grd_ngdtschelist.clearStatus();
- // }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn5_letter5" style="left:305px; top:45px; width:75px; height:19px; text-align:left; ">
- <caption>전월Copy</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- messageBox("이전에 등록된 기준 정보가 있을 경우 전부 삭제 됩니다.", "I");
-
- if (messageBox("전월 당직 등록 기간 정보를 " ,"Q002") != 6) return;
-
- submit("TXRTS03002");
-
- btn_search.dispatch("DOMActivate");
- // var retMes = messageBox("저장 하시겠습니까?", "Q999");
- // if ( retMes != 6) {
- // return;
- // }
- //
- // model.setValue("/root/send/save", grd_ngdtschelist.getUpdateData("update"));
- //
- // if (submit("TXRTS01201"))
- // {
- // grd_ngdtschelist.clearStatus();
- // }
- ]]>
- </script>
- </button>
- <button id="btn_addqest" class="btn2_letter3" style="left:1015px; top:45px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("cmb_instcd"))return;
-
- misfGridIUD(grd_ngdtregtermlist, "A");
-
- // var p_row = grd_reptinfo.row;
- // var p_rows = grd_reptinfo.rows;
- // grd_reptinfo.insertRow(p_row,"below", "false", "true");
- // var srcRowIdx = grd_reptinfo.row - 1;
- // var destRowIdx = grd_reptinfo.row;
- // var catgryid =grd_reptinfo.valueMatrix(srcRowIdx, grd_reptinfo.colRef("catgryid"));
- // var catgrynm =grd_reptinfo.valueMatrix(srcRowIdx, grd_reptinfo.colRef("catgrynm"));
- // var yy = grd_reptinfo.valueMatrix(srcRowIdx, grd_reptinfo.colRef("yy"));
- // var apprtcdrflag = grd_reptinfo.valueMatrix(srcRowIdx, grd_reptinfo.colRef("apprtcdrflag"));
- // var catgrysortseq = grd_reptinfo.valueMatrix(srcRowIdx, grd_reptinfo.colRef("catgrysortseq"));
- // if( p_rows== destRowIdx){
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("yy")) = yy;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("apprtcdrflag")) = apprtcdrflag;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgryuseyn")) = 'Y';
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("itemuseyn")) = 'Y';
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgrysortseq")) = parseFloat(catgrysortseq)+1;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("sortseq")) = '1';
- // grd_reptinfo.isReadOnly(destRowIdx.row, grd_reptinfo.colRef("catgryid")) = false;
- //
- // }else{
- // grd_reptinfo.isReadOnly(destRowIdx.row, grd_reptinfo.colRef("catgryid")) = true;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgryid")) = catgryid;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgrynm")) = catgrynm;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("yy")) = yy;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("apprtcdrflag")) = apprtcdrflag;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgryuseyn")) = "Y";
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("itemuseyn")) = 'Y';
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgrysortseq")) = catgrysortseq;
- //
- //
- //
- // }
-
- /* for (var i=0; i<grd_reptinfo.cols; i++)
- {
- grd_reptinfo.valueMatrix(destRowIdx, i) = grd_reptinfo.valueMatrix(srcRowIdx, i);
- }
-
- var catgryid = grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgryid"));
-
-
- grd_reptinfo.col = grd_reptinfo.colRef("qestcnts");*/
-
-
- // grd_reptinfo.dispatch("onrowchanged");
- //
- // grd_reptinfo.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_delqest" class="btn2_letter3" style="left:1070px; top:45px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_ngdtregtermlist, "D");
- ]]>
- </script>
- </button>
- <button id="btn_execl" class="btn2_letter4" style="left:1125px; top:45px; 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_ngdtregtermlist.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:true;rowhiddenextend:false;exportfalsecols:0,0;col_1:value;");
- }
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter4" style="left:505px; top:45px; width:59px; height:19px; ">
- <caption>전체선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for (var i = grd_ngdtregtermlist.fixedRows; i<grd_ngdtregtermlist.rows; i++) {
- grd_ngdtregtermlist.valueMatrix(i, grd_ngdtregtermlist.colRef("smsyn")) = 'Y';
- }
- // var p_row = grd_reptinfo.row;
- // var p_rows = grd_reptinfo.rows;
- // grd_reptinfo.insertRow(p_row,"below", "false", "true");
- // var srcRowIdx = grd_reptinfo.row - 1;
- // var destRowIdx = grd_reptinfo.row;
- // var catgryid =grd_reptinfo.valueMatrix(srcRowIdx, grd_reptinfo.colRef("catgryid"));
- // var catgrynm =grd_reptinfo.valueMatrix(srcRowIdx, grd_reptinfo.colRef("catgrynm"));
- // var yy = grd_reptinfo.valueMatrix(srcRowIdx, grd_reptinfo.colRef("yy"));
- // var apprtcdrflag = grd_reptinfo.valueMatrix(srcRowIdx, grd_reptinfo.colRef("apprtcdrflag"));
- // var catgrysortseq = grd_reptinfo.valueMatrix(srcRowIdx, grd_reptinfo.colRef("catgrysortseq"));
- // if( p_rows== destRowIdx){
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("yy")) = yy;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("apprtcdrflag")) = apprtcdrflag;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgryuseyn")) = 'Y';
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("itemuseyn")) = 'Y';
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgrysortseq")) = parseFloat(catgrysortseq)+1;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("sortseq")) = '1';
- // grd_reptinfo.isReadOnly(destRowIdx.row, grd_reptinfo.colRef("catgryid")) = false;
- //
- // }else{
- // grd_reptinfo.isReadOnly(destRowIdx.row, grd_reptinfo.colRef("catgryid")) = true;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgryid")) = catgryid;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgrynm")) = catgrynm;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("yy")) = yy;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("apprtcdrflag")) = apprtcdrflag;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgryuseyn")) = "Y";
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("itemuseyn")) = 'Y';
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgrysortseq")) = catgrysortseq;
- // }
-
- /* for (var i=0; i<grd_reptinfo.cols; i++)
- {
- grd_reptinfo.valueMatrix(destRowIdx, i) = grd_reptinfo.valueMatrix(srcRowIdx, i);
- }
-
- var catgryid = grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgryid"));
-
-
- grd_reptinfo.col = grd_reptinfo.colRef("qestcnts");*/
-
-
- // grd_reptinfo.dispatch("onrowchanged");
- //
- // grd_reptinfo.refresh();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter6" style="left:571px; top:45px; width:86px; height:19px; ">
- <caption>전체선택취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for (var i=grd_ngdtregtermlist.fixedRows; i<grd_ngdtregtermlist.rows; i++) {
- grd_ngdtregtermlist.valueMatrix(i, grd_ngdtregtermlist.colRef("smsyn")) = 'N';
- }
- // var p_row = grd_reptinfo.row;
- // var p_rows = grd_reptinfo.rows;
- // grd_reptinfo.insertRow(p_row,"below", "false", "true");
- // var srcRowIdx = grd_reptinfo.row - 1;
- // var destRowIdx = grd_reptinfo.row;
- // var catgryid =grd_reptinfo.valueMatrix(srcRowIdx, grd_reptinfo.colRef("catgryid"));
- // var catgrynm =grd_reptinfo.valueMatrix(srcRowIdx, grd_reptinfo.colRef("catgrynm"));
- // var yy = grd_reptinfo.valueMatrix(srcRowIdx, grd_reptinfo.colRef("yy"));
- // var apprtcdrflag = grd_reptinfo.valueMatrix(srcRowIdx, grd_reptinfo.colRef("apprtcdrflag"));
- // var catgrysortseq = grd_reptinfo.valueMatrix(srcRowIdx, grd_reptinfo.colRef("catgrysortseq"));
- // if( p_rows== destRowIdx){
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("yy")) = yy;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("apprtcdrflag")) = apprtcdrflag;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgryuseyn")) = 'Y';
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("itemuseyn")) = 'Y';
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgrysortseq")) = parseFloat(catgrysortseq)+1;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("sortseq")) = '1';
- // grd_reptinfo.isReadOnly(destRowIdx.row, grd_reptinfo.colRef("catgryid")) = false;
- //
- // }else{
- // grd_reptinfo.isReadOnly(destRowIdx.row, grd_reptinfo.colRef("catgryid")) = true;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgryid")) = catgryid;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgrynm")) = catgrynm;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("yy")) = yy;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("apprtcdrflag")) = apprtcdrflag;
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgryuseyn")) = "Y";
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("itemuseyn")) = 'Y';
- // grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgrysortseq")) = catgrysortseq;
- //
- //
- //
- // }
-
- /* for (var i=0; i<grd_reptinfo.cols; i++)
- {
- grd_reptinfo.valueMatrix(destRowIdx, i) = grd_reptinfo.valueMatrix(srcRowIdx, i);
- }
-
- var catgryid = grd_reptinfo.valueMatrix(destRowIdx, grd_reptinfo.colRef("catgryid"));
-
-
- grd_reptinfo.col = grd_reptinfo.colRef("qestcnts");*/
-
-
- // grd_reptinfo.dispatch("onrowchanged");
- //
- // grd_reptinfo.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_systemflag" ref="/root/init/systemflag" visibility="hidden" style="left:685px; top:45px; width:100px; height:20px; "/>
- <input id="input4" ref="/root/init/mptable/mpphonno" visibility="hidden" style="left:815px; top:45px; width:100px; height:19px; "/>
- <datagrid id="grd_msg" nodeset="/root/main/smsdata/recvrlist" visibility="hidden" caption="체크여부^이름^전화번호" colsep="^" colwidth="30, 50, 70" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:295px; top:440px; width:60px; height:60px; ">
- <col ref="chk"/>
- <col ref="recvrnm"/>
- <col ref="recvrtelno"/>
- </datagrid>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1130px; top:3px; width:56px; height:22px; text-align:left; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!checkKeyColumn("grd_ngdtregtermlist")) return;
- misfSave("TXRTS03001");
- btn_search.dispatch("DOMActivate");
- model.refresh();
- // var retMes = messageBox("저장 하시겠습니까?", "Q999");
- // if ( retMes != 6) {
- // return;
- // }
- //
- // model.setValue("/root/send/save", grd_ngdtschelist.getUpdateData("update"));
- //
- // if (submit("TXRTS01201"))
- // {
- // grd_ngdtschelist.clearStatus();
- // }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|