SSCIT01600_만족도그룹트리.xfdl 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SSCIT01600" position="absolute 0 0 1256 739" titletext="만족도그룹트리" oninit="SSCIT01600_oninit" onload="SSCIT01600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape id="lin_tree" class="line_10" position="absolute 0 0 215 6"/>
  8. <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">
  9. <Formats>
  10. <Format id="default">
  11. <Columns>
  12. <Column size="205"/>
  13. </Columns>
  14. <Rows>
  15. <Row size="24"/>
  16. </Rows>
  17. <Band id="body">
  18. <Cell displaytype="tree" edittype="tree" text="bind:qestitemnm" treestartlevel="1" treelevel="bind:depth"/>
  19. </Band>
  20. </Format>
  21. </Formats>
  22. </Grid>
  23. <Button id="btn_grpmngt" taborder="2" text="그룹관리" class="btn2" position="absolute 151 718 215 737" anchor="left bottom" onclick="btn_grpmngt_onclick"/>
  24. </Layout>
  25. </Layouts>
  26. <Objects>
  27. <Dataset id="ds_main_qestitemtreeinfo_qestitemtreelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  28. </Objects>
  29. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  30. * System Name :
  31. * Job Name :
  32. * Creator :
  33. * Make Date : 2016-05-24
  34. * Description :
  35. *---------------------------------------------------------------------------------------
  36. * Modify Date Modifier Modify Description
  37. *---------------------------------------------------------------------------------------
  38. * 2016-05-24 Live Converter TF->XP
  39. *
  40. *---------------------------------------------------------------------------------------
  41. ****************************************************************************************/
  42. include "com_commonxp::comm_main.xjs";
  43. function SSCIT01600_oninit(obj:Form, e:InitEventInfo)
  44. {
  45. frmf_initForm(obj);
  46. }
  47. function SSCIT01600_onload(obj:Form, e:LoadEventInfo)
  48. {
  49. grdf_initGrid(trv_leftmenu);
  50. var oParam = {};
  51. oParam.id = "TRCIT01601";
  52. oParam.service = "cssamngtapp.CssaClsMngt";
  53. oParam.method = "reqGetCssaTreeList";
  54. oParam.inds = "req=ds_send_info";
  55. oParam.outds = "ds_main_qestitemtreeinfo_qestitemtreelist=qestitemtreelist";
  56. oParam.async = false;
  57. //oParam.callback = "cf_TRCIT01601";
  58. tranf_submit(oParam);
  59. fCheckAuth();
  60. }
  61. function fCheckAuth()
  62. {
  63. // 권한체크
  64. if (!frmf_checkAuth("x"))
  65. {
  66. btn_grpmngt.enable = false;
  67. }
  68. }
  69. function trv_leftmenu_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  70. {
  71. var scrnflag = ds_hidden.getColumn(0, "scrnflag");
  72. var qest_allcd = ds_main_qestitemtreeinfo_qestitemtreelist.getColumn(ds_main_qestitemtreeinfo_qestitemtreelist.rowposition, "qestitemallcd");
  73. var split_var = qest_allcd.split('/');
  74. var qestitemlrgcd = split_var[0];
  75. var qestitemmdlcd = split_var[1];
  76. if (scrnflag == "G")
  77. {
  78. if(qestitemmdlcd != "0")
  79. {
  80. ds_send_qestsrch.setColumn(0, "qestitemlrgcd", qestitemlrgcd);
  81. ds_send_qestsrch.setColumn(0, "qestitemmdlcd", qestitemmdlcd);
  82. fGetTreeMsgTmplList();
  83. }
  84. }
  85. else if (scrnflag == "L")
  86. {
  87. if(qestitemmdlcd != "0")
  88. {
  89. var rtn = sysf_messageBox(" 만족도 설문문항 그룹관리 페이지로 이동합니다.", "Q003");
  90. //ds_send_qestitemcls.setColumn(0, "qestitemmdlcd",qestitemmdlcd);
  91. if (qestitemmdlcd > 0 && rtn == 6)
  92. {
  93. var objArg = new Object();
  94. //objArg.qestitemmdlcd = ds_send_qestsrch.getColumn(0, "qestitemmdlcd");
  95. objArg.qestitemmdlcd = qestitemmdlcd;
  96. frmf_openForm("SMCIT00100", "", objArg);
  97. }
  98. }
  99. }
  100. }
  101. function fGetTreeMsgTmplList()
  102. {
  103. ds_main_qestitemgruplist.clearData();
  104. fGetSrchQestItemMdlCd();
  105. var oParam = {};
  106. oParam.id = "TRCIT00101";
  107. oParam.service = "cssamngtapp.CssaMngt";
  108. oParam.method = "reqGetCssaList";
  109. oParam.inds = "req=ds_send_qestsrch";
  110. oParam.outds = "ds_main_qestitemgruplist=qestitemgruplist";
  111. oParam.async = false;
  112. //oParam.callback = "cf_TRCIT00101";
  113. tranf_submit(oParam);
  114. }
  115. function btn_grpmngt_onclick(obj:Button, e:ClickEventInfo)
  116. {
  117. frmf_modal("SPCIT01500", "SPCIT01500", "", "", "", "", "", "", "", "", "", "", "M");
  118. }
  119. ]]></Script>
  120. </Form>
  121. </FDL>