SSCIT01600_만족도그룹트리.xrw 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SSCIT01600_만족도그룹트리
  4. * Summary : 만족도트리메뉴
  5. * Programmer : 황현석
  6. * Date Written : 2010.07.12
  7. * History :
  8. * Remark :캠페인그룹 LeftTree 참조
  9. -->
  10. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  11. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  12. <xhtml:head>
  13. <xhtml:title>만족도그룹트리</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main>
  18. <qestitemtreeinfo>
  19. <qestitemtreelist>
  20. <qestitemnm/>
  21. <depth/>
  22. <qestitemallcd/>
  23. <qestitemmdlcd/>
  24. </qestitemtreelist>
  25. </qestitemtreeinfo>
  26. </main>
  27. <send>
  28. <qestitemcls>
  29. <qestitemmdlcd>0</qestitemmdlcd>
  30. </qestitemcls>
  31. </send>
  32. </root>
  33. </instance>
  34. <submission id="TRCIT01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/qestitemtreeinfo"/>
  35. </model>
  36. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  37. <script type="javascript" ev:event="xforms-model-construct-done">
  38. <![CDATA[
  39. submit("TRCIT01601");
  40. ]]>
  41. </script>
  42. <script type="javascript" ev:event="xforms-ready">
  43. <![CDATA[
  44. fCheckAuth();
  45. model.refresh();
  46. ]]>
  47. </script>
  48. <script type="javascript">
  49. <![CDATA[
  50. function fCheckAuth() {
  51. // 권한체크
  52. if (!checkAuth("r")) {
  53. }
  54. if (!checkAuth("x")) {
  55. btn_grpmngt.disabled=true;
  56. }
  57. if (!checkAuth("p")) {
  58. }
  59. }
  60. // 그리드를 초기화한다. (SPCIT01500_만족도목적분류관리 팝업에서 사용)
  61. function fInitGrid(){
  62. model.removeNodeset("/root/main/qestitemtreeinfo/qestitemtreelist");
  63. submit("TRCIT01601");
  64. }
  65. // 트리 중그릅 클릭시 조회하기
  66. function fGetTreeMsgTmplList() {
  67. model.removeNodeset("/root/main/qestitemgruplist");
  68. fGetSrchQestItemMdlCd();
  69. submit("TRCIT00101");
  70. }
  71. ]]>
  72. </script>
  73. </xhtml:head>
  74. <xhtml:body style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
  75. <group id="grp_tree" scroll="auto" style="left:0px; top:0px; width:215px; height:744px; ">
  76. <line id="lin_tree" class="line_1" nodeset="/root/main/qestiteminfo/qestitemtreelist" style="x1:0px; y1:0px; x2:215px; y2:0px; "/>
  77. <treeview id="trv_leftmenu" ref="/root/send/qestitemcls/qestitemmdlcd" expanddepth="2" fullrowselect="true" itemsettype="depth" style="left:0px; top:5px; width:215px; height:710px; ">
  78. <itemset nodeset="/root/main/qestitemtreeinfo/qestitemtreelist">
  79. <label ref="qestitemnm"/>
  80. <value ref="qestitemallcd"/>
  81. <depth ref="depth"/>
  82. </itemset>
  83. <script type="javascript" ev:event="ondblclick">
  84. <![CDATA[
  85. var scrnflag = model.getValue("/root/hidden/scrnflag");
  86. var qest_allcd = trv_leftmenu.value;
  87. var split_var=qest_allcd.split('/');
  88. var i = 0;
  89. var qestitemlrgcd = split_var[0];
  90. var qestitemmdlcd = split_var[1];
  91. if (scrnflag == "G") {
  92. if(qestitemmdlcd != "0"){
  93. model.setValue("/root/send/qestsrch/qestitemlrgcd", qestitemlrgcd);
  94. model.setValue("/root/send/qestsrch/qestitemmdlcd",qestitemmdlcd);
  95. fGetTreeMsgTmplList();
  96. }
  97. }else if (scrnflag == "L") {
  98. if(qestitemmdlcd != "0"){
  99. var rtn = messageBox(" 만족도 설문문항 그룹관리 페이지로 이동합니다.", "Q003");
  100. model.setValue("/root/send/qestitemcls/qestitemmdlcd",qestitemmdlcd);
  101. if (qestitemmdlcd > 0 && rtn == 6) {
  102. navigate("SMCIT00100", "", "", "", "SMCIT00100", "/root/send/qestitemcls/qestitemmdlcd", "/root/send/qestsrch/qestitemmdlcd");
  103. }
  104. }
  105. }
  106. ]]>
  107. </script>
  108. </treeview>
  109. <button id="btn_grpmngt" class="btn2_letter4" style="left:151px; top:718px; width:64px; height:19px; ">
  110. <caption>그룹관리</caption>
  111. <script type="javascript" ev:event="DOMActivate">
  112. <![CDATA[
  113. modal("SPCIT01500");
  114. ]]>
  115. </script>
  116. </button>
  117. </group>
  118. </xhtml:body>
  119. </xhtml:html>