123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMMD05200" position="absolute 0 0 1256 776" titletext="Medical Reference" onload="SMMMD05200_onload">
- <Layouts>
- <Layout>
- <Div id="ivw_indxmngt" position="absolute 0 97 350 762" anchor="default" positiontype="position" asyncmode="false" url="emr_cpcdssxp::SMMMD05300_MR색인관리.xfdl">
- <Layouts/>
- </Div>
- <Button id="brn_srchtree" class="btn2" visible="true" position="absolute 301 74 345 94" anchor="default" positiontype="position" text="신규" onlbuttonup="brn_srchtree_onlbuttonup" onclick="brn_srchtree_onclick"/>
- <Static id="cap_outlineinfo" class="tit_2" position="absolute 360 77 513 97" anchor="default" positiontype="position" text="색인 내용(PDF)"/>
- <Static id="caption1" class="tit_2" position="absolute 0 77 98 97" anchor="default" positiontype="position" text="색인"/>
- <Static id="caption6" class="tit_1" position="absolute 0 1 168 26" anchor="default" positiontype="position" text="Medical reference"/>
- <Div id="group5" taborder="6" style="align:center top;" class="div_SA" position="absolute 0 30 1256 72" anchor="left top right">
- <Layouts>
- <Layout>
- <Edit id="ipt_indxnm" taborder="1" class="input_search" position="absolute 68 10 327 30" anchor="default" imemode="hangul" onkeydown="group5_ipt_indxnm_onkeydown" positiontype="position"/>
- <Static id="caption00" text="진료과" class="search_name" position="absolute 351 10 417 30" anchor="default"/>
- <Combo id="cmb_orddept" taborder="2" position="absolute 413 10 583 30" anchor="default" positiontype="position"/>
- <Button id="btn_srchindxcd" taborder="3" text="조회" onlbuttonup="btn_srchindxcd_onlbuttonup" class="btn1" position="absolute 1188 10 1244 30" anchor="top right" onclick="btn_srchindxcd_onclick" positiontype="position"/>
- <Combo id="cbm_dept" taborder="4" position="absolute 413 10 583 30" index="-1" innerdataset="@ds_cond_instcd" codecolumn="deptcd" datacolumn="depthngnm" onitemchanged="group5_cbm_dept_onitemchanged" anchor="default"/>
- <Static id="caption01" text="색인명" class="search_name" position="absolute 9 10 75 30" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <WebBrowser id="WebBrowser00" text="WebBrowser00" position="absolute 358 97 1245 760" anchor="default" taborder="9"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_drugdept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING"/>
- <Column id="depthngnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond_instcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- <Column id="deptengabbr" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * File Name : SMMMD05200_Medical Reference.xfdl
- * Creator :
- * Make Date :
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- include "com_departmentcodexp::ZSD001.xjs";
- include "emr_prcpmngtxp::SMMMO00100.xjs";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- //******************************************************************
- // 전역변수
- //******************************************************************
- var loadflag = "Y";
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SMMMD05200
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SMMMD05200_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 화면공통
-
- //진료과 데이터 가지고 오기
- lf_mmbfGetDeptCodeComboList(ds_cond_instcd,"A");
-
-
- // 소속부서 매핑
- var depthRows = ds_cond_instcd.rowcount;
- var deptcd = "";
- var deptYn = "N";
- for( var i=0; i<depthRows; i++){
- deptcd = ds_cond_instcd.getColumn(i,"deptcd");
- if( deptcd == sysf_getUserInfo("dutplcecd") ){
- group5.cbm_dept.value = deptcd;
- deptYn = "Y";
- ivw_indxmngt.lf_GetIndxList("A");
- break;
- }
- }
- // 매핑되는 소속 부서가 없는 경우 첫번째 콤보 부서로 선택처리
- if ( deptYn == "N" ) group5.cbm_dept.value = ds_cond_instcd.getColumn(0,"deptcd");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_srchindxcd
- * Event : onclick
- * Argument : 01.obj : Button
- * : 02.e : ClickEventInfo
- * Description : 색인 조회 버튼
- ****************************************************************************************/
- function btn_srchindxcd_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( loadflag == "Y" ) {
- loadflag = "N";
- }
- else {
- //SMMMD05300_MR색인관리의 함수
- ivw_indxmngt.lf_GetIndxList("A");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : brn_srchtree
- * Event : onclick
- * Argument : 01.obj : Button
- * : 02.e : ClickEventInfo
- * Description : 신규(새폴더)함수
- ****************************************************************************************/
- function brn_srchtree_onclick(obj:Button, e:ClickEventInfo)
- {
- //SMMMD05300_MR색인관리의 함수
- ivw_indxmngt.lf_NewFolder();
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : group5_cbm_dept
- * Event : onitemchanged
- * Argument : 01.obj : Combo
- * : 02.e : ItemChangeEventInfo
- * Description : 진료과 변경시 재조회
- ****************************************************************************************/
- function group5_cbm_dept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- //SMMMD05300_MR색인관리의 함수
- ivw_indxmngt.lf_GetIndxList("A");
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : group5_ipt_indxnm
- * Event : onkeydown
- * Argument : 01.obj : Edit
- * : 02.e : KeyEventInfo
- * Description : 색인명 입력하고 엔터키 누르면 조회
- ****************************************************************************************/
- function group5_ipt_indxnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == "13")
- {
- ivw_indxmngt.lf_GetIndxList("A");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|