123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMRI01500" position="absolute 0 0 585 578" titletext="My Bookmark" oninit="SPMRI01500_oninit" onload="SPMRI01500_onload" onclose="SPMRI01500_onclose">
- <Layouts>
- <Layout>
- <Div position="absolute 0 25 580 110" id="roundrect2" type="roundrectangle" class="div_SA">
- <Layouts>
- <Layout>
- <Static id="caption4" text="My Bookmark 목록에 선택한 기록을 추가합니다 ※ 참고 - 추가하려는 기록의 갯수가 다수일 경우 이름을 지정하면 모두 동일한 제목이 됩니다." position="absolute 13 1 343 60" anchor="default" style="font:Dotum,9,bold;"/>
- <Edit id="ipt_itemnm" taborder="1" position="absolute 75 64 565 83" anchor="default" onkeydown="roundrect2_ipt_itemnm_onkeydown"/>
- <Static id="caption6" text="이름 :" class="search_name" position="absolute 10 64 70 81" anchor="default"/>
- <Button id="btn_sub" taborder="2" text="확인" class="btn4" position="absolute 451 38 507 60" anchor="default" onclick="roundrect2_btn_sub_onclick"/>
- <Button id="btn_rtn" taborder="3" text="취소" class="btn4" position="absolute 509 38 565 60" anchor="default" onclick="roundrect2_btn_rtn_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 0 109 585 115" linetype="horizontal" id="line4" class="line_2"/>
- <Static text="위치지정" position="absolute 0 122 134 142" id="caption2" class="tit_2"/>
- <Static text="My Bookmark" position="absolute 0 0 117 25" id="caption10" class="tit_1"/>
- <Button position="absolute 382 117 446 136" id="button4" class="btn2" text="새폴더..." onclick="button4_onclick"/>
- <Button position="absolute 448 117 512 136" id="button1" class="btn2" text="항목삭제" onclick="button1_onclick"/>
- <Button position="absolute 514 117 578 136" id="button2" class="btn2" text="항목이동" onclick="button2_onclick"/>
- <Grid position="absolute 0 139 581 577" autofit="col" id="trv_bookmark" useinputpanel="false" selecttype="currow" autofittype="col" treeusecheckbox="false" treeinitstatus="expand,all" binddataset="ds_trv_bookmark">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="577"/>
- <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="0" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="itemnm"/>
- <Cell col="1" text="level"/>
- <Cell col="2" text="itemnso"/>
- <Cell col="3" text="supitemno"/>
- <Cell col="4" text="linkflag"/>
- <Cell col="5" text="pid"/>
- <Cell col="6" text="recpath"/>
- <Cell col="7" text="image"/>
- </Band>
- <Band id="body">
- <Cell displaytype="tree" edittype="tree" style="treelinesize:0;" text="bind:itemnm" treelevel="bind:level"/>
- <Cell col="1" text="bind:level"/>
- <Cell col="2" text="bind:itemnso"/>
- <Cell col="3" text="bind:supitemno"/>
- <Cell col="4" text="bind:linkflag"/>
- <Cell col="5" text="bind:pid"/>
- <Cell col="6" text="bind:recpath"/>
- <Cell col="7" text="bind:image"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_trv_bookmark" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowposchanged="ds_trv_bookmark_onrowposchanged">
- <ColumnInfo>
- <Column id="level" type="STRING" size="256" sumtext="level"/>
- <Column id="itemno" type="STRING" size="256" sumtext="항목코드"/>
- <Column id="supitemno" type="STRING" size="256" sumtext="상위항목코드"/>
- <Column id="itemnm" type="STRING" size="256" sumtext="아이템명"/>
- <Column id="linkflag" type="STRING" size="256" sumtext="기록연결항목여부"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="recpath" type="STRING" size="256" sumtext="기록경로"/>
- <Column id="image" type="STRING" size="256" sumtext="이미지경로"/>
- <Column id="markdeptcd" type="STRING" size="256" sumtext="부서코드"/>
- </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="itemnm" 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="pid" type="STRING" size="256"/>
- <Column id="bmkall" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_deldata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="itemno" type="STRING" size="256"/>
- <Column id="linkflag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_iteminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="supitemno" type="STRING" size="256" sumtext="폴더번호"/>
- <Column id="itemnm" type="STRING" size="256" sumtext="항목명"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="linkflag" type="STRING" size="256" sumtext="기록연결여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_recinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
- <Column id="itemno" type="STRING" size="256" sumtext="항목번호"/>
- <Column id="emrflag" type="STRING" size="256" sumtext="항목구분"/>
- <Column id="recno" type="STRING" size="256" sumtext="기록번호"/>
- <Column id="pageno" type="STRING" size="256" sumtext="페이지번호"/>
- <Column id="pagesortno" type="STRING" size="256" sumtext="정렬순서"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_tmp_recinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
- <Column id="itemno" type="STRING" size="256" sumtext="항목번호"/>
- <Column id="emrflag" type="STRING" size="256" sumtext="항목구분"/>
- <Column id="recno" type="STRING" size="256" sumtext="기록번호"/>
- <Column id="pageno" type="STRING" size="256" sumtext="페이지번호"/>
- <Column id="pagesortno" type="STRING" size="256" sumtext="정렬순서"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="roundrect2.ipt_itemnm" propid="value" datasetid="ds_cond" columnid="itemnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : HIT
- * Job Name :
- * File Name : .xfdl
- * Creator :
- * Make Date : 2014-02-18
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-02-18 HIT
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "emr_prcpmngtxp::MMO001.xjs"
- include "emr_recmngtxp::SPMRI01500.xjs"
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : 01.sKey : 코드아이디
- * : 02.sValue : 코드명
- * Description : 공통코드를 가져온다.
- ****************************************************************************************/
- //=======================================================================================
- // Transaction Callback
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : 01.sSvcId : 서비스 ID
- * : 02.nErrorCode : 에러코드
- * : 03.sErrorMsg : 에러메시지
- * Description : tr_getCodeList의 콜백함수
- ****************************************************************************************/
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : button5
- * Event : onlbuttonup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SPMRI01500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPMRI01500_onload(obj:Form, e:LoadEventInfo)
- {
- fInitilize();
- }
- function SPMRI01500_onclose(obj:Form, e:CloseEventInfo)
- {
- fCloseWindow();
- }
- function button4_onclick(obj:Button, e:ClickEventInfo)
- {
- fNewFolder();
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fDelFolder();
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- fMoveItem();
- }
- function ds_trv_bookmark_onrowposchanged(obj:Dataset, e:DSRowPosChangeEventInfo)
- {
- fSelItem();
- }
- function roundrect2_ipt_itemnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == "13") {
- fSetNewItem();
- }
- }
- function roundrect2_btn_sub_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetNewItem();
- }
- function roundrect2_btn_rtn_onclick(obj:Button, e:ClickEventInfo)
- {
-
- }
- ]]></Script>
- </Form>
- </FDL>
|