123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMO33600" position="absolute 0 0 1200 816" titletext="On Call 관리 (집계)" oninit="SPMMO33600_oninit" onload="SPMMO33600_onload">
- <Layouts>
- <Layout>
- <Static text="On Call 수당지급 내역" position="absolute 0 0 207 24" id="caption6" class="tit_1"/>
- <Div id="group2" taborder="1" position="absolute 0 24 1195 64" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption3" text="조회월 :" class="search_name" position="absolute 10 12 90 29" anchor="default"/>
- <Calendar id="input3" taborder="1" position="absolute 80 10 175 29" mask="yyyy-mm" anchor="default" autoselect="true" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" style="align:center middle;" onchanged="group2_input3_onchanged"/>
- <Static id="caption5" text="구분 :" class="search_name" position="absolute 195 12 256 29" anchor="default"/>
- <Radio id="radio4" taborder="2" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 255 11 627 31" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">-</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">응급</Col>
- </Row>
- <Row>
- <Col id="codecolumn">S</Col>
- <Col id="datacolumn">일반</Col>
- </Row>
- <Row>
- <Col id="codecolumn">T</Col>
- <Col id="datacolumn">외상</Col>
- </Row>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">외상제외 전체보기</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Shape id="line2" linetype="vertical" position="absolute 1115 10 1121 32" anchor="top right"/>
- <Button id="button1" taborder="3" text="조회" class="btn1" position="absolute 1130 10 1186 32" anchor="top right" onclick="group2_button1_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption15" text="On Call 수당지급 내역" class="tit_2" position="absolute 0 77 188 99"/>
- <Shape id="line9" linetype="horizontal" class="line_10" position="absolute 0 93 1195 99" anchor="left top right"/>
- <Grid id="grd_oncalllist" taborder="2" binddataset="ds_main_oncalllist_info" useinputpanel="false" position="absolute 0 98 1195 807" autoenter="select" cellsizingtype="col" anchor="all" onheadclick="grd_oncalllist_onheadclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="75"/>
- <Column size="55"/>
- <Column size="70"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="구분" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="calldeptcd" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="진료과" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="성명" taborder="undefined"/>
- <Cell col="4" rowspan="2" text="사번" taborder="undefined"/>
- <Cell col="5" text="01"/>
- <Cell col="6" text="02"/>
- <Cell col="7" text="03"/>
- <Cell col="8" text="04"/>
- <Cell col="9" text="05"/>
- <Cell col="10" text="06"/>
- <Cell col="11" text="07"/>
- <Cell col="12" text="08"/>
- <Cell col="13" text="09"/>
- <Cell col="14" text="10"/>
- <Cell col="15" text="11"/>
- <Cell col="16" text="12"/>
- <Cell col="17" text="13"/>
- <Cell col="18" text="14"/>
- <Cell col="19" text="15"/>
- <Cell col="20" text="16"/>
- <Cell col="21" text="17"/>
- <Cell col="22" text="18"/>
- <Cell col="23" text="19"/>
- <Cell col="24" text="20"/>
- <Cell col="25" text="21"/>
- <Cell col="26" text="22"/>
- <Cell col="27" text="23"/>
- <Cell col="28" text="24"/>
- <Cell col="29" text="25"/>
- <Cell col="30" text="26"/>
- <Cell col="31" text="27"/>
- <Cell col="32" text="28"/>
- <Cell col="33" text="29"/>
- <Cell col="34" text="30"/>
- <Cell col="35" text="31"/>
- <Cell row="1" col="5" taborder="undefined"/>
- <Cell row="1" col="6" taborder="undefined"/>
- <Cell row="1" col="7" taborder="undefined"/>
- <Cell row="1" col="8" taborder="undefined"/>
- <Cell row="1" col="9" taborder="undefined"/>
- <Cell row="1" col="10" taborder="undefined"/>
- <Cell row="1" col="11" taborder="undefined"/>
- <Cell row="1" col="12" taborder="undefined"/>
- <Cell row="1" col="13" taborder="undefined"/>
- <Cell row="1" col="14" taborder="undefined"/>
- <Cell row="1" col="15" taborder="undefined"/>
- <Cell row="1" col="16" taborder="undefined"/>
- <Cell row="1" col="17" taborder="undefined"/>
- <Cell row="1" col="18" taborder="undefined"/>
- <Cell row="1" col="19" taborder="undefined"/>
- <Cell row="1" col="20" taborder="undefined"/>
- <Cell row="1" col="21" taborder="undefined"/>
- <Cell row="1" col="22" taborder="undefined"/>
- <Cell row="1" col="23" taborder="undefined"/>
- <Cell row="1" col="24" taborder="undefined"/>
- <Cell row="1" col="25" taborder="undefined"/>
- <Cell row="1" col="26" taborder="undefined"/>
- <Cell row="1" col="27" taborder="undefined"/>
- <Cell row="1" col="28" taborder="undefined"/>
- <Cell row="1" col="29" taborder="undefined"/>
- <Cell row="1" col="30" taborder="undefined"/>
- <Cell row="1" col="31" taborder="undefined"/>
- <Cell row="1" col="32" taborder="undefined"/>
- <Cell row="1" col="33" taborder="undefined"/>
- <Cell row="1" col="34" taborder="undefined"/>
- <Cell row="1" col="35" taborder="undefined"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="combo" style="align:center middle;" text="bind:patflagcd" combodataset="ds_cmb_patflagcd" combocodecol="value" combodatacol="label"/>
- <Cell col="1" text="bind:calldeptcd"/>
- <Cell col="2" style="align:center top;padding:3 2 3 2;" text="bind:calldeptnm" wordwrap="word"/>
- <Cell col="3" text="bind:calldrnm"/>
- <Cell col="4" text="bind:calldrid"/>
- <Cell col="5" text="bind:col01"/>
- <Cell col="6" text="bind:col02"/>
- <Cell col="7" text="bind:col03"/>
- <Cell col="8" text="bind:col04"/>
- <Cell col="9" text="bind:col05"/>
- <Cell col="10" text="bind:col06"/>
- <Cell col="11" text="bind:col07"/>
- <Cell col="12" text="bind:col08"/>
- <Cell col="13" text="bind:col09"/>
- <Cell col="14" text="bind:col10"/>
- <Cell col="15" text="bind:col11"/>
- <Cell col="16" text="bind:col12"/>
- <Cell col="17" text="bind:col13"/>
- <Cell col="18" text="bind:col14"/>
- <Cell col="19" text="bind:col15"/>
- <Cell col="20" text="bind:col16"/>
- <Cell col="21" text="bind:col17"/>
- <Cell col="22" text="bind:col18"/>
- <Cell col="23" text="bind:col19"/>
- <Cell col="24" text="bind:col20"/>
- <Cell col="25" text="bind:col21"/>
- <Cell col="26" text="bind:col22"/>
- <Cell col="27" text="bind:col23"/>
- <Cell col="28" text="bind:col24"/>
- <Cell col="29" text="bind:col25"/>
- <Cell col="30" text="bind:col26"/>
- <Cell col="31" text="bind:col27"/>
- <Cell col="32" text="bind:col28"/>
- <Cell col="33" text="bind:col29"/>
- <Cell col="34" text="bind:col30"/>
- <Cell col="35" text="bind:col31"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button3" taborder="3" text="집계" class="btn5" position="absolute 1050 74 1093 93" anchor="top right" onclick="button3_onclick"/>
- <Button id="button2" taborder="4" text="출력" class="btn6" position="absolute 1094 74 1144 93" anchor="top right" onclick="button2_onclick"/>
- <Button id="button4" taborder="5" text="엑셀" class="btn7" position="absolute 1145 74 1195 93" anchor="top right" onclick="button4_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="condflag" type="STRING" size="256"/>
- <Column id="basemm" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="patflagcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="condflag"/>
- <Col id="basemm"/>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="patflagcd">-</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_oncalllist_info" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_patflagcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">응급</Col>
- <Col id="value">E</Col>
- </Row>
- <Row>
- <Col id="label">일반</Col>
- <Col id="value">S</Col>
- </Row>
- <Row>
- <Col id="label">외상</Col>
- <Col id="value">T</Col>
- </Row>
- <Row>
- <Col id="label">외상제외 전체</Col>
- <Col id="value">A</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_oncalllist_month" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basemm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.input3" propid="value" datasetid="ds_main_cond" columnid="basemm"/>
- <BindItem id="item1" compid="group2.radio4" propid="value" datasetid="ds_main_cond" columnid="patflagcd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-09-07
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-09-07 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::SPMMO33200.xjs";
- function SPMMO33600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPMMO33600_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_oncalllist);
- fInitOnCall("S");
- }
- function group2_input3_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- ds_main_cond.setColumn(0, "basemm", String(obj.value).substr(0,6));
- }
- function group2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetSumOnCallList();
- }
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveSumOnCall();
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- var basemm = ds_main_cond.getColumn(0, "basemm");
- ds_temp.setColumn(0, "basemm", basemm.substring(0, 4) + "/" + basemm.substring(5, 6) + " 수당지급내역");
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/main/cond", ds_main_cond);
- rptf_setNodeListToDOM(objDOM, "/root/main/oncalllist/info", ds_main_oncalllist_info);
- rptf_setNodeListToDOM(objDOM, "/root/main/oncalllist/month", ds_main_oncalllist_month);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "";
- rptf_exeReportPreview30(["RPMMO33600"],[objParam], option);
- }
- function button4_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_oncalllist, "On Call 수당 지급 내역", "On Call 수당 지급 내역", "true", "", "");
- }
- ]]></Script>
- </Form>
- </FDL>
|