123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMD03400" position="absolute 0 0 821 736" titletext="약물조회" onload="SPMMD03400_onload" oninit="SPMMD03400_oninit">
- <Layouts>
- <Layout>
- <Div position="absolute 0 60 810 730" id="import1" url="emr_cpcdssxp::SPMMD03500_처방조회.xfdl"/>
- <Div position="absolute 0 60 815 719" id="import2" visible="false" url="ast_pharmacyxp::SPADB60100_약품검색.xfdl"/>
- <Div position="absolute 0 60 815 719" id="import6" url="emr_cpcdssxp::SPMMD03700_조영제조회.xfdl"/>
- <!--<Div position="absolute 0 58 815 717" id="import4" visible="false" url="emr_cpcdssxp::SPMMD08100_성분분류조회.xfdl"/>-->
- <!--<Div position="absolute 0 58 815 717" id="import5" visible="false" url="emr_cpcdssxp::SPMMD08100_성분분류조회.xfdl"/>-->
- <Static text="약물조회" position="absolute 0 0 119 25" id="caption6" class="tit_1"/>
- <Tab id="tab_button" taborder="1" tabindex="0" scrollbars="autoboth" position="absolute 0 33 809 59" style="buttonpadding:4 20 4 20;" onchanged="tab_button_onchanged">
- <Tabpages>
- <Tabpage id="btn_prcp" text="처방조회"/>
- <Tabpage id="btn_drug" text="약품조회"/>
- <Tabpage id="btn_wdrug" text=" 조영제 "/>
- </Tabpages>
- </Tab>
- </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="grdid" type="STRING" size="256"/>
- <Column id="scrnid" type="STRING" size="256"/>
- <Column id="caseid" type="STRING" size="256"/>
- <Column id="ordrecflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="ordrecflag">N</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-11-27
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-11-27 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMMD03600
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPMMD03400_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMMD03600
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면오픈시 폼load이후 실행
- ****************************************************************************************/
- function SPMMD03400_onload(obj:Form, e:LoadEventInfo)
- {
- fInit();
- //alert(opener);
- }
- /****************************************************************************************
- * Components : Tab
- * Components ID : tab_button
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 탭버튼 클릭
- ****************************************************************************************/
- function tab_button_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(e.postindex == 0) {
- fSearchPrcp();
- } else if(e.postindex == 1) {
- fSearchDrug();
- } else {
- fSearchWDrug();
- }
- }
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Function : fInit
- * Description : 수정/삭제사유 전달
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fInit(){
- tab_button.tabindex = 0;
- fSearchPrcp();
- }
- function fSearchPrcp(){
- ds_main_cond.setColumn(0,"scrnid","SMMMO04200");
- ds_main_cond.setColumn(0,"grdid","grd_outpatlist");
- import1.visible=true;
- import2.visible=false;
- import6.visible=false;
- }
- function fSearchDrug(){
- ds_main_cond.setColumn(0,"scrnid","SMMMO04300");
- ds_main_cond.setColumn(0,"grdid","grd_inpatlist");
- ds_main_cond.setColumn(0,"caseid","drug");
-
- import1.visible=false;
- import2.visible=true;
- import6.visible=false;
- }
-
- function fSearchWDrug() {
- ds_main_cond.setColumn(0,"grdid","grd_wdruglist");
- ds_main_cond.setColumn(0,"caseid","wdrug");
- import1.visible=false;
- import2.visible=false;
- import6.visible=true;
- }
- ]]></Script>
- </Form>
- </FDL>
|