123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRIS00102" position="absolute 0 0 1192 768" titletext="과제이력관리" onload="SMRIS00102_onload">
- <Layouts>
- <Layout>
- <Static id="cap_title" class="tit_1" position="absolute 0 0 126 26" style="" text="과제입력관리"/>
- <Div id="grp_projhist" position="absolute 0 65 1192 768" style="" anchor="all">
- <Layouts>
- <Layout>
- <Grid id="grd_projhist" binddataset="ds_main_result_projhistinfo_projhistlist" class="datagrid2" position="absolute 0 28 1192 703" style="" onaftersort="grp_projhist_grd_projhist_onaftersort" ontextchanged="grp_projhist_grd_projhist_ontextchanged" onkeypress="grp_projhist_grd_projhist_onkeypress" anchor="all" cellmovingtype="col" selecttype="multirow" onexpanddown="grp_projhist_grd_projhist_onexpanddown" cellclickbound="control" autoenter="select" onenterdown="grp_projhist_grd_projhist_onenterdown" autoupdatetype="none">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="138"/>
- <Column size="419"/>
- <Column size="32"/>
- <Column size="74"/>
- <Column size="68"/>
- <Column size="100"/>
- <Column size="98"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="82"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="과제번호"/>
- <Cell col="2" text="과제명"/>
- <Cell col="3" text="이력 No"/>
- <Cell col="4" colspan="2" text="책임연구원" taborder="undefined"/>
- <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="기관구분"/>
- <Cell col="15" text="승인유효일"/>
- <Cell col="16" text="의약품명칭"/>
- <Cell col="17" text="의뢰기관"/>
- <Cell col="18" text="대행기관"/>
- <Cell col="19" text="계약일"/>
- <Cell col="20" text="상세설명"/>
- <Cell col="21" text="심사"/>
- <Cell col="22" text="심의종류"/>
- <Cell col="23" text="심의결과"/>
- <Cell col="24" text="최초승인일"/>
- <Cell col="25" text="증례수"/>
- <Cell col="26" text="과제코드"/>
- <Cell col="27" text="기관코드"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" edittype="expr:getRowType(currow) == 2 ? 'text' : 'readonly'" style="align:center;background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:studycd" editautoselect="true"/>
- <Cell col="2" displaytype="text" edittype="textarea" style="align:left top;background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:projnm" wordwrap="word" editautoselect="true"/>
- <Cell col="3" edittype="text" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:seqno" editautoselect="true"/>
- <Cell col="4" edittype="text" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:rshid" editautoselect="true" expandshow="show"/>
- <Cell col="5" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:rshnm" editautoselect="true"/>
- <Cell col="6" displaytype="date" edittype="date" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:cnfmdd" editautoselect="true" calendardisplay="display"/>
- <Cell col="7" displaytype="number" edittype="masknumber" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:projamt" editautoselect="true"/>
- <Cell col="8" displaytype="date" edittype="date" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:fromdd" editautoselect="true" calendardisplay="display"/>
- <Cell col="9" displaytype="date" edittype="date" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:todd" editautoselect="true" calendardisplay="display"/>
- <Cell col="10" edittype="text" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:stage" editautoselect="true"/>
- <Cell col="11" edittype="text" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:projtype" editautoselect="true"/>
- <Cell col="12" displaytype="date" edittype="date" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:fcnfmdd" editautoselect="true" calendardisplay="display"/>
- <Cell col="13" displaytype="text" edittype="text" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:nflag" editautoselect="true"/>
- <Cell col="14" displaytype="text" edittype="text" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:oflag" editautoselect="true"/>
- <Cell col="15" displaytype="date" edittype="date" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:cnfmvalidd" editautoselect="true" calendardisplay="display"/>
- <Cell col="16" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:drugnm" editautoselect="true"/>
- <Cell col="17" displaytype="text" edittype="text" style="align:left;background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:reqfirm" editautoselect="true"/>
- <Cell col="18" displaytype="text" edittype="text" style="align:left;background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:agent" editautoselect="true"/>
- <Cell col="19" displaytype="date" edittype="date" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:cntrdd" editautoselect="true" calendardisplay="display"/>
- <Cell col="20" displaytype="text" edittype="text" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:projspec" editautoselect="true"/>
- <Cell col="21" displaytype="text" edittype="text" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:simsa" editautoselect="true"/>
- <Cell col="22" displaytype="text" edittype="text" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:simsakind" editautoselect="true"/>
- <Cell col="23" displaytype="text" edittype="text" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:simsarslt" editautoselect="true"/>
- <Cell col="24" displaytype="date" edittype="date" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:fstcnfmdd" editautoselect="true" calendardisplay="display"/>
- <Cell col="25" displaytype="text" edittype="text" style="background:BIND(bgcolor);background2:BIND(bgcolor);" text="bind:samplecnt" editautoselect="true"/>
- <Cell col="26" style="background:transparent;background2:transparent;" text="bind:projcd" editautoselect="true"/>
- <Cell col="27" style="background:transparent;background2:transparent;" text="bind:instcd" editautoselect="true"/>
- <Cell col="28" text="bind:isyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption15" class="tit_2" position="absolute 0 10 128 29" style="" text="과제이력LIST" anchor="default"/>
- <Button id="btn_add" class="btn2" position="absolute 941 7 994 26" style="" text="행추가" onclick="grp_projhist_btn_add_onclick" anchor="top right"/>
- <Button id="btn_del" class="btn2" position="absolute 995 7 1048 26" style="" text="행삭제" onclick="grp_projhist_btn_del_onclick" anchor="top right"/>
- <Button id="btn_excel" class="btn5" position="absolute 1049 7 1113 26" style="" text="엑셀입력" onclick="grp_projhist_btn_excel_onclick" anchor="top right"/>
- <Button id="btn_save" class="btn7" taborder="26" position="absolute 1114 7 1192 26" style="" text="엑셀저장" onclick="grp_projhist_btn_save_onclick" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group3" position="absolute 0 26 1192 66" style="align: top;" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Button id="btn_search" class="btn1" position="absolute 1104 8 1160 30" style="" text="조회" onclick="group3_btn_search_onclick" anchor="top right"/>
- <Static id="caption3" class="search_name" position="absolute 24 10 115 27" style="" text="과제번호 :" anchor="left top"/>
- <Edit id="ipt_studycd" position="absolute 115 10 260 29" style="" anchor="left top" onkeypress="group3_ipt_studycd_onkeypress" onkeydown="group3_ipt_studycd_onkeydown"/>
- <Shape id="line30" class="line_4" linetype="vertical" position="absolute 1070 9 1073 30" style="" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="button1" class="btn4" taborder="26" position="absolute 1136 1 1192 23" style="" text="저장" onclick="button1_onclick" anchor="top right"/>
- <Button id="button2" class="btn2" taborder="26" position="absolute 1067 1 1135 23" style="" text="초기화" onclick="button2_onclick" anchor="top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="studycd" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="studycd"/>
- <Col id="srchflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_result" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="projhistinfo" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hidden" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hidden"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_baseinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_init_baseinfo_instinfo" 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="hospnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="hospnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_result_projhistdetlinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="stage" type="STRING" size="256"/>
- <Column id="kind" type="STRING" size="256"/>
- <Column id="status" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_srch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="searchcondition" type="STRING" size="256"/>
- <Column id="searchterm" type="STRING" size="256"/>
- <Column id="dutinstcd" type="STRING" size="256"/>
- <Column id="dutunitcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="searchcondition"/>
- <Col id="searchterm"/>
- <Col id="dutinstcd"/>
- <Col id="dutunitcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_col" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="projhistinfo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="projhistinfo"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_result_studyprojlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="projcd" type="STRING" size="256"/>
- <Column id="studycd" type="STRING" size="256"/>
- <Column id="projnm" type="STRING" size="256"/>
- <Column id="status" type="STRING" size="256"/>
- <Column id="reqfirm" type="STRING" size="256"/>
- <Column id="kind" type="STRING" size="256"/>
- <Column id="rshid" type="STRING" size="256"/>
- <Column id="rshnm" type="STRING" size="256"/>
- <Column id="cnfmdd" type="STRING" size="256"/>
- <Column id="cntrdd" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="cntramt" type="STRING" size="256"/>
- <Column id="stage" type="STRING" size="256"/>
- <Column id="projspec" type="STRING" size="256"/>
- <Column id="fstrgstrnm" type="STRING" size="256"/>
- <Column id="fstrgstdt" type="STRING" size="256"/>
- <Column id="lastupdnm" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="projamt" type="STRING" size="256"/>
- <Column id="custnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="projcd"/>
- <Col id="studycd"/>
- <Col id="projnm"/>
- <Col id="status"/>
- <Col id="reqfirm"/>
- <Col id="kind"/>
- <Col id="rshid"/>
- <Col id="rshnm"/>
- <Col id="cnfmdd"/>
- <Col id="cntrdd"/>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="cntramt"/>
- <Col id="stage"/>
- <Col id="projspec"/>
- <Col id="fstrgstrnm"/>
- <Col id="fstrgstdt"/>
- <Col id="lastupdnm"/>
- <Col id="lastupdtdt"/>
- <Col id="instcd"/>
- <Col id="projamt"/>
- <Col id="custnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_result" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_send_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="grdpid" type="STRING" size="256"/>
- <Column id="grdhngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="instcd"/>
- <Col id="hngnm"/>
- <Col id="grdpid"/>
- <Col id="grdhngnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_result_projhistinfo_projhistlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="상태"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="backinstcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="studycd" type="STRING" size="256" sumtext="과제번호"/>
- <Column id="projcd" type="STRING" size="256" sumtext="과제코드"/>
- <Column id="seqno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="projnm" type="STRING" size="256" sumtext="과제명"/>
- <Column id="rshid" type="STRING" size="256" sumtext="책임연구원"/>
- <Column id="rshnm" type="STRING" size="256" sumtext="책임연구원"/>
- <Column id="cnfmdd" type="STRING" size="256" sumtext="승인일"/>
- <Column id="stage" type="STRING" size="256" sumtext="단계(1,2,3,4,PMS,기타,SIT,학술)"/>
- <Column id="projtype" type="STRING" size="256" sumtext="접수번호"/>
- <Column id="fcnfmdd" type="STRING" size="256" sumtext="식약청승인일"/>
- <Column id="nflag" type="STRING" size="256" sumtext="나라구분"/>
- <Column id="oflag" type="STRING" size="256" sumtext="기관구분"/>
- <Column id="cnfmvalidd" type="STRING" size="256" sumtext="승인유효일"/>
- <Column id="drugnm" type="STRING" size="256" sumtext="의약품명칭"/>
- <Column id="reqfirm" type="STRING" size="256" sumtext="의뢰회사 재무와 연결"/>
- <Column id="agent" type="STRING" size="256" sumtext="대행기관"/>
- <Column id="projamt" type="STRING" size="256" sumtext="총연구비"/>
- <Column id="cntrdd" type="STRING" size="256" sumtext="계약일"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="연구시작일"/>
- <Column id="todd" type="STRING" size="256" sumtext="연구종료일"/>
- <Column id="projspec" type="STRING" size="256" sumtext="과제상세내역"/>
- <Column id="simsa" type="STRING" size="256" sumtext="심사"/>
- <Column id="simsakind" type="STRING" size="256" sumtext="심의종류"/>
- <Column id="simsarslt" type="STRING" size="256" sumtext="심의결과"/>
- <Column id="fstcnfmdd" type="STRING" size="256" sumtext="최초승인일"/>
- <Column id="samplecnt" type="STRING" size="256" sumtext="증례수"/>
- <Column id="isyn" type="STRING" size="256"/>
- <Column id="bgcolor" 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>
- <Rows>
- <Row>
- <Col id="temp"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_newprojcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="newprojcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="savedata" type="STRING" size="256"/>
- <Column id="userinfo" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="studycd" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="totstudycd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="studycd"/>
- <Col id="srchflag"/>
- <Col id="totstudycd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list_userlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_projhistlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="studycd" type="STRING" size="256" sumtext="과제번호"/>
- <Column id="projcd" type="STRING" size="256" sumtext="과제코드"/>
- <Column id="seqno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="projnm" type="STRING" size="256" sumtext="과제명"/>
- <Column id="rshid" type="STRING" size="256" sumtext="책임연구원"/>
- <Column id="rshnm" type="STRING" size="256" sumtext="책임연구원"/>
- <Column id="cnfmdd" type="STRING" size="256" sumtext="승인일"/>
- <Column id="stage" type="STRING" size="256" sumtext="단계(1,2,3,4,PMS,기타,SIT,학술)"/>
- <Column id="projtype" type="STRING" size="256" sumtext="접수번호"/>
- <Column id="fcnfmdd" type="STRING" size="256" sumtext="식약청승인일"/>
- <Column id="nflag" type="STRING" size="256" sumtext="나라구분"/>
- <Column id="oflag" type="STRING" size="256" sumtext="기관구분"/>
- <Column id="cnfmvalidd" type="STRING" size="256" sumtext="승인유효일"/>
- <Column id="drugnm" type="STRING" size="256" sumtext="의약품명칭"/>
- <Column id="reqfirm" type="STRING" size="256" sumtext="의뢰회사 재무와 연결"/>
- <Column id="agent" type="STRING" size="256" sumtext="대행기관"/>
- <Column id="projamt" type="STRING" size="256" sumtext="총연구비"/>
- <Column id="cntrdd" type="STRING" size="256" sumtext="계약일"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="연구시작일"/>
- <Column id="todd" type="STRING" size="256" sumtext="연구종료일"/>
- <Column id="projspec" type="STRING" size="256" sumtext="과제상세내역"/>
- <Column id="simsa" type="STRING" size="256" sumtext="심사"/>
- <Column id="simsakind" type="STRING" size="256" sumtext="심의종류"/>
- <Column id="simsarslt" type="STRING" size="256" sumtext="심의결과"/>
- <Column id="fstcnfmdd" type="STRING" size="256" sumtext="최초승인일"/>
- <Column id="samplecnt" type="STRING" size="256" sumtext="증례수"/>
- <Column id="isyn" type="STRING" size="256" sumtext="증례수"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_checklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.ipt_studycd" propid="value" datasetid="ds_send_req" columnid="studycd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-01-10
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2018-01-10 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
-
- function SMRIS00102_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- grdf_initGrid(grp_projhist.grd_projhist);
- //grdf_setGridSort(grd_XXX);
- grdf_setRowTypeIcon(grp_projhist.grd_projhist, 0);
- fInit();
- }
- function fInit(){
- ds_main_result_projhistinfo_projhistlist.clearData();
- ds_send_req.setColumn( 0, "studycd" , "");
- }
- function fSearch(){
- group3.btn_search.setFocus();
- ds_send_req.setColumn( 0, "srchflag", "1");
-
- var oParam = {};
- oParam.id = "TRRIS00203";
- oParam.service = "ctmsapp.StudyProjMngt";
- oParam.method = "reqGetProjHistExcel";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_main_result_projhistinfo_projhistlist=projhistlist";
- oParam.async = false;
- tranf_submit(oParam);
- //grp_projhist.grd_projhist.colDisabled(1) = true;
-
- }
- function fSetUserSearch(flag){
- var rtn = appf_openUserInfoList("usernm");
- var userinfo = rtn.userInfo;
-
- if (!utlf_isNull(userinfo)) {
- userinfo = userinfo.split("|");
- var rshid = userinfo[2];
- var rshnm = userinfo[3];
-
- if( flag == 1 ){
- ds_send.setColumn( 0, "rshid", rshid);
- ds_send.setColumn( 0, "rshnm", rshnm);
- } else {
- var row = ds_result_projhistdetlinfo_projhistdetllist.rowposition;
- ds_result_projhistdetlinfo_projhistdetllist.setColumn(row,"rshid",rshid);
- ds_result_projhistdetlinfo_projhistdetllist.setColumn(row,"rshnm",rshnm);
- }
- }
- }
- function fCheckSaveData(){
- for( var i = 0; i <= ds_main_result_projhistinfo_projhistlist.rowcount; i++ ){
- if( ds_main_result_projhistinfo_projhistlist.getRowType(i) > 1 ){
- if( ds_main_result_projhistinfo_projhistlist.getColumn(i, "isyn") != "Y" || utlf_isNull(ds_main_result_projhistinfo_projhistlist.getColumn(i, "projcd"))){
- sysf_messageBox(i + 1 + "번째 행의 과제번호는 존재하지 않는 과제입니다. 【 " + ds_main_result_projhistinfo_projhistlist.getColumn(i, "studycd") + " 】" ,"C999");
- grp_projhist.grd_projhist.vscrollbar.pos = i;
- return false;
- }
- if( utlf_isNull(ds_main_result_projhistinfo_projhistlist.getColumn(i, "studycd") ) ){
- sysf_messageBox(i + 1 + "번째 행의 【 과제번호 】를" ,"C002");
- grp_projhist.grd_projhist.vscrollbar.pos = i;
- return false;
- }
- if( utlf_isNull(ds_main_result_projhistinfo_projhistlist.getColumn(i, "rshid") ) ){
- sysf_messageBox(i + 1 + "번째 행의 【 책임연구원 】을" ,"C002");
- grp_projhist.grd_projhist.vscrollbar.pos = i;
- return false;
- }
- if( utlf_isNull(ds_main_result_projhistinfo_projhistlist.getColumn(i, "cnfmdd") ) ){
- sysf_messageBox(i + 1 + "번째 행의 【 승 인 일 】을" ,"C002");
- grp_projhist.grd_projhist.vscrollbar.pos = i;
- return false;
- }
- if( utlf_isNull(ds_main_result_projhistinfo_projhistlist.getColumn(i, "projamt") ) ){
- sysf_messageBox(i + 1 + "번째 행의 【 총연구비 】를" ,"C002");
- grp_projhist.grd_projhist.vscrollbar.pos = i;
- return false;
- }
- if( utlf_isNull(ds_main_result_projhistinfo_projhistlist.getColumn(i, "fromdd") ) ){
- sysf_messageBox(i + "번째 행의 【 연구시작일 】을" ,"C002");
- grp_projhist.grd_projhist.topRow = i;
- return false;
- }
- if( utlf_isNull(ds_main_result_projhistinfo_projhistlist.getColumn(i, "todd") ) ){
- sysf_messageBox(i + 1 + "번째 행의 【 연구종료일 】을" ,"C002");
- grp_projhist.grd_projhist.topRow = i;
- return false;
- }
- }
- }
- return true;
- }
- function fSave(){
- if( fCheckSaveData() == false ) {
- return;
- }
- var updtdata = grdf_getGridUpdateData(grp_projhist.grd_projhist);
- if (updtdata.rowcount == 0 ) {
- sysf_messageBox("변경된 데이터가","I004");
- return;
- }
- var oParam = {};
- oParam.id = "TXRIS00206";
- oParam.service = "ctmsapp.StudyProjMngt";
- oParam.method = "reqExeProjHistMngt";
- oParam.inds = "req="+updtdata.name+":U";
- oParam.outds = "ds_=spcnt";
- oParam.async = false;
- //oParam.callback = "cf_TXRIS00206";
- tranf_submit(oParam);
- fSearch();
- }
- function grp_projhist_grd_projhist_ontextchanged(obj:Grid, e:GridEditTextChangedEventInfo) {
- }
- function grp_projhist_grd_projhist_onkeydown(obj:Grid, e:KeyEventInfo) {
-
- }
- function grp_projhist_btn_add_onclick(obj:Button, e:ClickEventInfo) {
- var row = ds_main_result_projhistinfo_projhistlist.addRow();
- ds_main_result_projhistinfo_projhistlist.setColumn(row, "instcd", sysf_getUserInfo("dutplceinstcd"));
-
- grp_projhist.grd_projhist.vscrollbar.pos = row;
- }
- function grp_projhist_btn_del_onclick(obj:Button, e:ClickEventInfo) {
-
- var nodeList = grdf_getSelectedRows(grp_projhist.grd_projhist);
- for (var j = nodeList.length-1; j >= 0; j--)
- {
- var rowStatus = ds_main_result_projhistinfo_projhistlist.getRowType(nodeList[j]);
- if (rowStatus != 2) {
- ds_main_result_projhistinfo_projhistlist.updatecontrol = false;
- ds_main_result_projhistinfo_projhistlist.setRowType(nodeList[j], 'd');
- ds_main_result_projhistinfo_projhistlist.updatecontrol = true;
- } else {
- ds_main_result_projhistinfo_projhistlist.deleteRow(nodeList[j]);
- }
- }
- }
- function grp_projhist_btn_excel_onclick(obj:Button, e:ClickEventInfo) {
- fInit();
-
- grdf_ImportExcel("ds_main_result_projhistinfo_projhistlist", 0, grp_projhist.grd_projhist, 0);
- var cnt = ds_main_result_projhistinfo_projhistlist.rowcount;
- var totstudycd = "";
- var ali = "'";
- var dot = ",";
- if( cnt > 0 ){
- for(var a = 0; a <= cnt -1; a++){
- if( !utlf_isNull(ds_main_result_projhistinfo_projhistlist.getColumn(a, "studycd"))){
- if( a < cnt -1 ){
- totstudycd = totstudycd + ali + ds_main_result_projhistinfo_projhistlist.getColumn(a, "studycd") + ali + dot;
- }else{
- totstudycd = totstudycd + ali + ds_main_result_projhistinfo_projhistlist.getColumn(a, "studycd") + ali;
- }
- }
- }
- }
- ds_send_reqdata.setColumn( 0, "totstudycd", totstudycd );
- var totCnt = 0;
- var oParam = {};
- oParam.id = "TRRIS00205";
- oParam.service = "ctmsapp.StudyProjMngt";
- oParam.method = "reqGetProjHistInsertCheck";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_checklist=checklist";
- oParam.async = false;
- tranf_submit(oParam);
- for(var b = 0; b <=cnt-1 ; b++){
- for(var c = 0; c <=cnt-1 ; c++){
- if( ds_main_result_projhistinfo_projhistlist.getColumn(b, "studycd") == ds_checklist.getColumn(c, "studycd") ){
- ds_main_result_projhistinfo_projhistlist.setColumn( b , "isyn", "Y");
- ds_main_result_projhistinfo_projhistlist.setColumn( b , "projcd", ds_checklist.getColumn(c, "projcd") );
- }
- }
- }
- for( var i = 0 ; i < cnt ; i++ ){
- if( ds_main_result_projhistinfo_projhistlist.getColumn(i, "isyn") != "Y"){
- ds_main_result_projhistinfo_projhistlist.setColumn(i, "bgcolor", "#999999");
- }
- }
- }
- function grp_projhist_btn_save_onclick(obj:Button, e:ClickEventInfo) {
- var sTitleTmp = "과제이력_"+utlf_getCurrentDate();
- grdf_exportExcel(grp_projhist.grd_projhist, sTitleTmp, sTitleTmp);
- }
- function group3_btn_search_onclick(obj:Button, e:ClickEventInfo) {
- fSearch();
- }
- function group3_ipt_studycd_onkeydown(obj:Edit, e:KeyEventInfo) {
- if(e.keycode == "13") {
- group3.btn_search.click();
- }
- }
- function button1_onclick(obj:Button, e:ClickEventInfo) {
- fSave();
- }
- function button2_onclick(obj:Button, e:ClickEventInfo) {
- fInit();
- }
- function grp_projhist_grd_projhist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- if( obj.getBindCellIndex("body","rshid") == e.col ){
- fSetUserSearch(2);
- }
- }
- function grp_projhist_grd_projhist_onenterdown(obj:Grid, e:GridEditEventInfo)
- {
- if( obj.getBindCellIndex("body","rshid") == e.col ){
- ds_send_srch.setColumn( 0, "searchcondition", "userid");
- ds_send_srch.setColumn( 0, "searchterm", e.value);
- if(ds_main_result_projhistinfo_projhistlist.getColumn(grp_projhist.grd_projhist.row, "rshid") != "" ){
- // if( submit("TRZSU10103") ){
- var oParam = {};
- oParam.id = "TRZSU10103";
- oParam.service = "userdeptinfoapp.UserDeptInfoAdmin";
- oParam.method = "reqGetUserInfoList";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "ds_main_list_userlist=userlist";
- oParam.async = false;
- //oParam.callback = "cf_TRZSU10103";
- tranf_submit(oParam);
-
- ds_main_result_projhistinfo_projhistlist.setColumn( e.row , "rshnm" , ds_main_list_userlist.getColumn(0, "usernm"));
- }
- } else if ( ds_main_result_projhistinfo_projhistlist.getRowType(e.row) == 2 && obj.getBindCellIndex("body","studycd") == e.col) {
- ds_send_reqdata.setColumn( 0, "srchflag", "2");
- ds_send_reqdata.setColumn( 0, "studycd", e.value );
- ds_projhistlist.clearData();
-
- var oParam = {};
- oParam.id = "TRRIS00204";
- oParam.service = "ctmsapp.StudyProjMngt";
- oParam.method = "reqGetProjHistExcel";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_projhistlist=projhistlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRIS00204";
- tranf_submit(oParam);
- if( !utlf_isNull(ds_projhistlist.getColumn(0, "projcd"))){
- ds_main_result_projhistinfo_projhistlist.copyRow(e.row, ds_projhistlist, 0);
-
- ds_main_result_projhistinfo_projhistlist.setColumn(e.row, "isyn", "Y");
- ds_main_result_projhistinfo_projhistlist.setColumn(e.row, "seqno", "");
- }else{
- sysf_messageBox("해당 연구는 존재하지 않습니다." ,"C999");
- ds_projhistlist.addRow();
- ds_main_result_projhistinfo_projhistlist.copyRow(e.row, ds_projhistlist, 0);
- return;
- }
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|