123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SSCHT00400" position="absolute 0 0 1256 752" titletext="건진데이터마이닝그룹트리" oninit="SSCHT00400_oninit" onload="SSCHT00400_onload">
- <Layouts>
- <Layout>
- <Grid id="trv_leftmenu" taborder="0" useinputpanel="false" treeusecheckbox="false" position="absolute 0 5 215 723" autofit="col" autoenter="select" binddataset="ds_main_healexamtreeinfo_healexamtreelist" oncellclick="trv_leftmenu_oncellclick" treeinitstatus="expand,all" anchor="left top bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="212"/>
- </Columns>
- <Rows>
- <Row size="24"/>
- </Rows>
- <Band id="body">
- <Cell displaytype="tree" edittype="tree" text="bind:healexamdtmnnm" treestartlevel="1" treelevel="bind:depth"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="lin_tree" class="line_10" position="absolute 0 0 215 6"/>
- <Button id="button2" taborder="1" text="그룹관리" class="btn2" position="absolute 151 726 215 745" anchor="left bottom" onclick="button2_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_healexamtreeinfo_healexamtreelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="healexamdtmnnm" type="STRING" size="256" sumtext="건진데이터마이닝분류제목"/>
- <Column id="depth" type="STRING" size="256" sumtext="계층구조"/>
- <Column id="healexamdtmnsmlcd" type="INT" size="256" sumtext="건진데이터마이닝소분류코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_treedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rgstfromdd" type="STRING" size="256" sumtext="등록일 조회시작일"/>
- <Column id="rgsttodd" type="STRING" size="256" sumtext="등록일 조회종료일"/>
- <Column id="healexamdtmntitl" type="STRING" size="256" sumtext="건진탬플릿명"/>
- <Column id="autexecflag" type="STRING" size="256" sumtext="자동실행 여부"/>
- <Column id="cmpnlnkyn" type="STRING" size="256" sumtext="캠페인 연결여부"/>
- <Column id="healexamdtmnsmlcd" type="INT" size="256" sumtext="데이터마이닝소분류코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_healexamsrch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="healexamsmlcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="healexamsmlcd">0</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SSCHT00400_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SSCHT00400_onload(obj:Form, e:LoadEventInfo)
- {
- var oParam = {};
- oParam.id = "TRCHT00401";
- oParam.service = "healexammngtapp.HealExamClsMngt";
- oParam.method = "reqGetHealExamTreeList";
- oParam.inds = "";
- oParam.outds = "ds_main_healexamtreeinfo_healexamtreelist=healexamtreelist";
- oParam.async = false;
- //oParam.callback = "cf_TRCHT00401";
- tranf_submit(oParam);
- }
- function trv_leftmenu_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var healexam_smlcd = ds_main_healexamtreeinfo_healexamtreelist.getColumn(ds_main_healexamtreeinfo_healexamtreelist.rowposition, "healexamdtmnsmlcd"); // 건진데이터마이닝 소분류 코드를 이용
- var scrnflag = ds_hidden.getColumn(0, "scrnflag");
-
- if (scrnflag == "L")
- {
- if (healexam_smlcd > 0)
- {
- ds_send_treedata.setColumn(0, "healexamdtmnsmlcd", healexam_smlcd);
- var oParam = {};
- oParam.id = "TRCHT00202";
- oParam.service = "healexammngtapp.HealExamMngt";
- oParam.method = "reqGetHealExamDtmnList";
- oParam.inds = "req=ds_send_treedata";
- oParam.outds = "ds_main_healexamtreeinfo_healexamtreelist=healexamdtmnlist";
- oParam.async = false;
- //oParam.callback = "cf_TRCHT00202";
- tranf_submit(oParam);
- ds_send_healexamsrch.setColumn(0, "healexamsmlcd", healexam_smlcd);
- }
- }
- else
- {
- if (healexam_smlcd > 0)
- {
- ds_send_healexamsrch.setColumn(0, "healexamsmlcd", healexam_smlcd);
- var objArg = new Object();
- objArg.healexamdtmnsmlcd = healexam_smlcd;
- frmf_openForm("SMCHT00200", "", objArg);//"", "", "SMCHT00200", "/root/send/healexamsrch/healexamsmlcd", "/root/send/treedata/healexamdtmnsmlcd");
- }
- }
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPCHT00300", "SPCHT00300", "", "", "", "", "", "", "", "", "", "", "M");
- }
- ]]></Script>
- </Form>
- </FDL>
|