123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPARH00700" position="absolute 0 0 1126 789" titletext="주요시설현황" onload="SPARH00700_onload" oninit="SPARH00700_oninit">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1120 761" id="group3" scrollbars="autoboth"/>
- <Div position="absolute 0 763 1120 786" id="group5" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Button position="absolute 997 1 1053 23" id="btn_save" class="btn4" text="저장" anchor="default" onclick="group5_btn_save_onclick"/>
- <Button position="absolute 1058 1 1114 23" id="btn_cncl" class="btn4" text="취소" anchor="default" onclick="group5_btn_cncl_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 2 0 1122 761" id="group2">
- <Layouts>
- <Layout>
- <Static text="병원기본정보" position="absolute 5 3 116 19" id="caption1" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 20 1120 26" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Shape position="absolute 0 47 1120 53" linetype="horizontal" id="line2" class="line_2" anchor="default"/>
- <Shape position="absolute 0 73 1120 79" linetype="horizontal" id="line6" class="line_3" anchor="default"/>
- <Edit readonly="true" position="absolute 118 53 161 72" id="input43" enable="false" anchor="default" style=":disabled {background:URL('theme://images/bg_edit_d.png') stretch 5,5;}"/>
- <Static text="주 소" position="absolute 0 51 115 74" align="align:left middle;" id="caption53" class="cell_1" anchor="default" style=":disabled {background:#ecf7fcff;}"/>
- <Edit readonly="true" position="absolute 210 53 606 72" id="input44" enable="false" anchor="default" style=":disabled {background:URL('theme://images/bg_edit_d.png') stretch 5,5;}"/>
- <Edit readonly="true" position="absolute 610 53 1120 72" id="input45" enable="false" anchor="default" style=":disabled {background:URL('theme://images/bg_edit_d.png') stretch 5,5;}"/>
- <Edit position="absolute 119 27 334 46" id="input35" class="input_essential" enable="false" anchor="default"/>
- <Edit readonly="true" position="absolute 453 27 605 46" id="input36" enable="false" anchor="default" style=":disabled {background:URL('theme://images/bg_edit_d.png') stretch 5,5;}"/>
- <Static text="병원장명" position="absolute 335 25 450 48" align="align:center middle;" id="caption6" class="cell_1" anchor="default"/>
- <Button position="absolute 214 80 230 96" id="button20" class="icon_search" enable="false" visible="false" text="" anchor="default"/>
- <Edit readonly="true" position="absolute 163 53 206 72" id="input1" enable="false" anchor="default" style=":disabled {background:URL('theme://images/bg_edit_d.png') stretch 5,5;}"/>
- <Static text="병원명칭" position="absolute 0 25 115 48" align="align:center middle;" id="caption38" class="cell_1" anchor="default"/>
- <Static text="팩스번호" position="absolute 863 25 978 48" align="align:center middle;" id="caption50" class="cell_1" anchor="default"/>
- <Static text="전화번호" position="absolute 610 25 725 48" align="align:center middle;" id="caption52" class="cell_1" anchor="default"/>
- <Edit readonly="true" position="absolute 728 27 858 46" id="input46" enable="false" anchor="default" style=":disabled {background:URL('theme://images/bg_edit_d.png') stretch 5,5;}"/>
- <Edit readonly="true" position="absolute 982 27 1120 46" id="input47" enable="false" anchor="default" style=":disabled {background:URL('theme://images/bg_edit_d.png') stretch 5,5;}"/>
- <Static text="진료과 현황" position="absolute 5 82 116 99" id="caption8" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 100 369 106" linetype="horizontal" id="line3" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Shape position="absolute 375 100 744 106" linetype="horizontal" id="line4" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Static text="보유장비현황" position="absolute 380 82 491 98" id="caption2" class="tit_2" anchor="default"/>
- <Static text="치료시설 현황" position="absolute 755 82 866 99" id="caption3" class="tit_2" anchor="default"/>
- <Shape position="absolute 750 100 1119 106" linetype="horizontal" id="line5" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Static text="편의시설 현황" position="absolute 755 322 866 339" id="caption4" class="tit_2" anchor="default"/>
- <Shape position="absolute 750 340 1119 346" linetype="horizontal" id="line7" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Static text="의료진 현황" position="absolute 380 593 491 609" id="caption5" class="tit_2" anchor="default"/>
- <Shape position="absolute 375 611 1120 617" linetype="horizontal" id="line8" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Button position="absolute 1010 592 1063 611" id="btn_dradd" class="btn2" text="행추가" anchor="default" onclick="group2_btn_dradd_onclick"/>
- <Button position="absolute 1066 592 1119 611" id="btn_drdel" class="btn2" text="행삭제" anchor="default" onclick="group2_btn_drdel_onclick"/>
- <Grid position="absolute 375 104 744 489" id="grd_eqmtlist" binddataset="ds_main_grdlist_eqmtlist" anchor="default" oncellclick="group2_grd_eqmtlist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="200"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="0"/>
- <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="수량"/>
- <Cell col="4" text="caption1"/>
- <Cell col="5" text="caption3"/>
- <Cell col="6" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" style="align:left middle;" text="bind:estbnm" wordwrap="char"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:installyn" expr="expr:(installyn == 'Y' || installyn == '1') ? '1' : '0'"/>
- <Cell col="3" displaytype="number" edittype="normal" style="align:right middle;" text="bind:qty" mask="9,999" editlimit="10"/>
- <Cell col="4" text="bind:coophospcd"/>
- <Cell col="5" text="bind:estbcd"/>
- <Cell col="6" text="bind:estbflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 750 104 1119 249" id="grd_curelist" binddataset="ds_main_grdlist_curelist" anchor="default" oncellclick="group2_grd_curelist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="200"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="0"/>
- <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="현황"/>
- <Cell col="4" text="caption1"/>
- <Cell col="5" text="caption3"/>
- <Cell col="6" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" style="align:left middle;" text="bind:estbnm" wordwrap="char"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:installyn" expr="expr:(installyn == 'Y' || installyn == '1') ? '1' : '0'"/>
- <Cell col="3" displaytype="number" edittype="normal" style="align:right middle;" text="bind:qty" mask="9,999" editlimit="10"/>
- <Cell col="4" text="bind:coophospcd"/>
- <Cell col="5" text="bind:estbcd"/>
- <Cell col="6" text="bind:estbflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 750 344 1119 504" id="grd_convlist" binddataset="ds_main_grdlist_convlist" anchor="default" oncellclick="group2_grd_convlist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="257"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <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="수량"/>
- <Cell col="4" text="caption1"/>
- <Cell col="5" text="caption3"/>
- <Cell col="6" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" style="align:left middle;" text="bind:estbnm" wordwrap="char"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:installyn" expr="expr:(installyn == 'Y' || installyn == '1') ? '1' : '0'"/>
- <Cell col="3" text="bind:qty"/>
- <Cell col="4" text="bind:coophospcd"/>
- <Cell col="5" text="bind:estbcd"/>
- <Cell col="6" text="bind:estbflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 375 615 1120 759" id="grd_drpclist" binddataset="ds_main_grdlist_drpclist" anchor="default" oncellclick="group2_grd_drpclist_oncellclick" onenteredit="group2_grd_drpclist_onenteredit">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="104"/>
- <Column size="75"/>
- <Column size="93"/>
- <Column size="148"/>
- <Column size="85"/>
- <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="성명"/>
- <Cell col="4" text="전문분야 클리닉 등"/>
- <Cell col="5" text="진료일정"/>
- <Cell col="6" text="출신학교"/>
- <Cell col="7" text="연락처"/>
- <Cell col="8" text="caption1"/>
- <Cell col="9" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:orddeptnm" wordwrap="char" editlimit="16" editimemode="hangul"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:jopposnm" wordwrap="char" editlimit="16" editimemode="hangul"/>
- <Cell col="3" displaytype="text" edittype="text" text="bind:drnm" wordwrap="char" editlimit="16" editimemode="hangul"/>
- <Cell col="4" displaytype="text" edittype="text" text="bind:spectyfild" wordwrap="char" editlimit="33" editimemode="hangul"/>
- <Cell col="5" displaytype="text" edittype="text" text="bind:ordsche" wordwrap="char" editlimit="16" editimemode="hangul"/>
- <Cell col="6" displaytype="text" edittype="text" text="bind:grdtsch" wordwrap="char" editlimit="16" editimemode="hangul"/>
- <Cell col="7" displaytype="text" edittype="text" text="bind:cntctel" wordwrap="char" editlimit="30"/>
- <Cell col="8" text="bind:coophospcd"/>
- <Cell col="9" text="bind:seqno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 0 104 369 659" id="grd_deptlist" binddataset="ds_main_grdlist_deptlist" anchor="default" oncellclick="group2_grd_deptlist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="200"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="0"/>
- <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="전문의수"/>
- <Cell col="4" text="caption1"/>
- <Cell col="5" text="caption3"/>
- <Cell col="6" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" style="align:left middle;" text="bind:estbnm"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:installyn" expr="expr:(installyn == 'Y' || installyn == '1') ? '1' : '0'"/>
- <Cell col="3" displaytype="number" edittype="normal" style="align:right middle;" text="bind:qty" mask="9,999" editlimit="10"/>
- <Cell col="4" text="bind:coophospcd"/>
- <Cell col="5" text="bind:estbcd"/>
- <Cell col="6" text="bind:estbflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="진료과현황 참고사항" position="absolute 0 660 127 683" align="align:center middle;" id="caption36" class="cell_1" anchor="default"/>
- <Static text="보유장비 현황 참고사항" position="absolute 375 495 520 518" align="align:center middle;" id="caption7" class="cell_1" anchor="default"/>
- <Static text="편의시설 현황 참고사항" position="absolute 750 505 893 528" align="align:center middle;" id="caption9" class="cell_1" anchor="default"/>
- <Static text="치료시설 현황 참고사항" position="absolute 750 251 896 274" align="align:center middle;" id="caption10" class="cell_1" anchor="default"/>
- <TextArea position="absolute 0 685 369 760" id="tar_deptcmt" anchor="default" wordwrap="char" scrollbars="fixedvert" imemode="hangul"/>
- <TextArea position="absolute 375 520 744 585" id="tar_eqmtcmt" anchor="default" wordwrap="char" scrollbars="fixedvert" imemode="hangul"/>
- <TextArea position="absolute 750 275 1119 320" id="tar_curecmt" anchor="default" wordwrap="char" scrollbars="fixedvert"/>
- <TextArea position="absolute 750 530 1119 585" id="tar_convcmt" anchor="default" wordwrap="char" scrollbars="fixedvert" imemode="hangul"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_eqmtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="estbnm" type="STRING"/>
- <Column id="installyn" type="STRING"/>
- <Column id="qty" type="STRING"/>
- <Column id="coophospcd" type="STRING"/>
- <Column id="estbcd" type="STRING"/>
- <Column id="estbflag" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_curelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="estbnm" type="STRING"/>
- <Column id="installyn" type="STRING"/>
- <Column id="qty" type="STRING"/>
- <Column id="coophospcd" type="STRING"/>
- <Column id="estbcd" type="STRING"/>
- <Column id="estbflag" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_convlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="estbnm" type="STRING"/>
- <Column id="installyn" type="STRING"/>
- <Column id="qty" type="STRING"/>
- <Column id="coophospcd" type="STRING"/>
- <Column id="estbcd" type="STRING"/>
- <Column id="estbflag" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_drpclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="jopposnm" type="STRING"/>
- <Column id="drnm" type="STRING"/>
- <Column id="spectyfild" type="STRING"/>
- <Column id="ordsche" type="STRING"/>
- <Column id="grdtsch" type="STRING"/>
- <Column id="cntctel" type="STRING"/>
- <Column id="coophospcd" type="STRING"/>
- <Column id="seqno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="estbnm" type="STRING"/>
- <Column id="installyn" type="STRING"/>
- <Column id="qty" type="STRING"/>
- <Column id="coophospcd" type="STRING"/>
- <Column id="estbcd" type="STRING"/>
- <Column id="estbflag" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="coophospcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_grdlist_hospinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="coophospnm" type="STRING" size="256"/>
- <Column id="dirofhospnm" type="STRING" size="256"/>
- <Column id="telno" type="STRING" size="256"/>
- <Column id="faxno" type="STRING" size="256"/>
- <Column id="zipcd1" type="STRING" size="256"/>
- <Column id="zipcd2" type="STRING" size="256"/>
- <Column id="zipcdseq" type="STRING" size="256"/>
- <Column id="addr" type="STRING" size="256"/>
- <Column id="detladdr" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="coophospnm"/>
- <Col id="dirofhospnm"/>
- <Col id="telno"/>
- <Col id="faxno"/>
- <Col id="zipcd1"/>
- <Col id="zipcd2"/>
- <Col id="zipcdseq"/>
- <Col id="addr"/>
- <Col id="detladdr"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_grdlist_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="gridCheckboxEventHandler">
- <ColumnInfo>
- <Column id="estbnm" type="STRING" size="256"/>
- <Column id="installyn" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="estbcd" type="STRING" size="256"/>
- <Column id="estbflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="estbnm"/>
- <Col id="installyn"/>
- <Col id="qty"/>
- <Col id="coophospcd"/>
- <Col id="estbcd"/>
- <Col id="estbflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_grdlist_eqmtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="gridCheckboxEventHandler">
- <ColumnInfo>
- <Column id="estbnm" type="STRING" size="256"/>
- <Column id="installyn" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="estbcd" type="STRING" size="256"/>
- <Column id="estbflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="estbnm"/>
- <Col id="installyn"/>
- <Col id="qty"/>
- <Col id="coophospcd"/>
- <Col id="estbcd"/>
- <Col id="estbflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_grdlist_curelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="gridCheckboxEventHandler">
- <ColumnInfo>
- <Column id="estbnm" type="STRING" size="256"/>
- <Column id="installyn" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="estbcd" type="STRING" size="256"/>
- <Column id="estbflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="estbnm"/>
- <Col id="installyn"/>
- <Col id="qty"/>
- <Col id="coophospcd"/>
- <Col id="estbcd"/>
- <Col id="estbflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_grdlist_convlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="gridCheckboxEventHandler">
- <ColumnInfo>
- <Column id="estbnm" type="STRING" size="256"/>
- <Column id="installyn" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="estbcd" type="STRING" size="256"/>
- <Column id="estbflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="estbnm"/>
- <Col id="installyn"/>
- <Col id="qty"/>
- <Col id="coophospcd"/>
- <Col id="estbcd"/>
- <Col id="estbflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_grdlist_drpclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="jopposnm" type="STRING" size="256"/>
- <Column id="drnm" type="STRING" size="256"/>
- <Column id="spectyfild" type="STRING" size="256"/>
- <Column id="ordsche" type="STRING" size="256"/>
- <Column id="grdtsch" type="STRING" size="256"/>
- <Column id="cntctel" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="orddeptnm"/>
- <Col id="jopposnm"/>
- <Col id="drnm"/>
- <Col id="spectyfild"/>
- <Col id="ordsche"/>
- <Col id="grdtsch"/>
- <Col id="cntctel"/>
- <Col id="coophospcd"/>
- <Col id="seqno"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_grdlist_deptcmt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="remfact" type="STRING" size="256"/>
- <Column id="installyn" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="estbcd" type="STRING" size="256"/>
- <Column id="estbflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="remfact"/>
- <Col id="installyn"/>
- <Col id="qty"/>
- <Col id="coophospcd"/>
- <Col id="estbcd"/>
- <Col id="estbflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_grdlist_eqmtcmt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="remfact" type="STRING" size="256"/>
- <Column id="installyn" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="estbcd" type="STRING" size="256"/>
- <Column id="estbflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="remfact"/>
- <Col id="installyn"/>
- <Col id="qty"/>
- <Col id="coophospcd"/>
- <Col id="estbcd"/>
- <Col id="estbflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_grdlist_curecmt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="remfact" type="STRING" size="256"/>
- <Column id="installyn" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="estbcd" type="STRING" size="256"/>
- <Column id="estbflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="remfact"/>
- <Col id="installyn"/>
- <Col id="qty"/>
- <Col id="coophospcd"/>
- <Col id="estbcd"/>
- <Col id="estbflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_grdlist_convcmt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="remfact" type="STRING" size="256"/>
- <Column id="installyn" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="estbcd" type="STRING" size="256"/>
- <Column id="estbflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="remfact"/>
- <Col id="installyn"/>
- <Col id="qty"/>
- <Col id="coophospcd"/>
- <Col id="estbcd"/>
- <Col id="estbflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_grdlist_drpccmt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="remfact" type="STRING" size="256"/>
- <Column id="installyn" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="estbcd" type="STRING" size="256"/>
- <Column id="estbflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="remfact"/>
- <Col id="installyn"/>
- <Col id="qty"/>
- <Col id="coophospcd"/>
- <Col id="estbcd"/>
- <Col id="estbflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_savedata_drpccmt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="remfact" type="STRING" size="256"/>
- <Column id="installyn" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="estbcd" type="STRING" size="256"/>
- <Column id="estbflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="remfact"/>
- <Col id="installyn"/>
- <Col id="qty"/>
- <Col id="coophospcd"/>
- <Col id="estbcd"/>
- <Col id="estbflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata_hospinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="coophospnm" type="STRING" size="256"/>
- <Column id="dirofhospnm" type="STRING" size="256"/>
- <Column id="telno" type="STRING" size="256"/>
- <Column id="faxno" type="STRING" size="256"/>
- <Column id="zipcd1" type="STRING" size="256"/>
- <Column id="zipcd2" type="STRING" size="256"/>
- <Column id="zipcdseq" type="STRING" size="256"/>
- <Column id="addr" type="STRING" size="256"/>
- <Column id="detladdr" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="coophospnm"/>
- <Col id="dirofhospnm"/>
- <Col id="telno"/>
- <Col id="faxno"/>
- <Col id="zipcd1"/>
- <Col id="zipcd2"/>
- <Col id="zipcdseq"/>
- <Col id="addr"/>
- <Col id="detladdr"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256"/>
- <Column id="estbnm" type="STRING" size="256"/>
- <Column id="installyn" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="estbcd" type="STRING" size="256"/>
- <Column id="estbflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="status"/>
- <Col id="estbnm"/>
- <Col id="installyn"/>
- <Col id="qty"/>
- <Col id="coophospcd"/>
- <Col id="estbcd"/>
- <Col id="estbflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata_eqmtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256"/>
- <Column id="estbnm" type="STRING" size="256"/>
- <Column id="installyn" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="estbcd" type="STRING" size="256"/>
- <Column id="estbflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="status"/>
- <Col id="estbnm"/>
- <Col id="installyn"/>
- <Col id="qty"/>
- <Col id="coophospcd"/>
- <Col id="estbcd"/>
- <Col id="estbflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata_curelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256"/>
- <Column id="estbnm" type="STRING" size="256"/>
- <Column id="installyn" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="estbcd" type="STRING" size="256"/>
- <Column id="estbflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="status"/>
- <Col id="estbnm"/>
- <Col id="installyn"/>
- <Col id="qty"/>
- <Col id="coophospcd"/>
- <Col id="estbcd"/>
- <Col id="estbflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata_convlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256"/>
- <Column id="estbnm" type="STRING" size="256"/>
- <Column id="installyn" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="estbcd" type="STRING" size="256"/>
- <Column id="estbflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="status"/>
- <Col id="estbnm"/>
- <Col id="installyn"/>
- <Col id="qty"/>
- <Col id="coophospcd"/>
- <Col id="estbcd"/>
- <Col id="estbflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata_drpclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="jopposnm" type="STRING" size="256"/>
- <Column id="drnm" type="STRING" size="256"/>
- <Column id="spectyfild" type="STRING" size="256"/>
- <Column id="ordsche" type="STRING" size="256"/>
- <Column id="grdtsch" type="STRING" size="256"/>
- <Column id="cntctel" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="status"/>
- <Col id="orddeptnm"/>
- <Col id="jopposnm"/>
- <Col id="drnm"/>
- <Col id="spectyfild"/>
- <Col id="ordsche"/>
- <Col id="grdtsch"/>
- <Col id="cntctel"/>
- <Col id="coophospcd"/>
- <Col id="seqno"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata_deptcmt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="remfact" type="STRING" size="256"/>
- <Column id="installyn" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="estbcd" type="STRING" size="256"/>
- <Column id="estbflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="remfact"/>
- <Col id="installyn"/>
- <Col id="qty"/>
- <Col id="coophospcd"/>
- <Col id="estbcd"/>
- <Col id="estbflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata_eqmtcmt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="remfact" type="STRING" size="256"/>
- <Column id="installyn" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="estbcd" type="STRING" size="256"/>
- <Column id="estbflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="remfact"/>
- <Col id="installyn"/>
- <Col id="qty"/>
- <Col id="coophospcd"/>
- <Col id="estbcd"/>
- <Col id="estbflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata_curecmt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="remfact" type="STRING" size="256"/>
- <Column id="installyn" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="estbcd" type="STRING" size="256"/>
- <Column id="estbflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="remfact"/>
- <Col id="installyn"/>
- <Col id="qty"/>
- <Col id="coophospcd"/>
- <Col id="estbcd"/>
- <Col id="estbflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata_convcmt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="remfact" type="STRING" size="256"/>
- <Column id="installyn" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="estbcd" type="STRING" size="256"/>
- <Column id="estbflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="remfact"/>
- <Col id="installyn"/>
- <Col id="qty"/>
- <Col id="coophospcd"/>
- <Col id="estbcd"/>
- <Col id="estbflag"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.input35" propid="value" datasetid="ds_main_grdlist_hospinfo" columnid="coophospnm"/>
- <BindItem id="item1" compid="group2.input36" propid="value" datasetid="ds_main_grdlist_hospinfo" columnid="dirofhospnm"/>
- <BindItem id="item2" compid="group2.input46" propid="value" datasetid="ds_main_grdlist_hospinfo" columnid="telno"/>
- <BindItem id="item3" compid="group2.input47" propid="value" datasetid="ds_main_grdlist_hospinfo" columnid="faxno"/>
- <BindItem id="item4" compid="group2.input43" propid="value" datasetid="ds_main_grdlist_hospinfo" columnid="zipcd1"/>
- <BindItem id="item5" compid="group2.input1" propid="value" datasetid="ds_main_grdlist_hospinfo" columnid="zipcd2"/>
- <BindItem id="item6" compid="group2.input44" propid="value" datasetid="ds_main_grdlist_hospinfo" columnid="addr"/>
- <BindItem id="item7" compid="group2.input45" propid="value" datasetid="ds_main_grdlist_hospinfo" columnid="detladdr"/>
- <BindItem id="item8" compid="group2.tar_curecmt" propid="value" datasetid="ds_main_grdlist_curecmt" columnid="remfact"/>
- <BindItem id="item9" compid="group2.tar_eqmtcmt" propid="value" datasetid="ds_main_grdlist_eqmtcmt" columnid="remfact"/>
- <BindItem id="item10" compid="group2.tar_convcmt" propid="value" datasetid="ds_main_grdlist_convcmt" columnid="remfact"/>
- <BindItem id="item11" compid="group2.tar_deptcmt" propid="value" datasetid="ds_main_grdlist_deptcmt" columnid="remfact"/>
- </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
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
-
- include "com_commonxp::comm_main.xjs";
- include "ast_soclworkxp::AWMCommon.xjs";
- var arErrorCode = new HashArray();
-
- //화면 오픈시
- function fInit() {
- //grd_attntrlist.colHidden(4) = true;
- ds_send_search.clearData(); ds_send_search.addRow();
- ds_main_grdlist_hospinfo.clearData(); ds_main_grdlist_hospinfo.addRow();
- ds_main_grdlist_deptlist.clearData();
- ds_main_grdlist_eqmtlist.clearData();
- ds_main_grdlist_curelist.clearData();
- ds_main_grdlist_convlist.clearData();
- ds_main_grdlist_drpclist.clearData();
-
- if (frmf_checkOpener()) {
- var coophospcd = opener.frmf_getParameter("coophospcd");
- var coophospnm = opener.frmf_getParameter("coophospnm");
- } else {
- sysf_messageBox("상위화면이 변경되어 데이터를 전달할 수 ", "I004");
- }
-
- if (coophospcd != "")
- {
- ds_send_search.setColumn( 0, "coophospcd", coophospcd);
- fSearch();
- }
-
- }
- // 조회
- function fSearch() {
- var oParam = {};
- oParam.id = "TRARH00701";
- oParam.service = "healcarecoopapp.CoopHospMngt";
- oParam.method = "reqGetHospEqmtList";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_main_grdlist_hospinfo=hospinfo ds_main_grdlist_deptlist=deptlist ds_main_grdlist_eqmtlist=eqmtlist ds_main_grdlist_curelist=curelist ds_main_grdlist_convlist=convlist ds_main_grdlist_drpclist=drpclist ds_main_grdlist_deptcmt=deptcmt ds_main_grdlist_eqmtcmt=eqmtcmt ds_main_grdlist_curecmt=curecmt ds_main_grdlist_convcmt=convcmt";
- oParam.async = false;
- oParam.callback = "cf_TRARH00701";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRARH00701") > -1)
- {
- if (ds_main_grdlist_deptcmt.rowcount == 0)
- {
- ds_main_grdlist_deptcmt.addRow();
- }
-
- if (ds_main_grdlist_eqmtcmt.rowcount == 0)
- {
- ds_main_grdlist_eqmtcmt.addRow();
- }
-
- if (ds_main_grdlist_curecmt.rowcount == 0)
- {
- ds_main_grdlist_curecmt.addRow();
- }
-
- if (ds_main_grdlist_convcmt.rowcount == 0)
- {
- ds_main_grdlist_convcmt.addRow();
- }
-
- }
- else
- {
- sysf_messageBox("조회를", "E009");
- }
- }
- function cf_TRARH00701(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- // 행추가
- function fGrdRowAdd()
- {
- if (ds_main_grdlist_drpclist.rowcount <= 0)
- {
- ds_main_grdlist_drpclist.addRow();
- lrow = ds_main_grdlist_drpclist.rowcount - 1;
- ds_main_grdlist_drpclist.setColumn( lrow , "coophospcd", ds_send_search.getColumn(0, "coophospcd"));
- group2.grd_drpclist.setCellPos(0);
- group2_grd_drpclist_oncellclick(group2.grd_drpclist, new GridClickEventInfo() );
-
- }
- else
- {
- for (i = 0; i < ds_main_grdlist_drpclist.rowcount; i++)
- {
- if (ds_main_grdlist_drpclist.getColumn( i, "drnm") == "")
- {
- group2.grd_drpclist.setCellPos(0);
- group2_grd_drpclist_oncellclick(group2.grd_drpclist, new GridClickEventInfo());
- return;
- }
- }
- ds_main_grdlist_drpclist.addRow();
- lrow = ds_main_grdlist_drpclist.rowcount - 1;
- ds_main_grdlist_drpclist.setColumn( lrow , "coophospcd", ds_send_search.getColumn(0, "coophospcd"));
- group2.grd_drpclist.setCellPos(0);
- group2_grd_drpclist_oncellclick(group2.grd_drpclist, new GridClickEventInfo());
- }
- }
- // 행삭제
- function fGrdRowDel()
- {
- if (ds_main_grdlist_drpclist.rowcount <= 0) return;
-
- ds_main_grdlist_drpclist.deleteRow(group2.grd_drpclist.currentrow);
- }
- //저장 버튼 클릭시
- function fSave() {
- // 진료과 현황
- ds_send_savedata_deptlist.clearData();
- for (var i = 0; i < ds_main_grdlist_deptlist.rowcount; i++) {
- if (ds_main_grdlist_deptlist.getColumn(i, 'installyn') == 'Y' || ds_main_grdlist_deptlist.getRowType(i) == 4 ||
- !utlf_isNull(ds_main_grdlist_deptlist.getColumn(i, 'qty'))) {
- var idx = ds_send_savedata_deptlist.addRow();
- ds_send_savedata_deptlist.copyRow(idx, ds_main_grdlist_deptlist, i);
- ds_send_savedata_deptlist.setColumn(idx, 'status', 'u');
- }
- }
- // 보유장비 현황
- ds_send_savedata_eqmtlist.clearData();
- for (var i = 0; i < ds_main_grdlist_eqmtlist.rowcount; i++) {
- if (ds_main_grdlist_eqmtlist.getColumn(i, 'installyn') == 'Y' || ds_main_grdlist_eqmtlist.getRowType(i) == 4 ||
- !utlf_isNull(ds_main_grdlist_eqmtlist.getColumn(i, 'qty'))) {
- var idx = ds_send_savedata_eqmtlist.addRow();
- ds_send_savedata_eqmtlist.copyRow(idx, ds_main_grdlist_eqmtlist, i);
- ds_send_savedata_eqmtlist.setColumn(idx, 'status', 'u');
- }
- }
- // 치료시설 현황
- ds_send_savedata_curelist.clearData();
- for (var i = 0; i < ds_main_grdlist_curelist.rowcount; i++) {
- if (ds_main_grdlist_curelist.getColumn(i, 'installyn') == 'Y' || ds_main_grdlist_curelist.getRowType(i) == 4 ||
- !utlf_isNull(ds_main_grdlist_curelist.getColumn(i, 'qty'))) {
- var idx = ds_send_savedata_curelist.addRow();
- ds_send_savedata_curelist.copyRow(idx, ds_main_grdlist_curelist, i);
- ds_send_savedata_curelist.setColumn(idx, 'status', 'u');
- }
- }
- // 편의시실 현황
- ds_send_savedata_convlist.clearData();
- for (var i = 0; i < ds_main_grdlist_convlist.rowcount; i++) {
- if (ds_main_grdlist_convlist.getColumn(i, 'installyn') == 'Y' || ds_main_grdlist_convlist.getRowType(i) == 4) {
- var idx = ds_send_savedata_convlist.addRow();
- ds_send_savedata_convlist.copyRow(idx, ds_main_grdlist_convlist, i);
- ds_send_savedata_convlist.setColumn(idx, 'status', 'u');
- }
- }
- // 의료진 현황
- ds_send_savedata_drpclist.clearData();
- for (var i = 0; i < ds_main_grdlist_drpclist.rowcount; i++) {
- var drnm = utlf_transNullToEmpty(ds_main_grdlist_drpclist.getColumn(i, 'drnm'));
- if (ds_main_grdlist_drpclist.getRowType(i) == 2 || ds_main_grdlist_drpclist.getRowType(i) == 4 || drnm.length > 0) {
- var idx = ds_send_savedata_drpclist.addRow();
- ds_send_savedata_drpclist.copyRow(idx, ds_main_grdlist_drpclist, i);
- ds_send_savedata_drpclist.setColumn(idx, 'status', 'u');
- }
- if (drnm.length == 0) {
- ds_main_grdlist_drpclist.deleteRow(i);
- }
- }
- // 병원 정보
- //ds_send_savedata_hospinfo.copyData(ds_send_search);
- // 진료과현황 참고사항
- var sdeptcmt =
- "remfact" //참고사항
- + "▦installyn" //설치여부
- + "▦qty" //수량
- + "▦coophospcd" //병의원코드
- + "▦estbcd" //시설코드
- + "▦estbflag" //시설구분
- + "▦status" //상태
- + "▩";
- sdeptcmt = sdeptcmt
- + utlf_transNullToEmpty(ds_main_grdlist_deptcmt.getColumn(0, "remfact")) //참고사항
- + "▦" + "Y" //설치여부
- + "▦" + "0" //수량
- + "▦" + ds_send_search.getColumn(0, "coophospcd") //병의원코드
- + "▦" + "88" //시설코드
- + "▦" + "D" //시설구분
- + "▦" + "u" //상태
- + "▩";
- dsf_setCSVToDs("ds_send_savedata_deptcmt", sdeptcmt);
- // 보유장비 참고사항
- var seqmtcmt =
- "remfact" //참고사항
- + "▦installyn" //설치여부
- + "▦qty" //수량
- + "▦coophospcd" //병의원코드
- + "▦estbcd" //시설코드
- + "▦estbflag" //시설구분
- + "▦status" //상태
- + "▩";
- seqmtcmt = seqmtcmt
- + utlf_transNullToEmpty(ds_main_grdlist_eqmtcmt.getColumn(0, "remfact")) //참고사항
- + "▦" + "Y" //설치여부
- + "▦" + "0" //수량
- + "▦" + ds_send_search.getColumn(0, "coophospcd") //병의원코드
- + "▦" + "88" //시설코드
- + "▦" + "E" //시설구분
- + "▦" + "u" //상태
- + "▩";
- dsf_setCSVToDs("ds_send_savedata_eqmtcmt", seqmtcmt);
- // 치료시설 참고사항
- var scurecmt =
- "remfact" //참고사항
- + "▦installyn" //설치여부
- + "▦qty" //수량
- + "▦coophospcd" //병의원코드
- + "▦estbcd" //시설코드
- + "▦estbflag" //시설구분
- + "▦status" //상태
- + "▩";
- scurecmt = scurecmt
- + utlf_transNullToEmpty(ds_main_grdlist_curecmt.getColumn(0, "remfact")) //참고사항
- + "▦" + "Y" //설치여부
- + "▦" + "0" //수량
- + "▦" + ds_send_search.getColumn(0, "coophospcd") //병의원코드
- + "▦" + "88" //시설코드
- + "▦" + "R" //시설구분
- + "▦" + "u" //상태
- + "▩";
- dsf_setCSVToDs("ds_send_savedata_curecmt", scurecmt);
- // 편의시설 참고사항
- var sconvcmt =
- "remfact" //참고사항
- + "▦installyn" //설치여부
- + "▦qty" //수량
- + "▦coophospcd" //병의원코드
- + "▦estbcd" //시설코드
- + "▦estbflag" //시설구분
- + "▦status" //상태
- + "▩";
- sconvcmt = sconvcmt
- + utlf_transNullToEmpty(ds_main_grdlist_convcmt.getColumn(0, "remfact")) //참고사항
- + "▦" + "Y" //설치여부
- + "▦" + "0" //수량
- + "▦" + ds_send_search.getColumn(0, "coophospcd") //병의원코드
- + "▦" + "88" //시설코드
- + "▦" + "C" //시설구분
- + "▦" + "u" //상태
- + "▩";
- dsf_setCSVToDs("ds_send_savedata_convcmt", sconvcmt);
- var oParam = {};
- oParam.id = "TXARH00701";
- oParam.service = "healcarecoopapp.CoopHospMngt";
- oParam.method = "reqExeHospEqmtList";
- oParam.inds = "reqhospinfo=ds_send_search " +
- "reqdeptlist=ds_send_savedata_deptlist " +
- "reqeqmtlist=ds_send_savedata_eqmtlist " +
- "reqcurelist=ds_send_savedata_curelist " +
- "reqconvlist=ds_send_savedata_convlist " +
- "reqdrpclist=ds_send_savedata_drpclist " +
- "reqdeptcmt=ds_send_savedata_deptcmt " +
- "reqeqmtcmt=ds_send_savedata_eqmtcmt " +
- "reqcurecmt=ds_send_savedata_curecmt " +
- "reqconvcmt=ds_send_savedata_convcmt";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXARH00701";
- tranf_submit(oParam);
- if (arErrorCode.pop("TXARH00701") > -1) {
- // 처리되었습니다
- sysf_messageBox("저장", "I001");
- fSearch();
- }
- else {
- // 실패하였습니다
- sysf_messageBox("저장에", "E009");
- }
- }
- function cf_TXARH00701(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- // 진료과현황 entercell
- function fDeptEnterCell()
- {
- // if (group2.grd_deptlist.colType(group2.grd_deptlist.col) == "input")
- // group2.grd_deptlist.editCell();
- }
- // 보유장비현황 entercell
- function fEqmtEnterCell()
- {
- // if (group2.grd_eqmtlist.colType(group2.grd_eqmtlist.col) == "input")
- // group2.grd_eqmtlist.editCell();
- }
- // 치료시설현황 entercell
- function fCureEnterCell()
- {
- // if (group2.grd_curelist.colType(group2.grd_curelist.col) == "input")
- // group2.grd_curelist.editCell();
- }
- // 편의시설현황 entercell
- function fConvEnterCell()
- {
- // if (group2.grd_convlist.colType(group2.grd_convlist.col) == "input")
- // group2.grd_convlist.editCell();
- }
- // 의료진현황 entercell
- function fDrpcEnterCell()
- {
- // if (group2.grd_drpclist.colType(group2.grd_drpclist.col) == "input")
- // group2.grd_drpclist.editCell();
- }
- function SPARH00700_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- function SPARH00700_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(this.group2.grd_convlist)
- grdf_initGrid(this.group2.grd_curelist);
- grdf_initGrid(this.group2.grd_deptlist);
- grdf_initGrid(this.group2.grd_drpclist);
- grdf_initGrid(this.group2.grd_eqmtlist);
-
- fInit();
- }
- function group2_grd_deptlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- //fDrpcEnterCell();
- obj.showEditor(true);
- }
- function group2_grd_eqmtlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- //fEqmtEnterCell();
- obj.showEditor(true);
- }
- function group2_grd_curelist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- //fCureEnterCell();
- obj.showEditor(true);
- }
- function group2_grd_convlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- //fConvEnterCell();
- obj.showEditor(true);
- }
- function group2_grd_drpclist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- //fDrpcEnterCell();
- obj.showEditor(true);
- }
- function group5_btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- fSave();
- //model.refresh();
- }
- function group5_btn_cncl_onclick(obj:Button, e:ClickEventInfo)
- {
- //model.close();
- this.close();
- }
- function group2_btn_dradd_onclick(obj:Button, e:ClickEventInfo)
- {
- fGrdRowAdd();
- }
- function group2_btn_drdel_onclick(obj:Button, e:ClickEventInfo)
- {
- fGrdRowDel();
- }
- function group2_grd_drpclist_onenteredit(obj:Grid, e:GridEditEventInfo)
- {
-
- }
- function gridCheckboxEventHandler(obj:Dataset, e:DSColChangeEventInfo){
- if(e.col == 1){
- var value = obj.getColumn(e.row, e.col);
- value = (value == '1' || value == 'Y') ? 'Y' : 'N';
- obj.setColumn(e.row, e.col, value);
- }
- }]]></Script>
- </Form>
- </FDL>
|