123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461 |
- <?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>
- <mainlist>
- <reptlist>
- <acptdd/>
- <reptkind/>
- <subjno/>
- <cmpynm/>
- <itemnm/>
- <resercnfmyn/>
- <reserrtnresn/>
- <instcd/>
- <subjid/>
- <reptseqno/>
- <subjnm/>
- <roothospidxcasecnt/>
- <judgappdg/>
- <reptseqno/>
- <totstdycost/>
- <direccost/>
- <judgdd/>
- <irbjudgappdg/>
- <inptflag/>
- <rc/>
- <croinstcd/>
- <publicyn/>
- </reptlist>
- </mainlist>
- </main>
- <send>
- <data>
- <resercnfmyn>1</resercnfmyn>
- <reptkind/>
- <acptdd1/>
- <acptdd2/>
- <cmpynm/>
- <itemnm/>
- <userid>10301936</userid>
- <screenmenu/>
- </data>
- <searchitem>
- <instcd/>
- <subjid/>
- <reptkind/>
- </searchitem>
- <searchitem2>
- <instcd/>
- <subjid/>
- <reptseqno/>
- <reptkind/>
- <judgappdg/>
- <roothospidxcasecnt/>
- <subjno/>
- <subjnm/>
- <totstdycost/>
- <direccost/>
- <autosrchyn/>
- <actionyn/>
- <judgdd/>
- <resercnfmyn/>
- </searchitem2>
- <data2>
- <subjid/>
- <instcd/>
- <confyn/>
- <reserrtnresn/>
- <reptkind/>
- <reptseqno/>
- <screenmenu/>
- <inptflag/>
- <rc/>
- <croinstcd/>
- <publicyn/>
- </data2>
- </send>
- <hidden>
- <item/>
- </hidden>
- </root>
- </instance>
- <submission id="TRISB02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="/root/main/mainlist"/>
- <submission id="TXISB02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" replace="instance" resultref="/root/hidden"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/data/acptdd1", (((getCurrentDate()).toDate("YYYYMMDD")).getAddDate(-1,"Y")).getDateFormat("YYYYMMDD") );
- model.setValue("/root/send/data/acptdd2", getCurrentDate());
-
- model.setValue("/root/send/data/screenmenu", getScreenMenuParameter());
- //Test
- //model.setValue("/root/send/data/screenmenu", "R" );
-
- var screenmenu = model.getValue("/root/send/data/screenmenu");
-
-
- /*if ( screenmenu == 'C' ) {
- grd_reptlist.caption = "의뢰일자^보고서종류^과제번호^의뢰자^품목명^의뢰자확인^의뢰자반려사유^instcd^subjid^reptseqno^subjnm^roothospidxcasecnt^judgappdg^reptseqno";
- } else {
- //grd_reptlist.caption = "의뢰일자^보고서종류^과제번호^의뢰자^품목명^연구자확인^연구자반려사유^instcd^subjid^reptseqno^subjnm^roothospidxcasecnt^judgappdg^reptseqno";
- grd_reptlist.caption = "작성자^의뢰일자^보고서종류^과제번호^의뢰자^품목명^연구자확인^연구자반려사유^instcd^subjid^reptseqno^subjnm^roothospidxcasecnt^judgappdg^reptseqno^caption1^caption3^caption4";
- }*/
- //20090518 이창록 수정
- if ( screenmenu == "C" ) {
- grd_reptlist.colHidden(grd_reptlist.colRef("rc"))=true;
- }
- submit("TRISB02001");
- //model.refresh();
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- </xhtml:head>
- <xhtml:body>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:14px; ">
- <caption id="caption120" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">각종보고서확인</caption>
- </group>
- <group id="group3" style="left:0px; top:15px; width:1194px; height:37px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption11" class="search_name" style="left:10px; top:8px; width:86px; height:17px; text-align:left; ">확인유무 :</caption>
- <select1 id="combo1" ref="/root/send/data/resercnfmyn" class="combo_search" appearance="minimal" style="left:99px; top:8px; width:71px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>확인</label>
- <value>2</value>
- </item>
- <item>
- <label>미확인</label>
- <value>1</value>
- </item>
- <item>
- <label>반려</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:445px; top:8px; width:86px; height:17px; text-align:left; ">의뢰일자 :</caption>
- <caption id="caption2" class="search_name" style="left:731px; top:8px; width:86px; height:17px; text-align:left; ">의뢰자 :</caption>
- <input id="ipt_itemnm" ref="/root/send/data/cmpynm" class="input_search" style="left:805px; top:8px; width:100px; height:17px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_sea" class="btn1_letter2" _auth="R" style="left:1127px; top:6px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRISB02001");
- //model.setValue("/root/send/srchitemnm",model.getValue("/root/send/srchitemnm")+"%");
- //submit("TRIIS01101");
- //model.setValue("/root/send/srchitemnm","");
- //model.refresh();
-
- ]]>
- </script>
- </button>
- <line id="line1" class="line_4" style="x1:1117px; y1:9px; x2:1117px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="combo2" ref="/root/send/data/reptkind" class="combo_search" appearance="minimal" style="left:280px; top:8px; width:160px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>보완답변서</label>
- <value>1</value>
- </item>
- <item>
- <label>중간보고서</label>
- <value>2</value>
- </item>
- <item>
- <label>SAE(원내)</label>
- <value>3</value>
- </item>
- <item>
- <label>SAE(원외)</label>
- <value>4</value>
- </item>
- <item>
- <label>변경계획서</label>
- <value>5</value>
- </item>
- <item>
- <label>종료보고서</label>
- <value>6</value>
- </item>
- <item>
- <label>결과보고서</label>
- <value>7</value>
- </item>
- <item>
- <label>지속심의서</label>
- <value>8</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:176px; top:8px; width:99px; height:17px; text-align:left; ">보고서종류 :</caption>
- <input id="input1" ref="/root/send/data/itemnm" class="input_search" style="left:990px; top:8px; width:120px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption4" class="search_name" style="left:916px; top:8px; width:86px; height:17px; text-align:left; ">품목명 :</caption>
- <input id="ipt_date1" ref="/root/send/data/acptdd1" class="input_default" inputtype="date" style="left:535px; top:7px; width:90px; height:19px; "/>
- <input id="ipt_date2" ref="/root/send/data/acptdd2" class="input_default" inputtype="date" style="left:630px; top:7px; width:90px; height:19px; "/>
- </group>
- <line id="line2" class="line_1" style="x1:5px; y1:55px; x2:1195px; y2:55px; "/>
- <iviewer id="iviewer1" style="left:0px; top:290px; width:1195px; height:475px; "/>
- <line id="line9" class="line_3" style="x1:5px; y1:267px; x2:1195px; y2:267px; "/>
- <caption id="caption13" class="tit_2" style="left:10px; top:275px; width:140px; height:13px; ">작성된 내용</caption>
- <caption id="caption85" class="tit_2" style="left:352px; top:273px; width:120px; height:14px; ">확인여부</caption>
- <caption id="caption86" class="tit_2" style="left:750px; top:273px; width:70px; height:13px; ">반려사유</caption>
- <datagrid id="grd_reptlist" nodeset="/root/main/mainlist/reptlist" caption="작성자^의뢰일자^보고서종류^과제번호^의뢰자^품목명^연구자확인^연구자반려사유^instcd^subjid^reptseqno^subjnm^roothospidxcasecnt^judgappdg^reptseqno^caption1^caption3^caption4" colsep="^" colwidth="96, 100, 100, 100, 150, 150, 95, 349, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:5px; top:60px; width:1190px; height:205px; ">
- <col disabled="true" ref="rc" type="combo">
- <choices>
- <item>
- <label>책임연구자</label>
- <value>R</value>
- </item>
- <item>
- <label>의뢰자</label>
- <value>C</value>
- </item>
- <item>
- <label>공동연구자</label>
- <value>P</value>
- </item>
- </choices>
- </col>
- <col ref="acptdd" type="inputdate"/>
- <col disabled="true" ref="reptkind" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>보완답변서</label>
- <value>1</value>
- </item>
- <item>
- <label>중간보고서</label>
- <value>2</value>
- </item>
- <item>
- <label>SAE(원내)</label>
- <value>3</value>
- </item>
- <item>
- <label>SAE(원외)</label>
- <value>4</value>
- </item>
- <item>
- <label>변경계획서</label>
- <value>5</value>
- </item>
- <item>
- <label>종료보고서</label>
- <value>6</value>
- </item>
- <item>
- <label>결과보고서</label>
- <value>7</value>
- </item>
- <item>
- <label>지속심의서</label>
- <value>8</value>
- </item>
- <item>
- <label>변동/위반보고서</label>
- <value>A</value>
- </item>
- <item>
- <label>연구자보고서</label>
- <value>B</value>
- </item>
- </choices>
- </col>
- <col ref="subjno"/>
- <col ref="cmpynm"/>
- <col ref="itemnm"/>
- <col disabled="true" ref="resercnfmyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>미확인</label>
- <value>1</value>
- </item>
- <item>
- <label>확인</label>
- <value>2</value>
- </item>
- <item>
- <label>반려</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- <col ref="reserrtnresn"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="subjid" visibility="hidden"/>
- <col ref="reptseqno" visibility="hidden"/>
- <col ref="subjnm" visibility="hidden"/>
- <col ref="roothospidxcasecnt" visibility="hidden"/>
- <col ref="judgappdg" visibility="hidden"/>
- <col ref="reptseqno" visibility="hidden"/>
- <col ref="inptflag" visibility="hidden"/>
- <col ref="croinstcd" visibility="hidden"/>
- <col ref="publicyn" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( isDataCell() ) {
- model.setValue("/root/send/data2/subjid",model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/subjid"));
- model.setValue("/root/send/data2/instcd",model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/instcd"));
- model.setValue("/root/send/data2/reptkind",model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/reptkind"));
-
-
- model.setValue("/root/send/data2/reptseqno",model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/reptseqno"));
- model.setValue("/root/send/data2/inptflag",model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/inptflag"));
- model.setValue("/root/send/data2/rc",model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/rc"));
- model.setValue("/root/send/data2/croinstcd",model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/croinstcd"));
- model.setValue("/root/send/data2/publicyn",model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/publicyn"));
-
- iviewer1.visible = true;
- model.setValue("/root/send/searchitem2/subjid", model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/subjid"));
- model.setValue("/root/send/searchitem2/instcd", model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/instcd"));
- model.setValue("/root/send/searchitem2/reptseqno", model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/reptseqno"));
- model.setValue("/root/send/searchitem2/reptkind", model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/reptkind"));
-
-
- model.setValue("/root/send/searchitem2/judgappdg", model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/judgappdg"));
- model.setValue("/root/send/searchitem2/judgdd", model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/judgdd"));
- model.setValue("/root/send/searchitem2/roothospidxcasecnt", model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/roothospidxcasecnt"));
- model.setValue("/root/send/searchitem2/subjno", model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/subjno"));
- model.setValue("/root/send/searchitem2/subjnm", model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/subjnm"));
- model.setValue("/root/send/searchitem2/resercnfmyn", model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/resercnfmyn"));
- model.setValue("/root/send/searchitem2/autosrchyn", "Y");
- setParameter("actionyn", "N");
-
- model.refresh();
-
- //해당 보고서별 iviewer 호출
- if ( model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/reptkind") == 1 ) {
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SSIRB00200_보완답변서.xrw";
- }
- else if ( model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/reptkind") == 2 ) {
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SSIRB00300_중간보고서.xrw";
- }
- else if ( model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/reptkind") == 3 )
- {
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SSIRB00500_SAE(원내).xrw";
- }
- else if ( model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/reptkind") == 4 ) {
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SSIRB00600_SAE(원외).xrw";
- }
- else if ( model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/reptkind") == 5 ) {
- //iviewer1.src = "../../reqsubjcmpyweb/xrw/SSIRB00700_변경계획서.xrw";
- setParameter("instcd", model.getValue("/root/send/searchitem2/instcd"));
- setParameter("subjid", model.getValue("/root/send/searchitem2/subjid"));
- setParameter("reptseqno", model.getValue("/root/send/searchitem2/reptseqno"));
- setParameter("reptkind", model.getValue("/root/send/searchitem2/reptkind"));
- setParameter("totstdycost", model.getValue("/root/send/searchitem2/totstdycost"));
- setParameter("direccost", model.getValue("/root/send/searchitem2/direccost"));
- setParameter("reqinstcd", model.getValue("/root/send/searchitem2/reqinstcd"));
- setParameter("actionyn", "N");
-
- // window.load("../../../crc/reqsubjcmpyweb/xrw/SPIRB00100_과제변경항목.xrw","modal","code", "left:200px; top:50px; width:1500px; height:540px;min:hidden;max:hidden;resize:false;" ,"", "");
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SPIRB00100_과제변경항목.xrw";
- }
- else if (model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/reptkind") == 6 ) {
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SSIRB00800_종료보고서.xrw";
- }
- else if ( model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/reptkind") == 7 ) {
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SSIRB00900_결과보고서.xrw";
- }
- else if ( model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/reptkind") == 8 ) {
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SSIRB00400_지속심의.xrw";
- }
- else if ( model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/reptkind") == "A" ) {
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SSIRB01100_변동위반보고서.xrw";
- }
- else if ( model.getValue("/root/main/mainlist/reptlist["+grd_reptlist.row+"]/reptkind") == "B" ) {
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SSIRB01200_연구자보고서.xrw";
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_save" class="btn5_letter2" _auth="X" style="left:1150px; top:270px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if ( model.getValue("/root/main/mainlist/reptlist["+ grd_reptlist.row +"]/irbjudgappdg") != '-' ) {
- messageBox("IRB 심의를 한 보고서입니다. 수정하실 수 없습니다.", "I999");
- return;
- }
-
- if ( model.getValue("/root/send/data2/confyn") == '3' && model.getValue("/root/send/data2/reserrtnresn") == "" ) {
- messageBox("반려사유는 필수입력항목입니다.", "I");
- return;
- } else if ( model.getValue("/root/send/data2/confyn") == '' ) {
- messageBox("확인여부를 선택하여 주십시오.", "I999");
- return;
- } else {
- model.setValue("/root/send/data2/screenmenu", model.getValue("/root/send/data/screenmenu"));
- submit("TXISB02001");
- /*
- if ( model.getValue("/root/send/data2/reptkind") == '5' && model.getValue("/root/send/data2/confyn") =='2' ) {
- if ( iviewer1.model.getValue("/root/main/updtsubj/item/direccost") != 0 || iviewer1.model.getValue("/root/main/updtsubj/item/direccost") != '' ) {
- setParameter("subjid", model.getValue("/root/send/data2/subjid"));
- setParameter("instcd", model.getValue("/root/send/data2/instcd"));
- open("SMISA00102");
- }
-
- } */
- }
-
- cmb_confyn.select(0);
- model.setValue("/root/send/data2/reserrtnresn","");
-
- submit("TRISB02001");
-
- ]]>
- </script>
- </button>
- <select1 id="cmb_confyn" ref="/root/send/data2/confyn" class="combo_search" appearance="minimal" style="left:422px; top:270px; width:293px; height:19px; ">
- <choices>
- <item>
- <label>- 선택 -</label>
- <value/>
- </item>
- <item>
- <label>미확인</label>
- <value>1</value>
- </item>
- <item>
- <label>확인</label>
- <value>2</value>
- </item>
- <item>
- <label>반려</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_reserrtnresn" ref="/root/send/data2/reserrtnresn" class="input_default" style="left:820px; top:270px; width:325px; height:19px; "/>
- </xhtml:body>
- </xhtml:html>
|