123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591 |
- <?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>
- <readappinfo>
- <master>
- <readapplist>
- <appno/>
- <appdd/>
- <appdeptcd/>
- <appid/>
- <apptype/>
- <appdetail/>
- <status/>
- <appreadfromdd/>
- <appreadtodd/>
- </readapplist>
- </master>
- <detail>
- <apppatlist>
- <apppatinfo>
- <acpt02/>
- <acpt04/>
- <acpt05/>
- <prntstatus/>
- <pid/>
- <pnm/>
- <orddeptnm/>
- <acptcontents/>
- </apppatinfo>
- </apppatlist>
- </detail>
- <pdetail>
- <patlist/>
- </pdetail>
- </readappinfo>
- <apvlcnt/>
- <deptengabbrinfo>
- <deptengabbrlist>
- <deptengabbr/>
- </deptengabbrlist>
- </deptengabbrinfo>
- <appudtcnt/>
- <attfileinfo>
- </attfileinfo>
- </main>
- <send>
- <cond>
- <appdeptcd/>
- <appid/>
- <acptstatus>01</acptstatus>
- <appfromdd/>
- <apptodd/>
- <appno/>
- <histno/>
- <pappyn/>
- <chrtflag/>
- </cond>
- <reqdata>
- <acptpatlist/>
- </reqdata>
- <rsnsrch/>
- </send>
- <init>
- <orddept/>
- <userlist/>
- <accresn/>
- <acptstatusinfo>
- <acptstatuslist>
- <cdnm>전체</cdnm>
- <cdid>-</cdid>
- </acptstatuslist>
- <acptstatuslist>
- <cdnm>신청</cdnm>
- <cdid>01</cdid>
- </acptstatuslist>
- <acptstatuslist>
- <cdnm>승인</cdnm>
- <cdid>02</cdid>
- </acptstatuslist>
- <acptstatuslist>
- <cdnm>부분승인</cdnm>
- <cdid>03</cdid>
- </acptstatuslist>
- <acptstatuslist>
- <cdnm>불가</cdnm>
- <cdid>04</cdid>
- </acptstatuslist>
- <acptstatuslist>
- <cdnm>보류</cdnm>
- <cdid>05</cdid>
- </acptstatuslist>
- </acptstatusinfo>
- <hardcd/>
- <resn>
- <resnlist/>
- </resn>
- <timer>60</timer>
- <interval/>
- <prntstatusinfo>
- <prntstatuslist>
- <cdid>01</cdid>
- <cdnm>신청</cdnm>
- </prntstatuslist>
- <prntstatuslist>
- <cdid>02</cdid>
- <cdnm>승인</cdnm>
- </prntstatuslist>
- <prntstatuslist>
- <cdid>04</cdid>
- <cdnm>불가</cdnm>
- </prntstatuslist>
- <prntstatuslist>
- <cdid>05</cdid>
- <cdnm>보류</cdnm>
- </prntstatuslist>
- <prntstatuslist>
- <cdid>-</cdid>
- <cdnm>-</cdnm>
- </prntstatuslist>
- </prntstatusinfo>
- <deptlist/>
- </init>
- <initinfo>
- <acptstatus>
- <cdnm>신청</cdnm>
- <cdid>01</cdid>
- </acptstatus>
- </initinfo>
- <temper/>
- <hardcode>
- </hardcode>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRMRI00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" replace="instance" resultref="/root/main/readprtlist"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMRI08101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/main/readappinfo/master"/>
- <submission id="TRMRI08102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/main/readappinfo/detail/apppatlist"/>
- <submission id="TRMRI08104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond/trgtno" resultref="/root/init/hardcd"/>
- <submission id="TRMQP00605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/attachfile"/>
- <submission id="TXMRI08102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/apvlcnt"/>
- <submission id="TRMRI03102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rsnsrch" resultref="/root/init/resn/resnlist"/>
- <submission id="TXMRI08104" mediatype="multipart/form-data" method="form-data-post" ref="/root/main/attfileinfo" resultref="/root/main/appudtcnt"/>
- <submission id="TRMRI08107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/main/readappinfo/detail/apppatlist"/>
- <submission id="TRMRI08109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata/viewdept" resultref="/root/init/deptlist/viewdept"/>
- <submission id="TRMRI08110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/main/readappinfo/pdetail"/>
- <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../emr/recmngtweb/js/SMMRI09000.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1200" pageheight="850" guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:130px; height:13px; ">의무기록 열람 승인</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:38px; x2:592px; y2:38px; "/>
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:44px; width:590px; height:61px; "/>
- <caption id="caption21" class="search_name" style="left:16px; top:55px; width:76px; height:17px; font-size:9pt; vertical-align:middle; ">신청부서</caption>
- <caption id="caption1" class="search_name" style="left:16px; top:81px; width:76px; height:17px; ">처리구분</caption>
- <caption id="caption3" class="search_name" style="left:213px; top:55px; width:67px; height:17px; vertical-align:middle; ">신청자</caption>
- <caption id="caption4" class="search_name" style="left:214px; top:81px; width:99px; height:17px; ">신청일</caption>
- <caption id="caption5" style="left:380px; top:83px; width:20px; height:20px; text-align:center; ">~</caption>
- <button id="btn_srch" class="btn1_letter2" style="left:527px; top:79px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <line id="line18" class="line_4" style="x1:522px; y1:49px; x2:522px; y2:99px; border-left-style:solid; "/>
- <caption id="caption7" class="tit_2" style="left:598px; top:22px; width:144px; height:13px; ">신청목록</caption>
- <datagrid id="grd_apppatlist" nodeset="/root/main/readappinfo/detail/apppatlist/apppatinfo" caption="승인^불가^보류^열람상태^출력^등록번호^성명^진료과^순번^사유^종이차트^종이차트^처리내용^신청자^신청일시^승인자^승인일시^appno^histno^appseqno" colsep="^" colwidth="54, 54, 54, 66, 42, 64, 53, 49, 1, 100, 35, 89, 184, 75, 122, 71, 128, 0, 0, 0" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:595px; top:43px; width:585px; height:731px; text-align:center; padding-bottom:0; ">
- <col ref="acpt02" type="checkbox" visibility="hidden"/>
- <col ref="acpt04" type="checkbox" visibility="hidden"/>
- <col ref="acpt05" type="checkbox" visibility="hidden"/>
- <col ref="acptstatus" type="combo">
- <choices>
- <item>
- <label>신청</label>
- <value>01</value>
- </item>
- <item>
- <label>승인</label>
- <value>02</value>
- </item>
- <item>
- <label>불가</label>
- <value>04</value>
- </item>
- <item>
- <label>보류</label>
- <value>05</value>
- </item>
- </choices>
- </col>
- <col ref="prntstatus" type="combo" visibility="visible">
- <choices>
- <itemset nodeset="/root/init/prntstatusinfo/prntstatuslist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pid"/>
- <col ref="pnm"/>
- <col ref="orddeptnm"/>
- <col ref="appseqno" visibility="hidden"/>
- <col ref="appdetail"/>
- <col ref="pappyn" type="output" style="width:50; text-align:center; "/>
- <col ref="pappdetail" type="output"/>
- <col ref="acptcontents" type="input"/>
- <col ref="apper"/>
- <col ref="appdt"/>
- <col ref="acpter"/>
- <col ref="acptdt"/>
- <col ref="appno"/>
- <col ref="histno"/>
- <col ref="appseqno"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( grd_apppatlist.isCell(event.target) )
- {
- if(grd_apppatlist.colRef("acptstatus") == '4'){
- fClickDetail();
- }
- if(grd_apppatlist.colRef("prntstatus") =='5'){
- fClickPrnDetail();
- }
-
-
- }
-
- if (grd_apppatlist.col == grd_apppatlist.colRef("acptstatus"))
- {
- var acptstatus = grd_apppatlist.valueMatrix(grd_apppatlist.row,grd_apppatlist.colRef("acptstatus"));
- model.makeValue("/root/temp/acptstatus",acptstatus);
- //model.refresh();
-
- }
-
- if (grd_apppatlist.col == grd_apppatlist.colRef("prntstatus"))
- {
- var prntstatus = grd_apppatlist.valueMatrix(grd_apppatlist.row,grd_apppatlist.colRef("prntstatus"));
- model.makeValue("/root/temp/prntstatus",prntstatus);
- //model.refresh();
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (grd_apppatlist.col == grd_apppatlist.colRef("acptstatus"))
- var row = grd_apppatlist.row;
- var acptstatus = grd_apppatlist.valueMatrix(grd_apppatlist.row,grd_apppatlist.colRef("acptstatus"))
- var pid = grd_apppatlist.valueMatrix( row, grd_apppatlist.colRef("pid"));
- var pnm = grd_apppatlist.valueMatrix( row, grd_apppatlist.colRef("pnm"));
- var itrgtNodeCnt = getNodeSetCnt("/root/tmp/secretepids/hardcd[hardcd = '" + pid + "']");
-
- if (acptstatus == "02" && itrgtNodeCnt > 0 ) {
- messageBox("해당환자("+pid+":"+pnm+")는 비밀유지 요청환자입니다. 참고하시기 바랍니다","I");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_apppatlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_save" class="btn4_letter2" disabled="false" visibility="hidden" style="left:1125px; top:14px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveReadExe();
- ]]>
- </script>
- </button>
- <select1 id="combo2" ref="/root/send/cond/acptstatus" class="combo_search" appearance="minimal" style="left:101px; top:81px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/acptstatusinfo/acptstatuslist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo3" ref="/root/send/cond/appid" navindex="3" appearance="minimal" style="left:283px; top:54px; width:82px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddeptcd" ref="/root/send/cond/appdeptcd" navindex="2" appearance="minimal" style="left:101px; top:54px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/deptlist/viewdept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removeNodeset("/root/init/userlist");
- model.makeNode("/root/init/userlist/usercombo");
- //조건값을 받아옴
- var getdept = model.getValue("/root/main/cond/orddeptcd");
- var getuser = model.getValue("/root/main/cond/orddrid");
- var getdd = model.getValue("/root/main/cond/orddd");
-
- //진료과를 조회하여 온다
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist", cmb_orddeptcd.value, "0330");
- addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
- model.setValue("/root/send/cond/appid", "-");
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="input18" ref="/root/send/cond/apptodd" class="input_s_essential" inputtype="date" style="left:402px; top:81px; width:95px; height:19px; "/>
- <input id="ipt_formrecdtfr" ref="/root/send/cond/appfromdd" class="input_s_essential" inputtype="date" style="left:283px; top:81px; width:95px; height:19px; "/>
- <button id="btn_acpt02_bkg" class="btn4_letter2" disabled="true" visibility="hidden" style="left:925px; top:15px; width:56px; height:22px; ">
- <caption>승인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var acpt02_cnt = instance1.selectNodes("/root/main/readappinfo/detail/apppatlist/apppatinfo[acpt02='true']");
- var acpt04_cnt = instance1.selectNodes("/root/main/readappinfo/detail/apppatlist/apppatinfo[acpt04='true']");
- var acpt05_cnt = instance1.selectNodes("/root/main/readappinfo/detail/apppatlist/apppatinfo[acpt05='true']");
-
- var checktotlength = acpt02_cnt.length + acpt04_cnt.length + acpt05_cnt.length;
- if ( checktotlength < grd_apppatlist.rows-1 )
- {
- messageBox("처리되지 않은 목록이","I010");
- }
-
- btn_save.dispatch("DOMActivate"); //저장 버튼 클릭 dispatch
-
- ]]>
- </script>
- </button>
- <button id="btn_acpt04_bkg" class="btn4_letter2" visibility="hidden" style="left:865px; top:15px; width:56px; height:22px; ">
- <caption>불가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_apppatlist.fixedcellischeck(0, grd_apppatlist.colRef("acpt02")) = false; //승인 모두 언체크
- grd_apppatlist.fixedcellischeck(0, grd_apppatlist.colRef("acpt04")) = true; //전체 불가처리
- grd_apppatlist.fixedcellischeck(0, grd_apppatlist.colRef("acpt05")) = false; //보류 모두 언체크
-
- btn_save.dispatch("DOMActivate"); //저장 버튼 클릭 dispatch
- ]]>
- </script>
- </button>
- <button id="btn_subtime" navindex="31" style="left:473px; top:12px; width:15px; height:20px; ">
- <caption>▼</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(ipt_timer.currentText > 0) {
- model.setValue("/root/init/timer", parseInt(model.getValue("/root/init/timer")) - 1);
- }else if(ipt_timer.currentText == 0 && btn_interval.attribute("text") == "수동조회") {
- window.clearinterval(gTimerID);
- btn_interval.attribute("text") = "자동조회";
- }
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="btn_addtime" navindex="32" style="left:473px; top:21px; width:15px; height:20px; ">
- <caption>▲</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.setValue("/root/init/timer", parseInt(model.getValue("/root/init/timer")) + 1);
- model.refresh();
-
- ]]>
- </script>
- </button>
- <output id="opt_interval" ref="/root/init/interval" class="output_fix" style="left:490px; top:15px; width:25px; height:19px; "/>
- <button id="btn_interval" class="btn2_letter4" navindex="33" style="left:518px; top:15px; width:64px; height:19px; ">
- <caption>자동조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSrchStartStop();
- ]]>
- </script>
- </button>
- <input id="ipt_timer" ref="/root/init/timer" class="input_search" navindex="30" style="left:444px; top:16px; width:25px; height:19px; text-align:center; ">
- <hint>
- <![CDATA[단위 : 초]]>
- </hint>
- </input>
- <button id="btn_auto" class="btn2_letter6" visibility="visible" style="left:675px; top:15px; width:86px; height:19px; ">
- <caption>자동승인세팅</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //var chkuser = model.getValue("/root/main/readappinfo/master/readapplist["+grd_readapplist.row+"]/jobkindnm");
- //if(chkuser ==''){
- // messageBox("권한이 없습니다.","I");
- // return;
- //}
- open("SMMRI07100");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn1_letter2" style="left:527px; top:50px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (switch1.selectedIndex == 0 ) {
- fsaveGridToExcel(grd_readapplist);
- }
- else {
- fsaveGridToExcel(grd_readapppaperlist);
- }
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:596px; y1:38px; x2:1179px; y2:38px; "/>
- <button id="btn_case1" class="btn_sw" visibility="visible" group="group" selected="true" style="left:0px; top:16px; width:35px; height:22px; text-align:center; cursor:hand; ">
- <caption>전체</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case1");
- model.toggle("case3");
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:0px; top:107px; width:585px; height:673px; ">
- <case id="case1" selected="true" style="left:0px; top:0px; width:590px; height:670px; ">
- <datagrid id="grd_readapplist" nodeset="/root/main/readappinfo/master/readapplist" class="datagrid2" caption="신청번호^신청번호^종이
차트^신청일자^신청과^신청자^직종^연락처^신청자id^열람목적코드^열람목적^주제^처리^서약서YN^종이챠트신청내용^이미지path^열람희망일^열람종료일^histstat^신청상태" colsep="^" colwidth="80, 27, 32, 69, 73, 66, 100, 100, 100, 23, 100, 100, 100, 0, 165, 0, 100, 100, 0, 100" dataheight="23" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:2px; width:585px; height:663px; ">
- <col ref="appno" style="text-align:left; "/>
- <col ref="histno" style="text-align:center; "/>
- <col ref="pappyn" style="text-align:center; "/>
- <col ref="appdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="appdeptcd" type="output" style="text-align:center; "/>
- <col ref="appnm" style="text-align:center; "/>
- <col ref="jobkindnm" style="text-align:center; "/>
- <col ref="apptel"/>
- <col ref="appid" visibility="hidden"/>
- <col ref="apptype" style="text-align:left; "/>
- <col ref="apptypenm"/>
- <col ref="appdetail"/>
- <col disabled="true" ref="acptstatus" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/acptstatusinfo/acptstatuslist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pledgeflag" visibility="hidden"/>
- <col ref="pappdetail" style="cursor:hand; "/>
- <col ref="pledgepath" visibility="hidden"/>
- <col ref="appreadfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="appreadtodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="histstat" visibility="hidden"/>
- <col ref="histstatnm" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if ( grd_readapplist.isCell(event.target) && grd_readapplist.row >= grd_readapplist.fixedRows )
- {
- fClickMaster();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_readapplist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="grd_readapppaperlist" nodeset="/root/main/readappinfo/pdetail/patlist" class="datagrid2" caption="신청번호^신청번호^신청일자^신청과^신청자^영상전환^차트번호^환자명^종이신청사유^열람목적코드^열람목적^주제^연락처" colsep="^" colwidth="66, 25, 83, 80, 57, 56, 62, 65, 100, 15, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:2px; width:580px; height:663px; ">
- <col ref="appno" style="text-align:center; "/>
- <col ref="histno" style="text-align:center; "/>
- <col ref="appdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="appdeptcd" style="text-align:center; "/>
- <col ref="appid" style="text-align:center; "/>
- <col ref="chrtflag" style="text-align:center; "/>
- <col ref="pid" style="text-align:right; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="pappdetail" style="text-align:left; "/>
- <col ref="apptype" style="text-align:left; "/>
- <col ref="apptypenm"/>
- <col ref="appdetail"/>
- <col ref="apptel"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if ( grd_readapppaperlist.isCell(event.target) && grd_readapppaperlist.row >= grd_readapppaperlist.fixedRows )
- {
- fSearchDetail();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_readapppaperlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <switch id="switch2" class="sw_no_border" style="left:395px; top:50px; width:95px; height:25px; ">
- <case id="case3">
- <select id="cbx_pappyn" ref="/root/send/cond/pappyn" overflow="visible" appearance="full" style="left:5px; top:5px; width:62px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Paper</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </case>
- <case id="case4" selected="true">
- <select id="cbx_chrtflag" ref="/root/send/cond/chrtflag" overflow="visible" appearance="full" style="left:5px; top:5px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>영상전환</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </case>
- </switch>
- <button id="btn_case2" class="btn_sw" visibility="visible" group="group" selected="true" style="left:35px; top:16px; width:35px; height:22px; text-align:center; cursor:hand; ">
- <caption>색출</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case2");
- model.toggle("case4");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter6" visibility="hidden" style="left:765px; top:15px; width:86px; height:19px; ">
- <caption>자동출력세팅</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //copyNodeType(reReadappListPath, ReadappListPath, "reflace");
- //model.copyNode(reReadappListPath, ReadappListPath);
- var AppPatListPath = "/root/main/readappinfo/detail/apppatlist/apppatinfo";
- var nodeCnt = getNodesetCount(AppPatListPath);
- var ReadappListPath = "/root/main/readappinfo/detail/apppatlist";
- var reReadappListPath = "/root/main/readappinfo/detail/apppatlistre";
-
- model.makeNode("/root/main/readappinfo/detail/apppatlistre");
- if ( button1.attribute("text") == "자동출력취소" ) {
- button1.attribute("text") = "자동출력셋팅";
- //model.makeNode("/root/main/readappinfo/detail/apppatlistre");
- //model.refresh();
- //model.removeNodeset("/root/main/readappinfo/detail/apppatlist");
-
- model.copyNode(ReadappListPath, reReadappListPath);
- model.refresh();
- } else {
- button1.attribute("text") = "자동출력취소";
- model.copyNode(reReadappListPath, ReadappListPath);
- for(var i = 1; i <= nodeCnt; i++){
- if(model.getValue(AppPatListPath + "[" + i + "]/prntstatus") == '01'){
- model.setValue(AppPatListPath + "[" + i + "]/prntstatus", "02");
- }
- }
- model.refresh();
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|