SSCHT00400_건진데이터마이닝그룹트리.xfdl 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SSCHT00400" position="absolute 0 0 1256 752" titletext="건진데이터마이닝그룹트리" oninit="SSCHT00400_oninit" onload="SSCHT00400_onload">
  5. <Layouts>
  6. <Layout>
  7. <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">
  8. <Formats>
  9. <Format id="default">
  10. <Columns>
  11. <Column size="212"/>
  12. </Columns>
  13. <Rows>
  14. <Row size="24"/>
  15. </Rows>
  16. <Band id="body">
  17. <Cell displaytype="tree" edittype="tree" text="bind:healexamdtmnnm" treestartlevel="1" treelevel="bind:depth"/>
  18. </Band>
  19. </Format>
  20. </Formats>
  21. </Grid>
  22. <Shape id="lin_tree" class="line_10" position="absolute 0 0 215 6"/>
  23. <Button id="button2" taborder="1" text="그룹관리" class="btn2" position="absolute 151 726 215 745" anchor="left bottom" onclick="button2_onclick"/>
  24. </Layout>
  25. </Layouts>
  26. <Objects>
  27. <Dataset id="ds_main_healexamtreeinfo_healexamtreelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  28. <ColumnInfo>
  29. <Column id="healexamdtmnnm" type="STRING" size="256" sumtext="건진데이터마이닝분류제목"/>
  30. <Column id="depth" type="STRING" size="256" sumtext="계층구조"/>
  31. <Column id="healexamdtmnsmlcd" type="INT" size="256" sumtext="건진데이터마이닝소분류코드"/>
  32. </ColumnInfo>
  33. </Dataset>
  34. <Dataset id="ds_send_treedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  35. <ColumnInfo>
  36. <Column id="rgstfromdd" type="STRING" size="256" sumtext="등록일 조회시작일"/>
  37. <Column id="rgsttodd" type="STRING" size="256" sumtext="등록일 조회종료일"/>
  38. <Column id="healexamdtmntitl" type="STRING" size="256" sumtext="건진탬플릿명"/>
  39. <Column id="autexecflag" type="STRING" size="256" sumtext="자동실행 여부"/>
  40. <Column id="cmpnlnkyn" type="STRING" size="256" sumtext="캠페인 연결여부"/>
  41. <Column id="healexamdtmnsmlcd" type="INT" size="256" sumtext="데이터마이닝소분류코드"/>
  42. </ColumnInfo>
  43. </Dataset>
  44. <Dataset id="ds_send_healexamsrch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  45. <ColumnInfo>
  46. <Column id="healexamsmlcd" type="STRING" size="256"/>
  47. </ColumnInfo>
  48. <Rows>
  49. <Row>
  50. <Col id="healexamsmlcd">0</Col>
  51. </Row>
  52. </Rows>
  53. </Dataset>
  54. </Objects>
  55. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  56. * System Name :
  57. * Job Name :
  58. * Creator :
  59. * Make Date : 2016-05-24
  60. * Description :
  61. *---------------------------------------------------------------------------------------
  62. * Modify Date Modifier Modify Description
  63. *---------------------------------------------------------------------------------------
  64. * 2016-05-24 Live Converter TF->XP
  65. *
  66. *---------------------------------------------------------------------------------------
  67. ****************************************************************************************/
  68. include "com_commonxp::comm_main.xjs";
  69. function SSCHT00400_oninit(obj:Form, e:InitEventInfo)
  70. {
  71. frmf_initForm(obj);
  72. }
  73. function SSCHT00400_onload(obj:Form, e:LoadEventInfo)
  74. {
  75. var oParam = {};
  76. oParam.id = "TRCHT00401";
  77. oParam.service = "healexammngtapp.HealExamClsMngt";
  78. oParam.method = "reqGetHealExamTreeList";
  79. oParam.inds = "";
  80. oParam.outds = "ds_main_healexamtreeinfo_healexamtreelist=healexamtreelist";
  81. oParam.async = false;
  82. //oParam.callback = "cf_TRCHT00401";
  83. tranf_submit(oParam);
  84. }
  85. function trv_leftmenu_oncellclick(obj:Grid, e:GridClickEventInfo)
  86. {
  87. var healexam_smlcd = ds_main_healexamtreeinfo_healexamtreelist.getColumn(ds_main_healexamtreeinfo_healexamtreelist.rowposition, "healexamdtmnsmlcd"); // 건진데이터마이닝 소분류 코드를 이용
  88. var scrnflag = ds_hidden.getColumn(0, "scrnflag");
  89. if (scrnflag == "L")
  90. {
  91. if (healexam_smlcd > 0)
  92. {
  93. ds_send_treedata.setColumn(0, "healexamdtmnsmlcd", healexam_smlcd);
  94. var oParam = {};
  95. oParam.id = "TRCHT00202";
  96. oParam.service = "healexammngtapp.HealExamMngt";
  97. oParam.method = "reqGetHealExamDtmnList";
  98. oParam.inds = "req=ds_send_treedata";
  99. oParam.outds = "ds_main_healexamtreeinfo_healexamtreelist=healexamdtmnlist";
  100. oParam.async = false;
  101. //oParam.callback = "cf_TRCHT00202";
  102. tranf_submit(oParam);
  103. ds_send_healexamsrch.setColumn(0, "healexamsmlcd", healexam_smlcd);
  104. }
  105. }
  106. else
  107. {
  108. if (healexam_smlcd > 0)
  109. {
  110. ds_send_healexamsrch.setColumn(0, "healexamsmlcd", healexam_smlcd);
  111. var objArg = new Object();
  112. objArg.healexamdtmnsmlcd = healexam_smlcd;
  113. frmf_openForm("SMCHT00200", "", objArg);//"", "", "SMCHT00200", "/root/send/healexamsrch/healexamsmlcd", "/root/send/treedata/healexamdtmnsmlcd");
  114. }
  115. }
  116. }
  117. function button2_onclick(obj:Button, e:ClickEventInfo)
  118. {
  119. frmf_modal("SPCHT00300", "SPCHT00300", "", "", "", "", "", "", "", "", "", "", "M");
  120. }
  121. ]]></Script>
  122. </Form>
  123. </FDL>