123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMO05700" position="absolute 0 0 463 490" titletext="스케줄 담당관리" oninit="SPMMO05700_oninit" onload="SPMMO05700_onload">
- <Layouts>
- <Layout>
- <Div id="group2" taborder="1" position="absolute 0 422 459 482" class="div_SA2"/>
- <Static text="※변경 사항은 익일 적용됩니다." position="absolute 152 401 357 421" id="caption7" anchor="left bottom"/>
- <Static text="마취과 스케줄 담당관리" position="absolute 0 0 171 25" id="caption6" class="tit_1" anchor="left top"/>
- <Shape position="absolute 0 65 460 71" linetype="horizontal" id="line2" class="line_10" anchor="left top right"/>
- <Static text="스케줄 담당 요일변경" position="absolute 0 27 159 43" align="align:center middle;" id="caption18" class="tit_2" anchor="left top"/>
- <Static text="스케줄 정규 시간변경" position="absolute 0 403 148 419" align="align:center middle;" id="caption1" class="tit_2" anchor="left bottom"/>
- <Static text="시작시간" position="absolute 11 430 96 447" id="caption11" class="search_name" anchor="left bottom"/>
- <Static text="종료시간" position="absolute 11 458 96 475" id="caption2" class="search_name" anchor="left bottom"/>
- <Button position="absolute 130 456 140 465" id="button5" class="icon_up" text="" onclick="button5_onclick" anchor="left bottom"/>
- <Static text="~" position="absolute 147 457 167 477" align="align:center middle;" id="caption4" anchor="left bottom"/>
- <Button position="absolute 130 466 140 475" id="button8" class="icon_down" text="" onclick="button8_onclick" anchor="left bottom"/>
- <MaskEdit position="absolute 84 456 129 475" id="input2" mask="##" anchor="left bottom" maskchar=" " type="string" trimtype="both" style="align:center middle;" autoselect="true"/>
- <Button position="absolute 210 456 220 465" id="button2" class="icon_up" text="" onclick="button2_onclick" anchor="left bottom"/>
- <Button position="absolute 210 466 220 475" id="button3" class="icon_down" text="" onclick="button3_onclick" anchor="left bottom"/>
- <MaskEdit position="absolute 164 456 209 475" id="input4" mask="##" anchor="left bottom" maskchar=" " type="string" trimtype="both" style="align:center middle;" autoselect="true"/>
- <Button position="absolute 210 428 220 437" id="button4" class="icon_up" text="" onclick="button4_onclick" anchor="left bottom"/>
- <Button position="absolute 210 438 220 447" id="button6" class="icon_down" text="" onclick="button6_onclick" anchor="left bottom"/>
- <Button position="absolute 130 428 140 437" id="button7" class="icon_up" text="" onclick="button7_onclick" anchor="left bottom"/>
- <Button position="absolute 130 438 140 447" id="button9" class="icon_down" text="" onclick="button9_onclick" anchor="left bottom"/>
- <Static text="~" position="absolute 147 429 167 449" align="align:center middle;" id="caption3" anchor="left bottom"/>
- <MaskEdit position="absolute 84 428 129 447" id="input1" mask="##" anchor="left bottom" maskchar=" " type="string" trimtype="both" style="align:center middle;" autoselect="true"/>
- <MaskEdit position="absolute 164 428 209 447" id="input3" mask="##" anchor="left bottom" type="string" trimtype="both" maskchar=" " style="align:center middle;" autoselect="true"/>
- <Button position="absolute 397 443 453 465" id="btn_req" class="btn4" text="저장" onclick="btn_req_onclick" anchor="right bottom"/>
- <Shape position="absolute 383 426 389 477" linetype="vertical" id="line3" anchor="right bottom"/>
- <Edit position="absolute 69 46 199 65" id="input5" onkeyup="input5_onkeyup" anchor="left top" autoselect="true"/>
- <Combo position="absolute 0 46 67 65" id="combo1" codecolumn="codecolumn" datacolumn="datacolumn" index="1" value="nm" text="성명" anchor="left top">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">id</Col>
- <Col id="datacolumn">사번</Col>
- </Row>
- <Row>
- <Col id="codecolumn">nm</Col>
- <Col id="datacolumn">성명</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Grid position="absolute 0 70 460 396" id="grd_chrgschedwlist" binddataset="ds_main_chrgschedwlist_chrgschedwlist" anchor="all" autoenter="select" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="46"/>
- <Column size="91"/>
- <Column size="110"/>
- <Column size="157"/>
- <Column size="50"/>
- <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="caption1"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" text="bind:status" combodataset="ds_cmb_status" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="1" text="bind:orddrid"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" displaytype="text" edittype="text" text="bind:beepno"/>
- <Cell col="4" displaytype="combo" edittype="combo" text="bind:chrgdwflag" combodataset="ds_cmb_chrgdwflag" combocodecol="value" combodatacol="label"/>
- <Cell col="5" text="bind:orgchrgdwflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div position="absolute 250 70 447 385" id="group1" style="background:white;border:1 solid #808080ff ;">
- <Layouts>
- <Layout>
- <Grid position="absolute 6 19 192 291" id="grd_anstdrlist" visible="true" binddataset="ds_main_userlist_usercombo" anchor="default" selecttype="multirow" autoenter="select" cellsizingtype="col" oncelldblclick="group1_grd_anstdrlist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="85"/>
- <Column size="89"/>
- <Column size="10"/>
- <Column size="10"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="의사ID"/>
- <Cell col="1" text="의사명"/>
- <Cell col="2" text="caption1"/>
- <Cell col="3" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;" text="bind:userid"/>
- <Cell col="1" style="align:left middle;" text="bind:usernm"/>
- <Cell col="2" text="bind:mpphonno"/>
- <Cell col="3" text="bind:refseq"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="마취의사 리스트" position="absolute 6 2 124 17" align="align:center middle;" id="caption5" class="tit_2" anchor="default"/>
- <Button position="absolute 106 292 148 311" id="btn_rgst" class="btn2" text="등록" anchor="default" onclick="group1_btn_rgst_onclick"/>
- <Button position="absolute 150 292 192 311" id="btn_close" class="btn2" text="닫기" anchor="default" onclick="group1_btn_close_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 326 46 368 65" id="btn_add" class="btn2" text="추가" onclick="btn_add_onclick" anchor="top right"/>
- <Button position="absolute 416 46 458 65" id="btn_save" class="btn5" text="저장" onclick="btn_save_onclick" anchor="top right"/>
- <Button position="absolute 204 46 246 65" id="btn_srch" class="btn2" visible="true" text="검색" onclick="btn_srch_onclick" anchor="left top"/>
- <Button position="absolute 371 46 413 65" id="button1" class="btn2" text="삭제" onclick="button1_onclick" anchor="top right"/>
- </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="srchcond" type="STRING" size="256"/>
- <Column id="srchdata" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchcond">nm</Col>
- <Col id="srchdata"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_chrgschedwlist_chrgschedwlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_chrgschedwlist_chrgschedwlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="처리구분"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의ID"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="beepno" type="STRING" size="256" sumtext="비퍼번호"/>
- <Column id="chrgdwflag" type="STRING" size="256" sumtext="담당요일구분"/>
- <Column id="chrgdwflag" type="STRING" size="256" sumtext="update할담당요일구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_status" 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 id="value"/>
- </Row>
- <Row>
- <Col id="label">신규</Col>
- <Col id="value">i</Col>
- </Row>
- <Row>
- <Col id="label">수정</Col>
- <Col id="value">u</Col>
- </Row>
- <Row>
- <Col id="label">삭제</Col>
- <Col id="value">d</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_chrgdwflag" 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">1</Col>
- </Row>
- <Row>
- <Col id="label">월</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">화</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">수</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="label">목</Col>
- <Col id="value">5</Col>
- </Row>
- <Row>
- <Col id="label">금</Col>
- <Col id="value">6</Col>
- </Row>
- <Row>
- <Col id="label">토</Col>
- <Col id="value">7</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_userlist_usercombo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_scheregtimelist_scheregtimelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="regfromtm" type="STRING" size="256"/>
- <Column id="regendtm" type="STRING" size="256"/>
- <Column id="irregfromtm" type="STRING" size="256"/>
- <Column id="irregendtm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="regfromtm"/>
- <Col id="regendtm"/>
- <Col id="irregfromtm"/>
- <Col id="irregendtm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_userlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <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_regltminfo" 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"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="combo1" propid="value" datasetid="ds_main_cond" columnid="srchcond"/>
- <BindItem id="item1" compid="input5" propid="value" datasetid="ds_main_cond" columnid="srchdata"/>
- <BindItem id="item2" compid="input1" propid="value" datasetid="ds_main_scheregtimelist_scheregtimelist" columnid="regfromtm"/>
- <BindItem id="item3" compid="input3" propid="value" datasetid="ds_main_scheregtimelist_scheregtimelist" columnid="regendtm"/>
- <BindItem id="item4" compid="input2" propid="value" datasetid="ds_main_scheregtimelist_scheregtimelist" columnid="irregfromtm"/>
- <BindItem id="item5" compid="input4" propid="value" datasetid="ds_main_scheregtimelist_scheregtimelist" columnid="irregendtm"/>
- </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::MMO001.xjs";
- include "emr_prcpmngtxp::SPMMO05700.xjs";
- include "emr_prcpmngtxp::SPMMB00600.xjs";
- var startfromtm = "";
- var starttotm = "";
- var endfromtm = "";
- var endtotm = "";
- var startfromtmVal = "";
- var starttotmVal = "";
- var endfromtmVal = "";
- var endtotmVal = "";
- var arErrorCode = new HashArray();
- function SPMMO05700_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPMMO05700_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_chrgschedwlist);
- grdf_initGrid(group1.grd_anstdrlist);
- fInitialize_SPMMO05700();
- group1.visible = false;
- }
- function input5_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- fGetOpScheSrchList();
- }
- }
- //검색
- function btn_srch_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetOpScheSrchList();
- }
- //추가
- function btn_add_onclick(obj:Button, e:ClickEventInfo)
- {
- fClkBtnAdd();
- }
- //삭제
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fClkBtnDel(grd_chrgschedwlist);
- }
- //저장
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveChrgScheDWList();
- }
- function ds_main_chrgschedwlist_chrgschedwlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "chrgdwflag")
- {
- fChngChrgScheDWList();
- }
- }
- function group1_grd_anstdrlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- //grid double click도 추가버튼 클릭 기능과 동일함
- fClkBtnAdd();
- }
- //등록
- function group1_btn_rgst_onclick(obj:Button, e:ClickEventInfo)
- {
- fClkBtnRgst();
- }
- //닫기
- function group1_btn_close_onclick(obj:Button, e:ClickEventInfo)
- {
- fClkBtnClose();
- }
- //시작시간up
- function button7_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetUpFromTm();
- }
- //시작시간down
- function button9_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetDownFromTm();
- }
- //시작시간up
- function button4_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetUpToTm();
- }
- //시작시간down
- function button6_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetDownToTm();
- }
- //종료시간up
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetUpToTm();
- }
- //종료시간down
- function button8_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetDownToTm();
- }
- //종료시간up
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetUpFromTm();
- }
- //종료시간down
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetDownFromTm();
- }
- //저장
- function btn_req_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveOpScheRegTimeList();
- }
- ]]></Script>
- </Form>
- </FDL>
|