123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNP05300" position="absolute 0 0 1200 725" titletext="관리대상장비목록" oninit="SMMNP05300_oninit" onload="SMMNP05300_onload" ontimer="SMMNP05300_ontimer">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1195 25" id="group1">
- <Layouts>
- <Layout>
- <Static text="관리대상장비목록" position="absolute 0 0 140 25" id="caption6" class="tit_1" anchor="default"/>
- <Static id="caption4" class="patient_text_black" anchor="default" position="absolute 0 0 0 0"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 18 1195 722" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 67 1195 701" id="grd_emqtlist" binddataset="ds_main_eqmtlist" anchor="default" cellsizingtype="col" tooltiptype="hover" scrollpixel="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="110"/>
- <Column size="95"/>
- <Column size="300"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="75"/>
- <Column size="80"/>
- <Column size="75"/>
- </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="모델"/>
- <Cell col="6" text="제조원"/>
- <Cell col="7" text="제품번호"/>
- <Cell col="8" text="수입회사"/>
- <Cell col="9" text="제조국"/>
- <Cell col="10" text="설치일"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" style="align:left;" text="bind:installplcenm" tooltiptext="bind:installplcenm"/>
- <Cell col="2" text="bind:eqmtcd" tooltiptext="bind:eqmtcd"/>
- <Cell col="3" style="align:left;" text="bind:eqmtnm" tooltiptext="bind:eqmtnm"/>
- <Cell col="4" style="align:left top;padding:4 2 2 2;" text="bind:eqmtspec" wordwrap="word" tooltiptext="bind:eqmtspec"/>
- <Cell col="5" style="align:left;" text="bind:goodmodel" tooltiptext="bind:goodmodel"/>
- <Cell col="6" style="align:left;" text="bind:prodcmpynm" tooltiptext="bind:prodcmpynm"/>
- <Cell col="7" style="align:left;" text="bind:goodno" tooltiptext="bind:goodno"/>
- <Cell col="8" style="align:left;" text="bind:custnm" tooltiptext="bind:custnm"/>
- <Cell col="9" style="align:left;" text="bind:prodnatinm" tooltiptext="bind:prodnatinm"/>
- <Cell col="10" style="align:left;" text="bind:installdd" tooltiptext="bind:installdd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 62 1195 68" linetype="horizontal" id="line1" class="line_10" anchor="default"/>
- <Div position="absolute 0 5 1195 45" align="align:center top;" id="group2" class="div_SA" anchor="default">
- <Layouts>
- <Layout>
- <Button position="absolute 995 10 1051 32" align="align:left middle;" id="button3" class="btn1" taborder="8" text="조회" anchor="default" onclick="group3_group2_button3_onclick"/>
- <Shape position="absolute 977 8 983 33" linetype="vertical" id="line2" class="line_4" anchor="default"/>
- <Static text="설치장소 :" position="absolute 15 12 89 29" id="caption59" class="search_name" anchor="default"/>
- <Static text="장비코드 :" position="absolute 240 12 314 29" id="caption5" class="search_name" anchor="default"/>
- <Button position="absolute 400 10 416 26" id="button1" class="icon_search" text="" anchor="default" onclick="group3_group2_button1_onclick"/>
- <Edit position="absolute 425 10 615 29" id="inp_eqmtnm" class="input_search" anchor="default" autoselect="true"/>
- <Edit position="absolute 315 10 395 29" id="inp_eqmtcd" class="input_search" anchor="default" autoselect="true"/>
- <Combo position="absolute 90 10 190 29" id="cmb_installplcecd" innerdataset="@ds_init_installplcelist" datacolumn="installplcenm" codecolumn="installplcecd" anchor="default" onitemchanged="group3_group2_cmb_installplcecd_onitemchanged"/>
- <Button position="absolute 1053 10 1133 32" align="align:left middle;" id="button2" class="btn7" taborder="8" text="엑셀저장" anchor="default" onclick="group3_group2_button2_onclick"/>
- <Button position="absolute 1135 10 1191 32" align="align:left middle;" id="button4" class="btn6" taborder="8" text="출력" anchor="default" onclick="group3_group2_button4_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="관리대상장비목록" position="absolute 0 46 185 62" id="caption2" class="tit_2" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_installplcelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="installplcenm" type="STRING" size="256" sumtext="설치장소"/>
- <Column id="installplcecd" type="STRING" size="256" sumtext="설치장소코드"/>
- </ColumnInfo>
- </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="installplcecd" type="STRING" size="256" sumtext="설치장소"/>
- <Column id="eqmtcd" type="STRING" size="256" sumtext="장비코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_eqmtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="installplcenm" type="STRING" size="256" sumtext="설치장소 "/>
- <Column id="eqmtcd" type="STRING" size="256" sumtext="장비코드 "/>
- <Column id="eqmtnm" type="STRING" size="256" sumtext="장비명 "/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조원 "/>
- <Column id="goodno" type="STRING" size="256" sumtext="제품번호 "/>
- <Column id="eqmtspec" type="STRING" size="256" sumtext="장비규격 "/>
- <Column id="prodnati" type="STRING" size="256" sumtext="제조국 "/>
- <Column id="prodnatinm" type="STRING" size="256" sumtext="제조국 "/>
- <Column id="installdd" type="STRING" size="256" sumtext="설치일 "/>
- <Column id="custnm" type="STRING" size="256" sumtext="수입국 "/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="모델 "/>
- </ColumnInfo>
- </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="installplcecd" type="STRING" size="256"/>
- <Column id="eqmtcd" type="STRING" size="256"/>
- <Column id="eqmtnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_report" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="installplcecd" type="STRING" size="256"/>
- <Column id="eqmtcd" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.group2.cmb_installplcecd" propid="value" datasetid="ds_main_cond" columnid="installplcecd"/>
- <BindItem id="item1" compid="group3.group2.inp_eqmtcd" propid="value" datasetid="ds_main_cond" columnid="eqmtcd"/>
- <BindItem id="item2" compid="group3.group2.inp_eqmtnm" propid="value" datasetid="ds_main_cond" columnid="eqmtnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_opanstxp -> SMMNP05300
- * Creator : yjh
- * Make Date : 2016-12-06
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-12-06 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_opanstxp::SMMNP05300.xjs";
- include "emr_carecomxp::CareCom.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMNP05300
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SMMNP05300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMNP05300
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SMMNP05300_onload(obj:Form, e:LoadEventInfo)
- {
- fInit();
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_installplcecd
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function group3_group2_cmb_installplcecd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- DataRead();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 돋보기버튼 클릭시
- ****************************************************************************************/
- function group3_group2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fOpEqmtPopup();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button3
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function group3_group2_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- DataRead();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀저장버튼 클릭시
- ****************************************************************************************/
- function group3_group2_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- if( group3.grd_emqtlist.rowcount > 0 ){
- grdf_exportExcel(group3.grd_emqtlist, "관리대상장비목록", "SheetName", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- return;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button4
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 출력버튼 클릭시
- ****************************************************************************************/
- function group3_group2_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- fPrntEmqtList();
- }
- function SMMNP05300_ontimer(obj:Form, e:TimerEventInfo)
- {
- if( e.timerid == 0 ){
- this.killTimer(0);
- DataRead();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|