123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMO33000" position="absolute 0 0 961 840" titletext="EDCIS Schedule 당직관리" onclose="SPMMO33000_onclose" oninit="SPMMO33000_oninit" onload="SPMMO33000_onload">
- <Layouts>
- <Layout>
- <Static text="중증 당직 리스트 조회" position="absolute 0 0 180 24" id="caption6" class="tit_1"/>
- <Div position="absolute 0 24 958 64" align="align:center top;" id="grp_srch" class="div_SA">
- <Layouts>
- <Layout>
- <Static id="caption52" text="조회일자 :" class="search_name" position="absolute 24 13 102 30" anchor="default"/>
- <Calendar id="int_outdt" taborder="1" class="input_search" position="absolute 117 11 217 30" anchor="default"/>
- <Shape id="line20" linetype="vertical" class="line_4" position="absolute 863 10 869 33" anchor="default"/>
- <Button id="btn_search" taborder="2" text="조회" class="btn1" position="absolute 882 10 938 32" anchor="default" onclick="grp_srch_btn_search_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="cpt_worktitle" text="당직 리스트" class="tit_2" position="absolute 2 73 177 89"/>
- <Grid id="grd_workerlist" taborder="1" binddataset="ds_main_workerinfolist" useinputpanel="false" position="absolute 0 91 958 836" autofittype="col" cellsizingtype="col" autosizingtype="row" extendsizetype="row" autosizemergetype="nomerge" cellsizebandtype="body">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="93"/>
- <Column size="120"/>
- <Column size="0"/>
- <Column size="110"/>
- <Column size="0"/>
- <Column size="110"/>
- <Column size="110"/>
- <Column size="110"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="중증분류"/>
- <Cell col="1" text="진료과"/>
- <Cell col="2" text="part코드"/>
- <Cell col="3" text="part"/>
- <Cell col="4" text="일자"/>
- <Cell col="5" text="1"/>
- <Cell col="6" text="2"/>
- <Cell col="7" text="3"/>
- <Cell col="8" text="4"/>
- <Cell col="9" text="5"/>
- <Cell col="10" text="6"/>
- <Cell col="11" text="7"/>
- <Cell col="12" text="8"/>
- <Cell col="13" text="9"/>
- <Cell col="14" text="10"/>
- <Cell col="15" text="fromdd"/>
- <Cell col="16" text="todd"/>
- <Cell col="17" text="grtype"/>
- <Cell col="18" text="orddeptcd"/>
- <Cell col="19" text="staffid"/>
- <Cell col="20" text="drid1"/>
- <Cell col="21" text="drid2"/>
- <Cell col="22" text="drid3"/>
- <Cell col="23" text="drid4"/>
- <Cell col="24" text="drid5"/>
- <Cell col="25" text="drid6"/>
- <Cell col="26" text="drid7"/>
- <Cell col="27" text="drid8"/>
- <Cell col="28" text="drid9"/>
- <Cell col="29" text="drid10"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;padding:2 5 2 5;" text="bind:grname" wordwrap="char" suppress="1" autosizerow="limitmin"/>
- <Cell col="1" style="align:left middle;padding:0 5 0 5;" text="bind:orddeptnm" suppress="0"/>
- <Cell col="2" text="bind:deptdetlflag" suppress="0"/>
- <Cell col="3" text="bind:deptdetlnm" suppress="0"/>
- <Cell col="4" text="bind:workdd" mask="yyyy-mm-dd" suppress="0"/>
- <Cell col="5" text="bind:drnm1" suppress="0"/>
- <Cell col="6" text="bind:drnm2" suppress="0"/>
- <Cell col="7" text="bind:drnm3" suppress="0"/>
- <Cell col="8" text="bind:drnm4" suppress="0"/>
- <Cell col="9" text="bind:drnm5" suppress="0"/>
- <Cell col="10" text="bind:drnm6" suppress="0"/>
- <Cell col="11" text="bind:drnm7"/>
- <Cell col="12" text="bind:drnm8"/>
- <Cell col="13" text="bind:drnm9"/>
- <Cell col="14" text="bind:drnm10"/>
- <Cell col="15" text="bind:fromdd"/>
- <Cell col="16" text="bind:todd"/>
- <Cell col="17" text="bind:grtype"/>
- <Cell col="18" text="bind:orddeptcd"/>
- <Cell col="19" text="bind:staffid"/>
- <Cell col="20" text="bind:drid1"/>
- <Cell col="21" text="bind:drid2"/>
- <Cell col="22" text="bind:drid3"/>
- <Cell col="23" text="bind:drid4"/>
- <Cell col="24" text="bind:drid5"/>
- <Cell col="25" text="bind:drid6"/>
- <Cell col="26" text="bind:drid7"/>
- <Cell col="27" text="bind:drid8"/>
- <Cell col="28" text="bind:drid9"/>
- <Cell col="29" text="bind:drid10"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit id="op_staffid" taborder="2" readonly="true" visible="false" position="absolute 210 70 345 89"/>
- <Button id="btn_excel" taborder="5" text="Excel" class="btn7" position="absolute 896 70 957 89" onclick="btn_excel_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_workerinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256" sumtext="당직시작일시"/>
- <Column id="todd" type="STRING" size="256" sumtext="당직종료일시"/>
- <Column id="grtype" type="STRING" size="256" sumtext="중증분류"/>
- <Column id="grname" type="STRING" size="256" sumtext="중증분류"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
- <Column id="deptdetlflag" type="STRING" size="256" sumtext="부서상세구분"/>
- <Column id="deptdetlnm" type="STRING" size="256" sumtext="부서상세구분"/>
- <Column id="staffid" type="STRING" size="256" sumtext="스탭아이디"/>
- <Column id="drid1" type="STRING" size="256" sumtext="당직의사id1"/>
- <Column id="drid2" type="STRING" size="256" sumtext="당직의사id2"/>
- <Column id="drid3" type="STRING" size="256" sumtext="당직의사id3"/>
- <Column id="drid4" type="STRING" size="256" sumtext="당직의사id4"/>
- <Column id="drid5" type="STRING" size="256" sumtext="당직의사id5"/>
- <Column id="drid6" type="STRING" size="256" sumtext="당직의사id6"/>
- <Column id="drid7" type="STRING" size="256" sumtext="당직의사id7"/>
- <Column id="drid8" type="STRING" size="256" sumtext="당직의사id8"/>
- <Column id="drid9" type="STRING" size="256" sumtext="당직의사id9"/>
- <Column id="drid10" type="STRING" size="256" sumtext="당직의사id10"/>
- <Column id="staffnm" type="STRING" size="256" sumtext="staffnm명"/>
- <Column id="drnm1" type="STRING" size="256" sumtext="당직의사명1"/>
- <Column id="drnm2" type="STRING" size="256" sumtext="당직의사명2"/>
- <Column id="drnm3" type="STRING" size="256" sumtext="당직의사명3"/>
- <Column id="drnm4" type="STRING" size="256" sumtext="당직의사명4"/>
- <Column id="drnm5" type="STRING" size="256" sumtext="당직의사명5"/>
- <Column id="drnm6" type="STRING" size="256" sumtext="당직의사명6"/>
- <Column id="drnm7" type="STRING" size="256" sumtext="당직의사명7"/>
- <Column id="drnm8" type="STRING" size="256" sumtext="당직의사명8"/>
- <Column id="drnm9" type="STRING" size="256" sumtext="당직의사명9"/>
- <Column id="drnm10" type="STRING" size="256" sumtext="당직의사명10"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchdd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="deptpartinfo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_titleinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="staffid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_orgscheinfo_workerinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="op_staffid" propid="value" datasetid="ds_main_titleinfo" columnid="staffid"/>
- <BindItem id="item1" compid="grp_srch.int_outdt" propid="value" datasetid="ds_cond" columnid="srchdd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-01-27
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-01-27 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::SPMMO30000.xjs";
- //이전 셀의 행,열 인덱스를 저장하는 변수
- var col = 0;
- var row = 0;
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMMO33000
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPMMO33000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMMO33000
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로드시 초기화 함수 실행
- ****************************************************************************************/
- function SPMMO33000_onload(obj:Form, e:LoadEventInfo)
- {
- ds_cond.setColumn(0,"srchdd",utlf_getCurrentDate());
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("grp_srch.btn_search", "onclick", ev );
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMMO33000
- * Event : onclose
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 전환시 실행
- ****************************************************************************************/
- function SPMMO33000_onclose(obj:Form, e:CloseEventInfo)
- {
- //20090629 dhkim
- //당직자를 조회하기 전에 이전 변경내역이 있는지 조회하여 재조회할것인지 여부에 따라 조회를 진행한다.
- var isRefresh = isScheduleRefresh(true);
- if(isRefresh == "N"){
- //grd_grpmaster.row = curRow;
- return;
- }else{
- //this.close();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grp_srch.btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭
- ****************************************************************************************/
- function grp_srch_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRMMO33001";
- oParam.service = "prcpmngtapp.ErMngt";
- oParam.method = "reqGetGrpEDCISScheduleList";
- oParam.inds = "req=ds_cond";
- oParam.outds = "ds_main_workerinfolist=workerinfolist";
- oParam.async = false;
- oParam.callback = "";
- tranf_submit(oParam);
- // grd_workerlist.mergeCol(grd_workerlist.colRef("grname")) = true;
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_excel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀버튼 클릭
- ****************************************************************************************/
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_main_workerinfolist.rowcount > 0) {
- var SheetName = ds_cond.getColumn(0,"srchdd");
- if(utlf_isNull(SheetName)) SheetName = "Sheet1";
- grdf_exportExcel(grd_workerlist,"중증응급의사 당직 리스트",SheetName);
- sysf_messageBox("저장이 ", "I002");
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|