123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNE11000" position="absolute 0 0 1191 800" titletext="응급실 일일 업무 현황" oninit="SMMNE11000_oninit" onload="SMMNE11000_onload" ontimer="SMMNE11000_ontimer">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1186 790" id="group5" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Div position="absolute 0 25 800 55" align="align:center top;" id="grp_sea" anchor="default">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 800 30" id="roundrect3" class="roundrect_search" type="roundrectangle" anchor="default"/>
- <Static text="업무일자 :" position="absolute 13 6 130 23" id="caption17" class="search_name" anchor="default"/>
- <Calendar position="absolute 109 5 210 24" id="ipt_orddd" class="input_search" enable="false" anchor="default"/>
- <Button position="absolute 730 5 786 27" id="button1" class="btn1" text="조회" anchor="default" onclick="group5_grp_sea_button1_onclick"/>
- <Shape position="absolute 719 4 725 26" linetype="vertical" id="line9" class="line_4" anchor="default"/>
- <Static text="인계사항 조회구분 :" position="absolute 237 6 385 23" id="caption8" class="search_name" anchor="default"/>
- <Radio position="absolute 391 5 480 25" align="align:center middle;" id="radio1" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="group5_grp_sea_radio1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">최근</Col>
- </Row>
- <Row>
- <Col id="codecolumn">P</Col>
- <Col id="datacolumn">과거</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="(과거조회는 인계사항만 가능)" position="absolute 480 5 644 25" id="caption9" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="응급실 일일 업무 현황" position="absolute 0 0 160 25" id="caption6" class="tit_1" anchor="default"/>
- <Shape position="absolute 0 400 800 406" linetype="horizontal" id="line3" class="line_10" anchor="default"/>
- <TextArea position="absolute 81 65 800 375" id="tex_0team" wordwrap="char" anchor="default"/>
- <Shape position="absolute 0 60 800 66" linetype="horizontal" id="line2" class="line_10" anchor="default"/>
- <Static text="인계사항" position="absolute 0 65 80 375" align="align:center middle;" id="caption3" class="cell_1" anchor="default"/>
- <Shape position="absolute 805 645 1185 651" linetype="horizontal" id="line4" class="line_10" anchor="default"/>
- <Shape position="absolute 805 400 1185 406" linetype="horizontal" id="line5" class="line_10" anchor="default"/>
- <Shape position="absolute 805 60 1185 66" linetype="horizontal" id="line6" class="line_10" anchor="default"/>
- <Grid position="absolute 805 650 1185 790" id="grd_article" binddataset="ds_erworkinfo_articlelist" autofittype="col" anchor="default" oncloseup="group5_grd_article_oncloseup" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="65"/>
- <Column size="45"/>
- <Column size="98"/>
- <Column size="135"/>
- <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="IN/OUT 일자"/>
- <Cell col="4" text="물품"/>
- <Cell col="5" text="seqno"/>
- <Cell col="6" text="mwardcd"/>
- <Cell col="7" text="recdd"/>
- <Cell col="8" text="rectm"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="combo" edittype="combo" style="padding:0 2 0 2;" text="bind:owardcd" combodataset="ds_codelist" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="30"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="padding:0 2 0 2;" text="bind:gubun" combodataset="ds_gubun" combocodecol="code" combodatacol="name"/>
- <Cell col="3" displaytype="date" edittype="date" text="bind:iodd" maskchar=" " calendardisplay="edit" calendardisplaynulltype="none"/>
- <Cell col="4" displaytype="text" edittype="text" text="bind:article"/>
- <Cell col="5" text="bind:seqno"/>
- <Cell col="6" text="bind:mwardcd"/>
- <Cell col="7" text="bind:recdd"/>
- <Cell col="8" text="bind:rectm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 805 405 1185 620" id="grd_inbcklist" binddataset="ds_erworkinfo_inbcklist" autofittype="col" anchor="default" oncloseup="group5_grd_inbcklist_oncloseup" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="50"/>
- <Column size="75"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <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 celltype="head"/>
- <Cell col="1" text="Bed"/>
- <Cell col="2" text="환자명"/>
- <Cell col="3" text="I/O"/>
- <Cell col="4" text="NPO"/>
- <Cell col="5" text="BST"/>
- <Cell col="6" text="inbckyn"/>
- <Cell col="7" text="recdd"/>
- <Cell col="8" text="rectm"/>
- <Cell col="9" text="instcd"/>
- <Cell col="10" text="indd"/>
- <Cell col="11" text="cretno"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:bedposcnts"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:pid" combodataset="ds_init_patinfo_patlist" combocodecol="pid" combodatacol="patnm" combodisplayrowcount="20"/>
- <Cell col="3" displaytype="checkbox" edittype="checkbox" text="bind:ioyn"/>
- <Cell col="4" displaytype="checkbox" edittype="checkbox" text="bind:npoyn"/>
- <Cell col="5" displaytype="checkbox" edittype="checkbox" text="bind:bstyn"/>
- <Cell col="6" text="bind:inbckyn"/>
- <Cell col="7" text="bind:recdd"/>
- <Cell col="8" text="bind:rectm"/>
- <Cell col="9" text="bind:instcd"/>
- <Cell col="10" text="bind:indd"/>
- <Cell col="11" text="bind:cretno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 805 65 1185 375" id="grd_catheter" binddataset="ds_erworkinfo_catheterlist" anchor="default" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="50"/>
- <Column size="65"/>
- <Column size="60"/>
- <Column size="90"/>
- <Column size="50"/>
- <Column size="40"/>
- <Column size="100"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="Bed"/>
- <Cell col="1" text="환자명"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="ITEM"/>
- <Cell col="4" text="부위"/>
- <Cell col="5" text="구분"/>
- <Cell col="6" text="시행일시"/>
- <Cell col="7" text="S/A"/>
- </Band>
- <Band id="body">
- <Cell text="bind:bedposcnts"/>
- <Cell col="1" text="bind:patnm"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:itemnm"/>
- <Cell col="4" text="bind:loc"/>
- <Cell col="5" text="bind:opflag"/>
- <Cell col="6" text="bind:opdt"/>
- <Cell col="7" text="bind:sexage"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 5 70 47 89" id="btn_0team" class="btn5" text="저장" anchor="default" onclick="group5_btn_0team_onclick"/>
- <Static text="물품현황" position="absolute 805 629 940 646" id="caption1" class="tit_2" anchor="default"/>
- <Static text="IO/ NPO/ BST 현황" position="absolute 805 384 966 401" id="caption2" class="tit_2" anchor="default"/>
- <Static text="미수행 검사처방" position="absolute 0 384 135 401" id="caption4" class="tit_2" anchor="default"/>
- <Static text="삽관현황" position="absolute 805 44 940 61" id="caption5" class="tit_2" anchor="default"/>
- <Button position="absolute 1036 625 1089 644" id="button4" class="btn2" text="행추가" anchor="default" onclick="group5_button4_onclick"/>
- <Button position="absolute 1090 625 1143 644" id="button5" class="btn2" text="행삭제" anchor="default" onclick="group5_button5_onclick"/>
- <Button position="absolute 1144 625 1186 644" id="button78" class="btn5" text="저장" anchor="default" onclick="group5_button78_onclick"/>
- <Button position="absolute 1035 380 1088 399" id="button2" class="btn2" text="행추가" anchor="default" onclick="group5_button2_onclick"/>
- <Button position="absolute 1089 380 1142 399" id="button3" class="btn2" text="행삭제" anchor="default" onclick="group5_button3_onclick"/>
- <Button position="absolute 1143 380 1185 399" id="button6" class="btn5" text="저장" anchor="default" onclick="group5_button6_onclick"/>
- <Grid position="absolute 0 650 800 790" id="grd_etcmemolist" binddataset="ds_erworkinfo_etcmemolist" autofittype="col" anchor="default" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="590"/>
- <Column size="60"/>
- <Column size="105"/>
- <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="메모내용(CTRL + ENTER시 다음줄에 기입가능)"/>
- <Cell col="2" text="작성자"/>
- <Cell col="3" text="작성일시"/>
- <Cell col="4" text="recdd"/>
- <Cell col="5" text="rectm"/>
- <Cell col="6" text="seqno"/>
- <Cell col="7" text="wardcd"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:memocnts"/>
- <Cell col="2" text="bind:recnm"/>
- <Cell col="3" displaytype="text" text="bind:recdt" mask="####-##-## ##:##"/>
- <Cell col="4" text="bind:recdd"/>
- <Cell col="5" text="bind:rectm"/>
- <Cell col="6" text="bind:seqno"/>
- <Cell col="7" text="bind:wardcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="기타 메모" position="absolute 0 629 135 646" id="caption7" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 645 800 651" linetype="horizontal" id="line1" class="line_10" anchor="default"/>
- <Button position="absolute 650 625 703 644" id="button7" class="btn2" text="행추가" anchor="default" onclick="group5_button7_onclick"/>
- <Button position="absolute 704 625 757 644" id="button8" class="btn2" text="행삭제" anchor="default" onclick="group5_button8_onclick"/>
- <Button position="absolute 758 625 800 644" id="button9" class="btn5" text="저장" anchor="default" onclick="group5_button9_onclick"/>
- <Grid position="absolute 0 405 800 620" id="grd_testlist" class="datagrid" binddataset="ds_erworkinfo_testlist" anchor="default" cellsizingtype="both" autofittype="none" autosizingtype="row" extendsizetype="row" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="26"/>
- <Column size="50"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="240"/>
- <Column size="230"/>
- <Column size="80"/>
- <Column size="75"/>
- <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/>
- <Cell col="1" text="Bed"/>
- <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="sexage"/>
- <Cell col="10" text="instcd"/>
- <Cell col="11" text="indd"/>
- <Cell col="12" text="cretno"/>
- <Cell col="13" text="prcpdd"/>
- <Cell col="14" text="prcpno"/>
- <Cell col="15" text="recdd"/>
- <Cell col="16" text="rectm"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" style="align:left;padding:0 2 0 2;" text="bind:bedposcnts"/>
- <Cell col="2" style="align:left;padding:0 2 0 2;" text="bind:patnm"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" style="align:left;padding:0 2 0 2;" text="bind:prcpcd"/>
- <Cell col="5" style="align:left;padding:1 2 1 2;" text="bind:prcpnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" displaytype="text" edittype="text" text="bind:precnts"/>
- <Cell col="7" edittype="mask" text="bind:prcphopedd" mask="####-##-##"/>
- <Cell col="8" edittype="mask" text="bind:rsrvdd" mask="####-##-##"/>
- <Cell col="9" text="bind:sexage"/>
- <Cell col="10" text="bind:instcd"/>
- <Cell col="11" text="bind:indd"/>
- <Cell col="12" text="bind:cretno"/>
- <Cell col="13" text="bind:prcpdd"/>
- <Cell col="14" text="bind:prcpno"/>
- <Cell col="15" text="bind:recdd"/>
- <Cell col="16" text="bind:rectm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1120 40 1185 59" id="btn_zoom" class="btn2" text="확대하기" anchor="default" onclick="group5_btn_zoom_onclick"/>
- <Button position="absolute 758 380 800 399" id="button10" class="btn5" text="저장" anchor="default" onclick="group5_button10_onclick"/>
- <Button position="absolute 693 380 757 399" id="button11" class="btn2" text="조회기준" anchor="default" onclick="group5_button11_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="recdd" type="STRING" size="256"/>
- <Column id="wardcd" 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"/>
- <Dataset id="ds_init_patinfo_patlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="erworkinfo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchflag">R</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_memoinfo_memolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="teamid" type="STRING" size="256" sumtext="팀번호"/>
- <Column id="memocnts" type="STRING" size="256" sumtext="메모내용"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종작성자id"/>
- <Column id="lastupdtrnm" type="STRING" size="256" sumtext="최종작성자명"/>
- <Column id="recdt" type="STRING" size="256" sumtext="기록일시"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_erworkinfo_catheterlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="sexage" type="STRING" size="256" sumtext="S/A"/>
- <Column id="bedposcnts" type="STRING" size="256" sumtext="Bed"/>
- <Column id="itemnm" type="STRING" size="256" sumtext="item명"/>
- <Column id="loc" type="STRING" size="256" sumtext="부위"/>
- <Column id="opflag" type="STRING" size="256" sumtext="구분"/>
- <Column id="opdt" type="STRING" size="256" sumtext="시행일시"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_erworkinfo_testlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기간코드"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="bedposcnts" type="STRING" size="256" sumtext="Bed"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="sexage" type="STRING" size="256" sumtext="S/A"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="prcpno" type="STRING" size="256" sumtext="처방일련번호"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="prcphopedd" type="STRING" size="256" sumtext="처방적용일자"/>
- <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
- <Column id="precnts" type="STRING" size="256" sumtext="전처치내용"/>
- <Column id="recdd" type="STRING" size="256" sumtext="작성일자"/>
- <Column id="rectm" type="STRING" size="256" sumtext="작성시간"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_erworkinfo_inbcklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_erworkinfo_inbcklist_oncolumnchanged">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기간코드"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="bedposcnts" type="STRING" size="256" sumtext="Bed"/>
- <Column id="ioyn" type="STRING" size="256" sumtext="IO"/>
- <Column id="npoyn" type="STRING" size="256" sumtext="NPO"/>
- <Column id="bstyn" type="STRING" size="256" sumtext="BST"/>
- <Column id="inbckyn" type="STRING" size="256" sumtext="작성여부"/>
- <Column id="recdd" type="STRING" size="256" sumtext="작성일자"/>
- <Column id="rectm" type="STRING" size="256" sumtext="작성시간"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_erworkinfo_etcmemolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="seqno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="memocnts" type="STRING" size="256" sumtext="메모내용"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="recnm" type="STRING" size="256" sumtext="작성자"/>
- <Column id="recdt" type="STRING" size="256" sumtext="작성일시"/>
- <Column id="recdd" type="STRING" size="256" sumtext="작성일자"/>
- <Column id="rectm" type="STRING" size="256" sumtext="작성시간"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_erworkinfo_articlelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="seqno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="mwardcd" type="STRING" size="256" sumtext="내병동"/>
- <Column id="owardcd" type="STRING" size="256" sumtext="물품 IN/OUT 병동"/>
- <Column id="gubun" type="STRING" size="256" sumtext="물품 IN/OUT 구분"/>
- <Column id="article" type="STRING" size="256" sumtext="물품"/>
- <Column id="iodd" type="STRING" size="256" sumtext="IN/OUT 일시"/>
- <Column id="recdd" type="STRING" size="256" sumtext="작성일자"/>
- <Column id="rectm" type="STRING" size="256" sumtext="작성시간"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_gubun" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING" size="256"/>
- <Column id="name" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="name">IN</Col>
- <Col id="code">I</Col>
- </Row>
- <Row>
- <Col id="name">OUT</Col>
- <Col id="code">O</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_codelist" 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_savedata_condinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group5.tex_0team" propid="value" datasetid="ds_memoinfo_memolist" columnid="memocnts"/>
- <BindItem id="item1" compid="group5.grp_sea.ipt_orddd" propid="value" datasetid="ds_cond" columnid="recdd"/>
- <BindItem id="item2" compid="group5.grp_sea.radio1" propid="value" datasetid="ds_hidden" columnid="srchflag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-10-10
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-10-10 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_carecomxp::CareCom.xjs";
- var arErrorCode = new HashArray();
- function SMMNE11000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
-
-
- }
- function SMMNE11000_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setRowTypeIcon(group5.grd_testlist, 0);
- grdf_setRowTypeIcon(group5.grd_inbcklist, 0);
- grdf_setRowTypeIcon(group5.grd_etcmemolist, 0);
- grdf_setRowTypeIcon(group5.grd_article, 0);
-
- var dt = utlf_getCurrentDate();
- var pCode = "'W18'"; // 조회할 CdGrupID 코드정보
- fGetNursHardCdInfo(pCode, dt);
- ds_cond.setColumn(0, "recdd", utlf_getCurrentDate());
- ds_cond.setColumn(0, "wardcd", "2280200000");
-
- //속도개선
- this.setTimer(0, 100);
- // fPatInfo();
- // fMomoSearch();
- // fSearch() ;
- }
- function fPatInfo(){
- ds_send_reqdata.clearData();
- dsf_makeValue(ds_send_reqdata, "recdd", "string", ds_cond.getColumn(0, "recdd"));
- dsf_makeValue(ds_send_reqdata, "wardcd", "string", ds_cond.getColumn(0, "wardcd"));
-
- var oParam = {};
- oParam.id = "TRMNE11001";
- oParam.service = "ercareapp.ERRgst";
- oParam.method = "reqGetErPatInfo";
- oParam.inds = "reqdata=ds_send_reqdata";
- oParam.outds = "ds_init_patinfo_patlist=patlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNE11001";
- tranf_submit(oParam);
- }
- function fMomoSearch(){
- ds_send_reqdata.clearData();
- dsf_makeValue(ds_send_reqdata, "wardcd", "string", ds_cond.getColumn(0, "wardcd"));
- dsf_makeValue(ds_send_reqdata, "teamid", "string", "0");
-
- if ( ds_hidden.getColumn(0, "srchflag") == "P" ) //조회구분이 과거이면 업무일자로 조회, 아니면 최근 메모 조회
- {
- dsf_makeValue(ds_send_reqdata, "recdd", "string", ds_cond.getColumn(0, "recdd"));
- }
-
- var oParam = {};
- oParam.id = "TRMNB00206";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqGetTeamMemoList";
- oParam.inds = "reqdata=ds_send_reqdata";
- oParam.outds = "ds_memoinfo_memolist=memolist";
- oParam.async = false;
- tranf_submit(oParam);
-
- if(ds_memoinfo_memolist.rowcount == 0){
- dsf_makeValue(ds_memoinfo_memolist, "teamid", "string", 0);
- dsf_makeValue(ds_memoinfo_memolist, "memocnts", "string", "");
- }
- }
- function fSearch(){
- ds_send_reqdata.clearData();
- ds_erworkinfo_catheterlist.clearData();
- dsf_makeValue(ds_send_reqdata, "wardcd", "string", ds_cond.getColumn(0, "wardcd"));
- dsf_makeValue(ds_send_reqdata, "recdd", "string", ds_cond.getColumn(0, "recdd"));
-
- var oParam = {};
- oParam.id = "TRMNE11000";
- oParam.service = "ercareapp.ERRgst";
- oParam.method = "reqGetErWorkInfo";
- oParam.inds = "reqdata=ds_send_reqdata";
- oParam.outds = "ds_erworkinfo_catheterlist=catheterlist ds_erworkinfo_testlist=testlist ds_erworkinfo_inbcklist=inbcklist ds_erworkinfo_etcmemolist=etcmemolist ds_erworkinfo_articlelist=articlelist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNE11000";
- tranf_submit(oParam);
- }
- function group5_grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fMomoSearch();
- fSearch() ;
- }
- function group5_grp_sea_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if ( ds_hidden.getColumn(0, "srchflag") == "P" ){
- group5.grp_sea.ipt_orddd.enable = true;
- }else{
- ds_cond.setColumn(0, "recdd", utlf_getCurrentDate());
- group5.grp_sea.ipt_orddd.enable = false;
- }
- }
- function group5_btn_0team_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveMemo("0");
- }
- function fSaveMemo(teamid)
- {
- if(ds_cond.getColumn(0, "recdd") != utlf_getCurrentDate()){
- sysf_messageBox("인계사항은 현재일자로 작성된 건만 저장 가능합니다.\n\n업무일자를 확인해주십시오.", "E");
- return;
- }
-
- if(utlf_isNull(ds_memoinfo_memolist.getColumn(0, "memocnts"))){
- sysf_messageBox("인계사항을", "C001");//" 입력하십시오."
- fMomoSearch() ;
- return;
- }
-
- ds_send_reqdata.clearData();
- ds_send_reqdata.copyData(ds_cond);
- dsf_makeValue(ds_send_reqdata, "memocnts", "string", ds_memoinfo_memolist.getColumn(0, "memocnts"));
- dsf_makeValue(ds_send_reqdata, "teamid", "string", teamid);
-
- var text = ds_send_reqdata.getColumn(0, "memocnts");
- var arr = utlf_transNullToEmpty(text).split("\n");
-
- if(arr.length < 76){
- var oParam = {};
- oParam.id = "TXMNB00206";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqExeTeamMemoList";
- oParam.inds = "reqdata=ds_send_reqdata";
- oParam.outds = "ds_memoinfo_memolist=memolist";
- oParam.async = false;
- oParam.callback = "cf_TXMNB00206";
- tranf_submit(oParam);
-
- if (arErrorCode.pop("TXMNB00206") > -1)
- {
- sysf_messageBox("저장되었습니다","I");
- fMomoSearch() ;
- }
- }else{
- sysf_messageBox("줄수가 초과 되었습니다.","C");
- }
- }
- function cf_TXMNB00206(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function group5_btn_zoom_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( group5.btn_zoom.text == "확대하기" ) {
- group5.btn_zoom.text = "축소하기";
- group5.grd_catheter.position.left = "630";
- group5.grd_catheter.position.width = "555";
-
- group5.grd_catheter.setFormatColProperty("itemnm", "size", eval(group5.grd_catheter.getFormatColProperty("itemnm", "size")) + 50);
- group5.grd_catheter.setFormatColProperty("loc", "size", eval(group5.grd_catheter.getFormatColProperty("loc", "size")) + 20);
- } else {
- group5.btn_zoom.text = "확대하기";
- group5.grd_catheter.position.left = "805";
- group5.grd_catheter.position.width = "380";
-
- group5.grd_catheter.setFormatColProperty("itemnm", "size", eval(group5.grd_catheter.getFormatColProperty("itemnm", "size")) - 50);
- group5.grd_catheter.setFormatColProperty("loc", "size", eval(group5.grd_catheter.getFormatColProperty("loc", "size")) - 20);
- }
- }
- function group5_button11_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPMNE13000", "SPMNE13000", "", null, "", "", "", null, null, null, null, null, "M");
- fSearch() ;
- }
- function group5_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeTestList();
- }
- function fExeTestList() {
- //var testcnts = group5.grd_testlist.getUpdateData();
- //var testcnts = ds_erworkinfo_testlist.rowcount;
- //그리드 저장조건
- for (var i = 0; i < ds_erworkinfo_testlist.rowcount; i++) {
- dsf_makeValue(ds_erworkinfo_testlist, "recdd", "string", utlf_getCurrentDate(), i);
- dsf_makeValue(ds_erworkinfo_testlist, "rectm", "string", utlf_getCurrentTime().substr(0, 6), i);
- }
-
- var updateData = grdf_getGridUpdateData(group5.grd_testlist);
- grdf_setStatusColumn(updateData, "status");
-
- dsf_createDs("ds_reqsmm");
- ds_reqsmm.copyData(updateData, true);
-
- var testcnts = dsf_getDsCSV(updateData);
-
- for( var cnt = 0 ; cnt < testcnts.split("▩").length-1 ; cnt++ ){
- if ( utlf_isNull(getArrayData(testcnts,cnt,2))){
- sysf_messageBox("메모내용을", "C001");//" 입력하십시오."
- return;
- }
- }
- ds_send_savedata.clearData();
- ds_send_savedata_condinfo.clearData();
-
- ds_reqsmm.updateColID("indd", "orddd");
- //조회조건
- dsf_makeValue(ds_send_savedata_condinfo, "wardcd", "string", ds_cond.getColumn(0, "wardcd"));
- dsf_makeValue(ds_send_savedata_condinfo, "recdd", "string", ds_cond.getColumn(0, "recdd"));
-
- ds_erworkinfo_testlist.clearData();
-
- var oParam = {};
- oParam.id = "TXMNE11004";
- oParam.service = "ercareapp.ERRgst";
- oParam.method = "reqExeTestInfo";
- oParam.inds = "reqdata=ds_reqsmm reqcond=ds_send_savedata_condinfo";
- oParam.outds = "ds_erworkinfo_testlist=testlist";
- oParam.async = false;
- oParam.callback = "cf_TXMNE11004";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXMNE11004") > -1){
- //if ( getNodesetCount("/root/hidden/erworkinfo/testlist") > 0 ){
- //model.makeNode("/root/main/erworkinfo/testlist");
- //copyNodesetType("/root/main/erworkinfo/testlist", "/root/hidden/erworkinfo/testlist", "replace", model, model);
- //}
- sysf_messageBox("성공적으로", "I001");
- }
- }
- function cf_TXMNE11004(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function group5_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_erworkinfo_articlelist.rowcount > 0) {
- ds_erworkinfo_articlelist.insertRow(0);
- } else {
- ds_erworkinfo_articlelist.addRow();
- }
- }
- function group5_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_erworkinfo_inbcklist.rowcount > 0) {
- ds_erworkinfo_inbcklist.insertRow(0);
- } else {
- ds_erworkinfo_inbcklist.addRow();
- }
- }
- function group5_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- if (!utlf_isNull(ds_erworkinfo_inbcklist.getColumn(ds_erworkinfo_inbcklist.rowposition, "inbckyn"))) {
- //grd_inbcklist.addStatus(grd_inbcklist.row, "delete");
- ds_erworkinfo_inbcklist.enableevent = false;
- ds_erworkinfo_inbcklist.updatecontrol = false;
- ds_erworkinfo_inbcklist.setRowType(ds_erworkinfo_inbcklist.rowposition, 8);
- ds_erworkinfo_inbcklist.updatecontrol = true;
- ds_erworkinfo_inbcklist.enableevent = true;
- } else {
- ds_erworkinfo_inbcklist.deleteRow(ds_erworkinfo_inbcklist.rowposition);
- }
- }
- function group5_button6_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeInbckList();
- }
- function fExeInbckList() {
- //그리드 저장조건
- for (var i = 0; i < ds_erworkinfo_inbcklist.rowcount; i++) {
- dsf_makeValue(ds_erworkinfo_inbcklist, "recdd", "string", utlf_getCurrentDate(), i);
- dsf_makeValue(ds_erworkinfo_inbcklist, "rectm", "string", utlf_getCurrentTime().substr(0, 6), i);
- }
-
- var updateData = grdf_getGridUpdateData(group5.grd_inbcklist);
- grdf_setStatusColumn(updateData, "status");
-
- dsf_createDs("ds_reqsmm");
- ds_reqsmm.copyData(updateData, true);
-
- var inbckcnts = dsf_getDsCSV(updateData);
- for( var cnt = 0 ; cnt < inbckcnts.split("▩").length-1 ; cnt++ ){
- if ( utlf_isNull(getArrayData(inbckcnts,cnt,3))){
- sysf_messageBox("환자명", "C001");//" 입력하십시오."
- return;
- }
- }
-
- ds_send_savedata.clearData();
- ds_send_savedata_condinfo.clearData();
- //조회조건
- dsf_makeValue(ds_send_savedata_condinfo, "wardcd", "string", ds_cond.getColumn(0, "wardcd"));
- dsf_makeValue(ds_send_savedata_condinfo, "recdd", "string", ds_cond.getColumn(0, "recdd"));
-
- ds_erworkinfo_inbcklist.clearData();
- var oParam = {};
- oParam.id = "TXMNE11002";
- oParam.service = "ercareapp.ERRgst";
- oParam.method = "reqExeInbckInfo";
- oParam.inds = "reqdata=ds_reqsmm reqcond=ds_send_savedata_condinfo";
- oParam.outds = "ds_erworkinfo_inbcklist=inbcklist";
- oParam.async = false;
- oParam.callback = "cf_TXMNE11002";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXMNE11002") > -1){
- fPatInfo();
- // if ( getNodesetCount("/root/hidden/erworkinfo/inbcklist") > 0 ){
- // model.makeNode("/root/main/erworkinfo/inbcklist");
- // copyNodesetType("/root/main/erworkinfo/inbcklist", "/root/hidden/erworkinfo/inbcklist", "replace", model, model);
- // }
- sysf_messageBox("성공적으로", "I001");
- }
- }
- function cf_TXMNE11002(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function ds_erworkinfo_inbcklist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- var iRow = ds_erworkinfo_inbcklist.rowposition;
- var iCol = group5.grd_inbcklist.currentcol;
- var sGridXpath = ds_erworkinfo_inbcklist;
-
- if(iCol == group5.grd_inbcklist.getCellPos("pid")){
-
- var pid = ds_erworkinfo_inbcklist.getColumn(iRow, "pid");
-
- if(!utlf_isNull(pid)){
- sGridXpath.setColumn(iRow, "bedposcnts", ds_init_patinfo_patlist.lookup("pid", pid, "bedposcnts"));
- sGridXpath.setColumn(iRow, "instcd", ds_init_patinfo_patlist.lookup("pid", pid, "instcd"));
- sGridXpath.setColumn(iRow, "indd", ds_init_patinfo_patlist.lookup("pid", pid, "indd"));
- sGridXpath.setColumn(iRow, "cretno", ds_init_patinfo_patlist.lookup("pid", pid, "cretno"));
- }
- }
- }
- function group5_grd_inbcklist_oncloseup(obj:Grid, e:GridEditEventInfo)
- {
- obj.showEditor(false);
- }
- function group5_button7_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_erworkinfo_etcmemolist.rowcount > 0) {
- ds_erworkinfo_etcmemolist.insertRow(0);
- } else {
- ds_erworkinfo_etcmemolist.addRow();
- }
- }
- function group5_button8_onclick(obj:Button, e:ClickEventInfo)
- {
- if (!utlf_isNull(ds_erworkinfo_etcmemolist.getColumn(ds_erworkinfo_etcmemolist.rowposition, "seqno"))) {
- ds_erworkinfo_etcmemolist.enableevent = false;
- ds_erworkinfo_etcmemolist.updatecontrol = false;
- ds_erworkinfo_etcmemolist.setRowType(ds_erworkinfo_etcmemolist.rowposition, 8);
- ds_erworkinfo_etcmemolist.updatecontrol = true;
- ds_erworkinfo_etcmemolist.enableevent = true;
- } else {
- ds_erworkinfo_etcmemolist.deleteRow(ds_erworkinfo_etcmemolist.rowposition);
- }
- }
- function group5_button9_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeEtcMomoList();
- }
- function fExeEtcMomoList() {
- //그리드 저장조건
- for (var i = 0; i < ds_erworkinfo_etcmemolist.rowcount; i++) {
- dsf_makeValue(ds_erworkinfo_etcmemolist, "wardcd", "string", ds_cond.getColumn(0, "wardcd"), i);
- dsf_makeValue(ds_erworkinfo_etcmemolist, "recdd", "string", utlf_getCurrentDate(), i);
- dsf_makeValue(ds_erworkinfo_etcmemolist, "rectm", "string", utlf_getCurrentTime().substr(0, 6), i);
- }
-
- var updateData = grdf_getGridUpdateData(group5.grd_etcmemolist);
- grdf_setStatusColumn(updateData, "status");
-
- dsf_createDs("ds_reqsmm");
- ds_reqsmm.copyData(updateData, true);
-
- var etcmemocnts = dsf_getDsCSV(updateData);
- for( var cnt = 0 ; cnt < etcmemocnts.split("▩").length-1 ; cnt++ ){
- if ( utlf_isNull(getArrayData(etcmemocnts,cnt,2))){
- sysf_messageBox("메모내용을", "C001");//" 입력하십시오."
- return;
- }
- }
- ds_send_savedata.clearData();
- ds_send_savedata_condinfo.clearData();
- //조회조건
- dsf_makeValue(ds_send_savedata_condinfo, "wardcd", "string", ds_cond.getColumn(0, "wardcd"));
- dsf_makeValue(ds_send_savedata_condinfo, "recdd", "string", ds_cond.getColumn(0, "recdd"));
- ds_erworkinfo_etcmemolist.clearData();
- var oParam = {};
- oParam.id = "TXMNE11003";
- oParam.service = "ercareapp.ERRgst";
- oParam.method = "reqExeEtcMemoInfo";
- oParam.inds = "reqdata=ds_reqsmm reqcond=ds_send_savedata_condinfo";
- oParam.outds = "ds_erworkinfo_etcmemolist=etcmemolist";
- oParam.async = false;
- oParam.callback = "cf_TXMNE11003";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXMNE11003") > -1){
- // if ( getNodesetCount("/root/hidden/erworkinfo/etcmemolist") > 0 ){
- // model.makeNode("/root/main/erworkinfo/etcmemolist");
- // copyNodesetType("/root/main/erworkinfo/etcmemolist", "/root/hidden/erworkinfo/etcmemolist", "replace", model, model);
- // }
- sysf_messageBox("성공적으로", "I001");
- }
- }
- function cf_TXMNE11003(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function group5_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- if (!utlf_isNull(ds_erworkinfo_articlelist.getColumn(ds_erworkinfo_articlelist.rowposition, "seqno"))) {
- ds_erworkinfo_articlelist.enableevent = false;
- ds_erworkinfo_articlelist.updatecontrol = false;
- ds_erworkinfo_articlelist.setRowType(ds_erworkinfo_articlelist.rowposition, 8);
- ds_erworkinfo_articlelist.updatecontrol = true;
- ds_erworkinfo_articlelist.enableevent = true;
- } else {
- ds_erworkinfo_articlelist.deleteRow(ds_erworkinfo_articlelist.rowposition);
- }
- }
- function group5_button78_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeArticleList();
- }
- function fExeArticleList() {
- //그리드 저장조건
- for (var i = 0; i < ds_erworkinfo_articlelist.rowcount; i++) {
- dsf_makeValue(ds_erworkinfo_articlelist, "mwardcd", "string", ds_cond.getColumn(0, "wardcd"), i);
- dsf_makeValue(ds_erworkinfo_articlelist, "recdd", "string", utlf_getCurrentDate(), i);
- dsf_makeValue(ds_erworkinfo_articlelist, "rectm", "string", utlf_getCurrentTime().substr(0, 6), i);
- }
-
- var updateData = grdf_getGridUpdateData(group5.grd_article);
- grdf_setStatusColumn(updateData, "status");
-
- dsf_createDs("ds_reqsmm");
- ds_reqsmm.copyData(updateData, true);
-
- var articlecnts = dsf_getDsCSV(updateData);
-
- for( var cnt = 0 ; cnt < ds_reqsmm.rowcount ; cnt++ ){
- if ( utlf_isNull(ds_reqsmm.getColumn(cnt, "owardcd"))){
- sysf_messageBox("병동을", "C001");//" 입력하십시오."
- return;
- }
-
- if ( utlf_isNull(ds_reqsmm.getColumn(cnt, "gubun"))){
- sysf_messageBox("구분값을", "C001");//" 입력하십시오."
- return;
- }
-
- if ( utlf_isNull(ds_reqsmm.getColumn(cnt, "iodd"))){
- sysf_messageBox("IN/OUT 일자를", "C001");//" 입력하십시오."
- return;
- }
-
- if ( utlf_isNull(ds_reqsmm.getColumn(cnt, "article"))){
- messageBox("저장할 물품현황을", "C001");//" 입력하십시오."
- return;
- }
- }
-
- ds_send_savedata.clearData();
- ds_send_savedata_condinfo.clearData();
- //조회조건
- dsf_makeValue(ds_send_savedata_condinfo, "wardcd", "string", ds_cond.getColumn(0, "wardcd"));
- dsf_makeValue(ds_send_savedata_condinfo, "recdd", "string", ds_cond.getColumn(0, "recdd"));
-
- ds_erworkinfo_articlelist.clearData();
-
- var oParam = {};
- oParam.id = "TXMNE11001";
- oParam.service = "ercareapp.ERRgst";
- oParam.method = "reqExeArticleInfo";
- oParam.inds = "reqdata=ds_reqsmm reqcond=ds_send_savedata_condinfo";
- oParam.outds = "ds_erworkinfo_articlelist=articlelist";
- oParam.async = false;
- oParam.callback = "cf_TXMNE11001";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXMNE11001") > -1){
- // if ( getNodesetCount("/root/hidden/erworkinfo/articlelist") > 0 ){
- // model.makeNode("/root/main/erworkinfo/articlelist");
- // copyNodesetType("/root/main/erworkinfo/articlelist", "/root/hidden/erworkinfo/articlelist", "replace", model, model);
- // }
- sysf_messageBox("성공적으로", "I001");
- }
- }
- function cf_TXMNE11001(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function group5_grd_article_oncloseup(obj:Grid, e:GridEditEventInfo)
- {
- obj.showEditor(false);
- }
- function SMMNE11000_ontimer(obj:Form, e:TimerEventInfo)
- {
- if (e.timerid == 0) {
- this.killTimer(0);
- fPatInfo();
- fMomoSearch();
- fSearch() ;
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|