123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAEA05900" position="absolute 0 0 1186 776" titletext="영상의학 파트별 처방이력 관리" oninit="SMAEA05900_oninit" onload="SMAEA05900_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 2 745 1184 772" id="grp_btn">
- <Layouts>
- <Layout>
- <Button position="absolute 0 3 147 25" id="btn_prt" class="btn6" taborder="6" text="파트별 처방이력 출력" anchor="default" onclick="grp_btn_btn_prt_onclick"/>
- <Button position="absolute 235 3 383 25" id="button1" class="btn6" taborder="7" text="개인별 처방이력 출력" anchor="default" onclick="grp_btn_button1_onclick"/>
- <Edit position="absolute 386 5 406 24" id="ipt_prntnum" anchor="default"/>
- <CheckBox position="absolute 152 4 177 24" id="bool_part" anchor="default"/>
- <CheckBox position="absolute 410 4 435 24" id="bool_indi" anchor="default"/>
- <Static text="미리보기" position="absolute 177 5 227 25" id="caption5" anchor="default"/>
- <Static text="미리보기" position="absolute 433 5 483 25" id="caption7" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 18 1185 750" id="grp_main" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Static text="파트별 처방이력 LIST" position="absolute 0 56 190 72" id="caption45" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 72 1185 78" linetype="horizontal" id="line18" class="line_10" anchor="default"/>
- <Grid position="absolute 0 77 1185 727" id="mltgrd_partlst" anchor="default" binddataset="ds_main_partprcplst_item" onexpandup="grp_main_mltgrd_partlst_onexpandup" autoenter="key">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="25"/>
- <Column size="130"/>
- <Column size="85"/>
- <Column size="75"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="50"/>
- <Column size="70"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" displaytype="checkbox" edittype="checkbox" taborder="undefined"/>
- <Cell col="2" text="촬 영 예 정"/>
- <Cell col="3" text="등 록 번 호"/>
- <Cell col="4" text="성 명"/>
- <Cell col="5" colspan="2" text="진 료 과" taborder="undefined"/>
- <Cell col="7" colspan="3" text="촬 영 의 뢰 내 역" taborder="undefined"/>
- <Cell col="10" text="촬 영 부 위"/>
- <Cell col="11" colspan="2" text="주 상 병" taborder="undefined"/>
- <Cell col="13" rowspan="2" text="접수 Comment" taborder="undefined"/>
- <Cell col="14" rowspan="2" text="실시 Comment" taborder="undefined"/>
- <Cell row="1" col="2" text="처 방 일 자"/>
- <Cell row="1" col="3" text="접 수 번 호"/>
- <Cell row="1" col="4" text="성 별/나 이"/>
- <Cell row="1" col="5" text="병 실" wordwrap="none"/>
- <Cell row="1" col="6" text="외 / 입"/>
- <Cell row="1" col="7" text="진 료 의"/>
- <Cell row="1" col="8" text="촬 영 실"/>
- <Cell row="1" col="9" text="횟 수"/>
- <Cell row="1" col="10" text="판 독 일 자"/>
- <Cell row="1" col="11" text="상 태"/>
- <Cell row="1" col="12" text="접 수 자"/>
- </Band>
- <Band id="body">
- <Cell rowspan="2" celltype="head" text="expr:currow+1" taborder="undefined"/>
- <Cell col="1" rowspan="2" displaytype="checkbox" edittype="checkbox" text="bind:check1" taborder="undefined"/>
- <Cell col="2" text="bind:rsrvdt"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" text="bind:patnm"/>
- <Cell col="5" colspan="2" style="align:left top;padding:5 2 0 2;" text="bind:orddepthngnm" taborder="undefined"/>
- <Cell col="7" colspan="3" style="align:left middle;padding:0 2 0 2;" text="bind:prcpnm" taborder="undefined"/>
- <Cell col="10" text="bind:section"/>
- <Cell col="11" colspan="2" style="align:left middle;padding:0 2 0 2;" text="bind:termengn" taborder="undefined"/>
- <Cell col="13" rowspan="2" displaytype="text" edittype="text" style="align:left top;padding:5 2 0 2;" text="bind:acptrem" taborder="undefined" expandshow="show"/>
- <Cell col="14" rowspan="2" displaytype="text" edittype="text" style="align:left top;padding:5 2 0 2;" text="bind:execrem" taborder="undefined" expandshow="show"/>
- <Cell row="1" col="2" text="bind:prcpdd" mask="@@@@-@@-@@ @@:@@:@@"/>
- <Cell row="1" col="3" text="bind:pacsno"/>
- <Cell row="1" col="4" text="bind:sna"/>
- <Cell row="1" col="5" text="bind:roomcd"/>
- <Cell row="1" col="6" text="bind:prcpgenrflag"/>
- <Cell row="1" col="7" text="bind:orddrnm"/>
- <Cell row="1" col="8" text="bind:basecdflagdes"/>
- <Cell row="1" col="9" text="bind:phocntstats"/>
- <Cell row="1" col="10" text="bind:cnfmdt"/>
- <Cell row="1" col="11" text="bind:dispexecprcpstatnm"/>
- <Cell row="1" col="12" text="bind:acptid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div position="absolute 390 295 835 540" id="grp_prcpcment" visible="false" anchor="default">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 445 245" id="rectangle1" type="rectangle" anchor="default"/>
- <TextArea position="absolute 5 30 440 210" id="txt_prcpcment" anchor="default"/>
- <Button position="absolute 380 215 436 237" id="btn_cls" class="btn4" text="닫기" anchor="default" onclick="grp_main_grp_prcpcment_btn_cls_onclick"/>
- <Button position="absolute 320 215 376 237" id="btn_savecment" class="btn4" text="저장" anchor="default" onclick="grp_main_grp_prcpcment_btn_savecment_onclick"/>
- <Static text="접수Comment" position="absolute 5 12 178 28" id="caption32" class="tit_2" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 390 295 835 540" id="grp_execment" visible="false" anchor="default">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 444 244" id="rectangle5" type="rectangle" anchor="default"/>
- <TextArea position="absolute 4 30 439 210" id="txta_exerem" anchor="default"/>
- <Button position="absolute 380 215 436 237" id="btn_execclse" class="btn4" text="닫기" anchor="default" onclick="grp_main_grp_execment_btn_execclse_onclick"/>
- <Button position="absolute 320 215 376 237" id="btn_execsave" class="btn4" text="저장" anchor="default" onclick="grp_main_grp_execment_btn_execsave_onclick"/>
- <Static text="실시Comment" position="absolute 4 12 177 28" id="caption8" class="tit_2" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="영상의학 파트별 처방이력 관리" class="tit_1" position="absolute 0 0 220 25"/>
- <Div id="grp_srch" taborder="1" class="div_SA" position="absolute 0 25 1185 65">
- <Layouts>
- <Layout>
- <Shape id="line16" linetype="vertical" class="line_4" position="absolute 1102 9 1108 31" anchor="default"/>
- <Button id="btn_select" taborder="5" text="조회" class="btn1" position="absolute 1118 9 1174 31" anchor="default" onclick="grp_srch_btn_select_onclick"/>
- <Calendar id="ipt_srchtodd" taborder="6" class="input_essential" position="absolute 785 10 887 29" anchor="default"/>
- <Calendar id="ipt_srchfromdd" taborder="7" class="input_essential" position="absolute 659 10 761 29" anchor="default"/>
- <Static id="lbl_srchdd" text="구분 :" class="search_name" position="absolute 10 12 72 29" anchor="default"/>
- <Static id="lbl_~" text="~" class="search_no_b" position="absolute 768 12 780 29" anchor="default"/>
- <Static id="caption1" text="SECTION :" class="search_name" position="absolute 361 12 439 29" anchor="default"/>
- <Combo id="cmb_initsect" taborder="8" innerdataset="@ds_init_cmb_section" codecolumn="sectionid" datacolumn="sectionnm" class="combo_search" position="absolute 460 10 560 29" anchor="default"/>
- <Combo id="cmb_excuroomgrp" taborder="9" innerdataset="@ds_init_cmb_info_initexcuroomgrp" codecolumn="excuroomgrpcdid" datacolumn="excuroomgrpcdnm" class="combo_search" position="absolute 73 10 153 29" anchor="default" onitemchanged="grp_srch_cmb_excuroomgrp_onitemchanged"/>
- <Static id="caption2" text="조회기간 :" class="search_name" position="absolute 570 13 648 30" anchor="default"/>
- <Static id="caption3" text="구분 :" class="search_name" position="absolute 895 13 949 30" anchor="default"/>
- <Radio id="rdo_flag" taborder="10" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 952 12 1100 29" anchor="default">
- <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">E</Col>
- <Col id="datacolumn">영상</Col>
- </Row>
- <Row>
- <Col id="codecolumn">S</Col>
- <Col id="datacolumn">건진</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption4" text="검사실 :" class="search_name" position="absolute 167 12 237 29" anchor="default"/>
- <Combo id="cmb_exroom" taborder="11" innerdataset="@ds_init_cmb_info2_initexecroom" codecolumn="excuroomcdid" datacolumn="excuroomcdnm" class="combo_search" position="absolute 244 10 350 29" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_execrcodelist_execrcode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sortno" type="STRING" size="256"/>
- <Column id="basecd" type="STRING" size="256"/>
- <Column id="basecdflagdesc" type="STRING" size="256"/>
- <Column id="basecdcnts" type="STRING" size="256"/>
- <Column id="basecdflag" type="STRING" size="256"/>
- <Column id="basesuppdeptcd" type="STRING" size="256"/>
- <Column id="seq" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sortno"/>
- <Col id="basecd"/>
- <Col id="basecdflagdesc"/>
- <Col id="basecdcnts"/>
- <Col id="basecdflag"/>
- <Col id="basesuppdeptcd"/>
- <Col id="seq"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_partprcplst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check1" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="rgsttm" type="STRING" size="256"/>
- <Column id="execprcpstatcd" type="STRING" size="256"/>
- <Column id="dispexecprcpstatnm" type="STRING" size="256"/>
- <Column id="prcpkindcd" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="wardcddeptengabbr" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="prcpexecdeptcd" type="STRING" size="256"/>
- <Column id="inclprcpcd" type="STRING" size="256"/>
- <Column id="excuroomnm" type="STRING" size="256"/>
- <Column id="rgstdepthngnm" type="STRING" size="256"/>
- <Column id="rgstridnm" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="rsrvdt" type="STRING" size="256"/>
- <Column id="execprcpuniqno" type="STRING" size="256"/>
- <Column id="calcscorcd" type="STRING" size="256"/>
- <Column id="prcpexecdeptcd" type="STRING" size="256"/>
- <Column id="excuroomcd" type="STRING" size="256"/>
- <Column id="excuroomgrpcd" type="STRING" size="256"/>
- <Column id="rgstdeptcd" type="STRING" size="256"/>
- <Column id="rgstrid" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="portprcpflag" type="STRING" size="256"/>
- <Column id="inflag" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="prcphistno" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- <Column id="sna" type="STRING" size="256"/>
- <Column id="rcptacptyn" type="STRING" size="256"/>
- <Column id="execbaseflag" type="STRING" size="256"/>
- <Column id="lrgcd" type="STRING" size="256"/>
- <Column id="mdlcd" type="STRING" size="256"/>
- <Column id="excupartcd" type="STRING" size="256"/>
- <Column id="modality" type="STRING" size="256"/>
- <Column id="acptrem" type="STRING" size="256"/>
- <Column id="execrem" type="STRING" size="256"/>
- <Column id="reqagnphoyn" type="STRING" size="256"/>
- <Column id="dyetrivialyn" type="STRING" size="256"/>
- <Column id="acptdt" type="STRING" size="256"/>
- <Column id="pacsnocretcdyn" type="STRING" size="256"/>
- <Column id="pacsnocretyn" type="STRING" size="256"/>
- <Column id="acptid" type="STRING" size="256"/>
- <Column id="execrid1" type="STRING" size="256"/>
- <Column id="execrid2" type="STRING" size="256"/>
- <Column id="execrid3" type="STRING" size="256"/>
- <Column id="execrid4" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="execdt" type="STRING" size="256"/>
- <Column id="cnfmdt" type="STRING" size="256"/>
- <Column id="ivinputyn" type="STRING" size="256"/>
- <Column id="arvtm" type="STRING" size="256"/>
- <Column id="excuexecfromdt1" type="STRING" size="256"/>
- <Column id="excueqcd1" type="STRING" size="256"/>
- <Column id="rslttmplcd" type="STRING" size="256"/>
- <Column id="eqmtifyn" type="STRING" size="256"/>
- <Column id="basecdflagdes" type="STRING" size="256"/>
- <Column id="rcptno" type="STRING" size="256"/>
- <Column id="prcpdelivefact" type="STRING" size="256"/>
- <Column id="clinccmtcnts" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="payflagcd" type="STRING" size="256"/>
- <Column id="rsrvdd" type="STRING" size="256"/>
- <Column id="prcphopedd" type="STRING" size="256"/>
- <Column id="orddepthngnm" type="STRING" size="256"/>
- <Column id="orddrnm" type="STRING" size="256"/>
- <Column id="cntctel" type="STRING" size="256"/>
- <Column id="rcptdd" type="STRING" size="256"/>
- <Column id="carecnfmdd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="actorddd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="precureprcpflag" type="STRING" size="256"/>
- <Column id="clincstdycd" type="STRING" size="256"/>
- <Column id="basesuppdeptcd" type="STRING" size="256"/>
- <Column id="migyn" type="STRING" size="256"/>
- <Column id="prcpkindnm" type="STRING" size="256"/>
- <Column id="section" type="STRING" size="256"/>
- <Column id="phocntstats" type="STRING" size="256"/>
- <Column id="pacsno" type="STRING" size="256"/>
- <Column id="mdlcd" type="STRING" size="256"/>
- <Column id="termengn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_srch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="grupcdid" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="dutplceinstcd" type="STRING" size="256"/>
- <Column id="basesuppdeptcd" type="STRING" size="256"/>
- <Column id="srchprodid" type="STRING" size="256"/>
- <Column id="srchinitsect" type="STRING" size="256"/>
- <Column id="srchexcuroomgrp" type="STRING" size="256"/>
- <Column id="prcpcment" type="STRING" size="256"/>
- <Column id="execprcpuniqno" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="acptrem" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="execrem" type="STRING" size="256"/>
- <Column id="srchexecroom" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchfromdd"/>
- <Col id="srchtodd"/>
- <Col id="grupcdid"/>
- <Col id="suppdeptcd"/>
- <Col id="dutplceinstcd"/>
- <Col id="basesuppdeptcd"/>
- <Col id="srchprodid"/>
- <Col id="srchinitsect"/>
- <Col id="srchexcuroomgrp"/>
- <Col id="prcpcment"/>
- <Col id="execprcpuniqno"/>
- <Col id="prcpdd"/>
- <Col id="acptrem"/>
- <Col id="srchflag"/>
- <Col id="execrem"/>
- <Col id="srchexecroom"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_globalinstance" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instance1" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecd" type="STRING" size="256"/>
- <Column id="basecdflag" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="selectallyn" type="STRING" size="256"/>
- <Column id="prntnum" type="STRING" size="256"/>
- <Column id="bolpart" type="STRING" size="256"/>
- <Column id="bolindi" type="STRING" size="256"/>
- <Column id="excuroomgrpcdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="basecd"/>
- <Col id="basecdflag"/>
- <Col id="instcd"/>
- <Col id="selectallyn"/>
- <Col id="prntnum"/>
- <Col id="bolpart"/>
- <Col id="bolindi"/>
- <Col id="excuroomgrpcdid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="count" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_baseinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="initinsukind" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cmb_section" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sectionid" type="STRING" size="256" sumtext="sectionid"/>
- <Column id="sectionnm" type="STRING" size="256" sumtext="sectionnm"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_templst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_rexprnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="excuroomgrp" type="STRING" size="256"/>
- <Column id="initsect" type="STRING" size="256"/>
- <Column id="partprcplst" type="STRING" size="256"/>
- <Column id="execroom" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchfromdd"/>
- <Col id="srchtodd"/>
- <Col id="excuroomgrp"/>
- <Col id="initsect"/>
- <Col id="partprcplst"/>
- <Col id="execroom"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_rexdata_partprcplst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_cmb_info_initexcuroomgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="excuroomgrpcdid" type="STRING" size="256"/>
- <Column id="excuroomgrpcdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_info_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="excuroomcdid" type="STRING" size="256"/>
- <Column id="excuroomcdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_info2_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="excuroomcdid" type="STRING" size="256"/>
- <Column id="excuroomcdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_srch.cmb_excuroomgrp" propid="value" datasetid="ds_send_srch" columnid="srchexcuroomgrp"/>
- <BindItem id="item1" compid="grp_srch.cmb_exroom" propid="value" datasetid="ds_send_srch" columnid="srchexecroom"/>
- <BindItem id="item2" compid="grp_srch.cmb_initsect" propid="value" datasetid="ds_send_srch" columnid="srchinitsect"/>
- <BindItem id="item3" compid="grp_srch.ipt_srchfromdd" propid="value" datasetid="ds_send_srch" columnid="srchfromdd"/>
- <BindItem id="item4" compid="grp_srch.ipt_srchtodd" propid="value" datasetid="ds_send_srch" columnid="srchtodd"/>
- <BindItem id="item5" compid="grp_srch.rdo_flag" propid="value" datasetid="ds_send_srch" columnid="srchflag"/>
- <BindItem id="item6" compid="grp_main.grp_execment.txta_exerem" propid="value" datasetid="ds_send_srch" columnid="execrem"/>
- <BindItem id="item7" compid="grp_main.grp_prcpcment.txt_prcpcment" propid="value" datasetid="ds_send_srch" columnid="acptrem"/>
- <BindItem id="item8" compid="grp_btn.bool_part" propid="value" datasetid="ds_send" columnid="bolpart"/>
- <BindItem id="item9" compid="grp_btn.ipt_prntnum" propid="value" datasetid="ds_send" columnid="prntnum"/>
- <BindItem id="item10" compid="grp_btn.bool_indi" propid="value" datasetid="ds_send" columnid="bolindi"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "ast_examcurexp::AEZ0001.xjs"
- include "ast_examcurexp::combolist.xjs"
- //include "ast_dentalcraftxp::dentalcraftcombolist.xjs"
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- var gSuppdeptcd = "";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description : 화면 기본 초기화
- ****************************************************************************************/
- function fGetScreenInit() {
- ds_send.clearData();
- ds_send.addRow();
-
- ds_send_srch.setColumn(0,"srchfromdd", utlf_getCurrentDate() );
- ds_send_srch.setColumn(0,"srchtodd" , utlf_getCurrentDate() );
- ds_send_srch.setColumn(0,"srchflag" , "A");
- ds_send.setColumn(0,"prntnum", "1");
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 콤보 초기화
- ****************************************************************************************/
- function fGetComboInit() {
- lf_aezfSetSuppDeptcd(); //AEZ0001.xjs
- gSuppdeptcd = frmf_getParameter("AST_DEPTCD");
-
- ds_send_srch.setColumn(0,"suppdeptcd", gSuppdeptcd);
-
- dsf_createDsRow("ds_req", [
- {col:"basesuppdeptcd", val:gSuppdeptcd}
- ,{col:"basrcdflag" , val:""}
- ]);
- // Section 정보
- var oParam = {};
- oParam.id = "TRAEF00203";
- oParam.service = "examcurersrvapp.RsrvRef";
- oParam.method = "reqGetExamCdList";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_init_cmb_section=initsection";
- oParam.async = false;
- //oParam.callback = "cf_TRAEF00203";
- tranf_submit(oParam);
-
- // 구분 정보
- dsf_createDsRow("ds_reqparam", [
- {col:"basesuppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
- , {col:"rbasecdflag" , type:"STRING", size:256, val:"R"}
- , {col:"ebasecdflag" , type:"STRING", size:256, val:"E"}
- , {col:"instcd" , type:"STRING", size:256, val:""}
- , {col:"initflag" , type:"STRING", size:256, val:"1"}
- , {col:"alladdyn" , type:"STRING", size:256, val:""}
- ]);
- var oParam = {};
- oParam.id = "TRAEA01301";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetInitExamCureRoomGrpCodeList";
- oParam.inds = "reqparam=ds_reqparam";
- oParam.outds = "ds_init_cmb_info_initexcuroomgrp=initexcuroomgrp ds_init_cmb_info2_initexecroom=initexcuroom";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01301";
- tranf_submit(oParam);
-
- // model.removeNodeset("/root/init/cmb_info/initexecroom");
- // var cnt = getNodesetCount("/root/init/cmb_info/initexecroom");
- // for( var i = 1; i <= cnt ; i++ ){
- // model.makeNode("/root/init/cmb_info2/initexecroom[" + i + "]");
- // model.copyNode("/root/init/cmb_info2/initexecroom[" + i + "]", "/root/init/cmb_info/initexecroom[" + i + "]");
- // }
- ds_init_cmb_info2_initexecroom.clearData();
- // 검사실 Combo박스 전체추가
- dsf_addDsItem(ds_init_cmb_info2_initexecroom,"excuroomcdid","excuroomcdnm","-- 전체 --","all");
-
- grp_srch.cmb_excuroomgrp.index = 0;
- grp_srch.cmb_exroom.index = 0;
- grp_srch.cmb_initsect.index = 0;
- grp_btn.bool_part.value = true;
- grp_btn.bool_indi.value = true;
- }
- function cf_TRAEA01301(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- ds_init_cmb_info_initexcuroomgrp.updateColID("basecdcnts" ,"excuroomgrpcdid");
- ds_init_cmb_info_initexcuroomgrp.updateColID("basecdcnts2" ,"excuroomgrpcdnm");
-
- ds_init_cmb_info2_initexecroom.updateColID("basecd" ,"excuroomcdid");
- ds_init_cmb_info2_initexecroom.updateColID("basecdflagdesc" ,"excuroomcdnm");
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMAEA05900
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMAEA05900_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMAEA05900
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMAEA05900_onload(obj:Form, e:LoadEventInfo)
- {
- fGetScreenInit();
- fGetComboInit();
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : grp_srch.cmb_excuroomgrp
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 구분 변경하여 검사실 조회
- ****************************************************************************************/
- function grp_srch_cmb_excuroomgrp_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_send.setColumn(0,"excuroomgrpcdid",e.postvalue);
-
- dsf_createDsRow("ds_reqparam", [
- {col:"basesuppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
- , {col:"rbasecdflag", type:"STRING", size:256, val:"R"}
- , {col:"ebasecdflag", type:"STRING", size:256, val:"E"}
- , {col:"basecdcnts", type:"STRING", size:256, val:e.postvalue}
- ]);
- var oParam = {};
- oParam.id = "TRAEA01306";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetInitPhotoExamCureRoomCodeList";
- oParam.inds = "reqparam=ds_reqparam";
- oParam.outds = "ds_init_cmb_info2_initexecroom=initexcuroom";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01306";
- tranf_submit(oParam);
-
- grp_srch.cmb_exroom.index = 0;
- }
- function cf_TRAEA01306(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_init_cmb_info2_initexecroom.updateColID("basecd" ,"excuroomcdid");
- ds_init_cmb_info2_initexecroom.updateColID("basecdflagdesc" ,"excuroomcdnm");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grp_srch.btn_select
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회
- ****************************************************************************************/
- function grp_srch_btn_select_onclick(obj:Button, e:ClickEventInfo)
- {
- dsf_createDsRow("ds_req", [
- {col:"lrgcd" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"srchexcuroomgrp")}
- , {col:"section" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"srchinitsect")}
- , {col:"srchfromdd" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"srchfromdd")}
- , {col:"srchtodd" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"srchtodd")}
- , {col:"suppdeptcd" , type:"STRING", size:256, val:gSuppdeptcd}
- , {col:"srchflag" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"srchflag")}
- , {col:"srchexecroom" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"srchexecroom")}
- ]);
- var oParam = {};
- oParam.id = "TRAEA05900";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCurePartPrcplist";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_partprcplst_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAEA05900";
- tranf_submit(oParam);
-
- var row = ds_main_partprcplst_item.rowcount;
-
- for(var i = 0 ; i < row ; i++){
- if(ds_main_partprcplst_item.getColumn(i,"cnfmdt") == "00000000000000" ) {
- ds_main_partprcplst_item.setColumn(i,"cnfmdt", "-");
- }
-
- ds_main_partprcplst_item.setColumn(i,"prcpdd", ds_main_partprcplst_item.getColumn(i,"prcpdd") + ds_main_partprcplst_item.getColumn(i,"rgsttm"));
- }
- }
- function cf_TRAEA05900(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_main_partprcplst_item.updateColID("basecdflagdesc","basecdflagdes");
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grp_main.mltgrd_partlst
- * Event : onexpandup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 리스트 코멘트 버튼 클릭
- ****************************************************************************************/
- function grp_main_mltgrd_partlst_onexpandup(obj:Grid, e:GridMouseEventInfo)
- {
- /*
- * 처방 Comment 입력
- */
- if(e.col == obj.getBindCellIndex("body","acptrem")) {
- ds_send_srch.setColumn(0,"acptrem",ds_main_partprcplst_item.getColumn(e.row,"acptrem"));
- grp_main.grp_prcpcment.visible = true;
- }
- /*
- * 실시 Comment 입력
- */
- if(e.col == obj.getBindCellIndex("body","execrem")) {
- ds_send_srch.setColumn(0,"execrem",ds_main_partprcplst_item.getColumn(e.row,"execrem"));
- grp_main.grp_execment.visible = true;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grp_main.grp_execment.btn_execsave
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 실시 Comment 입력
- ****************************************************************************************/
- function grp_main_grp_execment_btn_execsave_onclick(obj:Button, e:ClickEventInfo)
- {
- var idx = ds_main_partprcplst_item.rowposition;
-
- ds_send_srch.setColumn(0,"basesuppdeptcd", gSuppdeptcd);
- ds_send_srch.setColumn(0,"execprcpuniqno", ds_main_partprcplst_item.getColumn(idx,"execprcpuniqno"));
- ds_send_srch.setColumn(0,"prcpdd" , ds_main_partprcplst_item.getColumn(idx,"prcpdd").substring(0,8) );
-
- if ( sysf_messageBox("실시Comment 정보를","Q002")== 6 ) {
- dsf_setTypeFormat(ds_send_srch, "execprcpuniqno:INT");
-
- var oParam = {};
- oParam.id = "TXAER01202";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAcptExecrem";
- oParam.inds = "reqparam=ds_send_srch";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
- oParam.callback = "cf_TXAER01202";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TXAER01202") > -1) {
- sysf_messageBox("저장이 완료되었습니다.","I999");
- grp_main.grp_execment.visible = false;
- frmf_inputEnterKey("grp_srch.btn_select", "onclick", new ClickEventInfo);
- }
- }
- }
- function cf_TXAER01202(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grp_main.grp_execment.btn_execclse
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 실시 Comment 닫기
- ****************************************************************************************/
- function grp_main_grp_execment_btn_execclse_onclick(obj:Button, e:ClickEventInfo)
- {
- grp_main.grp_execment.visible = false;
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grp_main.grp_prcpcment.btn_savecment
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 접수 Comment 입력
- ****************************************************************************************/
- function grp_main_grp_prcpcment_btn_savecment_onclick(obj:Button, e:ClickEventInfo)
- {
- var idx = ds_main_partprcplst_item.rowposition;
- ds_send_srch.setColumn(0,"basesuppdeptcd", gSuppdeptcd);
- ds_send_srch.setColumn(0,"execprcpuniqno", ds_main_partprcplst_item.getColumn(idx,"execprcpuniqno"));
- ds_send_srch.setColumn(0,"prcpdd" , ds_main_partprcplst_item.getColumn(idx,"prcpdd").substring(0,8));
- if ( sysf_messageBox("접수Comment 정보를","Q002")== 6 ) {
- dsf_createDsRow("ds_reqparam", [
- {col:"acptrem" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"acptrem")}
- , {col:"prcpdd" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"prcpdd")}
- , {col:"execprcpuniqno" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"execprcpuniqno")}
- , {col:"suppdeptcd" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"basesuppdeptcd")}
- ]);
- dsf_setTypeFormat(ds_reqparam, "execprcpuniqno:INT");
-
- var oParam = {};
- oParam.id = "TXAEA01304";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqSetAcptremUpdate";
- oParam.inds = "reqparam=ds_reqparam";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
- oParam.callback = "cf_TXAEA01304";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TXAEA01304") > -1) {
- sysf_messageBox("저장이 완료되었습니다.","I999");
- grp_main.grp_prcpcment.visible = false;
- frmf_inputEnterKey("grp_srch.btn_select", "onclick", new ClickEventInfo);
- }
- }
- }
- function cf_TXAEA01304(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grp_main.grp_prcpcment.btn_cls
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 접수 Comment 닫기
- ****************************************************************************************/
- function grp_main_grp_prcpcment_btn_cls_onclick(obj:Button, e:ClickEventInfo)
- {
- grp_main.grp_prcpcment.visible = false;
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grp_btn.btn_prt
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 파트별 처방이력 출력
- ****************************************************************************************/
- function grp_btn_btn_prt_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_rexprnt.clearData();
- ds_rexdata_partprcplst.clearData();
- var partCnt = ds_main_partprcplst_item.rowcount;
-
- if( partCnt > 0 ) {
- if( !utlf_isNull(ds_send_srch.getColumn(0,"srchexcuroomgrp")) ) {
- ds_rexprnt.setColumn(0,"excuroomgrp",grp_srch.cmb_excuroomgrp.text);
- } else {
- ds_rexprnt.setColumn(0,"excuroomgrp","");
- }
-
- if( !utlf_isNull(ds_send_srch.getColumn(0,"srchinitsect")) ) {
- ds_rexprnt.setColumn(0,"initsect",grp_srch.cmb_initsect.text);
- } else {
- ds_rexprnt.setColumn(0,"initsect", "" );
- }
-
- if( ds_send_srch.getColumn(0,"srchexecroom") != "all" && !utlf_isNull(ds_send_srch.getColumn(0,"srchexecroom"))){
- ds_rexprnt.setColumn(0,"execroom", grp_srch.cmb_exroom.text );
- }else{
- ds_rexprnt.setColumn(0,"execroom", "" );
- }
-
- ds_rexprnt.setColumn(0,"srchfromdd",grp_srch.ipt_srchfromdd.text);
- ds_rexprnt.setColumn(0,"srchtodd", grp_srch.ipt_srchtodd.text);
-
- // 체크구분 ==> 전체출력
- var chckflag = 0;
- for (var a = 1 ; a <= partCnt ; a++ ) {
- if( model.getValue("/root/main/partprcplst/item[" + a + "]/check1") == "Y" ) {
- chckflag++;
- }
- }
-
- var idx = 0;
-
- if( chckflag > 0 ) {
- for (var a = 0 ; a < partCnt ; a++ ) {
- if( ds_main_partprcplst_item.getColumn(a,"check1") == "Y" ) {
- ds_rexdata_partprcplst.insertRow(idx);
- ds_rexdata_partprcplst.copyRow(idx,ds_main_partprcplst_item,a);
- ds_rexdata_partprcplst.setColumn(idx,"acptdt" , ds_main_partprcplst_item.getColumn(a,"acptdt"));
- ds_rexdata_partprcplst.setColumn(idx,"rsrvdt" , ds_main_partprcplst_item.getColumn(a,"rsrvdt"));
- idx++;
- }
- }
- } else { // 선택된 Row 없이 출력버튼을 누르면 전체출력
- for (var i = 0 ; i < partCnt ; i++ ) {
- ds_rexdata_partprcplst.insertRow(i);
- ds_rexdata_partprcplst.copyRow(i,ds_main_partprcplst_item,i);
- ds_rexdata_partprcplst.setColumn(i,"acptdt" , ds_main_partprcplst_item.getColumn(i,"acptdt"));
- ds_rexdata_partprcplst.setColumn(i,"rsrvdt" , ds_main_partprcplst_item.getColumn(i,"rsrvdt"));
- }
- }
-
- if( ds_send.getColumn(0,"bolpart") == "true"){
- // exeReportPreview("RPAEA05900", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/rexprnt/partprcplst/item" , ds_rexdata_partprcplst);
- rptf_setNodeListToDOM(objDOM, "/root/rexprnt" , ds_rexprnt);
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
- rptf_exeReportPreview30(["RPAEA05900"],[objParam], option);
- }else{
- // exeReportPreview("RPAEA05900", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/rexprnt/partprcplst/item" , ds_rexdata_partprcplst);
- rptf_setNodeListToDOM(objDOM, "/root/rexprnt" , ds_rexprnt);
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPAEA05900"],[objParam], option);
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grp_btn.button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 개인별 처방이력 출력
- ****************************************************************************************/
- function grp_btn_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var partCnt = ds_main_partprcplst_item.rowcount;
- if( partCnt > 0 ) {
- var temp = 0;
- // Check 확인
- for( var i = 0 ; i < partCnt ; i++ ) {
- if( ds_main_partprcplst_item.getColumn(i,"check1") == "Y" ) {
- temp++;
- }
- }
-
- var idx = 0;
- var num = ds_send.getColumn(0,"prntnum");
-
- if( temp > 0 ) {
- for (var a = 0 ; a < partCnt ; a++ ) {
- if( ds_main_partprcplst_item.getColumn(a,"check1") == "Y" ) {
- var nRow = ds_rexdata_partprcplst.addRow();
- ds_rexdata_partprcplst.copyData(nRow,ds_main_partprcplst_item,a);
- ds_rexdata_partprcplst.setColumn(0,"acptdt" , ds_main_partprcplst_item.getColumn(a,"acptdt").substring(0,8));
- ds_rexdata_partprcplst.setColumn(0,"rsrvdt" , ds_main_partprcplst_item.getColumn(a,"rsrvdt"));
- idx++;
-
- for( var j = 0 ; j < num ; j++) {
- if( ds_send.getColumn(0,"bolindi") == "true"){
- exeReportPreview("RPAEA05901", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
- }else{
- exeReportPreview("RPAEA05901", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
- }
- }
-
- ds_rexdata_partprcplst.clearData();
- }
- }
- } else { // 선택된 Row 없이 출력버튼을 누르면 전체출력
- for (var i = 0 ; i < partCnt ; i++ ) {
- var nRow = ds_rexdata_partprcplst.addRow();
- ds_rexdata_partprcplst.copyData(nRow,ds_main_partprcplst_item,i);
- ds_rexdata_partprcplst.setColumn(0,"acptdt" , ds_main_partprcplst_item.getColumn(i,"acptdt").substring(0,8));
- ds_rexdata_partprcplst.setColumn(0,"rsrvdt" , ds_main_partprcplst_item.getColumn(i,"rsrvdt"));
-
- for( var j = 0 ; j < num ; j++) {
- if( ds_send.getColumn(0,"bolindi") == "true"){
- // exeReportPreview("RPAEA05901", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/rexprnt/partprcplst/item" , ds_rexdata_partprcplst);
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
- rptf_exeReportPreview30(["RPAEA05901"],[objParam], option);
- }else{
- // exeReportPreview("RPAEA05901", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/rexprnt/partprcplst/item" , ds_rexdata_partprcplst);
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPAEA05901"],[objParam], option);
- }
- }
-
- ds_rexdata_partprcplst.clearData();
- }
- }
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|