123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRIF02200" position="absolute 0 0 1185 780" titletext="일자별보고서확인" onload="SMRIF02200_onload">
- <Layouts>
- <Layout>
- <Div id="group1" position="absolute 518 27 1185 774" style="" anchor="top right">
- <Layouts>
- <Layout>
- <MaskEdit id="input9" mask="#,###" position="absolute 251 27 343 46" style="background:#ecebecff;" anchor="default"/>
- <Div id="iviewer1" url="SMRIF02110_보고서초기화면.xfdl" position="absolute 0 74 667 743" style="" asyncmode="false" anchor="default"/>
- <Edit id="ipt_prcpcd" position="absolute 72 3 167 22" style="background:#ecebecff;" anchor="default"/>
- <Static id="caption10" class="cell_1" position="absolute 169 25 249 48" style="align:left;" text="연구비총액" anchor="default"/>
- <Edit id="input2" position="absolute 426 27 502 46" style="background:#ecebecff;" anchor="default"/>
- <Static id="caption26" class="cell_1" position="absolute 0 26 70 49" style="align:left;" text="의뢰기관" anchor="default"/>
- <Static id="caption7" class="cell_1" position="absolute 0 0 70 23" style="align:left;" text="과제번호" anchor="default"/>
- <Static id="caption8" class="cell_1" position="absolute 344 26 424 49" style="align:left;" text="책임연구원" anchor="default"/>
- <Static id="cap_goodflagengnm" class="cell_1" position="absolute 505 26 575 49" style="align:left;" text="작성일자" anchor="default"/>
- <Edit id="input5" position="absolute 169 3 666 22" style="background:#ecebecff;" anchor="default"/>
- <Calendar id="input6" position="absolute 577 27 666 46" style="background:#ecebecff;" anchor="default"/>
- <Shape id="line4" class="line_2" linetype="horizontal" position="absolute 0 24 659 27" style="font:돋움체,,돋움체;" anchor="default"/>
- <Shape id="line5" class="line_2" linetype="horizontal" position="absolute 0 48 659 51" style="font:돋움체,,돋움체;" anchor="default"/>
- <Shape id="line2" class="line_2" linetype="horizontal" position="absolute 0 72 659 75" style="font:돋움체,,돋움체;" anchor="default"/>
- <Shape id="line6" class="line_3" linetype="horizontal" position="absolute 0 72 664 75" style="font:돋움체,,돋움체;" anchor="default"/>
- <MaskEdit id="opt_bstotjamt" class="output_fix" position="absolute 426 51 502 70" style="align:right;" anchor="default" readonly="true" mask="#,###"/>
- <MaskEdit id="opt_bstotiamt" class="output_fix" position="absolute 72 51 167 70" style="align:right;" anchor="default" readonly="true" inputtype="normal" mask="#,###"/>
- <Static id="caption3" class="cell_2" position="absolute 344 50 424 72" style="align:left;" text="잔 액" anchor="default"/>
- <Static id="caption4" class="cell_2" position="absolute 0 50 70 72" style="align:left;" text="입금액" anchor="default"/>
- <Static id="caption5" class="cell_2" position="absolute 169 50 249 72" style="align:left;" text="지출액" anchor="default"/>
- <MaskEdit id="opt_bstotoamt" class="output_fix" position="absolute 251 51 343 70" style="align:right;" anchor="default" readonly="true" mask="#,###"/>
- <Edit id="out_reqfirm" position="absolute 72 27 167 46" anchor="default" readonly="true" type="string" enable="true" style="background:#ecebecff; :disabled {background:#ecebecff;}"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line8" class="line_10" linetype="horizontal" position="absolute 515 24 1185 27" style="font:돋움체,,돋움체;" anchor="top right"/>
- <Static id="caption1" class="tit_2" position="absolute 516 6 646 22" text="보고서 상세 내용" anchor="top right"/>
- <Combo innerdataset="ds_hidden_statuslist_status" datacolumn="cdnm" codecolumn="cdid" columncount="-1" rowcount="-1" id="combo2" visible="false" position="absolute 751 2 851 21" style="" onitemchanged="combo2_onitemchanged" anchor="top right"/>
- <Static id="cpt_status" position="absolute 930 2 1090 22" style="font:,,bold;align:right ;color:#ff0000;"/>
- <Button id="button1" class="btn1" taborder="100" position="absolute 1093 1 1185 23" style="" text="보고서관리" onclick="button1_onclick" anchor="top right"/>
- <Button id="btn_print" class="btn6" taborder="97" position="absolute 1123 76 1179 98" style="" text="출력" onclick="btn_print_onclick" anchor="top right"/>
- <Tab id="switch1" position="absolute 0 0 510 771" style="" anchor="all">
- <Tabpages>
- <Tabpage id="case2" selected="true" position="absolute 0 0 509 749" style="" anchor="default" text="일자별 보고서 확인">
- <Layouts>
- <Layout>
- <Shape id="roundrect2" type="roundrectangle" position="absolute 0 5 508 41" style="border:1 solid #ffd799 #ffd799;background:#fffbf2 ;" anchor="left top right"/>
- <Calendar id="input13" taborder="27" position="absolute 220 12 320 31" style="" anchor="left top"/>
- <Static id="caption24" position="absolute 205 12 220 32" style="" text="~" anchor="left top"/>
- <Calendar id="input1" taborder="26" position="absolute 100 12 200 31" style="" anchor="left top"/>
- <Button id="btn_search" class="btn1" taborder="5" position="absolute 437 11 493 33" style="" text="조회" onclick="switch1_case2_btn_search_onclick" anchor="top right"/>
- <Grid id="grd_bsrephist" binddataset="ds_main_rephistinfo_rephistlist" class="datagrid2" taborder="21" position="absolute 0 69 508 744" style="font:돋움체,,돋움체;" onaftersort="switch1_case2_grd_bsrephist_onaftersort" oncelldblclick="switch1_case2_grd_bsrephist_oncelldblclick" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="25"/>
- <Column size="68"/>
- <Column size="52"/>
- <Column size="37"/>
- <Column size="105"/>
- <Column size="131"/>
- <Column size="82"/>
- <Column size="70"/>
- <Column size="194"/>
- <Column size="70"/>
- </Columns>
- <Rows>
- <Row size="25" band="head"/>
- <Row size="25"/>
- </Rows>
- <Band id="head">
- <Cell text="기관코드"/>
- <Cell col="1" text="과제코드"/>
- <Cell col="2" text="reptid"/>
- <Cell col="3" text="보고서코드"/>
- <Cell col="4" text="seqno"/>
- <Cell col="5" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="6" text="작성일자"/>
- <Cell col="7" text="상태"/>
- <Cell col="8" text="자동"/>
- <Cell col="9" text="과제번호"/>
- <Cell col="10" text="보고서명"/>
- <Cell col="11" text="작성자"/>
- <Cell col="12" text="확인일"/>
- <Cell col="13" text="반려사유"/>
- <Cell col="14" text="."/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:projcd"/>
- <Cell col="2" text="bind:bsid"/>
- <Cell col="3" text="bind:reptcd"/>
- <Cell col="4" text="bind:seqno"/>
- <Cell col="5" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="6" displaytype="date" text="bind:bsdd"/>
- <Cell col="7" displaytype="combo" edittype="none" style="align:center;" text="bind:status" combodataset="ds_hidden_statuslist_status" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="8" text="bind:autoyn"/>
- <Cell col="9" style="align:left;" text="bind:studycd"/>
- <Cell col="10" style="align:left;" text="bind:reptnm"/>
- <Cell col="11" style="align:left;" text="bind:bsnm"/>
- <Cell col="12" displaytype="date" text="bind:sbmtdd"/>
- <Cell col="13" displaytype="text" edittype="text" style="align:left;" text="bind:rjtremark"/>
- <Cell col="14" displaytype="text" edittype="text" style="align:left;"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption11" class="tit_2" position="absolute 0 47 130 63" text="보고서작성이력" anchor="left top"/>
- <Shape id="line10" class="line_10" linetype="horizontal" position="absolute 0 66 508 69" style="font:돋움체,,돋움체;" anchor="left top right"/>
- <Button id="button2" class="btn5" position="absolute 400 45 442 64" style="" text="확인" onclick="switch1_case2_button2_onclick" anchor="top right"/>
- <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="radio1" position="absolute 136 45 291 65" style="" onitemchanged="switch1_case2_radio1_onitemchanged" anchor="left top">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">반려</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">제출</Col>
- </Row>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">확인</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button id="btn_cancel" class="btn5" position="absolute 443 45 507 64" style="" text="확인취소" onclick="switch1_case2_btn_cancel_onclick" anchor="top right"/>
- <Combo datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="cmb_daykind" enable="False" position="absolute 10 12 90 31" style="" anchor="left top">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">작성일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">B</Col>
- <Col id="datacolumn">확인일</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Button id="btn_reject" class="btn5" position="absolute 357 45 399 64" style="" text="반려" onclick="switch1_case2_btn_reject_onclick" anchor="top right"/>
- <Edit id="input3" position="absolute 325 12 425 31" style="" anchor="left top"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case1" position="absolute 0 0 509 749" style="" anchor="default" text="과제별 보고서 확인">
- <Layouts>
- <Layout>
- <Div id="group2" position="absolute 0 1 493 61" style="align: top;" class="div_SA">
- <Layouts>
- <Layout>
- <Button id="button5" class="btn1" taborder="5" position="absolute 341 29 397 51" style="" text="조회" onclick="switch1_case1_group2_button5_onclick" anchor="default"/>
- <Static id="caption20" class="search_name" position="absolute 10 31 133 48" style="" text="과 제 번 호 :" anchor="default"/>
- <Combo innerdataset="ds_hidden_instlist_inst" datacolumn="cdnm" codecolumn="cdid" columncount="-1" rowcount="-1" id="cmb_s_instcd" enable="False" taborder="3" visible="false" position="absolute 460 5 485 24" style="background:#ecebec ;" onitemchanged="switch1_case1_group2_cmb_s_instcd_onitemchanged" anchor="default"/>
- <Edit id="ipt_s_projnm" visible="false" position="absolute 425 5 450 24" style="" anchor="default" onkillfocus="switch1_case1_group2_ipt_s_projnm_onkillfocus"/>
- <Edit id="ipt_s_projcd" position="absolute 123 31 338 50" style="" anchor="default" onkillfocus="switch1_case1_group2_ipt_s_projcd_onkillfocus" onkeypress="switch1_case1_group2_ipt_s_projcd_onkeypress"/>
- <Static id="caption2" class="search_name" position="absolute 10 8 140 25" style="" text="책임 연구원 :" anchor="default"/>
- <CheckBox text="종결포함" truevalue="Y" falsevalue="" datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="chk_s_yn" position="absolute 339 10 409 30" style="" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">종결포함</Col>
- </Row>
- </Rows>
- </Dataset>
- </CheckBox>
- <Button id="btn_useid" class="icon_search" taborder="5" position="absolute 319 10 335 26" style="" text="" onclick="switch1_case1_group2_btn_useid_onclick" anchor="default"/>
- <Edit id="output1" class="output_fix" position="absolute 210 9 315 28" style="" anchor="default" readonly="true"/>
- <Edit id="output2" class="output_fix" position="absolute 123 9 208 28" style="" anchor="default" readonly="true"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_proj" binddataset="ds_main_studyprojinfo_studyprojlist" class="datagrid2" taborder="21" position="absolute 0 65 508 429" style="font:돋움체,,돋움체;" onaftersort="switch1_case1_grd_proj_onaftersort" oncelldblclick="switch1_case1_grd_proj_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="17"/>
- <Column size="16"/>
- <Column size="14"/>
- <Column size="13"/>
- <Column size="100"/>
- <Column size="278"/>
- <Column size="49"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="25" band="head"/>
- <Row size="25"/>
- </Rows>
- <Band id="head">
- <Cell text="기관코드"/>
- <Cell col="1" text="코드"/>
- <Cell col="2" text="책임연구원"/>
- <Cell col="3" text="책임연구원명"/>
- <Cell col="4" text="과제번호"/>
- <Cell col="5" text="과제명"/>
- <Cell col="6" text="상태"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:projcd"/>
- <Cell col="2" text="bind:rshid"/>
- <Cell col="3" text="bind:rshnm"/>
- <Cell col="4" text="bind:studycd"/>
- <Cell col="5" text="bind:projnm"/>
- <Cell col="6" text="bind:status"/>
- <Cell col="7" text="bind:projamt"/>
- <Cell col="8" text="bind:reqfirm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_rephist" binddataset="ds_main_rephistinfo_rephistlist" class="datagrid2" taborder="21" position="absolute 0 458 508 745" style="font:돋움체,,돋움체;" onaftersort="switch1_case1_grd_rephist_onaftersort" oncelldblclick="switch1_case1_grd_rephist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="4"/>
- <Column size="4"/>
- <Column size="7"/>
- <Column size="6"/>
- <Column size="7"/>
- <Column size="25"/>
- <Column size="68"/>
- <Column size="175"/>
- <Column size="78"/>
- <Column size="78"/>
- <Column size="51"/>
- </Columns>
- <Rows>
- <Row size="25" band="head"/>
- <Row size="25"/>
- </Rows>
- <Band id="head">
- <Cell text="기관코드"/>
- <Cell col="1" text="과제코드"/>
- <Cell col="2" text="reptid"/>
- <Cell col="3" text="보고서코드"/>
- <Cell col="4" text="seqno"/>
- <Cell col="5" text=""/>
- <Cell col="6" text="작성일자"/>
- <Cell col="7" text="보고서명"/>
- <Cell col="8" text="확인일"/>
- <Cell col="9" text="작성자"/>
- <Cell col="10" text="상태"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:projcd"/>
- <Cell col="2" text="bind:bsid"/>
- <Cell col="3" text="bind:reptcd"/>
- <Cell col="4" text="bind:seqno"/>
- <Cell col="5" text="bind:chk"/>
- <Cell col="6" text="bind:bsdd"/>
- <Cell col="7" text="bind:reptnm"/>
- <Cell col="8" text="bind:sbmtdd"/>
- <Cell col="9" text="bind:bsnm"/>
- <Cell col="10" text="bind:status"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption34" class="tit_2" position="absolute 0 439 130 452" style="font:돋움체,,돋움체;" text="보고서작성이력"/>
- <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 61 508 64" style="font:돋움체,,돋움체;" anchor="default"/>
- <Shape id="line3" class="line_1" linetype="horizontal" position="absolute 0 455 508 458" style="font:돋움체,,돋움체;" anchor="default"/>
- <Button id="btn_confirm" class="btn5_letter2" position="absolute 390 433 432 452" style="" text="확인" onclick="switch1_case1_btn_confirm_onclick"/>
- <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="rdo_statushis" position="absolute 220 435 375 455" style="">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">P</Col>
- <Col id="datacolumn">진행</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">제출</Col>
- </Row>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">확인</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button id="btn_confirm_cancel" class="btn5_letter4" position="absolute 435 433 499 452" style="" text="확인취소" onclick="switch1_case1_btn_confirm_cancel_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Button id="button4" class="btn_sw" visible="false" position="absolute 384 0 504 22" style="" text="과제별 보고서 확인" onclick="button4_onclick"/>
- <Button id="btn_spconn" class="btn3" position="absolute 859 1 963 23" style="" text="과제연계관리" onclick="btn_spconn_onclick" anchor="top right"/>
- <Button id="btn_reptpt" class="btn3" position="absolute 964 1 1092 23" style="" text="보고서별환자내역" onclick="btn_reptpt_onclick" anchor="top right"/>
- <Shape id="line7" linetype="vertical" class="line_10" position="absolute 514 24 516 773" anchor="top right bottom"/>
- <Button id="button6" taborder="101" text="일자별 보고서 확인" onclick="button6_onclick" class="btn_sw" visible="false" position="absolute 264 0 384 22"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_searchrep" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="projcd" type="STRING" size="256"/>
- <Column id="reptcd" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="projcd"/>
- <Col id="reptcd"/>
- <Col id="seqno"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_hidden_statuslist_status" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">진행</Col>
- <Col id="cdid">P</Col>
- </Row>
- <Row>
- <Col id="cdnm">반려</Col>
- <Col id="cdid">R</Col>
- </Row>
- <Row>
- <Col id="cdnm">제출</Col>
- <Col id="cdid">E</Col>
- </Row>
- <Row>
- <Col id="cdnm">확인</Col>
- <Col id="cdid">A</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_searchproj" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="studycd" type="STRING" size="256"/>
- <Column id="rshid" type="STRING" size="256"/>
- <Column id="projnm" type="STRING" size="256"/>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="bstotiamt" type="STRING" size="256"/>
- <Column id="bstotoamt" type="STRING" size="256"/>
- <Column id="bstotjamt" type="STRING" size="256"/>
- <Column id="projamt" type="STRING" size="256"/>
- <Column id="reqfirm" type="STRING" size="256"/>
- <Column id="rshnm" type="STRING" size="256"/>
- <Column id="bsdd" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="daykind" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="studycd"/>
- <Col id="rshid"/>
- <Col id="projnm"/>
- <Col id="chk"/>
- <Col id="bstotiamt"/>
- <Col id="bstotoamt"/>
- <Col id="bstotjamt"/>
- <Col id="projamt"/>
- <Col id="reqfirm"/>
- <Col id="rshnm"/>
- <Col id="bsdd"/>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="daykind"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="rshinfo" type="STRING" size="256"/>
- <Column id="status" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="rshinfo"/>
- <Col id="status"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_searchrephist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="projcd" type="STRING" size="256"/>
- <Column id="statushis" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="daykind" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="projcd"/>
- <Col id="statushis"/>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="daykind"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="studyprojinfo" type="STRING" size="256"/>
- <Column id="rephistinfo" type="STRING" size="256"/>
- <Column id="repinfo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="studyprojinfo"/>
- <Col id="rephistinfo"/>
- <Col id="repinfo"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_instlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_hidden_statuslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_hidden_docinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="signimge" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="signimge"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_save" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="savedata" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="savedata"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_instlist_inst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">본원</Col>
- <Col id="cdid">031</Col>
- </Row>
- <Row>
- <Col id="cdnm">칠곡</Col>
- <Col id="cdid">032</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="userinfo" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="temp" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_rshlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_studyprojinfo_studyprojlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_repinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_rephistinfo_rephistlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_projamt_projamtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_repinfo_repmain" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_repinfo_repdetl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_repinfo_repform" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_repdetltemplete" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_docinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group1.input9" propid="value" datasetid="ds_main_repinfo_repmain" columnid="projamt"/>
- <BindItem id="item1" compid="group1.ipt_prcpcd" propid="value" datasetid="ds_main_repinfo_repmain" columnid="studycd"/>
- <BindItem id="item2" compid="group1.input2" propid="value" datasetid="ds_main_repinfo_repmain" columnid="rshnm"/>
- <BindItem id="item3" compid="group1.input5" propid="value" datasetid="ds_main_repinfo_repmain" columnid="projnm"/>
- <BindItem id="item4" compid="group1.input6" propid="value" datasetid="ds_main_repinfo_repmain" columnid="bsdd"/>
- <BindItem id="item5" compid="group1.opt_bstotjamt" propid="value" datasetid="ds_send_searchproj" columnid="bstotjamt"/>
- <BindItem id="item6" compid="group1.opt_bstotiamt" propid="value" datasetid="ds_send_searchproj" columnid="bstotiamt"/>
- <BindItem id="item7" compid="group1.opt_bstotoamt" propid="value" datasetid="ds_send_searchproj" columnid="bstotoamt"/>
- <BindItem id="item8" compid="group1.out_reqfirm" propid="value" datasetid="ds_main_repinfo_repmain" columnid="reqfirm"/>
- <BindItem id="item9" compid="combo2" propid="value" datasetid="ds_main_repinfo_repmain" columnid="status"/>
- <BindItem id="item10" compid="switch1.case1.group2.cmb_s_instcd" propid="value" datasetid="ds_send_searchproj" columnid="instcd"/>
- <BindItem id="item11" compid="switch1.case1.group2.ipt_s_projnm" propid="value" datasetid="ds_send_searchproj" columnid="projnm"/>
- <BindItem id="item12" compid="switch1.case1.group2.ipt_s_projcd" propid="value" datasetid="ds_send_searchproj" columnid="studycd"/>
- <BindItem id="item13" compid="switch1.case1.group2.chk_s_yn" propid="value" datasetid="ds_send_searchproj" columnid="chk"/>
- <BindItem id="item14" compid="switch1.case1.rdo_statushis" propid="value" datasetid="ds_send_searchrephist" columnid="statushis"/>
- <BindItem id="item15" compid="switch1.case2.input13" propid="value" datasetid="ds_send_searchproj" columnid="todd"/>
- <BindItem id="item16" compid="switch1.case2.input1" propid="value" datasetid="ds_send_searchproj" columnid="fromdd"/>
- <BindItem id="item17" compid="switch1.case2.radio1" propid="value" datasetid="ds_send_searchproj" columnid="statushis"/>
- <BindItem id="item18" compid="switch1.case2.cmb_daykind" propid="value" datasetid="ds_send_searchproj" columnid="daykind"/>
- <BindItem id="item19" compid="switch1.case2.input3" propid="value" datasetid="ds_send_searchproj" columnid="rshnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-06-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SMRIF02200_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- grdf_initGrid(switch1.case2.grd_bsrephist);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- fInitialize();
- }
- function fInitialize(){
- switch1.tabindex = 0;
-
- dsf_makeValue( ds_send_searchproj, "daykind", "string", "A");
- dsf_makeValue( ds_send_searchproj, "fromdd", "string", ((utlf_getCurrentDate().toDate()).getAddDate(-3,"M")).getDateFormat());
- dsf_makeValue( ds_send_searchproj, "todd", "string", utlf_getCurrentDate());
- dsf_makeValue( ds_send_searchproj, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
-
- var arrParam = [ {dsNm: "ds_init_status", cdGrpId: "I0010" } ];
- appf_getCodeList(arrParam, false);
- if (frmf_isPopup()) {
- var menuparam = opener.frmf_getParameter("SMRIF02200_menuparam");
- var rshid = opener.frmf_getParameter("SMRIF02200_rshid");
- var rshnm = opener.frmf_getParameter("SMRIF02200_rshnm");
- var studycd = opener.frmf_getParameter("SMRIF02200_studycd");
- dsf_makeValue( ds_send_searchproj, "rshid", "string", rshid );
- dsf_makeValue( ds_send_searchproj, "rshnm", "string", rshnm );
- dsf_makeValue( ds_send_searchproj, "studycd", "string", studycd );
- dsf_makeValue( ds_send_searchproj, "chk", "string", "Y" );
- dsf_makeValue( ds_send_searchproj, "statushis", "string", "E" );
- fSearch();
- }
- var oParam = {};
- oParam.id = "TRRIF02204";
- oParam.service = "ctmsapp.ReportMngt";
- oParam.method = "reqGetCodeInfo";
- oParam.inds = "req=ds_send_searchproj";
- oParam.outds = "ds_init_rshlist=rshlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRIF02204";
- tranf_submit(oParam);
-
- fSetStatus();
- }
- /* 과제 조회 */
- function fSearch(){
- var oParam = {};
- oParam.id = "TRRIF02201";
- oParam.service = "ctmsapp.ReportMngt";
- oParam.method = "reqGetStudyProjList2";
- oParam.inds = "req=ds_send_searchproj";
- oParam.outds = "ds_main_studyprojinfo_studyprojlist=studyprojlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRIF02201";
- tranf_submit(oParam);
- }
- function fSetStatus(){
- switch1.case2.btn_reject.enable = true;
- switch1.case1.btn_confirm.enable = true;
- switch1.case2.btn_cancel.enable = true;
- var status = switch1.case2.radio1.value;
- if ( status == "P") {
- switch1.case2.btn_reject.enable = false;
- switch1.case1.btn_confirm.enable = false;
- switch1.case2.btn_cancel.enable = false;
- }
- if ( status == "R") {
- switch1.case2.btn_reject.enable = false;
- switch1.case1.btn_confirm.enable = true;
- switch1.case2.btn_cancel.enable = false;
- }
- if ( status == "E") {
- switch1.case2.btn_reject.enable = true;
- switch1.case1.btn_confirm.enable = true;
- switch1.case2.btn_cancel.enable = false;
- }
- if ( status == "A") {
- switch1.case2.btn_reject.enable = false;
- switch1.case1.btn_confirm.enable = false;
- switch1.case2.btn_cancel.enable = true;
- }
- }
- //
- // function inputEnterKeySearch() {
- // if(event.keyCode == "13") {
- // obj.updateToDataset();
- // fSearch();
- // }
- // }
- //
- //
- // /* 보고서내역 조회 */
- function fSearchReportHist(){
- var idx = switch1.case1.grd_proj.currentrow;
- var oParam = {};
- oParam.id = "TRRIF02202";
- oParam.service = "ctmsapp.ReportMngt";
- oParam.method = "reqGetReportHistList2";
- oParam.inds = "req=ds_send_searchproj";
- oParam.outds = "ds_main_rephistinfo_rephistlist=rephistlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRIF02202";
- tranf_submit(oParam);
- fInitRepDetail();
- }
- /* 보고서 조회 */
- function fSearchRep(selectedrow){
- var sREPINFO_PATH = "ds_main_repinfo";
- var sREPDETL_PATH = sREPINFO_PATH + "_repdetl";
- var sREPMAIN_PATH = sREPINFO_PATH + "_repmain";
- var sREPFORM_PATH = sREPINFO_PATH + "_repform";
- var sREPDETL_TEMPLETE_PATH = sREPINFO_PATH + "_repdetltemplete";
- var idx = selectedrow;
- var bstotiamt = "";
- var bstotoamt = "";
- var bstotjamt = "";
- dsf_makeValue( ds_send_searchrep, "instcd", "string", ds_main_rephistinfo_rephistlist.getColumn(idx, "instcd"));
- dsf_makeValue( ds_send_searchrep, "projcd", "string", ds_main_rephistinfo_rephistlist.getColumn(idx, "projcd"));
- dsf_makeValue( ds_send_searchrep, "reptcd", "string", ds_main_rephistinfo_rephistlist.getColumn(idx, "reptcd"));
- dsf_makeValue( ds_send_searchrep, "seqno", "string", ds_main_rephistinfo_rephistlist.getColumn(idx, "seqno"));
- var oParam = {};
- oParam.id = "TRRIS00306";
- oParam.service = "ctmsapp.StudyProjMngt";
- oParam.method = "reqGetProjAmtList";
- oParam.inds = "req=ds_send_searchrep";
- oParam.outds = "ds_main_projamt_projamtlist=projamtlist ds_=projrepmainlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRIS00306";
- tranf_submit(oParam);
- bstotiamt = ds_main_projamt_projamtlist.getColumn(0, "iamt");
- bstotoamt = ds_main_projamt_projamtlist.getColumn(0, "oamt");
- bstotjamt = ds_main_projamt_projamtlist.getColumn(0, "jamt");
- var oParam = {};
- oParam.id = "TRRIF02203";
- oParam.service = "ctmsapp.ReportMngt";
- oParam.method = "reqGetRep";
- oParam.inds = "req=ds_send_searchrep";
- oParam.outds = sREPMAIN_PATH + "=repmain "+sREPFORM_PATH+"=repform "+sREPDETL_PATH+"=repdetl "+sREPDETL_TEMPLETE_PATH+"=repdetltemplete";
- oParam.async = false;
- //oParam.callback = "cf_TRRIF02203";
- tranf_submit(oParam);
- if(eval(sREPFORM_PATH).rowcount == 0){
- sysf_messageBox("해당 보고서는 개발 중","E008");
- fInitRepDetail();
- return;
- }
- var repdetl = eval(sREPDETL_PATH);
- if( repdetl == null || sREPDETL_PATH.rowcount == 0){
- sysf_messageBox("관련 데이타가","I004");
- fInitRepDetail();
- return;
- }
- dsf_makeValue( ds_send_searchproj, "bstotiamt", "string", bstotiamt );
- dsf_makeValue( ds_send_searchproj, "bstotoamt", "string", bstotoamt );
- dsf_makeValue( ds_send_searchproj, "bstotjamt", "string", bstotjamt );
-
- var scrnurl = eval(sREPFORM_PATH).getColumn(0,"scrnurl");
- var xfdlname = "";
- var scrnurlxp = "";
-
- if(scrnurl.lastIndexOf(".xrw") > -1) {
- var arScrnurl = scrnurl.split("/xrw/");
- var servicename = arScrnurl[0];
- var filename = arScrnurl[1];
- var service = servicename.split("/");
- var biz = service[0] + "_";
- var project = service[1];
-
- if(utlf_isNull(filename)) {
- filename = servicename;
- }
- if(utlf_isNull(project)) {
- biz = "";
- project = "";
- } else {
- project = project.substring(0, project.length - 3) + "xp" + "::";
- }
-
- xfdlname = filename.substring(0, filename.length - 3) + "xfdl";
- scrnurlxp = biz + project + xfdlname;
- }
- group1.iviewer1.url = "";
- group1.iviewer1.url = scrnurlxp;
- group1.iviewer1.fSetReport(sREPMAIN_PATH, sREPDETL_PATH);
- fCheckStatus();
- }
- /* 보고서 상세 초기화 */
- function fInitRepDetail(){
- ds_main_repinfo.clearData();
- group1.iviewer1.src = "SMRIF02110_보고서초기화면.xrw";
- fCheckStatus();
- }
- /* 상태체크(상태에 따라 item 설정 변경) */
- function fCheckStatus(){
- var status = ds_main_repinfo_repmain.getColumn(0, "status");
- if(status == "A"){
- cpt_status.text = "연구소확인" ;
- }else{
- cpt_status.text = "" ;
- }
- }
- //
- // /* 저장 */
- // function fSave(vbtnnm){
- //
- // var grdObj = grd_bsrephist;
- // var rowsize = grdObj.rows - grdObj.fixedRows;
- // var grdnodeset = grdObj.attribute("nodeset");
- // var status;
- //
- // if(vbtnnm == "switch1.case1.btn_confirm"){
- // status = "A";
- // }else if(vbtnnm == "switch1.case1.btn_confirm_cancel"){
- // status = "E";
- // }
- // else if(vbtnnm == "switch1.case2.btn_reject"){
- // status = "R";
- // }
- //
- // for(var i=1;i<=rowsize; i++){
- // var chk = eval(grdnodeset).getColumn(i, "chk");
- // var rjtremark = eval(grdnodeset).getColumn(i, "rjtremark");
- // var curstatus = eval(grdnodeset).getColumn(i, "status");
- //
- // if(chk == "Y"){
- //
- // //model.makeValue(grdnodeset+"["+i+"]_status",status);
- // eval(grdnodeset).setColumn(i, "status", status);
- // //model.makeValue(grdnodeset+"["+i+"]_rjtremark",rjtremark);
- // eval(grdnodeset).setColumn(i, "rjtremark", rjtremark);
- // model.makeValue(grdnodeset+"["+i+"]_chk","N");
- // }
- // }
- //
- // dsf_makeValue( ds_send_save, "savedata", "string", grdObj.getUpdateData());
- //
- // // submit("TXRIF02201",false);
- // var oParam = {};
- // oParam.id = "TXRIF02201";
- // oParam.service = "ctmsapp.ReportMngt";
- // oParam.method = "reqChngStatus";
- // oParam.inds = "req=ds_";
- // oParam.outds = "";
- // oParam.async = false;
- // oParam.callback = "cf_TXRIF02201";
- //
- // tranf_submit(oParam);
- // /*
- // function cf_TXRIF02201(sSvcId, nErrorCode, sErrorMsg) {
- // if(nErrorCode < 0) return;
- // }
- // function cf_TXRIF02201(sSvcId, nErrorCode, sErrorMsg) {
- // arErrorCode.push(sSvcId, nErrorCode);
- // }
- // arErrorCode.pop("TXRIF02201") > -1
- // arErrorCode.pop("TXRIF02201") < 0
- // */
- //
- //
- //
- // //model.refresh();
- //
- // }
- //
- // function fSetUserinfo(){
- // frmf_setParameter("search_condition","usernm");
- // frmf_setParameter("resultref","ds_send_userinfo");
- // frmf_modal("SPZSU10100", "", ""-"", "", "", "", "", "", "", "", "", "", "M");
- //
- // var userinfo = ds_send.getColumn(0, "userinfo");
- // userinfo = userinfo.split("|");
- // var rshid = userinfo[2];
- // var rshnm = userinfo[3];
- //
- // dsf_makeValue( ds_send_searchproj, "rshid", "string", rshid);
- // dsf_makeValue( ds_send_searchproj, "rshnm", "string", rshnm);
- // ds_send_userinfo.clearData(); ds_send_userinfo.addRow();
- //
- // //model.refresh();
- //
- // }
- //
- //
- //
- // //스크립트 끝
- // function combo2_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- //
- // fCheckStatus();
- //
- // }
- //
- function button1_onclick(obj:Button, e:ClickEventInfo) {
- frmf_modal("SPRIS00202", "SPRIS00202", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function btn_print_onclick(obj:Button, e:ClickEventInfo) {
- var sREPDETLINFO_PATH="ds_main_repinfo";
- var rsltDs = eval(sREPDETLINFO_PATH+"_repform");
- var prntform = rsltDs.getColumn(0,"prntform");
- if(utlf_isNull(prntform)){
- sysf_messageBox("선택된 보고서가","I004");
- return;
- }
- var status = group1.iviewer1.ds_main_repmain.getColumn(0, "status");
- if ( status != "A" ) {
- sysf_messageBox("연구소 확인상태의 보고서만 출력가능합니다","I");
- return;
- }
- dsf_makeValue( ds_send_docinfo, "userid", "string", ds_main_repinfo_repmain.getColumn(0, "rshid"));
-
- var oParam = {};
- oParam.id = "TRRIF01205";
- oParam.service = "ctmsapp.StudyProjMngt";
- oParam.method = "reqGetUsrSignImge";
- oParam.inds = "req=ds_send_docinfo";
- oParam.outds = "ds_hidden_docinfo=docinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRRIF01205";
- tranf_submit(oParam);
- group1.iviewer1.fSetDrSignData(ds_hidden_docinfo.getColumn(0, "signimge"));
- group1.iviewer1.fPrintReport(prntform);
- }
- function switch1_case1_group2_button5_onclick(obj:Button, e:ClickEventInfo) {
- fSearch();
- }
- //
- // function switch1_case1_group2_cmb_s_instcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- //
- // inputEnterKeySearch();
- //
- // }
- //
- // function switch1_case1_group2_ipt_s_projnm_onkillfocus(obj:Edit, e:KillFocusEventInfo) {
- //
- // inputEnterKeySearch();
- //
- // }
- //
- // function switch1_case1_group2_ipt_s_projcd_onkillfocus(obj:Edit, e:KillFocusEventInfo) {
- //
- // inputEnterKeySearch();
- //
- // }
- //
- // function switch1_case1_group2_ipt_s_projcd_onkeydown(obj:Edit, e:KeyEventInfo) {
- //
- // if(event.keyCode == "13") {
- // inputEnterKey("switch1.case1.group2.button5","DOMActivate");
- // }
- //
- // }
- //
- // function switch1_case1_group2_btn_useid_onclick(obj:Button, e:ClickEventInfo) {
- //
- // fSetUserinfo();
- //
- // }
- //
- // function switch1_case1_grd_proj_onaftersort {
- //
- // switch1.case1.grd_proj.gridToInstance();
- //
- // }
- //
- // function switch1_case1_grd_proj_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
- //
- // dsf_makeValue( ds_send_searchrephist, "instcd", "string", ds_main_studyprojinfo_studyprojlist.getColumn(switch1.case1.grd_proj.row, "instcd"));
- // dsf_makeValue( ds_send_searchrephist, "projcd", "string", ds_main_studyprojinfo_studyprojlist.getColumn(switch1.case1.grd_proj.row, "projcd"));
- // dsf_makeValue( ds_send_searchrephist, "daykind", "string", "");
- // dsf_makeValue( ds_send_searchrephist, "fromdd", "string", "");
- // dsf_makeValue( ds_send_searchrephist, "todd", "string", "");
- // fSearchReportHist();
- //
- // }
- //
- // function switch1_case1_grd_rephist_onaftersort {
- //
- // switch1.case1.grd_rephist.gridToInstance();
- //
- // }
- //
- // function switch1_case1_grd_rephist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
- //
- // if(switch1.case1.grd_rephist.col == switch1.case1.grd_rephist.colRef("chk")) return;
- // var selectedrow = switch1.case1.grd_rephist.row;
- // fSearchRep(selectedrow);
- //
- // }
- //
- // function switch1_case1_btn_confirm_onclick(obj:Button, e:ClickEventInfo) {
- //
- // setAlertOn();
- // fSave("switch1.case1.btn_confirm");
- //
- // }
- //
- // function switch1_case1_btn_confirm_cancel_onclick(obj:Button, e:ClickEventInfo) {
- //
- // setAlertOn();
- // fSave("switch1.case1.btn_confirm_cancel");
- //
- // }
- //
- function switch1_case2_btn_search_onclick(obj:Button, e:ClickEventInfo) {
- dsf_makeValue( ds_send_searchrephist, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
- dsf_makeValue( ds_send_searchrephist, "projcd", "string", "");
- dsf_makeValue( ds_send_searchrephist, "fromdd", "string", ds_send_searchproj.getColumn(0, "fromdd"));
- dsf_makeValue( ds_send_searchrephist, "todd", "string", ds_send_searchproj.getColumn(0, "todd"));
- dsf_makeValue( ds_send_searchrephist, "daykind", "string", ds_send_searchproj.getColumn(0, "daykind"));
- dsf_makeValue( ds_send_searchrephist, "rshnm", "string", ds_send_searchproj.getColumn(0, "rshnm"));
- fSearchReportHist();
- }
- //
- // function switch1_case2_grd_bsrephist_onaftersort {
- //
- // switch1.case2.grd_bsrephist.gridToInstance();
- //
- // }
- //
- function switch1_case2_grd_bsrephist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
- if(e.col == obj.getBindCellIndex("body", "chk")) { return; }
- var selectedrow = e.row;
- fSearchRep(selectedrow);
- }
- // function switch1_case2_button2_onclick(obj:Button, e:ClickEventInfo) {
- //
- // setAlertOn();
- // fSave("switch1.case1.btn_confirm");
- // switch1.case2.btn_search.dispatch("DOMActivate");
- //
- // }
- //
- // function switch1_case2_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo) {
- //
- // fSetStatus();
- // switch1.case2.btn_search.dispatch("DOMActivate");
- //
- // }
- //
- // function switch1_case2_btn_cancel_onclick(obj:Button, e:ClickEventInfo) {
- //
- // setAlertOn();
- // fSave("switch1.case1.btn_confirm_cancel");
- // switch1.case2.btn_search.dispatch("DOMActivate");
- //
- // }
- //
- // function switch1_case2_btn_reject_onclick(obj:Button, e:ClickEventInfo) {
- //
- // setAlertOn();
- // fSave("switch1.case2.btn_reject");
- // switch1.case2.btn_search.dispatch("DOMActivate");
- //
- // }
- //
- // function button4_onclick(obj:Button, e:ClickEventInfo) {
- //
- // model.toggle("switch1.case1");
- // ds_main_rephistinfo.clearData();
- //
- // //model.refresh();
- //
- // }
- //
- // function button6_onclick(obj:Button, e:ClickEventInfo) {
- //
- // model.toggle("switch1.case2");
- // ds_main_rephistinfo.clearData();
- //
- // //model.refresh();
- //
- // }
- //
- function btn_spconn_onclick(obj:Button, e:ClickEventInfo) {
- frmf_open("SMPAM00402", "SMPAM00402", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function btn_reptpt_onclick(obj:Button, e:ClickEventInfo) {
- if (ds_main_rephistinfo_rephistlist.rowposition < 0) {
- sysf_messageBox("선택된 과제가 없습니다.", "E999");
- return;
- }
- var projcd = ds_main_rephistinfo_rephistlist.getColumn(ds_main_rephistinfo_rephistlist.rowposition, "projcd");
- frmf_setParameter("SMPAM00403_projcd", projcd);
- frmf_open("SMPAM00403", "SMPAM00403", "", "", "", "", "", "", "", "", "", "", "M");
- }
- ]]></Script>
- </Form>
- </FDL>
|