123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SSCIT01600" position="absolute 0 0 1256 739" titletext="만족도그룹트리" oninit="SSCIT01600_oninit" onload="SSCIT01600_onload">
- <Layouts>
- <Layout>
- <Shape id="lin_tree" class="line_10" position="absolute 0 0 215 6"/>
- <Grid id="trv_leftmenu" taborder="1" useinputpanel="false" treeusecheckbox="false" position="absolute 0 5 215 715" autofit="col" anchor="left top bottom" autoenter="select" cellsizingtype="col" binddataset="ds_main_qestitemtreeinfo_qestitemtreelist" treeinitstatus="expand,all" oncelldblclick="trv_leftmenu_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="205"/>
- </Columns>
- <Rows>
- <Row size="24"/>
- </Rows>
- <Band id="body">
- <Cell displaytype="tree" edittype="tree" text="bind:qestitemnm" treestartlevel="1" treelevel="bind:depth"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_grpmngt" taborder="2" text="그룹관리" class="btn2" position="absolute 151 718 215 737" anchor="left bottom" onclick="btn_grpmngt_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_qestitemtreeinfo_qestitemtreelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </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 SSCIT01600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SSCIT01600_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(trv_leftmenu);
-
- var oParam = {};
- oParam.id = "TRCIT01601";
- oParam.service = "cssamngtapp.CssaClsMngt";
- oParam.method = "reqGetCssaTreeList";
- oParam.inds = "req=ds_send_info";
- oParam.outds = "ds_main_qestitemtreeinfo_qestitemtreelist=qestitemtreelist";
- oParam.async = false;
- //oParam.callback = "cf_TRCIT01601";
- tranf_submit(oParam);
- fCheckAuth();
- }
- function fCheckAuth()
- {
- // 권한체크
- if (!frmf_checkAuth("x"))
- {
- btn_grpmngt.enable = false;
- }
- }
- function trv_leftmenu_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var scrnflag = ds_hidden.getColumn(0, "scrnflag");
- var qest_allcd = ds_main_qestitemtreeinfo_qestitemtreelist.getColumn(ds_main_qestitemtreeinfo_qestitemtreelist.rowposition, "qestitemallcd");
- var split_var = qest_allcd.split('/');
-
- var qestitemlrgcd = split_var[0];
- var qestitemmdlcd = split_var[1];
-
- if (scrnflag == "G")
- {
- if(qestitemmdlcd != "0")
- {
- ds_send_qestsrch.setColumn(0, "qestitemlrgcd", qestitemlrgcd);
- ds_send_qestsrch.setColumn(0, "qestitemmdlcd", qestitemmdlcd);
-
- fGetTreeMsgTmplList();
- }
- }
- else if (scrnflag == "L")
- {
- if(qestitemmdlcd != "0")
- {
- var rtn = sysf_messageBox(" 만족도 설문문항 그룹관리 페이지로 이동합니다.", "Q003");
- //ds_send_qestitemcls.setColumn(0, "qestitemmdlcd",qestitemmdlcd);
- if (qestitemmdlcd > 0 && rtn == 6)
- {
- var objArg = new Object();
- //objArg.qestitemmdlcd = ds_send_qestsrch.getColumn(0, "qestitemmdlcd");
- objArg.qestitemmdlcd = qestitemmdlcd;
- frmf_openForm("SMCIT00100", "", objArg);
- }
- }
- }
- }
- function fGetTreeMsgTmplList()
- {
- ds_main_qestitemgruplist.clearData();
-
- fGetSrchQestItemMdlCd();
-
- var oParam = {};
- oParam.id = "TRCIT00101";
- oParam.service = "cssamngtapp.CssaMngt";
- oParam.method = "reqGetCssaList";
- oParam.inds = "req=ds_send_qestsrch";
- oParam.outds = "ds_main_qestitemgruplist=qestitemgruplist";
- oParam.async = false;
- //oParam.callback = "cf_TRCIT00101";
- tranf_submit(oParam);
- }
- function btn_grpmngt_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPCIT01500", "SPCIT01500", "", "", "", "", "", "", "", "", "", "", "M");
- }
- ]]></Script>
- </Form>
- </FDL>
|