123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNS00500" position="absolute 0 0 1200 790" titletext="관리환자목록" oninit="SMMNS00500_oninit" onload="SMMNS00500_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1195 23" id="grp_tle">
- <Layouts>
- <Layout>
- <Static text="관리환자목록" position="absolute 0 0 116 24" id="caption6" class="tit_1" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 13 1195 757" id="grp_biz" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Static text="관리환자 리스트" position="absolute 0 77 131 93" id="caption1" class="tit_2"/>
- <Shape position="absolute 0 93 1194 99" linetype="horizontal" id="line1" class="line_10"/>
- <Button position="absolute 1061 74 1125 93" id="btn_sms" class="btn2" text="SMS송신" onclick="grp_biz_btn_sms_onclick"/>
- <Button position="absolute 1126 74 1190 93" id="btn_label" class="btn2" text="라벨출력" onclick="grp_biz_btn_label_onclick"/>
- <Grid position="absolute 1 98 1195 740" id="grd_edulist" binddataset="ds_main_edupatinfo_edupatlist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="30"/>
- <Column size="43"/>
- <Column size="20"/>
- <Column size="35"/>
- <Column size="70"/>
- <Column size="69"/>
- <Column size="35"/>
- <Column size="70"/>
- <Column size="71"/>
- <Column size="213"/>
- <Column size="249"/>
- <Column size="139"/>
- <Column size="70"/>
- <Column size="35"/>
- <Column size="58"/>
- <Column size="59"/>
- <Column size="274"/>
- <Column size="84"/>
- <Column size="84"/>
- <Column size="100"/>
- <Column size="100"/>
- </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" style="align:center top;" text="구 분"/>
- <Cell col="4" text="병실"/>
- <Cell col="5" text="등록번호"/>
- <Cell col="6" text="환자명"/>
- <Cell col="7" text="S/A"/>
- <Cell col="8" text="의뢰일"/>
- <Cell col="9" text="처방코드"/>
- <Cell col="10" text="처방명"/>
- <Cell col="11" text="진단명"/>
- <Cell col="12" text="과/의뢰자"/>
- <Cell col="13" colspan="2" text="예약일시" taborder="undefined"/>
- <Cell col="15" text="수행여부"/>
- <Cell col="16" text="우편번호"/>
- <Cell col="17" text="주소"/>
- <Cell col="18" text="전화번호"/>
- <Cell col="19" text="HP"/>
- <Cell col="20" text="최초수행일시"/>
- <Cell col="21" text="최근수행일시"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == 'Y' || chk == '1' ? '1' : '0'"/>
- <Cell col="2" text="bind:stat"/>
- <Cell col="3" text="bind:patfg"/>
- <Cell col="4" text="bind:roomcd"/>
- <Cell col="5" text="bind:pid"/>
- <Cell col="6" text="bind:pidnm"/>
- <Cell col="7" text="bind:age"/>
- <Cell col="8" displaytype="date" text="bind:reqdd" calendardisplaynulltype="none"/>
- <Cell col="9" text="bind:prcpcd"/>
- <Cell col="10" text="bind:ordnm"/>
- <Cell col="11" text="bind:diagnm"/>
- <Cell col="12" text="bind:dept"/>
- <Cell col="13" displaytype="date" text="bind:rervdd" calendardisplaynulltype="none"/>
- <Cell col="14" text="bind:rervtm" mask="expr:utlf_isNull(rervtm) ? '' : '##:##'"/>
- <Cell col="15" text="bind:actnm"/>
- <Cell col="16" text="bind:zipcd"/>
- <Cell col="17" text="bind:address"/>
- <Cell col="18" text="bind:hometel"/>
- <Cell col="19" text="bind:mpphontel"/>
- <Cell col="20" text="bind:minrervdd" mask="expr:utlf_isNull(minrervdd) ? '' : '####-##-## ##:##'"/>
- <Cell col="21" text="bind:maxrervdd" mask="expr:utlf_isNull(maxrervdd) ? '' : '####-##-## ##:##'"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1018 74 1060 93" id="bnt_excel" class="btn2" text="엑셀" onclick="grp_biz_bnt_excel_onclick"/>
- <Div position="absolute 0 10 1194 70" align="align:center top;" id="grp_sea" class="div_SA">
- <Layouts>
- <Layout>
- <Static text="전문분야 :" position="absolute 16 9 95 26" id="caption2" class="search_name"/>
- <Shape position="absolute 1114 7 1120 29" linetype="vertical" id="line13" class="line_4"/>
- <Static text="조회일자 :" position="absolute 655 9 734 26" id="caption3" class="search_name"/>
- <Static text="~" position="absolute 822 12 834 25" id="caption4"/>
- <Static text="조회구간 :" position="absolute 330 9 408 26" id="caption5" class="search_name"/>
- <Static text="등록번호 :" position="absolute 655 34 734 51" id="caption7" class="search_name"/>
- <Static text="진행상태 :" position="absolute 16 36 97 53" id="caption8" class="search_name"/>
- <Static text="구 분 :" position="absolute 330 35 410 52" id="caption10" class="search_name"/>
- <Button position="absolute 889 34 905 50" id="btn_patSearch" class="icon_search" text="" onclick="grp_biz_grp_sea_btn_patSearch_onclick"/>
- <Combo position="absolute 95 8 291 27" id="cmb_spcl" class="combo_search" innerdataset="@ds_hidden_spclcarefildflaginfo_spclcarefildflaginfolist" datacolumn="nm" codecolumn="cd" onitemchanged="grp_biz_grp_sea_cmb_spcl_onitemchanged"/>
- <Radio position="absolute 410 8 635 28" id="rdo_ddflag" columncount="4" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="grp_biz_grp_sea_rdo_ddflag_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">O</Col>
- <Col id="datacolumn">처방일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">S</Col>
- <Col id="datacolumn">예약일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">수행일</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Calendar position="absolute 735 8 820 27" id="ipt_Fromdd" class="input_search" autoselect="true"/>
- <Calendar position="absolute 835 8 920 27" id="ipt_Enddd" class="input_search" autoselect="true"/>
- <Radio position="absolute 410 35 635 55" id="rdo_patfg" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="grp_biz_grp_sea_rdo_patfg_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <MaskEdit position="absolute 735 33 810 52" id="ipt_pid" class="input_search" mask="##########" autoselect="true" onkeydown="grp_biz_grp_sea_ipt_pid_onkeydown" onkillfocus="grp_biz_grp_sea_ipt_pid_onkillfocus"/>
- <Edit readonly="true" position="absolute 812 33 887 52" id="opt_patnm" class="output"/>
- <Button position="absolute 1128 7 1184 29" id="btn_select" class="btn1" text="조회" onclick="grp_biz_grp_sea_btn_select_onclick"/>
- <Radio position="absolute 95 35 320 55" id="rdo_stat" columncount="4" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="grp_biz_grp_sea_rdo_stat_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">기본</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">미확인</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">미수행</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">수행</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 949 74 1013 93" id="button1" class="btn2" text="전체해제" onclick="grp_biz_button1_onclick"/>
- <Button position="absolute 884 74 948 93" id="button2" class="btn2" text="전체선택" onclick="grp_biz_button2_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 757 1195 784" id="grp_btn"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="suppdeptcd" type="STRING" size="256" sumtext="사용부서코드"/>
- <Column id="cdgrupid" type="STRING" size="256"/>
- <Column id="spcl" type="STRING" size="256"/>
- <Column id="ddflag" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="enddd" type="STRING" size="256"/>
- <Column id="stat" type="STRING" size="256"/>
- <Column id="patfg" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="deptflag" type="STRING" size="256"/>
- <Column id="spclteamcd" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="rgstflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_spclcarefildflaginfo_spclcarefildflaginfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" sumtext="전문분야코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="전문분야명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_nursdeptinfo_nursdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256" sumtext="전문분야코드"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="전문분야명"/>
- <Column id="deptflag" type="STRING" size="256" sumtext="전문간호구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_spclteaminfo_spclteamlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256" sumtext="전문간호팀코드"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="전문간호팀명"/>
- <Column id="deptflag" type="STRING" size="256" sumtext="전문간호구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_spclsideinfo_spclsidelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256" sumtext="전문간호팀코드"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="전문간호팀명"/>
- <Column id="deptflag" type="STRING" size="256" sumtext="전문간호구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_edupatinfo_edupatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_edupatinfo_edupatlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256" sumtext="체크박스"/>
- <Column id="stat" type="STRING" size="256" sumtext="진행상태"/>
- <Column id="patfg" type="STRING" size="256" sumtext="내원구분"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="pidnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="age" type="STRING" size="256" sumtext="성별/나이"/>
- <Column id="reqdd" type="STRING" size="256" sumtext="의뢰일"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="ordnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="diagnm" type="STRING" size="256" sumtext="진단명"/>
- <Column id="dept" type="STRING" size="256" sumtext="과/의뢰자"/>
- <Column id="rervdd" type="STRING" size="256" sumtext="예약일자"/>
- <Column id="rervtm" type="STRING" size="256" sumtext="예약일시"/>
- <Column id="actnm" type="STRING" size="256" sumtext="수행여부"/>
- <Column id="zipcd" type="STRING" size="256" sumtext="우편번호"/>
- <Column id="address" type="STRING" size="256" sumtext="주소"/>
- <Column id="hometel" type="STRING" size="256" sumtext="전화번호"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="휴대폰번호"/>
- <Column id="minrervdd" type="STRING" size="256" sumtext="최초수행일시"/>
- <Column id="maxrervdd" type="STRING" size="256" sumtext="최근수행일시"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_cond_oncolumnchanged">
- <ColumnInfo>
- <Column id="spcl" type="STRING" size="256"/>
- <Column id="ddflag" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="enddd" type="STRING" size="256"/>
- <Column id="stat" type="STRING" size="256"/>
- <Column id="patfg" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="itemlist" type="STRING" size="256"/>
- <Column id="indate" type="STRING" size="256"/>
- <Column id="inpid" type="STRING" size="256"/>
- <Column id="cnfm" type="STRING" size="256"/>
- <Column id="newpid" type="STRING" size="256"/>
- <Column id="newpidsave" type="STRING" size="256"/>
- <Column id="rgstflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_menudeptinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="부서명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_labeldata_edupatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_edupatinfo_edupatlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256" sumtext="체크박스"/>
- <Column id="stat" type="STRING" size="256" sumtext="진행상태"/>
- <Column id="patfg" type="STRING" size="256" sumtext="내원구분"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="pidnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="age" type="STRING" size="256" sumtext="성별/나이"/>
- <Column id="reqdd" type="STRING" size="256" sumtext="의뢰일"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="ordnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="diagnm" type="STRING" size="256" sumtext="진단명"/>
- <Column id="dept" type="STRING" size="256" sumtext="과/의뢰자"/>
- <Column id="rervdd" type="STRING" size="256" sumtext="예약일자"/>
- <Column id="rervtm" type="STRING" size="256" sumtext="예약일시"/>
- <Column id="actnm" type="STRING" size="256" sumtext="수행여부"/>
- <Column id="zipcd" type="STRING" size="256" sumtext="우편번호"/>
- <Column id="address" type="STRING" size="256" sumtext="주소"/>
- <Column id="hometel" type="STRING" size="256" sumtext="전화번호"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="휴대폰번호"/>
- <Column id="minrervdd" type="STRING" size="256" sumtext="최초수행일시"/>
- <Column id="maxrervdd" type="STRING" size="256" sumtext="최근수행일시"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.grp_sea.cmb_spcl" propid="value" datasetid="ds_cond" columnid="spcl"/>
- <BindItem id="item1" compid="grp_biz.grp_sea.rdo_stat" propid="value" datasetid="ds_cond" columnid="stat"/>
- <BindItem id="item2" compid="grp_biz.grp_sea.rdo_ddflag" propid="value" datasetid="ds_cond" columnid="ddflag"/>
- <BindItem id="item3" compid="grp_biz.grp_sea.rdo_patfg" propid="value" datasetid="ds_cond" columnid="patfg"/>
- <BindItem id="item4" compid="grp_biz.grp_sea.ipt_Fromdd" propid="value" datasetid="ds_cond" columnid="fromdd"/>
- <BindItem id="item5" compid="grp_biz.grp_sea.ipt_Enddd" propid="value" datasetid="ds_cond" columnid="enddd"/>
- <BindItem id="item6" compid="grp_biz.grp_sea.ipt_pid" propid="value" datasetid="ds_cond" columnid="pid"/>
- <BindItem id="item7" compid="grp_biz.grp_sea.opt_patnm" propid="value" datasetid="ds_cond" columnid="patnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_spclcarexp -> SMMNS00500
- * Creator : yjh
- * Make Date : 2017-09-14
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-09-14 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_spclcarexp::SMMNS00500.xjs";
- include "emr_spclcarexp::MNS001.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMNS00500
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SMMNS00500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMNS00500
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SMMNS00500_onload(obj:Form, e:LoadEventInfo)
- {
- ds_cond.setColumn(0, "stat", "0");
- ds_cond.setColumn(0, "patfg", "A");
-
- fInit();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_sms
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : SMS송신버튼 클릭시
- ****************************************************************************************/
- function grp_biz_btn_sms_onclick(obj:Button, e:ClickEventInfo)
- {
- //2008년1월25일이후개발
- fPopUpCall("SMSTrsm");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_label
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 라벨출력버튼 클릭시
- ****************************************************************************************/
- function grp_biz_btn_label_onclick(obj:Button, e:ClickEventInfo)
- {
- //그리드에 조회된 행사일정 결과를 rexpert를 이용해 출력
- fPrintLabel();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : bnt_excel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀버튼 클릭시
- ****************************************************************************************/
- function grp_biz_bnt_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveExcel();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_patSearch
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 돋보기버튼 클릭시
- ****************************************************************************************/
- function grp_biz_grp_sea_btn_patSearch_onclick(obj:Button, e:ClickEventInfo)
- {
- var pid = ds_cond.getColumn(0, "pid");
- var flg = '1';
- var xpath = '/root/cond/pid';
-
- //환자정보 조회 팝업을 호출한다.
- fPopPatient2(flg, xpath, pid);
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_spcl
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function grp_biz_grp_sea_cmb_spcl_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fSpclComboChanged();
- select_reqlist();
- }
- /****************************************************************************************
- * Components : Radio
- * Components ID : rdo_ddflag
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 라디오 값 변경시
- ****************************************************************************************/
- function grp_biz_grp_sea_rdo_ddflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- select_reqlist();
- }
- /****************************************************************************************
- * Components : Radio
- * Components ID : rdo_patfg
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 라디오 값 변경시
- ****************************************************************************************/
- function grp_biz_grp_sea_rdo_patfg_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- select_reqlist(); // 관리 환자 리스트 조회
- }
- /****************************************************************************************
- * Components : MaskEdit
- * Components ID : ipt_pid
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : MaskEdit 키 입력시
- ****************************************************************************************/
- function grp_biz_grp_sea_ipt_pid_onkeydown(obj:MaskEdit, e:KeyEventInfo)
- {
- // 환자번호 입력시 기본정보조회
- var keycode = e.keycode;
- if(keycode == 13){
- select_reqlist();
- return;
- }
- }
- /****************************************************************************************
- * Components : MaskEdit
- * Components ID : ipt_pid
- * Event : onkillfocus
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : MaskEdit 포커스 아웃시
- ****************************************************************************************/
- function grp_biz_grp_sea_ipt_pid_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
- {
- if(utlf_isNull(ds_cond.getColumn(0, "pid"))){
- ds_cond.setColumn(0, "patnm","");
- }
- }
- function ds_cond_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- switch( e.columnid ){
- case "pid" :
- ds_cond.setColumn(0, "patnm","");
-
- break;
-
- default :
- break;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_select
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function grp_biz_grp_sea_btn_select_onclick(obj:Button, e:ClickEventInfo)
- {
- // 조회
- select_reqlist(); // 관리 환자 리스트 조회
- }
- /****************************************************************************************
- * Components : Radio
- * Components ID : rdo_stat
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 라디오 값 변경시
- ****************************************************************************************/
- function grp_biz_grp_sea_rdo_stat_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- select_reqlist();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 전체해저버튼 클릭시
- ****************************************************************************************/
- function grp_biz_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- for(var i=0 ;i < ds_main_edupatinfo_edupatlist.rowcount ; i++){
- ds_main_edupatinfo_edupatlist.setColumn(i, "chk", "N");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 전체선택버튼 클릭시
- ****************************************************************************************/
- function grp_biz_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- for(var i=0 ;i < ds_main_edupatinfo_edupatlist.rowcount ; i++){
- ds_main_edupatinfo_edupatlist.setColumn(i, "chk", "Y");
- }
- }
- function ds_main_edupatinfo_edupatlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- switch( e.columnid ){
- case "chk" :
- if( e.newvalue == "Y" || e.newvalue == "1" ){
- obj.setColumn(e.row, e.columnid, "Y");
- }else{
- obj.setColumn(e.row, e.columnid, "N");
- }
- break;
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|