123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>일자별보고서확인</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <studyprojinfo/>
- <rephistinfo/>
- <repinfo/>
- </main>
- <send>
- <searchproj>
- <instcd/>
- <studycd/>
- <rshid/>
- <projnm/>
- <chk/>
- <bstotiamt/>
- <bstotoamt/>
- <bstotjamt/>
- <projamt/>
- <reqfirm/>
- <rshnm/>
- <bsdd/>
- <fromdd/>
- <todd/>
- <daykind/>
- </searchproj>
- <searchrephist>
- <instcd/>
- <projcd/>
- <statushis/>
- <fromdd/>
- <todd/>
- <daykind/>
- </searchrephist>
- <searchrep>
- <instcd/>
- <projcd/>
- <reptcd/>
- <seqno/>
- </searchrep>
- <save>
- <savedata/>
- </save>
- <userinfo/>
- </send>
- <init>
- <rshinfo/>
- <status/>
- </init>
- <hidden>
- <instlist>
- <inst>
- <cdnm>본원</cdnm>
- <cdid>031</cdid>
- </inst>
- <inst>
- <cdnm>칠곡</cdnm>
- <cdid>032</cdid>
- </inst>
- </instlist>
- <statuslist>
- <status>
- <cdnm>진행</cdnm>
- <cdid>P</cdid>
- </status>
- <status>
- <cdnm>반려</cdnm>
- <cdid>R</cdid>
- </status>
- <status>
- <cdnm>제출</cdnm>
- <cdid>E</cdid>
- </status>
- <status>
- <cdnm>확인</cdnm>
- <cdid>A</cdid>
- </status>
- </statuslist>
- <docinfo>
- <signimge/>
- </docinfo>
- </hidden>
- <temp/>
- </root>
- </instance>
- <submission id="TRRIF02201" mediatype="application/x-www-form-urlencoded" method="form-data-post" ref="/root/send/searchproj" replace="instance" resultref="/root/main/studyprojinfo"/>
- <submission id="TRRIF02202" mediatype="application/x-www-form-urlencoded" method="form-data-post" ref="/root/send/searchrephist" replace="instance" resultref="/root/main/rephistinfo"/>
- <submission id="TRRIF02203" mediatype="application/x-www-form-urlencoded" method="form-data-post" ref="/root/send/searchrep" replace="instance" resultref="/root/main/repinfo"/>
- <submission id="TRRIF02204" mediatype="application/x-www-form-urlencoded" method="form-data-post" replace="instance" resultref="/root/init/rshinfo"/>
- <submission id="TXRIF02201" mediatype="application/x-www-form-urlencoded" method="form-data-post" ref="/root/send/save" replace="instance" resultref="/root/temp"/>
- <submission id="TRRIS00306" mediatype="application/x-www-form-urlencoded" method="form-data-post" ref="/root/send/searchrep" replace="instance" resultref="/root/main/projamt"/>
- <submission id="TRRIF01205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/docinfo/userid" resultref="/root/hidden/docinfo/signimge"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </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/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../mis/ctmsweb/js/SMRIS00101.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize(){
- switch1.selectedIndex = 1;
- model.makeValue("/root/send/searchproj/daykind","A");
- model.makeValue("/root/send/searchproj/fromdd",getCurrentDate());
- model.makeValue("/root/send/searchproj/todd",getCurrentDate());
-
- model.makeValue("/root/send/searchproj/instcd",getUserInfo("dutplceinstcd"));
- zbcfGetCodeList(new Array("I0010"), new Array("/root/init/status"));
-
- if (isPopup()) {
- var menuparam = opener.window.javascript.getParameter("SMRIF02200_menuparam");
-
- var rshid = opener.window.javascript.getParameter("SMRIF02200_rshid");
- var rshnm = opener.window.javascript.getParameter("SMRIF02200_rshnm");
- var studycd = opener.window.javascript.getParameter("SMRIF02200_studycd");
-
- model.makeValue("/root/send/searchproj/rshid", rshid );
- model.makeValue("/root/send/searchproj/rshnm", rshnm );
- model.makeValue("/root/send/searchproj/studycd", studycd );
- model.makeValue("/root/send/searchproj/chk", "Y" );
- model.makeValue("/root/send/searchrephist/statushis" , "E" );
- fSearch();
- model.refresh();
- }
- submit("TRRIF02204",false);
- fSetStatus();
- model.refresh();
- }
-
- function inputEnterKeySearch() {
- if(event.keyCode == "13") {
- setInputNodeCurText();
- fSearch();
- }
- }
-
- /* 과제 조회 */
- function fSearch(){
- submit("TRRIF02201",false);
- model.refresh();
- }
-
- /* 보고서내역 조회 */
- function fSearchReportHist(){
- var idx = grd_proj.row;
-
- submit("TRRIF02202",false);
-
- fInitRepDetail();
-
- model.refresh();
- }
-
- /* 보고서 조회 */
- function fSearchRep(selectedrow){
- var sREPINFO_PATH = "/root/main/repinfo";
- var sREPDETL_PATH = sREPINFO_PATH+ "/repdetl";
- var sREPMAIN_PATH = sREPINFO_PATH+"/repmain";
- var sREPFORM_PATH = sREPINFO_PATH+"/repform";
-
- var idx = selectedrow;
-
- var bstotiamt = "";
- var bstotoamt = "";
- var bstotjamt = "";
-
- model.makeValue("/root/send/searchrep/instcd" , model.getValue("/root/main/rephistinfo/rephistlist[" + idx + "]/instcd"));
- model.makeValue("/root/send/searchrep/projcd" , model.getValue("/root/main/rephistinfo/rephistlist[" + idx + "]/projcd"));
- model.makeValue("/root/send/searchrep/reptcd" , model.getValue("/root/main/rephistinfo/rephistlist[" + idx + "]/reptcd"));
- model.makeValue("/root/send/searchrep/seqno" , model.getValue("/root/main/rephistinfo/rephistlist[" + idx + "]/seqno"));
-
- if( submit("TRRIS00306") ){
- bstotiamt = model.getValue("/root/main/projamt/projamtlist/iamt");
- bstotoamt = model.getValue("/root/main/projamt/projamtlist/oamt");
- bstotjamt = model.getValue("/root/main/projamt/projamtlist/jamt");
- }
- submit("TRRIF02203");
- model.refresh();
-
- if(instance1.selectNodes(sREPFORM_PATH).length == 0){
- messageBox("해당 보고서는 개발 중","E008");
- fInitRepDetail();
- return;
- }
-
- var repdetl = instance1.selectNodes(sREPDETL_PATH);
- if( repdetl == null || repdetl.length == 0){
- messageBox("관련 데이타가","I004");
- fInitRepDetail();
-
- return;
- }
-
- model.makeValue("/root/send/searchproj/bstotiamt" , bstotiamt );
- model.makeValue("/root/send/searchproj/bstotoamt" , bstotoamt );
- model.makeValue("/root/send/searchproj/bstotjamt" , bstotjamt );
-
- iviewer1.src = "../../../"+model.getValue(sREPFORM_PATH+"/scrnurl");
-
- var repmain = instance1.selectNodes(sREPMAIN_PATH);
- iviewer1.window.javascript.fSetReport(getNodeListCSV(repmain),getNodeListCSV(repdetl));
-
- fCheckStatus();
- model.refresh();
- }
-
- /* 보고서 상세 초기화 */
- function fInitRepDetail(){
- model.removenode("/root/main/repinfo");
- model.makeNode("/root/main/repinfo");
- iviewer1.src = "SMRIF02110_보고서초기화면.xrw";
- fCheckStatus();
- model.refresh();
-
- }
-
- /* 상태체크(상태에 따라 item 설정 변경) */
- function fCheckStatus(){
- var status = model.getValue("/root/main/repinfo/repmain/status");
-
- if(status == "A"){
- cpt_status.value = "연구소확인" ;
- }else{
- cpt_status.value = "" ;
- }
- }
-
- /* 저장 */
- function fSave(vbtnnm){
-
- var grdObj = grd_bsrephist;
- var rowsize = grdObj.rows - grdObj.fixedRows;
- var grdnodeset = grdObj.attribute("nodeset");
- var status;
-
- if(vbtnnm == "btn_confirm"){
- status = "A";
- }else if(vbtnnm == "btn_confirm_cancel"){
- status = "E";
- }
- else if(vbtnnm == "btn_reject"){
- status = "R";
- }
-
- for(var i=1;i<=rowsize; i++){
- var chk = model.getValue(grdnodeset+"["+i+"]/chk");
- var rjtremark = model.getValue(grdnodeset+"["+i+"]/rjtremark");
-
- if(chk == "Y"){
- model.makeValue(grdnodeset+"["+i+"]/status",status);
- model.makeValue(grdnodeset+"["+i+"]/rjtremark",rjtremark);
- model.makeValue(grdnodeset+"["+i+"]/chk","N");
- }
- }
-
- model.makeValue("/root/send/save/savedata", grdObj.getUpdateData());
-
- submit("TXRIF02201",false);
-
- model.refresh();
- }
-
- function fSetUserinfo(){
- setParameter("search_condition","usernm");
- setParameter("resultref","/root/send/userinfo");
- modal("SPZSU10100");
-
- var userinfo = model.getValue("/root/send/userinfo");
- userinfo = userinfo.split("|");
- var rshid = userinfo[2];
- var rshnm = userinfo[3];
-
- model.makeValue("/root/send/searchproj/rshid" ,rshid);
- model.makeValue("/root/send/searchproj/rshnm" ,rshnm);
- model.resetInstanceNode("/root/send/userinfo");
- model.refresh();
- }
-
- function fSetStatus(){
-
- btn_reject.disabled = false;
- btn_confirm.disabled = false;
- btn_cancel.disabled = false;
-
- var status = radio1.value;
-
- if ( status == "P") {
- btn_reject.disabled = true;
- btn_confirm.disabled = true;
- btn_cancel.disabled = true;
- }
- if ( status == "R") {
- btn_reject.disabled = true;
- btn_confirm.disabled = false;
- btn_cancel.disabled = true;
- }
-
- if ( status == "E") {
- btn_reject.disabled = false;
- btn_confirm.disabled = false;
- btn_cancel.disabled = true;
- }
-
- if ( status == "A") {
- btn_reject.disabled = true;
- btn_confirm.disabled = true;
- btn_cancel.disabled = false;
- }
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1195px" pageheight="780px">
- <group id="group1" style="left:518px; top:27px; width:670px; height:747px; ">
- <input id="input9" ref="/root/main/repinfo/repmain/projamt" editable="false" format="#,###" style="left:251px; top:27px; width:92px; height:19px; font-family:돋움체; background-color:#ecebec; "/>
- <iviewer id="iviewer1" src="SMRIF02110_보고서초기화면.xrw" style="left:0px; top:74px; width:664px; height:669px; "/>
- <input id="ipt_prcpcd" ref="/root/main/repinfo/repmain/studycd" editable="false" style="left:72px; top:3px; width:95px; height:19px; font-family:돋움체; background-color:#ecebec; "/>
- <caption id="caption10" class="cell_1" style="left:169px; top:25px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">연구비총액</caption>
- <input id="input2" ref="/root/main/repinfo/repmain/rshnm" editable="false" style="left:426px; top:27px; width:76px; height:19px; font-family:돋움체; background-color:#ecebec; "/>
- <caption id="caption26" class="cell_1" style="left:0px; top:26px; width:70px; height:23px; font-family:돋움체; vertical-align:middle; ">의뢰기관</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:0px; width:70px; height:23px; font-family:돋움체; vertical-align:middle; ">과제번호</caption>
- <caption id="caption8" class="cell_1" style="left:344px; top:26px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">책임연구원</caption>
- <caption id="cap_goodflagengnm" class="cell_1" style="left:505px; top:26px; width:70px; height:23px; font-family:돋움체; vertical-align:middle; ">작성일자</caption>
- <input id="input5" ref="/root/main/repinfo/repmain/projnm" editable="false" style="left:169px; top:3px; width:497px; height:19px; font-family:돋움체; background-color:#ecebec; "/>
- <input id="input6" ref="/root/main/repinfo/repmain/bsdd" editable="false" inputtype="date" style="left:577px; top:27px; width:89px; height:19px; font-family:돋움체; background-color:#ecebec; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:24px; x2:659px; y2:24px; font-family:돋움체; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:48px; x2:659px; y2:48px; font-family:돋움체; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:72px; x2:659px; y2:72px; font-family:돋움체; "/>
- <line id="line6" class="line_3" style="x1:0px; y1:72px; x2:664px; y2:72px; font-family:돋움체; "/>
- <output id="opt_bstotjamt" ref="/root/send/searchproj/bstotjamt" class="output_fix" format="(-)#,###" style="left:426px; top:51px; width:76px; height:19px; text-align:right; "/>
- <output id="opt_bstotiamt" ref="/root/send/searchproj/bstotiamt" class="output_fix" format="(-)#,###" style="left:72px; top:51px; width:95px; height:19px; text-align:right; "/>
- <caption id="caption3" class="cell_2" style="left:344px; top:50px; width:80px; height:22px; font-family:돋움체; font-weight:bold; color:#ffffff; text-align:left; vertical-align:middle; ">잔 액</caption>
- <caption id="caption4" class="cell_2" style="left:0px; top:50px; width:70px; height:22px; font-family:돋움체; font-weight:bold; color:#ffffff; text-align:left; vertical-align:middle; ">입금액</caption>
- <caption id="caption5" class="cell_2" style="left:169px; top:50px; width:80px; height:22px; font-family:돋움체; font-weight:bold; color:#ffffff; text-align:left; vertical-align:middle; ">지출액</caption>
- <output id="opt_bstotoamt" ref="/root/send/searchproj/bstotoamt" class="output_fix" format="(-)#,###" style="left:251px; top:51px; width:92px; height:19px; text-align:right; "/>
- <output id="out_reqfirm" ref="/root/main/repinfo/repmain/reqfirm" class="output_fix" style="left:72px; top:27px; width:95px; height:19px; "/>
- </group>
- <line id="line7" class="line_3" style="x1:514px; y1:24px; x2:514px; y2:773px; border-color:#0000ff; "/>
- <line id="line8" class="line_1" style="x1:515px; y1:23px; x2:1185px; y2:23px; font-family:돋움체; "/>
- <caption id="caption1" class="tit_2" style="left:525px; top:7px; width:130px; height:13px; font-family:돋움체; ">보고서 상세 내용</caption>
- <select1 id="combo2" ref="/root/main/repinfo/repmain/status" visibility="hidden" appearance="minimal" style="left:655px; top:0px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/statuslist/status">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCheckStatus();
-
- ]]>
- </script>
- </select1>
- <caption id="cpt_status" style="left:930px; top:2px; width:160px; height:20px; font-weight:bold; color:#ff0000; text-align:right; "/>
- <button id="button1" class="btn1_letter5" navindex="100" style="left:1093px; top:1px; width:92px; height:22px; ">
- <caption>보고서관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPRIS00202");
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn3_letter2" navindex="97" style="left:1123px; top:76px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sREPDETLINFO_PATH="/root/main/repinfo";
-
- var prntform = model.getValue(sREPDETLINFO_PATH+"/repform/prntform");
- if(isNull(prntform)){
- messageBox("선택된 보고서가","I004");
- return;
- }
- var status = iviewer1.model.getValue("/root/main/repmain/status");
- if ( status != "A" ) {
- messageBox("연구소 확인상태의 보고서만 출력가능합니다","I");
- return;
- }
-
-
- model.makeValue("/root/send/docinfo/userid",model.getValue("/root/main/repinfo/repmain/rshid"));
- submit("TRRIF01205");
- iviewer1.window.javaScript.fSetDrSignData(model.getValue("/root/hidden/docinfo/signimge"));
- iviewer1.window.javaScript.fPrintReport(prntform);
-
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:0px; top:20px; width:510px; height:751px; ">
- <case id="case1" style="left:0px; top:0px; width:509px; height:749px; ">
- <group id="group2" style="left:0px; top:1px; width:508px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:508px; height:59px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button5" class="btn1_letter2" navindex="5" style="left:341px; top:29px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <caption id="caption20" class="search_name" style="left:10px; top:31px; width:123px; height:17px; ">과 제 번 호 :</caption>
- <select1 id="cmb_s_instcd" ref="/root/send/searchproj/instcd" disabled="true" navindex="3" visibility="hidden" appearance="minimal" style="left:460px; top:5px; width:25px; height:19px; background-color:#ecebec; ">
- <choices>
- <itemset nodeset="/root/hidden/instlist/inst">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- inputEnterKeySearch();
- ]]>
- </script>
- </select1>
- <input id="ipt_s_projnm" ref="/root/send/searchproj/projnm" visibility="hidden" style="left:425px; top:5px; width:25px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- inputEnterKeySearch();
- ]]>
- </script>
- </input>
- <input id="ipt_s_projcd" ref="/root/send/searchproj/studycd" style="left:123px; top:31px; width:215px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- inputEnterKeySearch();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- inputEnterKey("button5","DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption2" class="search_name" style="left:10px; top:8px; width:130px; height:17px; ">책임 연구원 :</caption>
- <select id="chk_s_yn" ref="/root/send/searchproj/chk" overflow="visible" appearance="full" style="left:339px; top:10px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>종결포함</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <button id="btn_useid" class="icon_search" navindex="5" style="left:319px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetUserinfo();
- ]]>
- </script>
- </button>
- <output id="output1" ref="/root/send/searchproj/rshnm" class="output_fix" style="left:210px; top:9px; width:105px; height:19px; "/>
- <output id="output2" ref="/root/send/searchproj/rshid" class="output_fix" style="left:123px; top:9px; width:85px; height:19px; "/>
- </group>
- <datagrid id="grd_proj" nodeset="/root/main/studyprojinfo/studyprojlist" class="datagrid2" scroll="auto" caption="기관코드^코드^책임연구원^책임연구원명^과제번호^과제명^상태" colsep="^" colwidth="17, 16, 14, 13, 100, 278, 49, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" selectionmode="byrow" tooltip="true" navindex="21" style="left:0px; top:65px; width:508px; height:364px; font-family:돋움체; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="projcd" visibility="hidden"/>
- <col ref="rshid" visibility="hidden"/>
- <col ref="rshnm" visibility="hidden"/>
- <col ref="studycd" style="text-align:center; "/>
- <col ref="projnm"/>
- <col disabled="true" ref="status" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/status/I0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="projamt" visibility="hidden"/>
- <col ref="reqfirm" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_proj.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- model.makeValue("/root/send/searchrephist/instcd" , model.getValue("/root/main/studyprojinfo/studyprojlist[" + grd_proj.row + "]/instcd"));
- model.makeValue("/root/send/searchrephist/projcd" , model.getValue("/root/main/studyprojinfo/studyprojlist[" + grd_proj.row + "]/projcd"));
- model.makeValue("/root/send/searchrephist/daykind" , "");
- model.makeValue("/root/send/searchrephist/fromdd" , "");
- model.makeValue("/root/send/searchrephist/todd" , "");
- fSearchReportHist();
-
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_rephist" nodeset="/root/main/rephistinfo/rephistlist" class="datagrid2" scroll="auto" caption="기관코드^과제코드^reptid^보고서코드^seqno^^작성일자^보고서명^확인일^작성자^상태" colsep="^" colwidth="4, 4, 7, 6, 7, 25, 68, 175, 78, 78, 51" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" selectionmode="byrow" tooltip="true" navindex="21" style="left:0px; top:458px; width:508px; height:287px; font-family:돋움체; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="projcd" visibility="hidden"/>
- <col ref="bsid" visibility="hidden"/>
- <col ref="reptcd" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="bsdd" format="yyyy-mm-dd"/>
- <col ref="reptnm"/>
- <col ref="sbmtdd" format="yyyy-mm-dd"/>
- <col ref="bsnm"/>
- <col disabled="true" ref="status" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/statuslist/status">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rephist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_rephist.col == grd_rephist.colRef("chk")) return;
- var selectedrow = grd_rephist.row;
- fSearchRep(selectedrow);
- ]]>
- </script>
- </datagrid>
- <caption id="caption34" class="tit_2" style="left:0px; top:439px; width:130px; height:13px; font-family:돋움체; ">보고서작성이력</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:61px; x2:508px; y2:61px; font-family:돋움체; "/>
- <line id="line3" class="line_1" style="x1:0px; y1:455px; x2:508px; y2:455px; font-family:돋움체; "/>
- <button id="btn_confirm" class="btn5_letter2" style="left:390px; top:433px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setAlertOn();
- fSave("btn_confirm");
- ]]>
- </script>
- </button>
- <select1 id="rdo_statushis" ref="/root/send/searchrephist/statushis" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:220px; top:435px; width:155px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>진행</label>
- <value>P</value>
- </item>
- <item>
- <label>제출</label>
- <value>E</value>
- </item>
- <item>
- <label>확인</label>
- <value>A</value>
- </item>
- </choices>
- </select1>
- <button id="btn_confirm_cancel" class="btn5_letter4" style="left:435px; top:433px; width:64px; height:19px; ">
- <caption>확인취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setAlertOn();
- fSave("btn_confirm_cancel");
- ]]>
- </script>
- </button>
- </case>
- <case id="case2" selected="true" style="left:0px; top:0px; width:509px; height:749px; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:508px; height:36px; background-color:#fffbf2; border-color:#ffd799; ">
- <![CDATA[>]]>
- </shape>
- <input id="input13" ref="/root/send/searchproj/todd" navindex="27" inputtype="date" style="left:260px; top:10px; width:100px; height:19px; "/>
- <caption id="caption24" style="left:245px; top:10px; width:15px; height:20px; ">~</caption>
- <input id="input1" ref="/root/send/searchproj/fromdd" navindex="26" inputtype="date" style="left:140px; top:10px; width:100px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="5" style="left:387px; top:9px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send/searchrephist/instcd" , getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/searchrephist/projcd" , "");
- model.makeValue("/root/send/searchrephist/fromdd" , model.getValue("/root/send/searchproj/fromdd"));
- model.makeValue("/root/send/searchrephist/todd" , model.getValue("/root/send/searchproj/todd"));
- model.makeValue("/root/send/searchrephist/daykind" , model.getValue("/root/send/searchproj/daykind"));
- fSearchReportHist();
- ]]>
- </script>
- </button>
- <datagrid id="grd_bsrephist" nodeset="/root/main/rephistinfo/rephistlist" class="datagrid2" scroll="auto" caption="기관코드^과제코드^reptid^보고서코드^seqno^^작성일자^상태^과제번호^보고서명^작성자^확인일^반려사유^." colsep="^" colwidth="4, 4, 7, 6, 7, 25, 68, 52, 105, 131, 82, 51, 194, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" selectionmode="byrow" tooltip="true" navindex="21" style="left:0px; top:70px; width:508px; height:675px; font-family:돋움체; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="projcd" visibility="hidden"/>
- <col ref="bsid" visibility="hidden"/>
- <col ref="reptcd" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="bsdd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="status" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/statuslist/status">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="studycd"/>
- <col ref="reptnm"/>
- <col ref="bsnm"/>
- <col ref="sbmtdd" format="yyyy-mm-dd"/>
- <col ref="rjtremark" type="input"/>
- <col/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_bsrephist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_bsrephist.col == grd_bsrephist.colRef("chk")) return;
- var selectedrow = grd_bsrephist.row;
- fSearchRep(selectedrow);
- ]]>
- </script>
- </datagrid>
- <caption id="caption11" class="tit_2" style="left:0px; top:50px; width:130px; height:13px; font-family:돋움체; ">보고서작성이력</caption>
- <line id="line10" class="line_1" style="x1:0px; y1:66px; x2:508px; y2:66px; font-family:돋움체; "/>
- <button id="button2" class="btn5_letter2" style="left:390px; top:45px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setAlertOn();
- fSave("btn_confirm");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <select1 id="radio1" ref="/root/send/searchrephist/statushis" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:120px; top:45px; width:200px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>진행</label>
- <value>P</value>
- </item>
- <item>
- <label>반려</label>
- <value>R</value>
- </item>
- <item>
- <label>제출</label>
- <value>E</value>
- </item>
- <item>
- <label>확인</label>
- <value>A</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- fSetStatus();
- btn_search.dispatch("DOMActivate");
-
- ]]>
- </script>
- </select1>
- <button id="btn_cancel" class="btn5_letter4" style="left:435px; top:45px; width:64px; height:19px; ">
- <caption>확인취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setAlertOn();
- fSave("btn_confirm_cancel");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <select1 id="cmb_daykind" ref="/root/send/searchproj/daykind" disabled="true" appearance="minimal" style="left:10px; top:10px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>작성일</label>
- <value>A</value>
- </item>
- <item>
- <label>확인일</label>
- <value>B</value>
- </item>
- </choices>
- </select1>
- <button id="btn_reject" class="btn5_letter2" style="left:340px; top:45px; width:42px; height:19px; ">
- <caption>반려</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setAlertOn();
- fSave("btn_reject");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <button id="button4" class="btn_sw" visibility="hidden" group="group" style="left:120px; top:0px; width:120px; height:22px; ">
- <caption>과제별 보고서 확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case1");
- model.removeNodeset("/root/main/rephistinfo");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button6" class="btn_sw" group="group" selected="true" style="left:0px; top:0px; width:120px; height:22px; ">
- <caption>일자별 보고서 확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case2");
- model.removeNodeset("/root/main/rephistinfo");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_spconn" class="btn3_letter6" style="left:859px; top:1px; width:104px; height:22px; ">
- <caption>과제연계관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("../../../pam/acquaintanceweb/xrw/SMPAM00402_임상연구과제연계관리.xrw", "", "", "" ,"", "", "");
- ]]>
- </script>
- </button>
- <button id="btn_reptpt" class="btn3_letter8" style="left:964px; top:1px; width:128px; height:22px; ">
- <caption>보고서별환자내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if (grd_bsrephist.row < 1) {
- messageBox("선택된 과제가 없습니다.", "E999");
- return;
- }
-
- var projcd = model.getValue("/root/main/rephistinfo/rephistlist[" + grd_bsrephist.row + "]/projcd");
-
- setParameter("SMPAM00403_projcd", projcd);
- open("../../../pam/acquaintanceweb/xrw/SMPAM00403_과제별환자내역.xrw", "", "", "" ,"", "", "");
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|