123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNR07500" position="absolute 0 0 1200 800" titletext="투약기준시간관리" oninit="SMMNR07500_oninit" onload="SMMNR07500_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1194 24" id="group1">
- <Layouts>
- <Layout>
- <Static text="투약기준시간관리" position="absolute 0 0 139 24" id="caption6" class="tit_1" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Tab position="absolute 0 25 1194 789" id="switch1" onchanged="switch1_onchanged">
- <Tabpages>
- <Tabpage text="기준시간 관리" id="case1">
- <Layouts>
- <Layout>
- <Shape position="absolute 9 7 774 13" linetype="horizontal" id="line1" class="line_10"/>
- <Shape position="absolute 5 59 368 65" linetype="horizontal" id="line_2" class="line_2"/>
- <Static text="용법구분" position="absolute 5 40 80 63" align="align:center middle;" id="caption1" class="cell_1"/>
- <Shape position="absolute 7 84 368 90" linetype="horizontal" id="line2" class="line_2"/>
- <Combo position="absolute 82 65 365 84" id="cmb_direccd" taborder="2" innerdataset="@ds_init_mthdcdlist" datacolumn="mthdnm" codecolumn="mthdcd" onitemchanged="switch1_case1_cmb_direccd_onitemchanged"/>
- <Static text="투약회수" position="absolute 5 88 80 109" align="align:center middle;" id="caption3" class="cell_1"/>
- <Static text="용법코드" position="absolute 5 64 80 87" align="align:center middle;" id="caption4" class="cell_1"/>
- <Grid position="absolute 82 110 367 200" id="grd_mnrmdtim" taborder="4" binddataset="ds_main_dtiminfo_dtim" cellsizebandtype="allband" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40" band="left"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <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 text="회차"/>
- <Cell col="1" text="1"/>
- <Cell col="2" text="2"/>
- <Cell col="3" text="3"/>
- <Cell col="4" text="4"/>
- <Cell col="5" text="5"/>
- <Cell col="6" text="6"/>
- <Cell col="7" text="7"/>
- <Cell col="8" text="8"/>
- <Cell col="9" text="9"/>
- <Cell col="10" text="10"/>
- <Cell col="11" text="11"/>
- <Cell col="12" text="12"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="bind:title"/>
- <Cell col="1" displaytype="text" edittype="mask" text="bind:seqno1" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="2" displaytype="text" edittype="mask" text="bind:seqno2" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="3" displaytype="text" edittype="mask" text="bind:seqno3" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="4" displaytype="text" edittype="mask" text="bind:seqno4" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="5" displaytype="text" edittype="mask" text="bind:seqno5" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="6" displaytype="text" edittype="mask" text="bind:seqno6" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="7" displaytype="text" edittype="mask" text="bind:seqno7" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="8" displaytype="text" edittype="mask" text="bind:seqno8" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="9" displaytype="text" edittype="mask" text="bind:seqno9" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="10" displaytype="text" edittype="mask" text="bind:seqno10" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="11" displaytype="text" edittype="mask" text="bind:seqno11" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="12" displaytype="text" edittype="mask" text="bind:seqno12" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="공통 (용법&약품) 투약시간" position="absolute 5 110 80 200" align="align:center middle;" id="caption5" class="cell_1" style="padding:0 0 0 5;"/>
- <Static text="우선순위" position="absolute 177 87 246 108" align="align:center middle;" id="caption7" class="cell_1"/>
- <Radio position="absolute 250 89 365 105" align="align:center middle;" id="rdo_comnyn" taborder="5" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">Y</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">N</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Shape position="absolute 6 203 366 204" linetype="vertical" id="line6" class="line_1"/>
- <Grid position="absolute 4 205 367 737" id="grd_dtimList" class="datagrid2" binddataset="ds_main_mnrmdtim_mnrmdtimList" oncelldblclick="switch1_case1_grd_dtimList_oncelldblclick" oncellclick="switch1_case1_grd_dtimList_oncellclick" cellsizebandtype="allband" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="20" band="left"/>
- <Column size="50" band="left"/>
- <Column size="26" band="left"/>
- <Column size="147"/>
- <Column size="35"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="26" 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="기관코드"/>
- <Cell col="9" text="일련번호"/>
- <Cell col="10" text="용법구분"/>
- <Cell col="11" text="지정시간"/>
- <Cell col="12" text="기준일수"/>
- <Cell col="13" text="실제시간"/>
- <Cell col="14" text="그룹 번호"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:status" expr="expr:status == 'true' || status == '1' ? '1' : '0'"/>
- <Cell col="2" style="align:left top;padding:4 2 2 2;" text="bind:direccd" wordwrap="word"/>
- <Cell col="3" text="bind:exectims"/>
- <Cell col="4" style="align:left;" text="bind:drugtmspec"/>
- <Cell col="5" text="bind:comnyn"/>
- <Cell col="6" text="bind:prcpcd"/>
- <Cell col="7" text="bind:deptcd"/>
- <Cell col="8" text="bind:instcd"/>
- <Cell col="9" text="bind:seqno"/>
- <Cell col="10" text="bind:baseflag"/>
- <Cell col="11" text="bind:apnttm"/>
- <Cell col="12" text="bind:basedayno"/>
- <Cell col="13" text="bind:orgtm"/>
- <Cell col="14" text="bind:grpno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 818 165 1188 737" id="grd_deptList" class="datagrid2" binddataset="ds_main_deptdtim_deptdtimList" oncellclick="switch1_case1_grd_deptList_oncellclick" onexpanddown="switch1_case1_grd_deptList_onexpanddown" cellsizebandtype="allband" cellsizingtype="col" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="26" band="left"/>
- <Column size="68" band="left"/>
- <Column size="80" band="left"/>
- <Column size="60" band="left"/>
- <Column size="30" band="left"/>
- <Column size="129"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="26" 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="투약시간(text)"/>
- <Cell col="8" text="부서코드"/>
- <Cell col="9" text="기준구분"/>
- <Cell col="10" text="우선 순위"/>
- <Cell col="11" text="그룹 번호"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:status" expr="expr:status == 'true' || status == '1' ? '1' : '0'"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:prcpcd" expandshow="show"/>
- <Cell col="3" style="align:left;" text="bind:hngnm"/>
- <Cell col="4" style="align:left;" text="bind:direccd"/>
- <Cell col="5" text="bind:exectims"/>
- <Cell col="6" style="align:left;" text="bind:drugtmspec"/>
- <Cell col="7" text="bind:drugtmspeccal"/>
- <Cell col="8" text="bind:deptcd"/>
- <Cell col="9" text="bind:baseflag"/>
- <Cell col="10" text="bind:comnyn"/>
- <Cell col="11" text="bind:grpno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="용법 구분" position="absolute 1004 45 1084 68" align="align:center middle;" id="caption10" class="cell_1"/>
- <Combo position="absolute 901 47 1001 66" id="cmb_dept" innerdataset="@ds_init_init_ward" datacolumn="wardnm" codecolumn="wardcd" onitemchanged="switch1_case1_cmb_dept_onitemchanged"/>
- <Static text="부서별(용법/약품)" position="absolute 822 19 982 35" align="align:center middle;" id="caption8" class="tit_2"/>
- <Static text="부서 선택" position="absolute 818 45 898 68" align="align:center middle;" id="caption9" class="cell_1"/>
- <Shape position="absolute 818 160 1188 166" linetype="horizontal" id="line7" class="line_10"/>
- <Combo position="absolute 82 43 365 62" id="cmb_baseflg" taborder="1" innerdataset="@ds_init_A0017list_A0017" datacolumn="cdnm" codecolumn="cdid" onitemchanged="switch1_case1_cmb_baseflg_onitemchanged"/>
- <Grid position="absolute 380 45 770 737" id="grd_mechList" class="datagrid2" binddataset="ds_main_picmmech_picmmechList" oncellclick="switch1_case1_grd_mechList_oncellclick" onexpanddown="switch1_case1_grd_mechList_onexpanddown" cellsizebandtype="allband" cellsizingtype="col" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="33" band="left"/>
- <Column size="68" band="left"/>
- <Column size="91" band="left"/>
- <Column size="60"/>
- <Column size="29"/>
- <Column size="122"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="26" 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="투약시간(text)"/>
- <Cell col="8" text="부서코드"/>
- <Cell col="9" text="기준구분"/>
- <Cell col="10" text="우선 순위"/>
- <Cell col="11" text="그룹 번호"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:status" expr="expr:status == 'true' || status == '1' ? '1' : '0'"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:prcpcd" expandshow="show"/>
- <Cell col="3" style="align:left;" text="bind:hngnm"/>
- <Cell col="4" style="align:left;" text="bind:direccd"/>
- <Cell col="5" style="align:left;" text="bind:exectims"/>
- <Cell col="6" style="align:left;" text="bind:drugtmspec"/>
- <Cell col="7" text="bind:drugtmspeccal"/>
- <Cell col="8" text="bind:deptcd"/>
- <Cell col="9" text="bind:baseflag"/>
- <Cell col="10" text="bind:comnyn"/>
- <Cell col="11" text="bind:grpno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Combo position="absolute 1086 47 1186 66" id="cmb_deptBaseflg" innerdataset="@ds_init_A0017list_A0017" datacolumn="cdnm" codecolumn="cdid" onitemchanged="switch1_case1_cmb_deptBaseflg_onitemchanged"/>
- <Shape position="absolute 380 41 769 42" linetype="vertical" id="line3" class="line_1"/>
- <Shape position="absolute 7 106 368 112" linetype="horizontal" id="line4" class="line_2"/>
- <Shape position="absolute 818 40 1188 46" linetype="horizontal" id="line5" class="line_10"/>
- <Button position="absolute 136 16 189 35" id="btn_init" class="btn2" text="초기화" onclick="switch1_case1_btn_init_onclick"/>
- <Button position="absolute 278 16 320 35" id="btn_mthddel" class="btn5" text="삭제" onclick="switch1_case1_btn_mthddel_onclick"/>
- <Button position="absolute 322 16 364 35" id="btn_mthdsave" class="btn5" taborder="7" text="저장" onclick="switch1_case1_btn_mthdsave_onclick"/>
- <Button position="absolute 581 16 623 35" id="btn_mechcon" class="btn2" text="적용" onclick="switch1_case1_btn_mechcon_onclick"/>
- <Button position="absolute 625 16 678 35" id="btn_mechadd" class="btn2" text="행추가" onclick="switch1_case1_btn_mechadd_onclick"/>
- <Button position="absolute 682 16 724 35" id="btn_mechdel" class="btn5" text="삭제" onclick="switch1_case1_btn_mechdel_onclick"/>
- <Button position="absolute 726 16 768 35" id="btn_mechsave" class="btn5" text="저장" onclick="switch1_case1_btn_mechsave_onclick"/>
- <Button position="absolute 1056 16 1098 35" id="btn_deptcon" class="btn2" text="적용" onclick="switch1_case1_btn_deptcon_onclick"/>
- <Button position="absolute 1101 16 1143 35" id="btn_deptdel" class="btn5" text="삭제" onclick="switch1_case1_btn_deptdel_onclick"/>
- <Button position="absolute 1145 16 1187 35" id="btn_deptsave" class="btn5" text="저장" onclick="switch1_case1_btn_deptsave_onclick"/>
- <Button position="absolute 780 350 806 369" id="btn_apply" class="icon_right" text="" onclick="switch1_case1_btn_apply_onclick"/>
- <Static text="부서별 (용법&약품) 투약시간" position="absolute 818 69 898 159" align="align:center middle;" id="caption2" class="cell_1"/>
- <CheckBox position="absolute 839 170 864 190" align="align:center middle;" id="bool2" taborder="17" visible="false" onclick="switch1_case1_bool2_onclick"/>
- <Grid position="absolute 901 69 1186 159" id="grd_deptdtim" taborder="4" binddataset="ds_main_dtiminfo_dtim" cellsizebandtype="allband" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40" band="left"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <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 text="회차"/>
- <Cell col="1" text="1"/>
- <Cell col="2" text="2"/>
- <Cell col="3" text="3"/>
- <Cell col="4" text="4"/>
- <Cell col="5" text="5"/>
- <Cell col="6" text="6"/>
- <Cell col="7" text="7"/>
- <Cell col="8" text="8"/>
- <Cell col="9" text="9"/>
- <Cell col="10" text="10"/>
- <Cell col="11" text="11"/>
- <Cell col="12" text="12"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="bind:title"/>
- <Cell col="1" displaytype="text" edittype="mask" text="bind:seqno1" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="2" displaytype="text" edittype="mask" text="bind:seqno2" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="3" displaytype="text" edittype="mask" text="bind:seqno3" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="4" displaytype="text" edittype="mask" text="bind:seqno4" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="5" displaytype="text" edittype="mask" text="bind:seqno5" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="6" displaytype="text" edittype="mask" text="bind:seqno6" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="7" displaytype="text" edittype="mask" text="bind:seqno7" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="8" displaytype="text" edittype="mask" text="bind:seqno8" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="9" displaytype="text" edittype="mask" text="bind:seqno9" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="10" displaytype="text" edittype="mask" text="bind:seqno10" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="11" displaytype="text" edittype="mask" text="bind:seqno11" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="12" displaytype="text" edittype="mask" text="bind:seqno12" mask="9999" maskchar=" " edittrimtype="both" editautoselect="true"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <CheckBox position="absolute 22 210 47 230" align="align:center middle;" id="bool1" taborder="17" visible="false" onclick="switch1_case1_bool1_onclick"/>
- <Combo position="absolute 82 88 175 107" id="cmb_exectims" enable="false" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="switch1_case1_cmb_exectims_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">1</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">2</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">3</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">4</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">5</Col>
- </Row>
- <Row>
- <Col id="codecolumn">6</Col>
- <Col id="datacolumn">6</Col>
- </Row>
- <Row>
- <Col id="codecolumn">7</Col>
- <Col id="datacolumn">7</Col>
- </Row>
- <Row>
- <Col id="codecolumn">8</Col>
- <Col id="datacolumn">8</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Button position="absolute 234 16 276 35" id="btn_mthdadd" class="btn5" text="추가" onclick="switch1_case1_btn_mthdadd_onclick"/>
- <Button position="absolute 191 16 233 35" id="btn_dtimcon" class="btn2" text="적용" onclick="switch1_case1_btn_dtimcon_onclick"/>
- <Static text="공통(용법)" position="absolute 8 19 128 35" align="align:center middle;" id="caption11" class="tit_2"/>
- <Static text="공통(약품)" position="absolute 382 19 513 35" align="align:center middle;" id="caption15" class="tit_2"/>
- <Shape position="absolute 815 7 1185 13" linetype="horizontal" id="line8" class="line_10"/>
- <Shape position="absolute 6 40 366 41" linetype="vertical" id="line9" class="line_1"/>
- <Shape position="absolute 767 11 773 737" linetype="vertical" id="line10" class="line_1"/>
- <Shape position="absolute 812 11 818 737" linetype="vertical" id="line11" class="line_1"/>
- <Button position="absolute 537 16 579 35" id="btn_methQeury" class="btn2" visible="true" text="조회" onclick="switch1_case1_btn_methQeury_onclick"/>
- <Button position="absolute 1012 16 1055 35" id="btn_deptQuery" class="btn2" text="조회" onclick="switch1_case1_btn_deptQuery_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="수액기준자료 관리" id="case2">
- <Layouts>
- <Layout>
- <Div position="absolute 5 10 685 70" align="align:center top;" id="grp_sea" class="div_SA">
- <Layouts>
- <Layout>
- <Shape position="absolute 546 13 552 50" linetype="vertical" id="line13" class="line_4"/>
- <Static text="코드번호 :" position="absolute 19 35 95 52" id="caption12" class="search_name"/>
- <Edit position="absolute 99 35 195 54" id="ipt_sapcode" class="input_search" autoselect="true" onkeyup="switch1_case2_grp_sea_ipt_sapcode_onkeyup"/>
- <Button position="absolute 615 8 671 30" id="btn_saplist" class="btn1" text="조회" onclick="switch1_case2_grp_sea_btn_saplist_onclick"/>
- <Static text="부서 :" position="absolute 20 11 95 28" id="caption13" class="search_name" visible="true"/>
- <Button position="absolute 557 8 613 30" id="button41" class="btn1" taborder="7" visible="true" text="추가" onclick="switch1_case2_grp_sea_button41_onclick"/>
- <Button position="absolute 615 32 671 54" id="button4" class="btn4" taborder="7" text="저장" onclick="switch1_case2_grp_sea_button4_onclick"/>
- <Combo position="absolute 100 10 195 29" id="cmb_sapdept" enable="true" visible="true" innerdataset="@ds_init_init_ward1" datacolumn="wardnm" codecolumn="wardcd" onitemchanged="switch1_case2_grp_sea_cmb_sapdept_onitemchanged"/>
- <Button position="absolute 429 36 445 52" id="button16" class="icon_search" taborder="6" visible="false" text="" onclick="switch1_case2_grp_sea_button16_onclick"/>
- <Edit position="absolute 200 35 425 54" id="input1" class="input_search" autoselect="true" onkeyup="switch1_case2_grp_sea_input1_onkeyup"/>
- <Button position="absolute 557 32 613 54" id="button3" class="btn4" taborder="7" text="삭제" onclick="switch1_case2_grp_sea_button3_onclick"/>
- <Edit readonly="true" position="absolute 200 10 425 29" id="out_sapmsg" class="output" autoselect="true"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid position="absolute 5 75 685 735" id="grd_saplist" class="datagrid2" binddataset="ds_main_sapinfo_saplist_saplist" onexpanddown="switch1_case2_grd_saplist_onexpanddown" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="40"/>
- <Column size="100"/>
- <Column size="250"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="26" 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="I/O 연동"/>
- <Cell col="7" text="수액 No 적용"/>
- <Cell col="8" text="status"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:chk" expr="expr:chk == 'true' || chk == '1' ? '1' : '0'"/>
- <Cell col="2" displaytype="text" edittype="text" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:drugcd" expandshow="show"/>
- <Cell col="3" style="align:left;background:BIND(colBack);background2:BIND(colBack);" text="bind:drugnm"/>
- <Cell col="4" displaytype="checkbox" edittype="checkbox" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:commyn" expr="commyn == 'true' || commyn == '1' ? '1' : '0'"/>
- <Cell col="5" displaytype="checkbox" edittype="checkbox" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:sapyn" expr="sapyn == 'true' || sapyn == '1' ? '1' : '0'"/>
- <Cell col="6" displaytype="checkbox" edittype="checkbox" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:ioyn" expr="ioyn == 'true' || ioyn == '1' ? '1' : '0'"/>
- <Cell col="7" displaytype="checkbox" edittype="checkbox" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:sapnoyn" expr="sapnoyn == 'true' || sapnoyn == '1' ? '1' : '0'"/>
- <Cell col="8" text="bind:status"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_dtiminfo_dtim" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_dtiminfo_dtim_oncolumnchanged">
- <ColumnInfo>
- <Column id="title" type="STRING"/>
- <Column id="seqno1" type="STRING"/>
- <Column id="seqno2" type="STRING"/>
- <Column id="seqno3" type="STRING"/>
- <Column id="seqno4" type="STRING"/>
- <Column id="seqno5" type="STRING"/>
- <Column id="seqno6" type="STRING"/>
- <Column id="seqno7" type="STRING"/>
- <Column id="seqno8" type="STRING"/>
- <Column id="seqno9" type="STRING"/>
- <Column id="seqno10" type="STRING"/>
- <Column id="seqno11" type="STRING"/>
- <Column id="seqno12" type="STRING"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_init_ward" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="wardnm" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_A0017list_A0017" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_init_ward1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="wardnm" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="direccd" type="STRING" size="256" sumtext="용법종류(기준구분)"/>
- <Column id="flg" type="STRING" size="256" sumtext="코드구분자"/>
- <Column id="baseflag" type="STRING" size="256"/>
- <Column id="calcscorcd" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="drugcd" type="STRING" size="256"/>
- <Column id="drugnm" type="STRING" size="256"/>
- <Column id="mthdcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_mthdcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="mthdcd" type="STRING" size="256" sumtext="용법코드"/>
- <Column id="mthdnm" type="STRING" size="256" sumtext="용법명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_mnrmdtim_mnrmdtimList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_mnrmdtim_mnrmdtimList_oncolumnchanged">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="상태값 "/>
- <Column id="direccd" type="STRING" size="256" sumtext="용법코드 "/>
- <Column id="exectims" type="STRING" size="256" sumtext="수행횟수 "/>
- <Column id="drugtmspec" type="STRING" size="256" sumtext="투여시간text표시 "/>
- <Column id="drugtmspeccal" type="STRING" size="256" sumtext="투여시간text표시 "/>
- <Column id="comnyn" type="STRING" size="256" sumtext="공통여부 "/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드 "/>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드 "/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
- <Column id="seqno" type="STRING" size="256" sumtext="일련번호 "/>
- <Column id="baseflag" type="STRING" size="256" sumtext="기준구분 "/>
- <Column id="apnttm" type="STRING" size="256" sumtext="지정시간 "/>
- <Column id="basedayno" type="STRING" size="256" sumtext="기준일수 "/>
- <Column id="orgtm" type="STRING" size="256" sumtext="실제시간 "/>
- <Column id="grpno" type="STRING" size="256" sumtext="그룹구분 "/>
- <Column id="saveflag" type="STRING" size="256" sumtext="조회시저장구분(20080813) "/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_picmmech_picmmechList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_picmmech_picmmechList_oncolumnchanged">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="상태값 "/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="약품코드 "/>
- <Column id="hngnm" type="STRING" size="256" sumtext="약품명 "/>
- <Column id="direccd" type="STRING" size="256" sumtext="용법코드 "/>
- <Column id="exectims" type="STRING" size="256" sumtext="수행횟수 "/>
- <Column id="drugtmspec" type="STRING" size="256" sumtext="투여시간text표시 "/>
- <Column id="drugtmspeccal" type="STRING" size="256" sumtext="투여시간text표시 "/>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드 "/>
- <Column id="baseflag" type="STRING" size="256" sumtext="기준구분 "/>
- <Column id="comnyn" type="STRING" size="256" sumtext="공통여부 "/>
- <Column id="grpno" type="STRING" size="256" sumtext="그룹구분 "/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_mech" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING" size="256" sumtext="약품명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_deptdtim_deptdtimList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_deptdtim_deptdtimList_oncolumnchanged">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="상태값 "/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="약품코드 "/>
- <Column id="hngnm" type="STRING" size="256" sumtext="약품명 "/>
- <Column id="direccd" type="STRING" size="256" sumtext="용법코드 "/>
- <Column id="exectims" type="STRING" size="256" sumtext="수행횟수 "/>
- <Column id="drugtmspec" type="STRING" size="256" sumtext="투여시간text표시 "/>
- <Column id="drugtmspeccal" type="STRING" size="256" sumtext="투여시간text표시 "/>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드 "/>
- <Column id="baseflag" type="STRING" size="256" sumtext="기준구분 "/>
- <Column id="comnyn" type="STRING" size="256" sumtext="공통여부 "/>
- <Column id="grpno" type="STRING" size="256" sumtext="그룹구분 "/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_sapinfo_saplist_saplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_sapinfo_saplist_saplist_oncolumnchanged">
- <ColumnInfo>
- <Column id="ordflag" type="STRING" size="256" sumtext="구분 "/>
- <Column id="drugcd" type="STRING" size="256" sumtext="약품코드(수액)"/>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드 "/>
- <Column id="commyn" type="STRING" size="256" sumtext="공통적용여부 "/>
- <Column id="sapyn" type="STRING" size="256" sumtext="수액인식여부 "/>
- <Column id="ioyn" type="STRING" size="256" sumtext="I/O연동여부 "/>
- <Column id="sapnoyn" type="STRING" size="256" sumtext="수액NO적용 "/>
- <Column id="drugnm" type="STRING" size="256" sumtext="약품명 "/>
- <Column id="status" type="STRING" size="256" sumtext="자료구분 "/>
- <Column id="chk" type="STRING" size="256" sumtext="자료선택 "/>
- <Column id="colBack" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_sData" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="direccd" type="STRING" size="256" sumtext="용법코드 "/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드 "/>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드 "/>
- <Column id="seqno" type="INT" size="256" sumtext="일련번호 "/>
- <Column id="baseflag" type="STRING" size="256" sumtext="기준구분 "/>
- <Column id="apnttm" type="STRING" size="256" sumtext="지정시간 "/>
- <Column id="basedayno" type="INT" size="256" sumtext="기준일수 "/>
- <Column id="orgtm" type="STRING" size="256" sumtext="실제시간 "/>
- <Column id="exectims" type="INT" size="256" sumtext="수행횟수 "/>
- <Column id="comnyn" type="STRING" size="256" sumtext="공통여부 "/>
- <Column id="drugtmspec" type="STRING" size="256" sumtext="투여시간text표시 "/>
- <Column id="drugtmspeccal" type="STRING" size="256" sumtext="투여시간text표시 "/>
- <Column id="grpno" type="STRING" size="256" sumtext="그룹구분 "/>
- <Column id="flg" type="STRING" size="256" sumtext="코드구분자 "/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_saplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="m" type="STRING" size="256" sumtext="m "/>
- <Column id="rownum" type="STRING" size="256" sumtext="rownum "/>
- <Column id="drugcd" type="STRING" size="256" sumtext="약품코드(수액)"/>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드 "/>
- <Column id="commyn" type="STRING" size="256" sumtext="공통적용여부 "/>
- <Column id="sapyn" type="STRING" size="256" sumtext="수액인식여부 "/>
- <Column id="ioyn" type="STRING" size="256" sumtext="I/O연동여부 "/>
- <Column id="sapnoyn" type="STRING" size="256" sumtext="수액NO적용 "/>
- <Column id="status" type="STRING" size="256" sumtext="상태 "/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="A0017list" type="STRING" size="256"/>
- <Column id="mthdcdlist" type="STRING" size="256"/>
- <Column id="deptcdList" type="STRING" size="256"/>
- <Column id="baseflaglist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_mthdcdlist_1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="comnyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="condsel" type="STRING" size="256"/>
- <Column id="conddeptsel" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="drugcd" type="STRING" size="256"/>
- <Column id="drugnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="Column0" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_init_settingrn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="settingrnid" type="STRING" size="256" sumtext="세팅간호사ID"/>
- <Column id="settingrnnm" type="STRING" size="256" sumtext="세팅간호사명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_init_orddd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="date" type="STRING" size="256" sumtext="업무일자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="druginfo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_receivedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="receiveref" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="srchcnts" type="STRING" size="256"/>
- <Column id="drugkind" type="STRING" size="256"/>
- <Column id="srchdrugcd" type="STRING" size="256"/>
- <Column id="srchtype" type="STRING" size="256"/>
- <Column id="receivedrugcd" type="STRING" size="256"/>
- <Column id="receivedrugnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="switch1.case1.cmb_dept" propid="value" datasetid="ds_init" columnid="deptcdList"/>
- <BindItem id="item1" compid="switch1.case1.cmb_deptBaseflg" propid="value" datasetid="ds_init" columnid="baseflaglist"/>
- <BindItem id="item2" compid="switch1.case1.bool2" propid="value" datasetid="ds_main_cond" columnid="conddeptsel"/>
- <BindItem id="item3" compid="switch1.case2.grp_sea.cmb_sapdept" propid="value" datasetid="ds_main_cond" columnid="deptcd"/>
- <BindItem id="item4" compid="switch1.case2.grp_sea.ipt_sapcode" propid="value" datasetid="ds_main_cond" columnid="drugcd"/>
- <BindItem id="item5" compid="switch1.case2.grp_sea.input1" propid="value" datasetid="ds_main_cond" columnid="drugnm"/>
- <BindItem id="item6" compid="switch1.case1.cmb_baseflg" propid="value" datasetid="ds_init" columnid="A0017list"/>
- <BindItem id="item7" compid="switch1.case1.cmb_direccd" propid="value" datasetid="ds_init" columnid="mthdcdlist"/>
- <BindItem id="item8" compid="switch1.case1.cmb_exectims" propid="value" datasetid="ds_init_mthdcdlist_1" columnid="basecnt"/>
- <BindItem id="item9" compid="switch1.case1.rdo_comnyn" propid="value" datasetid="ds_hidden" columnid="comnyn"/>
- <BindItem id="item10" compid="switch1.case1.bool1" propid="value" datasetid="ds_main_cond" columnid="condsel"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_caremedirecxp -> SMMNR07500
- * Creator : yjh
- * Make Date : 2018-02-07
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2018-02-07 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_caremedirecxp::SMMNR07500.xjs";
- include "emr_carecomxp::CareCom.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMNR07500
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SMMNR07500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMNR07500
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SMMNR07500_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setRowTypeIcon(switch1.case1.grd_dtimList, 0);
- grdf_setRowTypeIcon(switch1.case1.grd_mechList, 0);
- grdf_setRowTypeIcon(switch1.case1.grd_deptList, 0);
- grdf_setRowTypeIcon(switch1.case2.grd_saplist, 0);
-
- grdf_setToolTipBind(switch1.case1.grd_mechList);
-
- ds_hidden.setColumn(0, "comnyn", "Y");
- ds_main_cond.setColumn(0, "deptcd", "ALL");
-
- ds_main_dtiminfo_dtim.setColumn(0, "title", "시간");
- ds_main_dtiminfo_dtim.setColumn(1, "title", "Day");
-
- fInitialize();
- }
- /****************************************************************************************
- * Components : Tab
- * Components ID : switch1
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 탭 변경시
- ****************************************************************************************/
- function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- switch( e.postindex ){
- case 0 :
- break;
-
- case 1 :
- fGetSapList();
- break;
-
- default :
- break;
- }
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_direccd
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function switch1_case1_cmb_direccd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fmthdChange("basecnt");
- ds_main_dtiminfo_dtim.setColumn(0, "seqno1", "");
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_dtiminfo_dtim
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 데이터셋 값 변경시
- ****************************************************************************************/
- function ds_main_dtiminfo_dtim_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.row == 0){
- var recdt = utlf_transNullToEmpty(ds_main_dtiminfo_dtim.getColumn(e.row, e.columnid));
-
- if(Number(recdt.substring(0,2)) >= 24){
- // messageBox("시간 입력에","E009");
- sysf_messageBox("시간이 올바르지 않습니다. \n[입력가능범위 00:00~23:59]","E");
- ds_main_dtiminfo_dtim.setColumn(e.row, e.columnid, "");
- return;
- }
- if(Number(recdt.substring(2,4)) > 60){
- // messageBox("분 입력에","E009");
- sysf_messageBox("시간이 올바르지 않습니다. \n[입력가능범위 00:00~23:59]","E");
- ds_main_dtiminfo_dtim.setColumn(e.row, e.columnid, "");
- return;
- }
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_dtimList
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 더블클릭시
- ****************************************************************************************/
- function switch1_case1_grd_dtimList_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- //(공통에서 용법과 약품은 관계가 없다. 따라서 막는다.(20080519) ==> 관계가 있다고 하네.(20080520)
- fMechSerch("grdclick");
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_dtimList
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 클릭시
- ****************************************************************************************/
- function switch1_case1_grd_dtimList_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fgrddtimlist_ondelayclick(); //ondelayclick
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_deptList
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 클릭시
- ****************************************************************************************/
- function switch1_case1_grd_deptList_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fDeptListClick(); //ondelayclick
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_deptList
- * Event : onexpanddown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 expand버튼 클릭시
- ****************************************************************************************/
- function switch1_case1_grd_deptList_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- fDrugDbClick("dept");
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_dept
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function switch1_case1_cmb_dept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fDeptSerch();
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_baseflg
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function switch1_case1_cmb_baseflg_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- //용법코드 조회 후 콤보박스에 저장
- fmthdChange("mthdcd");
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_picmmech_picmmechList
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 데이터셋 값 변경시
- ****************************************************************************************/
- function ds_main_picmmech_picmmechList_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- switch( e.columnid ){
- case "status" :
- if( e.newvalue == "true" || e.newvalue == "1" ){
- obj.setColumn(e.row, e.columnid, "true");
- }else{
- obj.setColumn(e.row, e.columnid, "false");
- }
- break;
-
- default :
- break;
- }
-
- fPrcpSerch();
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_mechList
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 클릭시
- ****************************************************************************************/
- function switch1_case1_grd_mechList_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var pGrd = switch1.case1.grd_mechList;
-
- if (switch1.case1.grd_mechList.rowcount <= 0 ) return;
- if (switch1.case1.grd_mechList.currentcol == 0) return;
-
- //-----(20080520)
- fgrdmechList_ondelayclick();
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_mechList
- * Event : onexpanddown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 expand버튼 클릭시
- ****************************************************************************************/
- function switch1_case1_grd_mechList_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- fDrugDbClick("mthd");
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_deptBaseflg
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function switch1_case1_cmb_deptBaseflg_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fDeptSerch();
- fmthdChange("mthdcd");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_init
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 초기화버튼 클릭시
- ****************************************************************************************/
- function switch1_case1_btn_init_onclick(obj:Button, e:ClickEventInfo)
- {
- // ds_main_dtiminfo_dtim.clearData();
- // ds_main_dtiminfo_dtim.addRow();
- // ds_main_dtiminfo_dtim.addRow();
- // ds_main_dtiminfo_dtim.setColumn(0, "title", "시간");
- // ds_main_dtiminfo_dtim.setColumn(1, "title", "Day");
- //
- // for (var i=1 ; i<=12 ; i++){
- // switch1.case1.grd_deptdtim.setFormatColProperty(i, "size", 0);
- // switch1.case1.grd_mnrmdtim.setFormatColProperty(i, "size", 0);
- // }
- // switch1.case1.cmb_exectims.enable = false;
- // model1.reset();
- this.reload();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_mthddel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 삭제버튼 클릭시
- ****************************************************************************************/
- function switch1_case1_btn_mthddel_onclick(obj:Button, e:ClickEventInfo)
- {
- if(sysf_messageBox("","Q001") != 6) return;
- fDtimDelete("dtim");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_mthdsave
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 저장버튼 클릭시
- ****************************************************************************************/
- function switch1_case1_btn_mthdsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if(sysf_messageBox("","Q002") != 6) return;
-
- //fDtimApply(); //(20080516)
- fDtimSave(); //(20080516)
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_mechcon
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 적용버튼 클릭시
- ****************************************************************************************/
- function switch1_case1_btn_mechcon_onclick(obj:Button, e:ClickEventInfo)
- {
- fMechApply();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_mechadd
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 행추가버튼 클릭시
- ****************************************************************************************/
- function switch1_case1_btn_mechadd_onclick(obj:Button, e:ClickEventInfo)
- {
- var row;
- //grd_mechList.addItem();
-
- row = ds_main_picmmech_picmmechList.rowcount;
- if (row <= 0 ) {
- ds_main_picmmech_picmmechList.addRow();
- } else {
- row = ds_main_picmmech_picmmechList.rowposition;
- ds_main_picmmech_picmmechList.insertRow(row);
- }
-
- if (ds_main_picmmech_picmmechList.rowcount <= 0 ) return;
- if (ds_main_picmmech_picmmechList.rowposition < 0 ) return;
-
- var direccd = ds_main_mnrmdtim_mnrmdtimList.getColumn(ds_main_mnrmdtim_mnrmdtimList.rowposition, "direccd");
- var baseflag = ds_main_mnrmdtim_mnrmdtimList.getColumn(ds_main_mnrmdtim_mnrmdtimList.rowposition, "baseflag");
-
- row = ds_main_picmmech_picmmechList.rowposition;
- ds_main_picmmech_picmmechList.setColumn(row, "direccd", direccd); //direccd 반영
- ds_main_picmmech_picmmechList.setColumn(row, "baseflag", baseflag); //baseflag 반영
- ds_main_picmmech_picmmechList.setColumn(row, "comnyn", "Y"); //comnyn
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_mechdel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 삭제버튼 클릭시
- ****************************************************************************************/
- function switch1_case1_btn_mechdel_onclick(obj:Button, e:ClickEventInfo)
- {
- if(sysf_messageBox("","Q001") != 6) return;
- fDtimDelete("mech");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_mechsave
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 저장버튼 클릭시
- ****************************************************************************************/
- function switch1_case1_btn_mechsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if(sysf_messageBox("","Q002") != 6) return;
- fMechSave();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_deptcon
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 적용버튼 클릭시
- ****************************************************************************************/
- function switch1_case1_btn_deptcon_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_main_deptdtim_deptdtimList.rowposition > -1){
- fDeptlistApply();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_deptdel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 삭제버튼 클릭시
- ****************************************************************************************/
- function switch1_case1_btn_deptdel_onclick(obj:Button, e:ClickEventInfo)
- {
- if(sysf_messageBox("","Q001") != 6) return;
- fDtimDelete("dept");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_deptsave
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 저장버튼 클릭시
- ****************************************************************************************/
- function switch1_case1_btn_deptsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if(sysf_messageBox("","Q002") != 6) return;
- //fDeptlistApply(); (20080519)
- fDeptSave();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_apply
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : >>버튼 클릭시
- ****************************************************************************************/
- function switch1_case1_btn_apply_onclick(obj:Button, e:ClickEventInfo)
- {
- if(utlf_isNull(switch1.case1.cmb_dept.text)){
- sysf_messageBox("부서를 ","C002");
- }else{
- fDeptApply();
- }
- }
- /****************************************************************************************
- * Components : CheckBox
- * Components ID : bool2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 체크박스 클릭시
- ****************************************************************************************/
- function switch1_case1_bool2_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- //일단숨김(20080519)
- // var multicheck = model.getValue("/root/main/cond/conddeptsel");
- // var nodeCnt = getNodesetCount(xDeptList);
- // for(var i = 1; i <= nodeCnt; i++){
- // if(multicheck == "true"){
- // model.setValue("/root/main/deptdtim/deptdtimList[" + i + "]/status", "true");
- // }else{
- // model.setValue("/root/main/deptdtim/deptdtimList[" + i + "]/status", "false");
- // }
- // }
- }
- /****************************************************************************************
- * Components : CheckBox
- * Components ID : bool1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 체크박스 클릭시
- ****************************************************************************************/
- function switch1_case1_bool1_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- //일단숨김(20080519)
- // var multicheck = model.getValue("/root/main/cond/condsel");
- // var nodeCnt = getNodesetCount(xDtimList);
- // for(var i = 1; i <= nodeCnt; i++){
- // if(multicheck == "true"){
- // model.setValue(xDtimList + "[" + i + "]/status", "true");
- // }else{
- // model.setValue(xDtimList + "[" + i + "]/status", "false");
- // }
- // }
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_exectims
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function switch1_case1_cmb_exectims_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- for(var i= 1 ; i< 13 ;i++){
- switch1.case1.grd_mnrmdtim.setFormatColProperty(i, "size", 0);
- }
- for(var i= 1 ; i<= switch1.case1.cmb_exectims.value ;i++){
- switch1.case1.grd_mnrmdtim.setFormatColProperty(i, "size", 40); //그리드 활성화
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_mthdadd
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 추가버튼 클릭시
- ****************************************************************************************/
- function switch1_case1_btn_mthdadd_onclick(obj:Button, e:ClickEventInfo)
- {
- //용법추가
- if(sysf_messageBox("","Q008") != 6) return;
- var rtn = fDtimAdd();
- if (rtn == true) fgrddtimlist_ondelayclick();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_dtimcon
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 적용버튼 클릭시
- ****************************************************************************************/
- function switch1_case1_btn_dtimcon_onclick(obj:Button, e:ClickEventInfo)
- {
- fDtimApply();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_methQeury
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function switch1_case1_btn_methQeury_onclick(obj:Button, e:ClickEventInfo)
- {
- fMechSerch("grdclick");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_deptQuery
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function switch1_case1_btn_deptQuery_onclick(obj:Button, e:ClickEventInfo)
- {
- fDeptSerch();
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_sapcode
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터 키 입력시
- ****************************************************************************************/
- function switch1_case2_grp_sea_ipt_sapcode_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- obj.updateToDataset();
- switch1.case2.grp_sea.btn_saplist.setFocus();
- fGetSapList();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_saplist
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function switch1_case2_grp_sea_btn_saplist_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetSapList();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button41
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 추가버튼 클릭시
- ****************************************************************************************/
- function switch1_case2_grp_sea_button41_onclick(obj:Button, e:ClickEventInfo)
- {
- var sPathSapInfo = ds_main_sapinfo_saplist_saplist;
-
- ds_main_sapinfo_saplist_saplist.insertRow(0);
-
- var row = ds_main_sapinfo_saplist_saplist.rowposition;
- if(switch1.case2.grp_sea.cmb_sapdept.value == "ALL"){
- ds_main_sapinfo_saplist_saplist.setColumn(row, "commyn", "true");
- }
- //(20080520)
- ds_main_sapinfo_saplist_saplist.setColumn(row, "status","I");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button4
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 저장버튼 클릭시
- ****************************************************************************************/
- function switch1_case2_grp_sea_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveSapInfo("");
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_sapdept
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function switch1_case2_grp_sea_cmb_sapdept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fGetSapList();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button16
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 돋보기버튼 클릭시
- ****************************************************************************************/
- function switch1_case2_grp_sea_button16_onclick(obj:Button, e:ClickEventInfo)
- {
- fDrugDbClick1();
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : input1
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터 키 입력시
- ****************************************************************************************/
- function switch1_case2_grp_sea_input1_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- obj.updateToDataset();
- switch1.case2.grp_sea.btn_saplist.setFocus();
- fGetSapList();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button3
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 삭제버튼 클릭시
- ****************************************************************************************/
- function switch1_case2_grp_sea_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveSapInfo("del");
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_saplist
- * Event : onexpanddown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 expand버튼 클릭시
- ****************************************************************************************/
- function switch1_case2_grd_saplist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- fDrugDbClick("sap");
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_sapinfo_saplist_saplist
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 데이터셋 값 변경시
- ****************************************************************************************/
- function ds_main_sapinfo_saplist_saplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- switch( e.columnid ){
- case "chk" :
- case "commyn" :
- case "sapyn" :
- case "ioyn" :
- case "sapnoyn" :
- if( e.newvalue == "true" || e.newvalue == "1" ){
- obj.setColumn(e.row, e.columnid, "true");
- }else{
- obj.setColumn(e.row, e.columnid, "false");
- }
- break;
-
- default :
- break;
- }
-
- if(e.columnid == "chk"){
- fClickSapDelete();
- }
- }
- function ds_main_mnrmdtim_mnrmdtimList_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- switch( e.columnid ){
- case "status" :
- if( e.newvalue == "true" || e.newvalue == "1" ){
- obj.setColumn(e.row, e.columnid, "true");
- }else{
- obj.setColumn(e.row, e.columnid, "false");
- }
- break;
-
- default :
- break;
- }
- }
- function ds_main_deptdtim_deptdtimList_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- switch( e.columnid ){
- case "status" :
- if( e.newvalue == "true" || e.newvalue == "1" ){
- obj.setColumn(e.row, e.columnid, "true");
- }else{
- obj.setColumn(e.row, e.columnid, "false");
- }
- break;
-
- default :
- break;
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|