123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258 |
- <?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>
- <judgconf>
- <sjudgconf>
- <subjid/>
- <judgkind/>
- <judgappdg/>
- <instcd/>
- <judgconfkind/>
- <judgrslt/>
- <allpsnno/>
- <attntrpsnno/>
- <appcnt/>
- <rejtcnt/>
- <rejtresn/>
- <judgnonentry/>
- <nonentryresn/>
- <judgitem1/>
- <judgitem2/>
- <judgitem3/>
- <judgitem4/>
- <judgitem5/>
- <judgitem6/>
- <judgitem7/>
- <judgitem8/>
- <m/>
- <conftm/>
- <allentry/>
- <confplc/>
- <judgdd/>
- </sjudgconf>
- <subjinfo>
- <subjno/>
- <itemnm/>
- <comnm/>
- <respstdyempno/>
- <respstdynm/>
- <subjnm/>
- <cmpynm/>
- <roothospidxcasecnt/>
- </subjinfo>
- </judgconf>
- <temp>
- <conft/>
- <confd/>
- </temp>
- </main>
- <send>
- <srchjudgappdg/>
- <srchjudgkind/>
- <srchsubjid/>
- <srchinstcd/>
- <srchreptkind/>
- <srchreptseqno/>
- <report/>
- <rtnbtn/>
- <rtndate/>
- <rtnresn/>
- <searchitem2>
- <instcd/>
- <subjid/>
- <reptseqno/>
- <reptkind/>
- <judgappdg/>
- <roothospidxcasecnt/>
- <subjno/>
- <subjnm/>
- <totstdycost/>
- <direccost/>
- <autosrchyn/>
- <resercnfmyn/>
- </searchitem2>
- </send>
- <init>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- var judgappdg = opener.javascript.getParameter("judgappdg");
- var judgkind = opener.javascript.getParameter("judgkind");
- var instcd = opener.javascript.getParameter("instcd");
- var subjid = opener.javascript.getParameter("subjid");
- var confyn = opener.javascript.getParameter("confyn");
- var reptkind = opener.javascript.getParameter("reptkind");
- var reptseqno = opener.javascript.getParameter("reptseqno");
- var report = opener.javascript.getParameter("report");
- var nosave = opener.javascript.getParameter("nosave");
-
- model.setValue("/root/send/srchjudgappdg", judgappdg);
- model.setValue("/root/send/srchjudgkind", judgkind);
- model.setValue("/root/send/srchinstcd", instcd);
- model.setValue("/root/send/srchsubjid", subjid);
- model.setValue("/root/send/report", report);
- model.setValue("/root/send/srchreptkind", reptkind);
- model.setValue("/root/send/srchreptseqno", reptseqno);
-
- //보고서 조회에 필요한 값 설정
- model.setValue("/root/send/searchitem2/instcd", instcd);
- model.setValue("/root/send/searchitem2/subjid", subjid);
- model.setValue("/root/send/searchitem2/reptseqno",reptseqno);
- model.setValue("/root/send/searchitem2/reptkind", reptkind);
- model.setValue("/root/send/searchitem2/autosrchyn", "Y");
-
- if ( model.getValue("/root/send/srchjudgkind") == 'A' || model.getValue("/root/send/srchjudgkind") == 'B' ) {
- submit("TRIIA00168");
- } else {
- submit("TRIIA00165");
- }
-
- if(nosave =='Y'){
- button1.disabled=true;
- } else {
- button1.disabled=false;
- }
-
- model.setValue("/root/send/searchitem2/roothospidxcasecnt", model.getValue("/root/main/judgconf/subjinfo/roothospidxcasecnt"));
- model.setValue("/root/send/searchitem2/judgappdg", model.getValue("/root/main/judgconf/sjudgconf/judgappdg"));
- model.setValue("/root/send/searchitem2/subjno", model.getValue("/root/main/judgconf/subjinfo/subjno"));
- model.setValue("/root/send/searchitem2/subjnm", model.getValue("/root/main/judgconf/subjinfo/subjnm"));
- model.setValue("/root/send/searchitem2/resercnfmyn", "2");
- model.setValue("/root/send/searchitem2/autosrchyn", "Y");
-
- //해당 보고서별 iviewer 호출
- if ( reptkind == 1 ) {
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SSIRB00200_보완답변서.xrw";
- }
- else if ( reptkind == 2 ) {
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SSIRB00300_중간보고서.xrw";
- }
- else if ( reptkind == 3 ) {
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SSIRB00500_SAE(원내).xrw";
- }
- else if ( reptkind == 4 ) {
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SSIRB00600_SAE(원외).xrw";
- }
- else if ( 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");
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SPIRB00100_과제변경항목.xrw";
- }
- else if ( reptkind == 6 ) {
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SSIRB00800_종료보고서.xrw";
- }
- else if ( reptkind == 7 ) {
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SSIRB00900_결과보고서.xrw";
- }
- else if ( reptkind == 8 ) {
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SSIRB00400_지속심의.xrw";
- }
- else if ( reptkind == "A" ) {
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SSIRB01100_변동위반보고서.xrw";
- }
- else if ( reptkind == "B" ) {
- iviewer1.src = "../../reqsubjcmpyweb/xrw/SSIRB01200_연구자보고서.xrw";
- }
- else if (reptkind == 9 || reptkind == 0 ) {
- iviewer1.visible = false;
- }
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRIIA00165" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/judgconf"/>
- <submission id="TXIIA00136" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem2"/>
- <submission id="TRIIA00168" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/judgconf"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1220" pageheight="670" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group2" scroll="auto" style="left:0px; top:0px; width:1200px; height:640px; ">
- <caption id="caption35" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">보고서</caption>
- <button id="button19" class="btn2_letter2" style="left:820px; top:5px; width:42px; height:19px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line15" class="line_1" style="x1:5px; y1:25px; x2:860px; y2:25px; "/>
- <caption id="caption37" class="cell_1" style="left:5px; top:55px; width:95px; height:23px; text-align:center; vertical-align:middle; ">과제번호</caption>
- <input id="input32" ref="/root/main/judgconf/subjinfo/subjno" class="input_default" style="left:105px; top:57px; width:110px; height:19px; "/>
- <caption id="caption38" class="cell_1" style="left:5px; top:80px; width:95px; height:42px; text-align:center; vertical-align:middle; ">과제명</caption>
- <input id="input34" ref="/root/main/judgconf/subjinfo/itemnm" class="input_default" style="left:320px; top:57px; width:110px; height:19px; "/>
- <caption id="caption43" class="cell_1" style="left:220px; top:55px; width:95px; height:23px; text-align:center; vertical-align:middle; ">품목명</caption>
- <caption id="caption44" class="cell_1" style="left:435px; top:55px; width:95px; height:23px; text-align:center; vertical-align:middle; ">성분명</caption>
- <input id="input39" ref="/root/main/judgconf/subjinfo/comnm" class="input_default" style="left:535px; top:57px; width:110px; height:19px; "/>
- <caption id="caption47" class="cell_1" style="left:650px; top:55px; width:95px; height:23px; text-align:center; vertical-align:middle; ">시험책임자</caption>
- <input id="input40" ref="/root/main/judgconf/subjinfo/respstdynm" class="input_default" style="left:750px; top:57px; width:110px; height:19px; "/>
- <textarea id="textarea2" ref="/root/main/judgconf/subjinfo/subjnm" style="left:105px; top:80px; width:755px; height:42px; "/>
- <caption id="caption7" class="cell_1" style="left:5px; top:30px; width:95px; height:23px; text-align:center; vertical-align:middle; ">의뢰자</caption>
- <input id="input5" ref="/root/main/judgconf/subjinfo/cmpynm" class="input_default" style="left:105px; top:32px; width:755px; height:19px; "/>
- <iviewer id="iviewer1" style="left:5px; top:175px; width:1185px; height:460px; "/>
- <caption id="caption1" class="cell_1" style="left:5px; top:124px; width:95px; height:23px; text-align:center; vertical-align:middle; ">반려</caption>
- <caption id="caption2" class="cell_1" style="left:105px; top:125px; width:130px; height:23px; text-align:center; vertical-align:middle; ">반려일자</caption>
- <caption id="caption3" class="cell_1" style="left:240px; top:125px; width:620px; height:23px; text-align:center; vertical-align:middle; ">반려사유</caption>
- <input id="input1" ref="/root/send/rtnresn" class="input_default" disabled="true" style="left:240px; top:152px; width:620px; height:19px; "/>
- <input id="input2" ref="/root/send/rtndate" class="input_default" disabled="true" inputtype="date" style="left:105px; top:152px; width:130px; height:19px; "/>
- <bool id="bool1" ref="/root/send/rtnbtn" style="left:5px; top:152px; width:95px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue("/root/send/rtnbtn") == 'true') {
- input2.disabled = false;
- input1.disabled = false;
-
- input2.value = getCurrentDate();
- } else {
- input2.disabled = true;
- input1.disabled = true;
-
- input2.value = "";
- }
-
-
- ]]>
- </script>
- </bool>
- <button id="button1" class="btn5_letter2" _auth="X" style="left:770px; top:5px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( model.getValue("/root/send/rtnbtn") == 'true' && model.getValue("/root/send/rtnresn") == '' ) {
- messageBox("반려사유는 필수입력사항은", "I003");
- return;
- } else {
- submit("TXIIA00136");
- }
-
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|