123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLQF10500" position="absolute 0 0 1200 763" titletext="QC Standard 및 Coltrol수" oninit="SMLQF10500_oninit" onload="SMLQF10500_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="Standard 및 Control수" class="tit_1" position="absolute 0 0 304 23"/>
- <Shape id="line2" class="line_2" position="absolute 0 42 1194 48" anchor="left top right"/>
- <Button id="btn_save" taborder="1" text="저장" class="btn4" position="absolute 1068 20 1124 42" anchor="top right" onclick="btn_save_onclick"/>
- <Button id="btn_init" taborder="2" text="초기화" class="btn4" position="absolute 1127 20 1195 42" anchor="top right" onclick="btn_init_onclick"/>
- <Shape id="line1" class="line_10" position="absolute 0 108 1194 114" anchor="left top right"/>
- <Static id="caption1" text="Standard 및 Control수" class="tit_2" position="absolute 0 92 195 113"/>
- <Div id="group2" taborder="3" class="div_SA" position="absolute 0 48 1195 83" anchor="left top right">
- <Layouts>
- <Layout>
- <Button id="button3" taborder="1" text="조회" class="btn1" position="absolute 1123 7 1180 29" anchor="top right" onclick="group2_button3_onclick"/>
- <Shape id="line3" linetype="vertical" class="line_4" position="absolute 1105 6 1111 28" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_levllist" taborder="4" binddataset="ds_main_levllist" useinputpanel="false" position="absolute 0 113 1194 757" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21"/>
- <Column size="200"/>
- <Column size="300"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="Standard 및 Control수 코드"/>
- <Cell col="2" text="Standard 및 Control수"/>
- <Cell col="3" text="OnCall레벨코드"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:levlcd"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:levlnm"/>
- <Cell col="3" displaytype="text" edittype="text" text="bind:oclevlcd"/>
- </Band>
- </Format>
- <Format id="format_copy"/>
- </Formats>
- </Grid>
- <Button id="btn_addrow" taborder="5" text="행추가" class="btn2" position="absolute 1141 89 1194 108" anchor="top right" onclick="btn_addrow_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_levllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="levlcd" type="STRING"/>
- <Column id="levlnm" type="STRING"/>
- <Column id="oclevlcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lb0000" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="userdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LLZ001.xjs";
- function SMLQF10500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMLQF10500_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_levllist);
- grdf_setRowTypeIcon(grd_levllist, 0);
-
- fSetInit();
- }
- function fSetInit()
- {
- lf_getDbDeptcd("0000|", "")
-
- ds_main_levllist.clearData();
-
- fGetLevel();
- }
- function fGetLevel()
- {
- ds_send.setColumn(0, "userdeptcd", ds_init_lb0000.getColumn(0, "nm"));
-
- var oParam = {};
- oParam.id = "TRLQF00501";
- oParam.service = "grademngtbasemngtapp.LevelMngt";
- oParam.method = "reqGetLevel";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_main_levllist=getLevel";
- oParam.async = false;
- //oParam.callback = "cf_TRLQF00501";
- tranf_submit(oParam);
- }
- function btn_addrow_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_levllist.addRow();
- }
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- fInsLevel();
- }
- function fInsLevel()
- {
- var oParam = {};
- oParam.id = "TXLQF00501";
- oParam.service = "grademngtbasemngtapp.LevelMngt";
- oParam.method = "reqExeLevel";
- oParam.inds = "grid=ds_main_levllist:U cond=ds_send";
- oParam.async = false;
- //oParam.callback = "cf_TXLQF00501";
- tranf_submit(oParam);
-
- fGetLevel();
- }
- function btn_init_onclick(obj:Button, e:ClickEventInfo)
- {
- this.reload();
- }
- function group2_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetLevel();
- }
- ]]></Script>
- </Form>
- </FDL>
|