123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.4">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMB03600" position="absolute 0 0 1123 264" titletext="수술예약장부LIST 컬럼설정" oninit="SPMMB03600_oninit" onload="SPMMB03600_onload">
- <Layouts>
- <Layout>
- <Button position="absolute 934 239 1002 261" id="button1" class="btn4" text="초기화" onclick="button1_onclick"/>
- <Button position="absolute 1005 239 1061 261" id="button2" class="btn4" text="저장" onclick="button2_onclick"/>
- <Button position="absolute 1064 239 1120 261" id="button3" class="btn4" text="취소" onclick="button3_onclick"/>
- <Grid position="absolute 0 21 1120 114" id="grd_opschelist" binddataset="ds_main_out" onrbuttondown="grd_opschelist_onrbuttondown" selecttype="multiarea" scrollpixel="all" cellsizingtype="col" ondrag="grd_opschelist_ondrag">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="65"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="69"/>
- <Column size="82"/>
- <Column size="58"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="185"/>
- <Column size="190"/>
- <Column size="68"/>
- <Column size="70"/>
- <Column size="76"/>
- <Column size="90"/>
- <Column size="125"/>
- <Column size="105"/>
- <Column size="94"/>
- <Column size="150"/>
- <Column size="150"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="opregstno"/>
- <Cell col="1" text="opregshitno"/>
- <Cell col="2" text="opschehistcd"/>
- <Cell col="3" text="deptinnropflag"/>
- <Cell col="4" text="구분"/>
- <Cell col="5" text="sex"/>
- <Cell col="6" text="age"/>
- <Cell col="7" text="status"/>
- <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="전화번호"/>
- <Cell col="19" text="비고"/>
- <Cell col="20" text="외래초진기록"/>
- <Cell col="21" text="저장시간"/>
- <Cell col="22" text="추가전화번호"/>
- <Cell col="23" text="과거력/Medication"/>
- <Cell col="24" text="Lab/Consult"/>
- </Band>
- <Band id="body">
- <Cell text="bind:opregstno"/>
- <Cell col="1" text="bind:opregshitno"/>
- <Cell col="2" text="bind:opschehistcd"/>
- <Cell col="3" text="bind:deptinnropflag"/>
- <Cell col="4" displaytype="combo" edittype="combo" text="bind:oppatflagcd"/>
- <Cell col="5" text="bind:sex"/>
- <Cell col="6" text="bind:age"/>
- <Cell col="7" text="bind:status"/>
- <Cell col="8" text="bind:oproomnm"/>
- <Cell col="9" text="bind:opschedd"/>
- <Cell col="10" text="bind:opusetm"/>
- <Cell col="11" text="bind:refseq"/>
- <Cell col="12" text="bind:perfdrnm"/>
- <Cell col="13" text="bind:opnm"/>
- <Cell col="14" text="bind:diagnm"/>
- <Cell col="15" text="bind:pid"/>
- <Cell col="16" text="bind:hngnm"/>
- <Cell col="17" text="bind:brthdd"/>
- <Cell col="18" text="bind:mpphontel"/>
- <Cell col="19" text="bind:opregstremfact"/>
- <Cell col="20" displaytype="text" edittype="text" text="bind:chojinyn"/>
- <Cell col="21" text="bind:fstrgstdt"/>
- <Cell col="22" text="bind:addtelno"/>
- <Cell col="23" text="bind:histmedicatn"/>
- <Cell col="24" text="bind:labconsult"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 0 141 1120 234" id="grd_opschelist_resize" binddataset="ds_main_out" onrbuttondown="grd_opschelist_resize_onrbuttondown" selecttype="multiarea" scrollpixel="all" cellsizingtype="col" cellmovingtype="col" ondrop="grd_opschelist_resize_ondrop" ondragmove="grd_opschelist_resize_ondragmove">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="65"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="69"/>
- <Column size="82"/>
- <Column size="58"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="185"/>
- <Column size="190"/>
- <Column size="68"/>
- <Column size="70"/>
- <Column size="76"/>
- <Column size="90"/>
- <Column size="125"/>
- <Column size="105"/>
- <Column size="94"/>
- <Column size="150"/>
- <Column size="150"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="opregstno"/>
- <Cell col="1" text="opregshitno"/>
- <Cell col="2" text="opschehistcd"/>
- <Cell col="3" text="deptinnropflag"/>
- <Cell col="4" text="구분"/>
- <Cell col="5" text="sex"/>
- <Cell col="6" text="age"/>
- <Cell col="7" text="status"/>
- <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="전화번호"/>
- <Cell col="19" text="비고"/>
- <Cell col="20" text="외래초진기록"/>
- <Cell col="21" text="저장시간"/>
- <Cell col="22" text="추가 전화번호"/>
- <Cell col="23" text="과거력/Medication"/>
- <Cell col="24" text="Lab/Consult"/>
- </Band>
- <Band id="body">
- <Cell text="bind:opregstno"/>
- <Cell col="1" text="bind:opregshitno"/>
- <Cell col="2" text="bind:opschehistcd"/>
- <Cell col="3" text="bind:deptinnropflag"/>
- <Cell col="4" displaytype="combo" edittype="combo" text="bind:oppatflagcd"/>
- <Cell col="5" text="bind:sex"/>
- <Cell col="6" text="bind:age"/>
- <Cell col="7" text="bind:status"/>
- <Cell col="8" text="bind:oproomnm"/>
- <Cell col="9" text="bind:opschedd"/>
- <Cell col="10" text="bind:opusetm"/>
- <Cell col="11" text="bind:refseq"/>
- <Cell col="12" text="bind:perfdrnm"/>
- <Cell col="13" text="bind:opnm"/>
- <Cell col="14" text="bind:diagnm"/>
- <Cell col="15" text="bind:pid"/>
- <Cell col="16" text="bind:hngnm"/>
- <Cell col="17" text="bind:brthdd"/>
- <Cell col="18" text="bind:mpphontel"/>
- <Cell col="19" text="bind:opregstremfact"/>
- <Cell col="20" displaytype="text" edittype="text" text="bind:chojinyn"/>
- <Cell col="21" text="bind:fstrgstdt"/>
- <Cell col="22" text="bind:addtelno"/>
- <Cell col="23" text="bind:histmedicatn"/>
- <Cell col="24" text="bind:labconsult"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="기본설정" position="absolute 0 3 126 19" align="align:center middle;" id="caption11" class="tit_2"/>
- <Static text="사용자설정" position="absolute 0 123 126 140" align="align:center middle;" id="caption1" class="tit_2"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_out" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="opregstno" type="STRING"/>
- <Column id="opregshitno" type="STRING"/>
- <Column id="opschehistcd" type="STRING"/>
- <Column id="deptinnropflag" type="STRING"/>
- <Column id="oppatflagcd" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="oproomnm" type="STRING"/>
- <Column id="opschedd" type="STRING"/>
- <Column id="opusetm" type="STRING"/>
- <Column id="refseq" type="STRING"/>
- <Column id="perfdrnm" type="STRING"/>
- <Column id="opnm" type="STRING"/>
- <Column id="diagnm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="brthdd" type="STRING"/>
- <Column id="mpphontel" type="STRING"/>
- <Column id="opregstremfact" type="STRING"/>
- <Column id="chojinyn" type="STRING"/>
- <Column id="fstrgstdt" type="STRING"/>
- <Column id="addtelno" type="STRING"/>
- <Column id="histmedicatn" type="STRING"/>
- <Column id="labconsult" type="STRING"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="scrnid" type="STRING" size="256"/>
- <Column id="grdid" type="STRING" size="256"/>
- <Column id="caseid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="scrnid" type="STRING" size="256"/>
- <Column id="compscd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_gridseq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_listval" 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"/>
- <Dataset id="ds_init_gridseq_resize" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-02-03
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-02-03 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "emr_prcpmngtxp::MMOCommon.xjs"
- // include "emr_prcpmngtxp::SPMMB01100.xjs"
- include "emr_prcpmngtxp::SMMMO04100.xjs"
- include "emr_prcpmngtxp::SPMMB03600.xjs"
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMMB03600
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPMMB03600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMMB03600
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로드시 초기화 함수 실행
- ****************************************************************************************/
- function SPMMB03600_onload(obj:Form, e:LoadEventInfo)
- {
- fInitialize_SPMMB03600();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 초기화 버튼클릭
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fInitOrderOfCol();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 저장 버튼클릭
- ****************************************************************************************/
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveOrderInfoCol();
- opener.frmf_setParameter("SPMMB03600_rtn_useyn", "Y");
- this.close();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button3
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 취소 버튼클릭
- ****************************************************************************************/
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- opener.frmf_setParameter("SPMMB03600_rtn_useyn", "N");
- this.close();
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_opschelist
- * Event : onrbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 기본 그리드 설정에서 마우스 우클릭시
- ****************************************************************************************/
- function grd_opschelist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1){
- popmenu2.trackPopup(e.screenX,e.screenY);
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_opschelist_resize
- * Event : onrbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 사용자 그리드 설정에서 마우스 우클릭시
- ****************************************************************************************/
- function grd_opschelist_resize_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1){
- popmenu1.trackPopup(e.screenX,e.screenY);
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_opschelist
- * Event : ondrag
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 기본 그리드 설정에서 마우스 드래그시
- ****************************************************************************************/
- function grd_opschelist_ondrag(obj:Grid, e:GridDragEventInfo)
- {
- if(e.row < 0 || e.col < 0) return false;
- fAddColDragStart(obj, e);
- return true;
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_opschelist_resize
- * Event : ondrag
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 사용자 그리드 설정에서 마우스 드래그아웃시
- ****************************************************************************************/
- function grd_opschelist_resize_ondrop(obj:Grid, e:GridDragEventInfo)
- {
- e.sourceobject.style.cursor = obj.style.cursor = "auto";
- fAddColDrop(obj, e);
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_opschelist_resize
- * Event : ondragmove
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 사용자 그리드 설정에서 드래그 종료시
- ****************************************************************************************/
- function grd_opschelist_resize_ondragmove(obj:Grid, e:GridDragEventInfo)
- {
- fAddColDragOver(obj, e);
- }
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Function : fInitialize_SPMMB03600
- * Description : 수술예약장부컬럼설정 화면 초기화
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fInitialize_SPMMB03600(){
- var scrnid = opener.frmf_getParameter("SMMMO05700_param_scrnid");
- var grdid = opener.frmf_getParameter("SMMMO05700_param_grdid");
- var caseid = opener.frmf_getParameter("SMMMO05700_param_caseid");
- ds_main_cond.setColumn(0,"scrnid" , scrnid);
- ds_main_cond.setColumn(0,"grdid" , grdid);
- ds_main_cond.setColumn(0,"caseid" , caseid);
-
- fReqOrderInfoOfCol(grdid);
- fReqBasicOrderInfoOfCol(grdid);
-
- frmf_createPopupMenu("popmenu1"
- ,"fDelColOfGrd"
- ,[{id: "D", level: "0", title: "컬럼 삭제"}]
- );
- frmf_createPopupMenu("popmenu2"
- ,"fAddColOfGrd"
- ,[{id: "A", level: "0", title: "컬럼 추가"}]
- );
- }
- ]]></Script>
- </Form>
- </FDL>
|