123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695 |
- <?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>CRCC연구비신청관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <stdysubjinfo>
- <item>
- <subjno/>
- <subjnm/>
- <cmpynm/>
- <stdystaydd/>
- <direccost/>
- <reqtotcost/>
- <inputtotcost/>
- <totstdycost/>
- <reqinstcd/>
- <usernm/>
- <subjid/>
- <instcd/>
- </item>
- </stdysubjinfo>
- <stdycostinfo>
- <item>
- <updtdg/>
- <bugtupdtdd/>
- <fstbugt/>
- <bugtamt/>
- <crccaprvyn/>
- <rtnresn/>
- <subjid/>
- <instcd/>
- </item>
- </stdycostinfo>
- <bugtdata>
- <icumbugta>
- <subjid/>
- <instcd/>
- <updtdg/>
- <itemexpendcd/>
- <detlitemexpendcd/>
- <detlitemexpendnm/>
- <bugt/>
- <calcbase/>
- <appamt/>
- </icumbugta>
- <icumbugtb>
- <subjid/>
- <instcd/>
- <updtdg/>
- <itemexpendcd/>
- <detlitemexpendcd/>
- <detlitemexpendnm/>
- <bugt/>
- <calcbase/>
- <appamt/>
- </icumbugtb>
- <icumbugtc>
- <subjid/>
- <instcd/>
- <updtdg/>
- <itemexpendcd/>
- <detlitemexpendcd/>
- <detlitemexpendnm/>
- <bugt/>
- <calcbase/>
- <appamt/>
- </icumbugtc>
- <icumbugtfilelst>
- <attfilenm1/>
- <attfilenm2/>
- <attfilenm3/>
- <attfilenm4/>
- <attfilenm5/>
- </icumbugtfilelst>
- <selectrow>
- <subjid/>
- <instcd/>
- <updtdg/>
- </selectrow>
- </bugtdata>
- <calc>
- <subtotal/>
- <hospindirect/>
- <crccindirect/>
- <totalindirect/>
- </calc>
- <newElement/>
- </main>
- <send>
- <srchsubjid/>
- <srchinstcd/>
- <srchupdtdg/>
- <crccaprvyn>A</crccaprvyn>
- <saveappdata/>
- <savebugtadata/>
- <savebugtbdata/>
- <savebugtcdata/>
- <save>
- <senddata>
- <updtdg/>
- <bugtamt/>
- <crccaprvyn/>
- <subjid/>
- <instcd/>
- <rtnresn/>
- </senddata>
- </save>
- <attach>
- <file/>
- </attach>
- <stdycrccaprvyn>1</stdycrccaprvyn>
- <srchusernm/>
- </send>
- <init>
- <subjid/>
- <instcd/>
- <appdg/>
- <baseinfo>
- <instinfo>
- <instcd/>
- <hospnm/>
- </instinfo>
- </baseinfo>
- <sumcost/>
- </init>
- <temp>
- <directcost/>
- </temp>
- </root>
- </instance>
- <bind id="bind1" ref="/root/main/calc/subtotal" calculate="sum(/root/main/bugtdata/icumbugta/bugt) +
sum(/root/main/bugtdata/icumbugtb/bugt) + 
sum(/root/main/bugtdata/icumbugtc/bugt)"/>
- <bind id="bind2" ref="/root/main/calc/hospindirect" calculate="/root/main/calc/subtotal * 0.10"/>
- <bind id="bind3" ref="/root/main/calc/crccindirect" calculate="/root/main/calc/subtotal * 0.05"/>
- <bind id="bind4" ref="/root/main/calc/totalindirect" calculate="/root/main/calc/subtotal + 
/root/main/calc/hospindirect + /root/main/calc/crccindirect"/>
- <submission id="TRIRZ00000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init" replace="instance" resultref="/root/init/baseinfo"/>
- <submission id="TRISA00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/stdycostinfo"/>
- <submission id="TRISA00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/bugtdata"/>
- <submission id="TXIRS00125"/>
- <submission id="TXISA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/senddata" replace="instance"/>
- <submission id="TRISA00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/stdysubjinfo"/>
- </model>
- <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"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript">
- <![CDATA[
-
- //과제리스트 선택시 : 신청차수 + 연구비목록 조회
- function fSearchStdyAppSubmit(){
- if(submit("TRISA00202")){
- if(grd_applist.rows>1 && grd_applist.row == grd_applist.mouseRow){
- var rowStatus = grd_applist.rowStatus(grd_applist.row);
- model.setValue("/root/send/srchupdtdg",model.getValue("/root/main/stdycostinfo/item[" + grd_applist.row + "]/updtdg"));
- if(rowStatus!=1){
- submit("TRISA00203");
- }
- else{
- model.removenode("/root/main/bugtdata/icumbugta");
- model.removenode("/root/main/bugtdata/icumbugtb");
- model.removenode("/root/main/bugtdata/icumbugtc");
- model.removenode("/root/main/bugtdata/icumbugtfilelst");
- }
- model.refresh();
- }
- else{
- model.removenode("/root/main/bugtdata/icumbugta");
- model.removenode("/root/main/bugtdata/icumbugtb");
- model.removenode("/root/main/bugtdata/icumbugtc");
- model.removenode("/root/main/bugtdata/icumbugtfilelst");
- return;
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removenode("/root/main/stdycostinfo/item");
- model.removenode("/root/main/bugtdata/icumbugta");
- model.removenode("/root/main/bugtdata/icumbugtb");
- model.removenode("/root/main/bugtdata/icumbugtc");
- model.removenode("/root/main/bugtdata/icumbugtfilelst");
-
- submit("TRISA00204");
- submit("TRIRZ00000");
- astfAddCombo("/root/init/baseinfo","instinfo","instcd,hospnm",",전체");
- model.refresh();
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <group id="group2" style="left:0px; top:54px; width:1194px; height:141px; ">
- <datagrid id="grd_subjlist" nodeset="/root/main/stdysubjinfo/item" caption="과제번호^과제명^의뢰자^연구자^연구기간^직접비(100%)^총연구비^신청총액^입금총액^instcd^subjid" colsep="^" colwidth="114, 220, 115, 82, 143, 101, 100, 100, 108, 44, 44" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:0px; width:1190px; height:138px; ">
- <col ref="subjno"/>
- <col ref="subjnm"/>
- <col ref="cmpynm"/>
- <col ref="usernm"/>
- <col ref="stdystaydd"/>
- <col ref="direccost" format="(-)#,###" style="text-align:right; "/>
- <col ref="totstdycost" format="(-)#,###" style="text-align:right; "/>
- <col ref="reqtotcost" format="(-)#,###" style="text-align:right; "/>
- <col ref="inputtotcost" format="(-)#,###" style="text-align:right; "/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="subjid" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.makeNode("/root/temp/directcost");
- if(grd_subjlist.rows>1 && grd_subjlist.row == grd_subjlist.mouseRow){
- model.setValue("/root/send/srchsubjid",model.getValue("/root/main/stdysubjinfo/item["+ grd_subjlist.row +"]/subjid"));
- model.setValue("/root/send/srchinstcd",model.getValue("/root/main/stdysubjinfo/item["+ grd_subjlist.row +"]/instcd"));
-
- fSearchStdyAppSubmit();
- model.setValue("/root/temp/directcost", model.getValue("/root/main/stdysubjinfo/item[" + grd_subjlist.row + "]/direccost"));
- if(grd_applist.rows > 1)
- {
- grd_applist.row = 1;
- grd_applist.dispatch("onclick");
- //강제하단보여주기
- if(grd_applist.rows>1 && grd_applist.row > 0){
-
- grd_applist.editCell();
- var rowStatus = grd_applist.rowStatus(grd_applist.row);
- model.setValue("/root/send/srchupdtdg",model.getValue("/root/main/stdycostinfo/item[" + grd_applist.row + "]/updtdg"));
-
- if(rowStatus!=1){
- submit("TRISA00203");
- }
- else{
- model.removenode("/root/main/bugtdata/icumbugta");
- model.removenode("/root/main/bugtdata/icumbugtb");
- model.removenode("/root/main/bugtdata/icumbugtc");
- model.removenode("/root/main/bugtdata/icumbugtfilelst");
- }
- model.refresh();
- }
- }
- }
-
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:120px; height:14px; ">등록된 병원목록</caption>
- </group>
- <group id="group3" style="left:0px; top:195px; width:1194px; height:142px; border-color:#99ccff; border-style:solid; ">
- <caption id="caption2" class="tit_2" style="left:10px; top:2px; width:160px; height:18px; font-weight:bold; vertical-align:middle; ">* 신청차수</caption>
- <datagrid id="grd_applist" nodeset="/root/main/stdycostinfo/item" caption="신청차수^신청일^초기신청금액^신청금액^승인여부^반려사유^caption1^caption2" colsep="^" colwidth="62, 88, 88, 88, 74, 105, 27, 34" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:22px; width:519px; height:115px; ">
- <col ref="updtdg" style="text-align:center; "/>
- <col ref="bugtupdtdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="fstbugt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bugtamt" format="(-)#,###" style="text-align:right; "/>
- <col class="gridcombo" ref="crccaprvyn" type="combo">
- <choices>
- <item>
- <label>승인</label>
- <value>Y</value>
- </item>
- <item>
- <label>신청완료</label>
- <value>N</value>
- </item>
- <item>
- <label>반려</label>
- <value>R</value>
- </item>
- <item>
- <label>저장</label>
- <value>T</value>
- </item>
- </choices>
- </col>
- <col ref="rtnresn" type="input"/>
- <col ref="subjid" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_applist.rows>1 && grd_applist.row == grd_applist.mouseRow){
-
- grd_applist.editCell();
- var rowStatus = grd_applist.rowStatus(grd_applist.row);
- model.setValue("/root/send/srchupdtdg",model.getValue("/root/main/stdycostinfo/item[" + grd_applist.row + "]/updtdg"));
-
- if(rowStatus!=1){
- submit("TRISA00203");
- }
- else{
- model.removenode("/root/main/bugtdata/icumbugta");
- model.removenode("/root/main/bugtdata/icumbugtb");
- model.removenode("/root/main/bugtdata/icumbugtc");
- model.removenode("/root/main/bugtdata/icumbugtfilelst");
- }
- model.refresh();
- }
-
- ]]>
- </script>
- </datagrid>
- <button id="btn_saveapp" class="btn5_letter2" _auth="X" style="left:484px; top:1px; width:42px; height:24px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/save/senddata/updtdg", model.getValue("/root/main/stdycostinfo/item[1]/updtdg"));
- model.setValue("/root/send/save/senddata/bugtamt", model.getValue("/root/main/stdycostinfo/item[1]/bugtamt"));
- model.setValue("/root/send/save/senddata/crccaprvyn", model.getValue("/root/main/stdycostinfo/item[1]/crccaprvyn"));
- model.setValue("/root/send/save/senddata/rtnresn", model.getValue("/root/main/stdycostinfo/item[1]/rtnresn"));
- model.setValue("/root/send/save/senddata/subjid", model.getValue("/root/main/stdycostinfo/item[1]/subjid"));
- model.setValue("/root/send/save/senddata/instcd", model.getValue("/root/main/stdycostinfo/item[1]/instcd"));
-
- if ( model.getValue("/root/main/stdycostinfo/item[" + grd_applist.row + "]/crccaprvyn") == 'R' && model.getValue("/root/main/stdycostinfo/item[" + grd_applist.row + "]/rtnresn") == '' ) {
- messageBox("반려사유는 필수입력사항입니다.", "I");
- return;
- }
-
- submit("TXISA00102");
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- </group>
- <group id="group5" style="left:0px; top:339px; width:1194px; height:437px; border-color:#99ccff; border-style:solid; ">
- <datagrid id="grd_attach" nodeset="/root/send/attach" visibility="hidden" caption="파일경로^" colwidth="291" extendlastcol="scroll" mergecellsfixedrows="bycolrec" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:609px; top:312px; width:315px; height:45px; ">
- <col ref="file" style="left:0px; top:23px; width:644px; height:23px; "/>
- </datagrid>
- <line id="line8" class="line_3" style="x1:6px; y1:432px; x2:553px; y2:432px; "/>
- <line id="line9" class="line_3" style="x1:869px; y1:432px; x2:1178px; y2:432px; "/>
- <datagrid id="grd_icumbugtc" nodeset="/root/main/bugtdata/icumbugtc" caption="지출항목^기집행금액^실행예산^산출근거" colsep="^" colwidth="100, 120, 120, 200, 100, 100, 100, 100, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:6px; top:203px; width:564px; height:179px; ">
- <col disabled="true" ref="detlitemexpendcd" type="combo">
- <choices>
- <item>
- <label>유인물비</label>
- <value>30001</value>
- </item>
- <item>
- <label>문헌조사비</label>
- <value>30002</value>
- </item>
- <item>
- <label>설문조사비</label>
- <value>30003</value>
- </item>
- <item>
- <label>공공요금,잡비</label>
- <value>30004</value>
- </item>
- <item>
- <label>자문료</label>
- <value>30005</value>
- </item>
- <item>
- <label>기타</label>
- <value>30099</value>
- </item>
- </choices>
- </col>
- <col ref="appamt" format="#,###" style="text-align:right; "/>
- <col ref="bugt" type="input" format="###,###,###,###" mask="exclude" maxlength="12" style="text-align:right; "/>
- <col ref="calcbase" type="input"/>
- <col ref="subjid" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="updtdg" visibility="hidden"/>
- <col ref="itemexpendcd" visibility="hidden"/>
- <col ref="totstdycost" visibility="hidden"/>
- </datagrid>
- <line id="line10" class="line_1" style="x1:869px; y1:403px; x2:1178px; y2:403px; "/>
- <line id="line45" class="line_1" style="x1:609px; y1:18px; x2:1172px; y2:18px; "/>
- <caption id="caption31" class="tit_2" style="left:609px; top:388px; width:191px; height:14px; ">* 신청금액(100%)(가+나+다)</caption>
- <caption id="caption64" class="tit_2" style="left:6px; top:3px; width:161px; height:13px; ">가.연구활동비(단위: 원)</caption>
- <caption id="caption3" class="tit_2" style="left:6px; top:184px; width:161px; height:13px; ">다.연구운영비</caption>
- <line id="line46" class="line_3" style="x1:609px; y1:181px; x2:1172px; y2:181px; "/>
- <caption id="caption87" class="tit_2" style="left:609px; top:3px; width:161px; height:13px; ">나.직접연구경비</caption>
- <line id="line13" class="line_1" style="x1:6px; y1:403px; x2:553px; y2:403px; "/>
- <caption id="caption32" class="tit_2" style="left:609px; top:184px; width:300px; height:13px; ">라.기타 산출근거(임상검사비등) 파일첨부</caption>
- <datagrid id="grd_icumbugtb" nodeset="/root/main/bugtdata/icumbugtb" caption="지출항목^기집행금액^실행예산^산출근거" colsep="^" colwidth="100, 120, 120, 200, 100, 100, 100, 100, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:609px; top:22px; width:564px; height:157px; ">
- <col disabled="true" ref="detlitemexpendcd" type="combo">
- <choices>
- <item>
- <label>임상검사비</label>
- <value>20001</value>
- </item>
- <item>
- <label>장비사용(임대)</label>
- <value>20002</value>
- </item>
- <item>
- <label>기기 구입비</label>
- <value>20003</value>
- </item>
- <item>
- <label>시약,재료대</label>
- <value>20004</value>
- </item>
- <item>
- <label>Volunteer Fee</label>
- <value>20005</value>
- </item>
- <item>
- <label>약품관리비</label>
- <value>20006</value>
- </item>
- </choices>
- </col>
- <col ref="appamt" format="#,###" style="text-align:right; "/>
- <col ref="bugt" type="input" format="###,###,###,###" mask="exclude" maxlength="12" style="text-align:right; "/>
- <col ref="calcbase" type="input"/>
- <col ref="subjid" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="updtdg" visibility="hidden"/>
- <col ref="itemexpendcd" visibility="hidden"/>
- <col ref="totstdycost" visibility="hidden"/>
- </datagrid>
- <input id="input23" bind="bind2" class="input_default" format="(-)#,###" style="left:120px; top:410px; width:135px; height:19px; text-align:right; "/>
- <caption id="caption33" class="tit_2" style="left:6px; top:388px; width:120px; height:13px; ">마.간접비(15%)</caption>
- <datagrid id="grd_icumbugta" nodeset="/root/main/bugtdata/icumbugta" caption="지출항목^기집행금액^실행예산^산출근거" colsep="^" colwidth="100, 120, 120, 200, 50, 50, 50, 50, 50" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:6px; top:22px; width:564px; height:157px; ">
- <col disabled="true" ref="detlitemexpendcd" type="combo">
- <choices>
- <item>
- <label>연구교수인건비</label>
- <value>10001</value>
- </item>
- <item>
- <label>인건보조비</label>
- <value>10002</value>
- </item>
- <item>
- <label>회의비</label>
- <value>10003</value>
- </item>
- <item>
- <label>여비</label>
- <value>10004</value>
- </item>
- </choices>
- </col>
- <col ref="appamt" format="#,###" style="text-align:right; "/>
- <col ref="bugt" type="input" format="###,###,###,###" mask="exclude" maxlength="12" style="text-align:right; "/>
- <col ref="calcbase" type="input"/>
- <col ref="subjid" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="updtdg" visibility="hidden"/>
- <col ref="itemexpendcd" visibility="hidden"/>
- <col ref="totstdycost" visibility="hidden"/>
- </datagrid>
- <caption id="caption34" class="cell_1" style="left:6px; top:408px; width:110px; height:23px; text-align:center; vertical-align:middle; ">병원간접비(10%)</caption>
- <caption id="caption35" class="cell_1" style="left:265px; top:408px; width:110px; height:23px; text-align:center; vertical-align:middle; ">CRCC간접비(5%)</caption>
- <caption id="caption36" class="tit_2" style="left:869px; top:388px; width:222px; height:13px; ">바.총연구비(115%) (가+나+다+마)</caption>
- <line id="line2" class="line_1" style="x1:6px; y1:199px; x2:569px; y2:199px; "/>
- <caption id="caption37" class="cell_1" style="left:869px; top:408px; width:110px; height:23px; text-align:center; vertical-align:middle; ">총연구비(115%)</caption>
- <input id="input16" bind="bind1" class="input_default" format="(-)#,###" style="left:610px; top:410px; width:249px; height:19px; text-align:right; "/>
- <line id="line3" class="line_1" style="x1:6px; y1:18px; x2:569px; y2:18px; "/>
- <input id="input17" bind="bind4" class="input_default" format="(-)#,###" style="left:980px; top:410px; width:197px; height:19px; text-align:right; "/>
- <line id="line4" class="line_3" style="x1:6px; y1:384px; x2:569px; y2:384px; "/>
- <line id="line7" class="line_3" style="x1:6px; y1:181px; x2:569px; y2:181px; "/>
- <input id="input6" bind="bind3" class="input_default" format="(-)#,###" style="left:378px; top:410px; width:175px; height:19px; text-align:right; "/>
- <button id="btn_addfile5" class="btn2_letter4" _auth="X" style="left:811px; top:282px; width:64px; height:19px; ">
- <caption>파일첨부</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var maxsize = uploadfiles.attribute("filesize");
-
- files = window.fileDialog("open", "|", true);
- filelist = files.split("|");
-
- var j = 5;
- for(var i = 0 ; i < filelist.length && (i < 1) ; i++ ) {
- if(filelist[i] == "") continue;
- grd_attach.addRow(false);
- grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
- if(!checkFileSize(uploadfiles)) {
- grd_attach.removeItem();
- messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
- } else {
- model.setValue("/root/main/bugtdata/icumbugtfilelst/attfilenm" + j++ ,filelist[i]);
- model.refresh();
- }
- }
-
- if(submit("TXIRS00125")) {
- model.removeNodeset("/root/send/attach");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="button16" class="btn5_letter2" _auth="X" style="left:877px; top:202px; width:42px; height:19px; ">
- <caption>삭제</caption>
- </button>
- <upload id="upload_attach1" nodeset="/root/send/attach/file" filecount="1" filesize="10485760" validate="true" style="left:801px; top:207px; width:100px; height:20px; "/>
- <button id="button10" class="btn5_letter2" _auth="X" style="left:877px; top:222px; width:42px; height:19px; ">
- <caption>삭제</caption>
- </button>
- <button id="btn_addfile2" class="btn2_letter4" _auth="X" style="left:811px; top:222px; width:64px; height:19px; ">
- <caption>파일첨부</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var maxsize = uploadfiles.attribute("filesize");
-
- files = window.fileDialog("open", "|", true);
- filelist = files.split("|");
-
- var j = 2;
- for(var i = 0 ; i < filelist.length && (i < 4) ; i++ ) {
- if(filelist[i] == "") continue;
- grd_attach.addRow(false);
- grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
- if(!checkFileSize(uploadfiles)) {
- grd_attach.removeItem();
- messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
- } else {
- model.setValue("/root/main/bugtdata/icumbugtfilelst/attfilenm" + j++ ,filelist[i]);
- model.refresh();
- }
- }
-
- if(submit("TXIRS00125")) {
- model.removeNodeset("/root/send/attach");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="button14" class="btn5_letter2" _auth="X" style="left:877px; top:242px; width:42px; height:19px; ">
- <caption>삭제</caption>
- </button>
- <input id="input1" ref="/root/main/bugtdata/icumbugtfilelst/attfilenm1" class="input_default" style="left:609px; top:202px; width:200px; height:19px; "/>
- <button id="btn_addfile3" class="btn2_letter4" _auth="X" style="left:811px; top:242px; width:64px; height:19px; ">
- <caption>파일첨부</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var maxsize = uploadfiles.attribute("filesize");
-
- files = window.fileDialog("open", "|", true);
- filelist = files.split("|");
-
- var j = 3;
- for(var i = 0 ; i < filelist.length && (i < 3) ; i++ ) {
- if(filelist[i] == "") continue;
- grd_attach.addRow(false);
- grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
- if(!checkFileSize(uploadfiles)) {
- grd_attach.removeItem();
- messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
- } else {
- model.setValue("/root/main/bugtdata/icumbugtfilelst/attfilenm" + j++ ,filelist[i]);
- model.refresh();
- }
- }
-
- if(submit("TXIRS00125")) {
- model.removeNodeset("/root/send/attach");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <input id="input2" ref="/root/main/bugtdata/icumbugtfilelst/attfilenm2" class="input_default" style="left:609px; top:222px; width:200px; height:19px; "/>
- <button id="button18" class="btn5_letter2" _auth="X" style="left:877px; top:262px; width:42px; height:19px; ">
- <caption>삭제</caption>
- </button>
- <input id="input3" ref="/root/main/bugtdata/icumbugtfilelst/attfilenm3" class="input_default" style="left:609px; top:242px; width:200px; height:19px; "/>
- <button id="btn_addfile1" class="btn2_letter4" _auth="X" style="left:811px; top:202px; width:64px; height:19px; ">
- <caption>파일첨부</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var maxsize = uploadfiles.attribute("filesize");
-
- files = window.fileDialog("open", "|", true);
- filelist = files.split("|");
-
- var j = 1;
- for(var i = 0 ; i < filelist.length && (i < 5) ; i++) {
- if(filelist[i] == "") continue;
- grd_attach.addRow(false);
- grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
- if(!checkFileSize(uploadfiles)) {
- grd_attach.removeItem();
- messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
- } else {
- model.setValue("/root/main/bugtdata/icumbugtfilelst/attfilenm" + j++ ,filelist[i]);
- }
- }
-
- if(submit("TXIRS00125")) {
- model.removeNodeset("/root/send/attach");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <input id="input4" ref="/root/main/bugtdata/icumbugtfilelst/attfilenm4" class="input_default" style="left:609px; top:262px; width:200px; height:19px; "/>
- <button id="btn_addfile4" class="btn2_letter4" _auth="X" style="left:811px; top:262px; width:64px; height:19px; ">
- <caption>파일첨부</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var maxsize = uploadfiles.attribute("filesize");
-
- files = window.fileDialog("open", "|", true);
- filelist = files.split("|");
-
- var j = 4;
- for(var i = 0 ; i < filelist.length && (i < 2) ; i++ ) {
- if(filelist[i] == "") continue;
- grd_attach.addRow(false);
- grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
- if(!checkFileSize(uploadfiles)) {
- grd_attach.removeItem();
- messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
- } else {
- model.setValue("/root/main/bugtdata/icumbugtfilelst/attfilenm" + j++ ,filelist[i]);
- model.refresh();
- }
- }
-
- if(submit("TXIRS00125")) {
- model.removeNodeset("/root/send/attach");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <input id="input5" ref="/root/main/bugtdata/icumbugtfilelst/attfilenm5" class="input_default" style="left:609px; top:282px; width:200px; height:19px; "/>
- <button id="button21" class="btn5_letter2" _auth="X" style="left:877px; top:282px; width:42px; height:19px; ">
- <caption>삭제</caption>
- </button>
- <upload id="uploadfiles" nodeset="/root/send/attach/file" filecount="1" filesize="10485760" validate="true" style="left:884px; top:184px; width:100px; height:20px; "/>
- <line id="line1" class="line_3" style="x1:610px; y1:432px; x2:859px; y2:432px; "/>
- <line id="line5" class="line_1" style="x1:610px; y1:403px; x2:859px; y2:403px; "/>
- </group>
- <group id="group4" style="left:0px; top:15px; width:1194px; height:40px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:37px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption146" class="search_name" style="left:15px; top:10px; width:91px; height:17px; ">신청구분 :</caption>
- <button id="button8" class="btn1_letter2" _auth="R" style="left:927px; top:6px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRISA00204");
- ]]>
- </script>
- </button>
- <select1 id="combo64" ref="/root/send/crccaprvyn" class="combo_search" appearance="minimal" style="left:104px; top:8px; width:105px; height:19px; ">
- <choices>
- <item>
- <label>- 전체 -</label>
- <value>A</value>
- </item>
- <item>
- <label>신청</label>
- <value>N</value>
- </item>
- <item>
- <label>승인</label>
- <value>Y</value>
- </item>
- <item>
- <label>반려</label>
- <value>R</value>
- </item>
- <item>
- <label>보류</label>
- <value>H</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select1>
- <caption id="caption143" class="search_name" style="left:215px; top:10px; width:86px; height:17px; ">병원선택 :</caption>
- <select1 id="combo1" ref="/root/send/srchinstcd" class="combo_search" appearance="minimal" style="left:305px; top:8px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/instinfo">
- <label ref="hospnm"/>
- <value ref="instcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption4" visibility="hidden" style="left:645px; top:10px; width:280px; height:20px; font-weight:normal; color:#ff0000; ">* 계약 완료 되지 않은 과제는 검색되지 않습니다.</caption>
- <caption id="caption5" class="search_name" style="left:455px; top:10px; width:86px; height:17px; ">연 구 자:</caption>
- <input id="ip_usernm" ref="/root/send/srchusernm" class="input_search" style="left:540px; top:8px; width:100px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|