123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614 |
- <?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>
- <orddrid/>
- <centcd/>
- <orddeptcd/>
- <subdeptcd/>
- <srchcond/>
- <fromdd/>
- <todd/>
- <drholiordsche>
- <drholiordschelist>
- <orddeptcd/>
- <orddrid/>
- <ordendresn/>
- <fromdd/>
- <todd/>
- <fromtodd/>
- <unitcnt/>
- <oupdtorddrnm/>
- <iupdtorddrnm/>
- <drappdd/>
- <lastupdtdt/>
- <remfact/>
- <layoffunitcnt/>
- <counta/>
- <centnm/>
- </drholiordschelist>
- </drholiordsche>
- <result/>
- <histstatcd/>
- <srchflag/>
- <endcnfmyn/>
- <prcsstat/>
- </main>
- <send>
- <holiflag/>
- <orddrid/>
- <orddeptcd/>
- <srchcond/>
- <fromdd/>
- <todd/>
- <updatedata>
- <datalist/>
- </updatedata>
- <ordendcnfmyn/>
- <acceptstatflag/>
- <histstat/>
- <endcnfmyn/>
- <prcsstat/>
- <subdeptcd/>
- <centcd/>
- </send>
- <init>
- <P0037list>
- <P0037>
- <cdnm/>
- <cdid/>
- </P0037>
- </P0037list>
- <P0406list>
- <P0406>
- <cdid/>
- <cdnm/>
- </P0406>
- </P0406list>
- <orddeptcd>
- <orddeptcdlist>
- <cd/>
- <nm/>
- </orddeptcdlist>
- </orddeptcd>
- <orddrid>
- <orddridlist>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddridlist>
- </orddrid>
- <P0464list>
- <P0464>
- <cdid/>
- <cdnm/>
- </P0464>
- </P0464list>
- </init>
- <hidden>
- <flag>
- <orddeptcd/>
- <orddrid/>
- <seqno/>
- <drappdd/>
- </flag>
- </hidden>
- <temp>
- <holilist/>
- <gridcnt/>
- <sum_unitcnt/>
- </temp>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(new Array("P0037","P0406", "P0464"), new Array("/root/init/P0037list","/root/init/P0406list", "/root/init/P0464list"));
- pamGetDeptCDDrIDList();
- addComboItem("cmb_orddeptcd","전체","","above");
- addComboItem("cmb_orddrid","전체","","above");
- model.refresh();
- fInitialize();
- ]]>
- </script>
- <submission id="TRPMP01702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/drholiordsche"/>
- <submission id="TRPMP01701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/drholiordsche"/>
- <submission id="TRZSD00207" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
- <submission id="TRZSD00208" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
- </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="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize(){
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main");
- model.resetInstanceNode("/root/main/drholiordsche/drholiordschelist");
-
- model.setValue("/root/main/srchflag","H");
- //조회조건 세팅
- model.setValue("/root/main/srchcond", 'R'); //휴진기간 조회로 세팅
- //end..
- model.setValue("/root/main/endcnfmyn", 'A');
- //날자 입력 항목에 오늘 날자 세팅
-
- var curDate = getCurrentDate();
- model.setValue("/root/main/fromdd", curDate);
- model.setValue("/root/main/todd", curDate);
-
- radio1.visible = true;
- caption1.visible = true;
- combo1.visible = true;
-
- radio1.attribute("left") = "758px";
- ipt_fromdd.attribute("left") = "873px";
- caption10.attribute("left") = "960px";
- ipt_todd.attribute("left") = "975px";
- // caption5.attribute("left") = "766px";
- // cmb_orddeptcd.attribute("left") = "845px";
- // caption7.attribute("left") = "951px";
- // cmb_orddrid.attribute("left") = "1044px";
- caption2.attribute("left") = "670px";
-
- grd_holische.colHidden(grd_holische.colRef("prcsstat")) = false;
- grd_holische.colHidden(grd_holische.colRef("ordendresn")) = false;
- grd_holische.colHidden(grd_holische.colRef("fromtodd")) = false;
- grd_holische.colHidden(grd_holische.colRef("fromdd")) = true;
- grd_holische.colHidden(grd_holische.colRef("ordtm")) = true;
- grd_holische.colHidden(grd_holische.colRef("counta")) = false;
- grd_holische.colHidden(grd_holische.colRef("drappdd")) = false;
- grd_holische.colHidden(grd_holische.colRef("fstrgstdt")) = false;
-
- model.refresh();
-
- }
-
- function fDataCheck( flag ){
-
- var ordendcnfmyn = "";
- for( var i = grd_holische.fixedRows; i < grd_holische.rows; i++){
- if( grd_holische.valueMatrix( i, grd_holische.colRef("check") ) == 'Y' ){
-
- if( flag == 'ok' ){
- if( 'Y' == model.getValue("/root/main/drholiordsche/drholiordschelist[" + i + "]/ordendcnfmyn")){
- messageBox("이미 마감확인 하신 휴진일정을 다시 마감확인 하실 수 없습니다.( " + i + " 번째 줄 확인! )", "E999", "");
- return false;
- }
- }else{
- if( 'Y' != model.getValue("/root/main/drholiordsche/drholiordschelist[" + i + "]/ordendcnfmyn")){
- messageBox("마감확인 하지 않은 휴진일정을 마감취소 하실 수 없습니다.( " + i + " 번째 줄 확인! )", "E999", "");
- return false;
- }
- }
- }
- }
-
- return true;
- }
-
- //의사휴진일정 조회
- function fSearchDrHoliSche(){
- var checkflag = model.getValue("/root/main/srchflag");
- model.setValue("/root/send/holiflag", model.getValue("/root/main/srchflag"));
- model.setValue("/root/send/prcsstat", model.getValue("/root/main/prcsstat"));
- model.setValue("/root/send/orddrid", model.getValue("/root/main/orddrid"));
- model.setValue("/root/send/orddeptcd", model.getValue("/root/main/orddeptcd"));
- model.setValue("/root/send/centcd", model.getValue("/root/main/centcd"));
- model.setValue("/root/send/subdeptcd", model.getValue("/root/main/subdeptcd"));
- model.setValue("/root/send/srchcond", model.getValue("/root/main/srchcond"));
- model.setValue("/root/send/fromdd", model.getValue("/root/main/fromdd"));
- model.setValue("/root/send/todd", model.getValue("/root/main/todd"));
-
- var srchflag = model.getValue("/root/main/srchflag");
- var prcsstat = model.getValue("/root/main/prcsstat");
-
- if( model.getValue("/root/send/srchcond") !='' && model.getValue("/root/send/fromdd") != "" && model.getValue("/root/send/todd") != "" ){
-
- if(srchflag == 'H'){
- submit("TRPMP01701");
-
- var histstat = model.getValue("/root/main/drholiordsche/drholiordschelist/histstat");
-
- /*if(prcsstat == ''){
- grd_holische.allStyle("all","background-color") = "#ffffff"; // 배경색을 초기화 한다.
- setRowStyle("grd_holische", "1","01","prcsstat","equal"); // 병실정보row의 색상을 변경한다.
- grd_holische.rebuild();
- }*/
-
- }else if(srchflag == 'T'){
- submit("TRPMP01702");
- }
- }else{
- messageBox("조회기간 정보를 입려하지", "E007");
- }
-
- model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:254px; height:14px; ">휴진 내역 조회</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:719px; ">
- <group id="group4" style="left:0px; top:14px; width:1194px; height:60px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption10" style="left:960px; top:9px; width:15px; height:19px; font-weight:bold; text-align:center; vertical-align:middle; ">~</caption>
- <select1 id="cmb_orddrid" ref="/root/main/orddrid" class="combo_default" appearance="minimal" style="left:448px; top:35px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:5px; top:35px; width:73px; height:17px; ">진료과 :</caption>
- <caption id="caption7" class="search_name" style="left:360px; top:35px; width:85px; height:17px; ">진료의사 :</caption>
- <select1 id="cmb_orddeptcd" ref="/root/main/orddeptcd" class="combo_default" appearance="minimal" style="left:95px; top:35px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + cmb_orddeptcd.value + "']";
- model.setValue("/root/main/orddrid", "");
- cmb_orddrid.refresh();
-
- cmb_subdeptcd.choices.itemset.attribute("nodeset") = "/root/init/subdeptcd/subdeptcdlist[dp = '"+ cmb_orddeptcd.value +"' or dp = '-']";
- cmb_subdeptcd.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="search_name" style="left:670px; top:9px; width:95px; height:17px; ">조회기간 :</caption>
- <input id="ipt_fromdd" ref="/root/main/fromdd" class="input_search" inputtype="date" style="left:873px; top:9px; width:85px; height:19px; "/>
- <input id="ipt_todd" ref="/root/main/todd" class="input_search" inputtype="date" style="left:975px; top:9px; width:85px; height:19px; "/>
- <select1 id="radio1" ref="/root/main/srchcond" appearance="full" cols="3" overflow="visible" style="left:758px; top:9px; width:115px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>신청일</label>
- <value>R</value>
- </item>
- <item>
- <label>휴진일</label>
- <value>H</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:5px; top:9px; width:97px; height:17px; ">조회구분 :</caption>
- <select1 id="combo6" ref="/root/main/srchflag" appearance="minimal" style="left:95px; top:9px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>휴진마감</label>
- <value>H</value>
- </item>
- <item>
- <label>부분마감</label>
- <value>T</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- if(model.getvalue("/root/main/srchflag") == "H"){
-
- model.removeNodeset("/root/main/drholiordsche/drholiordschelist");
-
- radio1.visible = true;
- caption1.visible = true;
- combo1.visible = true;
-
- caption2.attribute("left") = "670px";
- radio1.attribute("left") = "758px";
- ipt_fromdd.attribute("left") = "873px";
- caption10.attribute("left") = "960px";
- ipt_todd.attribute("left") = "975px";
- // caption5.attribute("left") = "766px";
- // cmb_orddeptcd.attribute("left") = "845px";
- // caption7.attribute("left") = "951px";
- // cmb_orddrid.attribute("left") = "1044px";
-
- grd_holische.colHidden(grd_holische.colRef("prcsstat")) = false;
- grd_holische.colHidden(grd_holische.colRef("ordendresn")) = false;
- grd_holische.colHidden(grd_holische.colRef("fromtodd")) = false;
- grd_holische.colHidden(grd_holische.colRef("fromdd")) = true;
- grd_holische.colHidden(grd_holische.colRef("ordtm")) = true;
- grd_holische.colHidden(grd_holische.colRef("counta")) = false;
- grd_holische.colHidden(grd_holische.colRef("drappdd")) = false;
- grd_holische.colHidden(grd_holische.colRef("fstrgstdt")) = false;
-
- caption8.visible = false;
- combo2.visible = false;
-
- model.refresh();
- }
-
- if(model.getvalue("/root/main/srchflag") == "T"){
-
- model.removeNodeset("/root/main/drholiordsche/drholiordschelist");
-
- //조회조건숨김
- caption1.visible = false;
- combo1.visible = false;
- //조회조건 위치 이동
- caption2.attribute("left") = "360px";
- radio1.attribute("left") = "453px";
- ipt_fromdd.attribute("left") = "578px";
- caption10.attribute("left") = "665px";
- ipt_todd.attribute("left") = "685px";
- // caption5.attribute("left") = "578px";
- // cmb_orddeptcd.attribute("left") = "650px";
- // caption7.attribute("left") = "761px";
- // cmb_orddrid.attribute("left") = "849px";
-
- //그리드 숨김
- grd_holische.colHidden(grd_holische.colRef("prcsstat")) = true;
- grd_holische.colHidden(grd_holische.colRef("ordendresn")) = false;
- grd_holische.colHidden(grd_holische.colRef("fromtodd")) = true;
- grd_holische.colHidden(grd_holische.colRef("fromdd")) = false;
- grd_holische.colHidden(grd_holische.colRef("ordtm")) = false;
- grd_holische.colHidden(grd_holische.colRef("counta")) = true;
- grd_holische.colHidden(grd_holische.colRef("drappdd")) = true;
- grd_holische.colHidden(grd_holische.colRef("fstrgstdt")) = false;
-
- caption8.visible = false;
- combo2.visible = false;
-
- model.refresh();
- }
-
- ]]>
- </script>
- </select1>
- <select1 id="combo1" ref="/root/main/prcsstat" appearance="minimal" style="left:449px; top:9px; width:101px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0464list/P0464">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line13" class="line_4" style="x1:1128px; y1:7px; x2:1128px; y2:55px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption1" class="search_name" style="left:360px; top:9px; width:97px; height:17px; ">진행상태 :</caption>
- <caption id="caption8" class="search_name" visibility="hidden" style="left:785px; top:35px; width:73px; height:17px; ">센터 :</caption>
- <select1 id="combo2" ref="/root/main/centcd" class="combo_default" visibility="hidden" appearance="minimal" style="left:874px; top:35px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/centcd/centcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /*cmb_orddeptcd.choices.itemset.attribute("nodeset") = "/root/init/orddeptcd/orddeptcdlist[cd = '" + cmb_orddeptcd.value + "']";
- model.setValue("/root/main/orddeptcd", "");
- cmb_orddeptcd.refresh(); */
-
- var centcd = model.getValue("/root/main/centcd");
- if( centcd == '' || centcd == '-' ){
-
- combo3.visible = false;
- cmb_orddeptcd.visible = true;
-
- model.setValue("/root/main/orddeptcd", '');
- model.setValue("/root/main/orddrid", '');
-
- cmb_orddeptcd.refresh();
- cmb_orddrid.refresh();
- }else{
- // var instcd = model.getValue("/root/hidden/session/sess_dutplceinstcd");
- var instcd = getUserInfo("dutplcecd");
- var deptcd = model.getValue("/root/main/centcd");
- var base_dd = new Date().getDateFormat("YYYYMMDD");
- var sort_field = "dispseq";//정렬필드(출력순서:'dispseq')
- var sort_method = "asc"; //정렬방법(오름차순:'asc')
- zsufGetCntrSubOrdDepartmentList(instcd, deptcd, 'O', "/root/hidden/init/cntrsuborddeptlist", base_dd);
-
- combo3.visible = true;
- cmb_orddeptcd.visible = false;
- model.setValue("/root/main/orddeptcd", '');
- model.setValue("/root/main/orddrid", '');
-
- cmb_orddeptcd.refresh();
- cmb_orddrid.refresh();
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_subdeptcd" ref="/root/main/subdeptcd" class="combo_default" appearance="minimal" style="left:200px; top:35px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/subdeptcd/subdeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + cmb_orddeptcd.value + "']";
- model.setValue("/root/main/orddrid", "");
- cmb_orddrid.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="combo3" ref="/root/main/orddeptcd" class="combo_default" visibility="hidden" appearance="minimal" style="left:95px; top:35px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/cntrsuborddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + cmb_orddeptcd.value + "']";
- model.setValue("/root/main/orddrid", "");
- cmb_orddrid.refresh();
-
- var orddeptcd = model.getValue("/root/main/orddeptcd");
-
- cmb_subdeptcd.choices.itemset.attribute("nodeset") = "/root/init/subdeptcd/subdeptcdlist[dp = '"+ orddeptcd +"' or dp = '-']";
- cmb_subdeptcd.refresh();
- ]]>
- </script>
- </select1>
- <button id="btn_search" class="btn1_letter2" style="left:1134px; top:22px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.removenode("/root/main/drholiordsche/drholiordschelist");
- model.resetInstanceNode("/root/main/drholiordsche/drholiordschelist");
-
-
- var endcnfmyn = model.getValue("/root/main/endcnfmyn");
-
- if(endcnfmyn == ''){
- messageBox("진행상태 정보를 입려하지", "E007");
- return;
- }
-
- fSearchDrHoliSche();
-
- //전체건수조회
- var cnt = getNodesetCount("/root/main/drholiordsche/drholiordschelist");
- model.setValue("/root/temp/gridcnt", cnt);
-
- var sum_unitcnt = 0;
-
- for(var i = 1; i <= cnt; i++) {
- sum_unitcnt = parseInt(model.getvalue("/root/main/drholiordsche/drholiordschelist[" + i + "]/layoffunitcnt")) + sum_unitcnt;
- }
-
- model.setValue("/root/temp/sum_unitcnt", sum_unitcnt);
-
- grd_holische.subtotalposition= "below";
-
- for(var i=1 ; i<22 ; i++){
- if (i ==grd_holische.colRef("counta")) {
- grd_holische.subtotal("sum",-1, i, "#,###", "", 1, "합계");
- }
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <col type="checkbox"/>
- <caption id="caption4" class="tit_2" style="left:6px; top:84px; width:219px; height:13px; ">휴진내역 조회 리스트</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:99px; x2:1194px; y2:99px; "/>
- <datagrid id="grd_holische" nodeset="/root/main/drholiordsche/drholiordschelist" class="datagrid2" caption="진행상태^진료과^센터명^진료의사^선택
진료^직위^휴진사유^휴진 및 임시진료기간^휴진일자^휴진시간^외래
예약^신청일^최초수정일시^비고^최초수정자^진료과코드^진료의ID^histstat^seqno" colsep="^" colwidth="80, 100, 120, 75, 40, 60, 160, 170, 100, 100, 45, 85, 135, 165, 72, 100, 100, 100, 100" dataheight="25" defaultrows="2" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:1px; top:105px; width:1194px; height:610px; ">
- <col ref="prcsstat" style="text-align:center; "/>
- <col ref="orddeptnm"/>
- <col ref="centnm"/>
- <col ref="orddrnm"/>
- <col ref="sp"/>
- <col ref="jobposcd"/>
- <col disabled="true" ref="ordendresn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0037list/P0037">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="fromtodd" style="text-align:center; "/>
- <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="ordtm" style="text-align:center; "/>
- <col ref="counta" style="text-align:center; "/>
- <col ref="drappdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="fstrgstdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <col ref="remfact" style="text-align:center; "/>
- <col ref="fstrgstrid" visibility="hidden"/>
- <col disabled="true" ref="orddeptcd" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrid" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddrid/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="histstat" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell() == true) {
-
- var cur_row = grd_holische.row;
-
- setParameter("orddeptcd",model.getValue("/root/main/drholiordsche/drholiordschelist[" + cur_row +"]/orddeptcd"));
- setParameter("orddrid",model.getValue("/root/main/drholiordsche/drholiordschelist[" + cur_row +"]/orddrid"));
- setParameter("drappdd",model.getValue("/root/main/drholiordsche/drholiordschelist[" + cur_row +"]/drappdd"));
- setParameter("seqno",model.getValue("/root/main/drholiordsche/drholiordschelist[" + cur_row +"]/seqno"));
- //setParameter("fromdd",model.getValue("/root/main/drholiordsche/drholiordschelist[" + cur_row +"]/fromdd"));
- //setParameter("todd",model.getValue("/root/main/drholiordsche/drholiordschelist[" + cur_row +"]/todd"));
- setParameter("fromdd", (model.getValue("/root/main/drholiordsche/drholiordschelist[" + cur_row +"]/fromtodd")).replace("-","").replace("-","").substring(0,8));
- setParameter("todd", (model.getValue("/root/main/drholiordsche/drholiordschelist[" + cur_row +"]/fromtodd")).replace("-","").replace("-","").replace("-","").replace("-","").substring(11,19));
- setParameter("orddeptnm",model.getValue("/root/main/drholiordsche/drholiordschelist[" + cur_row +"]/orddeptnm"));
- setParameter("orddrnm",model.getValue("/root/main/drholiordsche/drholiordschelist[" + cur_row +"]/orddrnm"));
- setParameter("centcd",model.getValue("/root/main/drholiordsche/drholiordschelist[" + cur_row +"]/centcd"));
- setParameter("centnm",model.getValue("/root/main/drholiordsche/drholiordschelist[" + cur_row +"]/centnm"));
-
- modal("SPPMP01800", "1","50", "50", "SPPMP01800", "/root/hidden/flag", "/root/hidden/source");
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_print" class="btn6_letter2" visibility="hidden" style="left:1134px; top:51px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.resetInstanceNode("/root/temp/holilist");
-
- var srchflag = model.getValue("/root/main/srchflag");
-
- if(srchflag == 'H'){
- fHolilistPrint();
- }else if(srchflag == 'T'){
- fTendPrint();
- }
-
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:734px; width:1195px; height:31px; ">
- <button id="btn_saveSche7" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|