123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPAS02600" position="absolute 0 0 1196 781" titletext="미시행처방조회" oninit="SMPAS02600_oninit" onload="SMPAS02600_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="미시행처방조회" class="tit_1" position="absolute 0 0 140 25"/>
- <Div id="group4" taborder="1" position="absolute 0 25 1195 85" class="div_SA">
- <Layouts>
- <Layout>
- <Static id="caption4" text="기 간 :" class="search_name" position="absolute 10 11 84 28" anchor="default"/>
- <Static id="caption8" text="~" class="search_n_b" position="absolute 208 10 220 27" anchor="default"/>
- <Button id="button6" taborder="1" text="조회" class="btn1" position="absolute 1126 19 1182 41" anchor="default" onclick="group4_button6_onclick"/>
- <Shape id="line3" linetype="vertical" position="absolute 1109 12 1115 49" anchor="default"/>
- <Calendar id="ipt_srchfromdd" taborder="2" class="input_essential" position="absolute 96 9 201 28" anchor="default" dateformat="yyyy-MM-dd"/>
- <Calendar id="ipt_srchtodd" taborder="3" class="input_essential" position="absolute 225 9 330 28" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
- <Combo id="cmb_srchprcpexecdept" taborder="4" innerdataset="@ds_init_orddeptlist_dept" codecolumn="deptcd" datacolumn="depthngnm" position="absolute 455 9 720 28" anchor="default"/>
- <Static id="caption1" text="시행부서 :" class="search_name" position="absolute 360 11 446 28" anchor="default"/>
- <Static id="caption2" text="등록번호 :" class="search_name" position="absolute 10 36 96 53" anchor="default"/>
- <Edit id="input1" taborder="5" class="input_search" position="absolute 96 34 181 53" anchor="default" onkeydown="group4_input1_onkeydown"/>
- <Button id="btn_pid" taborder="6" class="icon_search" position="absolute 191 36 207 52" anchor="default" onclick="group4_btn_pid_onclick"/>
- <Radio id="rdo_flag" taborder="7" columncount="3" rowcount="0" innerdataset="@ds_init_flag" codecolumn="id" datacolumn="name" position="absolute 327 33 695 53" anchor="default"/>
- <Static id="caption3" text="구 분 :" class="search_name" position="absolute 740 11 817 28" anchor="default"/>
- <Radio id="radio1" taborder="8" columncount="3" rowcount="0" innerdataset="@ds_init_ioflag" position="absolute 824 8 981 28" anchor="default" codecolumn="id" datacolumn="name"/>
- <CheckBox id="checkbox1" taborder="9" position="absolute 230 33 300 53" anchor="default" text="액팅포함" truevalue="Y" onchanged="group4_checkbox1_onchanged" onclick="group4_checkbox1_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="button33" taborder="2" text="초기화" class="btn4" position="absolute 1127 754 1195 776" onclick="button33_onclick"/>
- <Grid id="grd_unexecprcplist" taborder="3" binddataset="ds_main_unexecprcplist" useinputpanel="false" position="absolute 0 118 1195 749" onrbuttonup="grd_unexecprcplist_onrbuttonup" cellsizingtype="both" selecttype="multirow" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="122"/>
- <Column size="108"/>
- <Column size="74"/>
- <Column size="73"/>
- <Column size="43"/>
- <Column size="85"/>
- <Column size="376"/>
- <Column size="55"/>
- <Column size="91"/>
- <Column size="76"/>
- <Column size="92"/>
- <Column size="73"/>
- <Column size="80"/>
- <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="처방등록일시"/>
- <Cell col="2" text="예약시간"/>
- <Cell col="3" text="등록번호"/>
- <Cell col="4" text="환자명"/>
- <Cell col="5" text="S/A"/>
- <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="실시일자"/>
- <Cell col="15" text="처방구분"/>
- <Cell col="16" text="실시처방번호"/>
- <Cell col="17" text="진료일자"/>
- <Cell col="18" text="부서"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" style="background:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');background2:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');" text="bind:prcptm" mask="expr:utlf_isNull(prcptm) || prcptm == '-' ? '' : '####-##-## ##:##:##'"/>
- <Cell col="2" style="background:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');background2:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');" text="bind:rsrvtm" mask="expr:utlf_isNull(rsrvtm) || rsrvtm == '-' ? '' : '####-##-## ##:##'"/>
- <Cell col="3" style="background:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');background2:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');" text="bind:pid"/>
- <Cell col="4" style="background:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');background2:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');" text="bind:hngnm"/>
- <Cell col="5" style="background:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');background2:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');" text="bind:sexage"/>
- <Cell col="6" displaytype="text" style="background:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');background2:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');" text="bind:prcpcd"/>
- <Cell col="7" displaytype="text" style="background:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');background2:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');" text="bind:prcpnm"/>
- <Cell col="8" style="background:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');background2:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');" text="bind:prcpstats"/>
- <Cell col="9" displaytype="text" style="background:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');background2:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');" text="bind:orddeptnm"/>
- <Cell col="10" style="background:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');background2:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');" text="bind:usernm"/>
- <Cell col="11" displaytype="text" style="background:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');background2:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');" text="bind:execdeptnm"/>
- <Cell col="12" style="background:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');background2:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');" text="bind:prcpdd" mask="expr:utlf_isNull(prcpdd) || prcpdd == '-' ? '' : '####-##-##'"/>
- <Cell col="13" style="background:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');background2:EXPR(execdd == '00000000' ? '#FFCCCC' : '#FFFFFF');" text="bind:roomcd"/>
- <Cell col="14" text="bind:execdd"/>
- <Cell col="15" text="bind:prcpgenrflag"/>
- <Cell col="16" text="bind:execprcpuniqno"/>
- <Cell col="17" text="bind:orddd"/>
- <Cell col="18" text="bind:basesuppdeptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line2" class="line_1" position="absolute 0 113 1195 119" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
- <Static id="caption5" text="★ 입원인 경우 미시행(당일예약)은 처방일자를 기준으로 조회됩니다. ★" position="absolute 4 96 982 112" style="color:#0000ffff;font:Dotum,9,bold;"/>
- <Button id="button95" taborder="4" text="액셀저장" class="btn7" position="absolute 1115 91 1195 113" onclick="button95_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_unexecprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcptm" type="STRING" size="256"/>
- <Column id="rsrvtm" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sexage" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="prcpstats" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="execdeptnm" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="execprcpuniqno" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="basesuppdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="prcptm"/>
- <Col id="rsrvtm"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="sexage"/>
- <Col id="prcpcd"/>
- <Col id="prcpnm"/>
- <Col id="prcpstats"/>
- <Col id="orddeptnm"/>
- <Col id="usernm"/>
- <Col id="execdeptnm"/>
- <Col id="prcpdd"/>
- <Col id="roomcd"/>
- <Col id="execdd"/>
- <Col id="prcpgenrflag"/>
- <Col id="execprcpuniqno"/>
- <Col id="orddd"/>
- <Col id="basesuppdeptcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="srchprcpexecdept" type="STRING" size="256"/>
- <Column id="srchpid" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="include" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchfromdd"/>
- <Col id="srchtodd"/>
- <Col id="srchprcpexecdept"/>
- <Col id="srchpid"/>
- <Col id="srchflag"/>
- <Col id="ioflag"/>
- <Col id="include"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_orddeptlist_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depth" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- <Column id="cdgrupid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="depth"/>
- <Col id="deptcd"/>
- <Col id="depthngnm"/>
- <Col id="cdgrupid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_flag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="name" type="STRING" size="256"/>
- <Column id="id" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="name">미시행(당일예약)</Col>
- <Col id="id">unxr</Col>
- </Row>
- <Row>
- <Col id="name">미시행(당일처방)</Col>
- <Col id="id">unxp</Col>
- </Row>
- <Row>
- <Col id="name">미예약</Col>
- <Col id="id">rsrv</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_ioflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="name" type="STRING" size="256"/>
- <Column id="id" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="name">외래</Col>
- <Col id="id">O</Col>
- </Row>
- <Row>
- <Col id="name">입원</Col>
- <Col id="id">I</Col>
- </Row>
- <Row>
- <Col id="name">전체</Col>
- <Col id="id">ALL</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_popupmenu_menu_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hardcdnm" type="STRING" size="256"/>
- <Column id="hardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hardcdnm">처방상세내역</Col>
- <Col id="hardcd">fOpenPrcpList</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="autoflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group4.ipt_srchfromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
- <BindItem id="item1" compid="group4.ipt_srchtodd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
- <BindItem id="item2" compid="group4.cmb_srchprcpexecdept" propid="value" datasetid="ds_send" columnid="srchprcpexecdept"/>
- <BindItem id="item3" compid="group4.radio1" propid="value" datasetid="ds_send" columnid="ioflag"/>
- <BindItem id="item4" compid="group4.rdo_flag" propid="value" datasetid="ds_send" columnid="srchflag"/>
- <BindItem id="item5" compid="group4.checkbox1" propid="value" datasetid="ds_send" columnid="include"/>
- <BindItem id="item6" compid="group4.input1" propid="value" datasetid="ds_send" columnid="srchpid"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-11-17
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-11-17 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description : 조회기간을 셋팅한다.
- ****************************************************************************************/
- function fDateSet(){
- var cur_date = utlf_getCurrentDate();
- ds_send.setColumn( 0, "srchtodd" , cur_date);
- ds_send.setColumn( 0, "srchfromdd", cur_date);
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 시행부서를 셋팅한다.
- ****************************************************************************************/
- function fDeptSet(){
- var sUserInfosS = sysf_getUserInfo();
- sUserInfosS = sUserInfosS + "|";
-
- var UserInfosS_Array = sUserInfosS.split("|");
- var posinstcd = UserInfosS_Array[6]; //소속기관코드
- var posdeptcd = UserInfosS_Array[4]; //소속부서코드
- var posdeptnm = UserInfosS_Array[5]; //소속부서명
- var dutplcecd = sysf_getUserInfo("dutplcecd") ;
-
- if(dutplcecd == "1000000000" || dutplcecd == "4070300000" || dutplcecd == "11112233") {dutplcecd = "ALL";}
-
- ds_send.setColumn( 0, "srchprcpexecdept", dutplcecd);
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 미시행처방조회
- ****************************************************************************************/
- function fGetUnExec(){
- var fromdd = group4.ipt_srchfromdd.value;
- var todd = group4.ipt_srchtodd.value;
- var interval = utlf_getDateInterval(fromdd, todd);
- var pid = ds_send.getColumn(0, "srchpid");
- var uPath = "ds_main_unexecprcplist";
- // for(var i = 0; i < ds_main_unexecprcplist.rowcount; i++){
- // grd_unexecprcplist.setCellProprty("body", i, "background", "white");
- // grd_unexecprcplist.setCellProperty("body", i, "background2", "white");
- // }
- var oParam = {};
- oParam.id = "TRPAS02601";
- oParam.service = "healcareearnapp.UnExecPrcp";
- oParam.method = "reqGetUnExecPrcpList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_unexecprcplist=unexecprcplist";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS02601";
- tranf_submit(oParam);
- // for(var i = 1; i < ds_main_unexecprcplist.rowcount; i++){
- // var execdd = eval(uPath).getColumn(i, "execdd");
- // if(execdd == "00000000"){
- // grd_unexecprcplist.setCellProprty("body", i, "background", "#FFCCCC"); grd_unexecprcplist.setCellProperty("body", i, "background2", "#FFCCCC");
- // }
- // }
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 팝업 메뉴
- ****************************************************************************************/
- function fOpenPrcpList() {
- dsf_createDs("ds_temp");
- dsf_copyColInfo(ds_temp,ds_main_unexecprcplist);
- ds_temp.copyRow(ds_temp.addRow(),ds_main_unexecprcplist,ds_main_unexecprcplist.rowposition);
- var objArg = new Objects();
- objArg.arg_ds_init_popupdata = ds_temp;
- frmf_modal("SPAEA01102","SPAEA01102",objArg,"","","","","","","","","","M");
- }
- /****************************************************************************************
- * Argument : sCompId - 체크박스 아이디
- * Description : 체크박스 false선택시 empty처리
- ****************************************************************************************/
- function setFalseToEmpty(sCompId) {
- for(var i = 0; i < this.binds.length; i++) {
- if(this.binds[i].compid == sCompId) {
- var colNm = this.binds[i].columnid;
- var dsNm = this.binds[i].datasetid;
-
- eval(dsNm).setColumn(0,colNm,"");
- break;
- }
- }
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMPAS02600
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMPAS02600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMPAS02600
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMPAS02600_onload(obj:Form, e:LoadEventInfo)
- {
- //시행부서를 가져온다.
- var oParam = {};
- oParam.id = "TRPAS02602";
- oParam.service = "healcareearnapp.UnExecPrcp";
- oParam.method = "reqGetDept";
- oParam.inds = "";
- oParam.outds = "ds_init_orddeptlist_dept=dept";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS02602";
- tranf_submit(oParam);
-
- group4.rdo_flag.index = 0;
- group4.radio1.index = 0;
-
- fDateSet();//조회기간을 셋팅한다.
- fDeptSet();//시행부서를 셋팅한다.
-
- grdf_setGridSort(grd_unexecprcplist); // 그리드 소트만
-
- frmf_createPopupMenuDs("pmn_menu", "pmn_menu_onmenuclick", ds_hidden_popupmenu_menu_item);
- }
- // ds에 생성된 id별 함수 실행
- function pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group4.button6
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회
- ****************************************************************************************/
- function group4_button6_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetUnExec();
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : group4.input1
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 등록번호 입력 후 조회
- ****************************************************************************************/
- function group4_input1_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if (e.keycode == 13) {
- obj.updateToDataset();
- fGetUnExec();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group4.btn_pid
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 등록번호 조회 팝업
- * : 조회건수가 1건일 경우 팝업창을 바로 닫는다.
- ****************************************************************************************/
- function group4_btn_pid_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_source.setColumn(0,"autoflag", "Y");
- dsf_createDsRow("ds_temp", [{col:"pid", val:ds_send.getColumn(0,"srchpid")}
- ,{col:"srchcond", val:"1"}
- ,{col:"autoflag", val:"Y"}
- ]);
- var objArg = new Object();
- objArg.arg_ds_send = ds_temp;
- frmf_modal("SPPMC02500","SPPMC02500",objArg,"",1,150,150,"","","","","","M");
- ds_send.setColumn(0,"srchpid", ds_patinfolist.getColumn(0,"pid"));
- }
- /****************************************************************************************
- * Components : CheckBox
- * Components ID : group4.checkbox1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 체크박스 선택
- ****************************************************************************************/
- function group4_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == false) setFalseToEmpty(obj.name);
- else {
- var deptcd = ds_send.getColumn(0,"srchprcpexecdept");
- if(deptcd == "ALL"){
- sysf_messageBox("시행부서를", "C002");
- obj.value = false;
- }
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_unexecprcplist
- * Event : onrbuttonup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 팝업메뉴 호출
- ****************************************************************************************/
- function grd_unexecprcplist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1){
- grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
- pmn_menu.trackPopup(e.screenX,e.screenY);
- }
-
- return true;
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button95
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀저장
- ****************************************************************************************/
- function button95_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_unexecprcplist.rowcount > 0 ){
- grdf_exportExcel(grd_unexecprcplist, "SheetName", "SheetName", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button33
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 초기화 실행
- ****************************************************************************************/
- function button33_onclick(obj:Button, e:ClickEventInfo)
- {
- this.onload();
- }
- ]]></Script>
- </Form>
- </FDL>
|