123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMNP07430" position="absolute 0 0 317 302" titletext="PCA종류선택" onload="SPMNP07430_onload" ontimer="SPMNP07430_ontimer">
- <Layouts>
- <Layout>
- <Div position="absolute 0 26 315 302" id="grp_biz" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 155 275" id="grd_codelist" binddataset="ds_main_codeinfo_codelist" anchor="default" oncelldblclick="grp_biz_grd_codelist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="136"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="caption2"/>
- <Cell col="1" text="종류"/>
- </Band>
- <Band id="body">
- <Cell text="bind:cdid"/>
- <Cell col="1" text="bind:cdnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 160 0 315 275" id="grd_stdlist" binddataset="ds_main_stdinfo_stdlist" anchor="default" oncelldblclick="grp_biz_grd_stdlist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="140"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="PCA종류"/>
- <Cell col="1" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell text="bind:cdnm"/>
- <Cell col="1" text="bind:cdid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Static id="cap_title" text="PCA종류선택" class="tit_1" position="absolute 0 0 120 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_codeinfo_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING"/>
- <Column id="cdnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_stdinfo_stdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-11-17
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-11-17 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************d
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPMNP07430_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj);
-
- this.setTimer(0,100);
- }
- function SPMNP07430_ontimer(obj:Form, e:TimerEventInfo)
- {
- if(e.timerid == 0) {
- this.killTimer(0);
-
- dsf_createDsRow("ds_send_reqdata", [
- {col:"cdgrupid", type:"STRING", size:256, val:"'U27'"}
- , {col:"srchdd", type:"STRING", size:256, val:utlf_getCurrentDate()}
- , {col:"flag", type:"STRING", size:256, val:""}
- , {col:"allflag", type:"STRING", size:256, val:""}
- ]);
- var oParam = {};
- oParam.id = "TRMNW00001";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqGetNursHardCdInfo";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_codeinfo_codelist=codelist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNW00001";
- tranf_submit(oParam);
- }
- }
- function grp_biz_grd_codelist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- dsf_createDsRow("ds_send_reqdata", [
- {col:"cdgrupid", type:"STRING", size:256, val:"004"}
- , {col:"lnkcd", type:"STRING", size:256, val:ds_main_codeinfo_codelist.getColumn(e.row,"cdid")}
- ]);
- var oParam = {};
- oParam.id = "TRMNP07410";
- oParam.service = "opanstapp.OpAnstRec";
- oParam.method = "reqGetStdInfo";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_stdinfo_stdlist=stdlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNP07410";
- tranf_submit(oParam);
- }
- function grp_biz_grd_stdlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- sysf_setModelProperty("cdid",ds_main_stdinfo_stdlist.getColumn(e.row,"cdid"));
- sysf_setModelProperty("cdnm",ds_main_stdinfo_stdlist.getColumn(e.row,"cdnm"));
- sysf_setModelProperty("lnkcd",ds_main_codeinfo_codelist.getColumn(ds_main_codeinfo_codelist.rowposition,"cdid"));
- sysf_setModelProperty("lnknm",ds_main_codeinfo_codelist.getColumn(ds_main_codeinfo_codelist.rowposition,"cdnm"));
- sysf_setModelProperty("clickflag","Y");
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|