123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278 |
- <?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>Untitle</xhtml:title>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- submit("TRISR00006");
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function setViewTab() {
- var subjid = model.getValue("/root/init/subjid");
- if(subjid == "") return false;
- else return true;
- }
- function getSubjInfoSdy() {
- model.removeNodeset("/root/main/grid/sdysubjlst");
- submit("TRISR00002");
- model.refresh();
- }
- function setButton(boo) {
- button42.disabled = boo;
- button9.disabled = boo;
- button10.disabled = boo;
- }
- function set_iviewer() {
- model.resetInstanceNode("/root/main/selinfo");
- var judgkindcodet = model.getValue("/root/main/view/irsmsubjinfo/judgkindcode");
- var judgkindcode = judgkindcodet.split("!-");
-
- judgkindcode[0] == "1" ? model.setValue("/root/main/selinfo/item1", "1") : "";
- judgkindcode[1] == "2" ? model.setValue("/root/main/selinfo/item2", "2") : "";
- judgkindcode[2] == "3" ? model.setValue("/root/main/selinfo/item3", "3") : "";
-
- if(judgkindcode[3]== "4") {
- model.setValue("/root/main/selinfo/item4", "4");
- } else if(judgkindcode[3] == "5") {
- model.setValue("/root/main/selinfo/item4", "5");
- }
- if(judgkindcode[4] == "6") {
- model.setValue("/root/main/selinfo/item5", "6");
- } else if(judgkindcode[4] == "7") {
- model.setValue("/root/main/selinfo/item5", "7");
- }
- judgkindcode[5] == "8" ? model.setValue("/root/main/selinfo/item6", "8") : "";
- judgkindcode[6] == "9" ? model.setValue("/root/main/selinfo/item7", "9") : "";
- judgkindcode[7] == "10" ? model.setValue("/root/main/selinfo/item8", "10") : "";
- judgkindcode[8] == "11" ? model.setValue("/root/main/selinfo/item9", "11") : "";
- judgkindcode[9] == "12" ? model.setValue("/root/main/selinfo/item10", "12") : "";
-
- if(judgkindcode[10] == "13") {
- model.setValue("/root/main/selinfo/item11", "13");
- } else if(judgkindcode[10] == "14") {
- model.setValue("/root/main/selinfo/item11", "14");
- }
- if(judgkindcode[11] == "15") {
- model.setValue("/root/main/selinfo/item12", "15");
- } else if(judgkindcode[11] == "16") {
- model.setValue("/root/main/selinfo/item12", "16");
- }
- if(judgkindcode[12] == "17") {
- model.setValue("/root/main/selinfo/item13", "17");
- } else if(judgkindcode[12] == "18") {
- model.setValue("/root/main/selinfo/item13", "18");
- }
-
- judgkindcode[13] == "19" ? model.setValue("/root/main/selinfo/item14", "19") : "";
-
- if(judgkindcode[14] == "20") {
- model.setValue("/root/main/selinfo/item15", "20");
- } else if(judgkindcode[14] == "21") {
- model.setValue("/root/main/selinfo/item15", "21");
- }
- if(judgkindcode[15] == "22") {
- model.setValue("/root/main/selinfo/item16", "22");
- } else if(judgkindcode[15] == "23") {
- model.setValue("/root/main/selinfo/item16", "23");
- }
- if(judgkindcode[16] == "24") {
- model.setValue("/root/main/selinfo/item17", "24");
- } else if(judgkindcode[16] == "25") {
- model.setValue("/root/main/selinfo/item17", "25");
- }
- judgkindcode[17] == "26" ? model.setValue("/root/main/selinfo/item18", "26") : "";
- judgkindcode[18] == "27" ? model.setValue("/root/main/selinfo/item19", "27") : "";
- judgkindcode[19] == "28" ? model.setValue("/root/main/selinfo/item20", "28") : "";
- var acptyn = model.getValue("/root/main/view/irsmsubjinfo/acptyn");
-
- checkbox9.disabled = false;
- checkbox1.disabled = false;
- checkbox2.disabled = false;
- radio1.disabled = false;
- radio2.disabled = false;
- checkbox10.disabled = false;
- checkbox3.disabled = false;
- checkbox4.disabled = false;
- checkbox6.disabled = false;
- checkbox5.disabled = false;
- radio3.disabled = false;
- radio4.disabled = false;
- radio5.disabled = false;
- checkbox8.disabled = false;
- radio6.disabled = false;
- radio7.disabled = false;
- radio8.disabled = false;
- checkbox7.disabled = false;
- checkbox11.disabled = false;
- checkbox12.disabled = false;
- if(acptyn == "Y") {
- checkbox9.disabled = true;
- checkbox1.disabled = true;
- checkbox2.disabled = true;
- radio1.disabled = true;
- radio2.disabled = true;
- checkbox10.disabled = true;
- checkbox3.disabled = true;
- checkbox4.disabled = true;
- checkbox6.disabled = true;
- checkbox5.disabled = true;
- radio3.disabled = true;
- radio4.disabled = true;
- radio5.disabled = true;
- checkbox8.disabled = true;
- radio6.disabled = true;
- radio7.disabled = true;
- radio8.disabled = true;
- checkbox7.disabled = true;
- checkbox11.disabled = true;
- checkbox12.disabled = true;
- } else {
- setRadio1();
- setRadio2();
- setRadio3();
- }
- model.refresh();
- }
-
- function setRadio1() {
- var chk_value = model.getValue("/root/main/selinfo/item3");
- if(chk_value.indexOf(3) > -1) {
- radio1.disabled = false;
- radio2.disabled = false;
- } else {
- model.setValue("/root/main/selinfo/item4", "");
- model.setValue("/root/main/selinfo/item5", "");
- radio1.disabled = true;
- radio2.disabled = true;
- }
- }
-
- function setRadio2() {
- var chk_value = model.getValue("/root/main/selinfo/item10");
- if(chk_value.indexOf(12) > -1) {
- radio3.disabled = false;
- radio4.disabled = false;
- radio5.disabled = false;
- } else {
- model.setValue("/root/main/selinfo/item11", "");
- model.setValue("/root/main/selinfo/item12", "");
- model.setValue("/root/main/selinfo/item13", "");
- radio3.disabled = true;
- radio4.disabled = true;
- radio5.disabled = true;
- }
- }
-
- function setRadio3() {
- var chk_value = model.getValue("/root/main/selinfo/item14");
- if(chk_value.indexOf(19) > -1) {
- radio6.disabled = false;
- radio7.disabled = false;
- radio8.disabled = false;
- } else {
- model.setValue("/root/main/selinfo/item15", "");
- model.setValue("/root/main/selinfo/item16", "");
- model.setValue("/root/main/selinfo/item17", "");
- radio6.disabled = true;
- radio7.disabled = true;
- radio8.disabled = true;
- }
- }
- ]]>
- </script>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <tasklist>
- <taskitem>
- <chk>true</chk>
- <name>과제목록</name>
- </taskitem>
- <taskitem>
- <chk>true</chk>
- <name>연구비신청</name>
- </taskitem>
- <taskitem>
- <chk>false</chk>
- <name>항목별연구비</name>
- </taskitem>
- <taskitem>
- <chk>false</chk>
- <name>항목별집행내역</name>
- </taskitem>
- <taxkitem>
- <chk>false</chk>
- <name>
- <항목별집행내역/>
- </name>
- </taxkitem>
- </tasklist>
- <main>
- <grid>
- <sdysubjlst>
- <subjno/>
- <subjnm/>
- <perchgrid/>
- <stdystaydd/>
- <directcost/>
- <reqtotcost/>
- <inputtotcost/>
- </sdysubjlst>
- </grid>
- </main>
- <init>
- <subjid/>
- <hospcd/>
- <judgkind/>
- </init>
- </root>
- </instance>
- <submission id="TRISR00006" ref="/root/init" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/grid"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="2,781;1,1192;">
- <iviewer id="iviewer1" src="IVIEW_M_연구자연구관리연구비현황2.xrw" style="left:0px; top:195px; width:1194px; height:585px; border-style:sunken; "/>
- <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>
- <line id="line1" class="line_1" style="x1:0px; y1:87px; x2:1194px; y2:87px; "/>
- <datagrid id="datagrid2" nodeset="/root/main/grid/sdysubjlst" scroll="auto" caption="과제번호^과제명^의뢰자^연구기간^직접비100%^신청총액^입금총액" colwidth="100, 410, 125, 189, 100, 100, 100" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" colsep="^" style="left:0px; top:55px; width:1194px; height:140px; ">
- <col ref="subjno"/>
- <col ref="subjnm"/>
- <col ref="perchgrid"/>
- <col ref="stdystaydd"/>
- <col ref="directcost"/>
- <col ref="reqtotcost"/>
- <col ref="inputtotcost"/>
- </datagrid>
- <group id="group3" style="left:0px; top:20px; 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="caption73" class="search_name" style="left:30px; top:8px; width:74px; height:17px; ">의뢰자 :</caption>
- <input id="input21" class="input_search" style="left:595px; top:8px; width:60px; height:19px; "/>
- <button id="button6" class="btn1_letter2" style="left:1129px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- </button>
- <caption id="caption77" class="search_name" style="left:520px; top:8px; width:79px; height:17px; ">연구자 :</caption>
- <input id="input19" class="input_search" style="left:265px; top:8px; width:80px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:175px; top:8px; width:89px; height:17px; ">과제번호 :</caption>
- <input id="input1" class="input_search" style="left:105px; top:8px; width:65px; height:19px; "/>
- <caption id="caption2" class="search_name" style="left:350px; top:8px; width:89px; height:17px; ">과제명 :</caption>
- <input id="input2" class="input_search" style="left:425px; top:8px; width:80px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:700px; top:8px; width:69px; height:17px; ">금액 :</caption>
- <input id="input3" class="input_search" style="left:765px; top:8px; width:60px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|