123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SSCIT01600_만족도그룹트리
- * Summary : 만족도트리메뉴
- * Programmer : 황현석
- * Date Written : 2010.07.12
- * History :
- * Remark :캠페인그룹 LeftTree 참조
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>만족도그룹트리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <qestitemtreeinfo>
- <qestitemtreelist>
- <qestitemnm/>
- <depth/>
- <qestitemallcd/>
- <qestitemmdlcd/>
- </qestitemtreelist>
- </qestitemtreeinfo>
- </main>
- <send>
- <qestitemcls>
- <qestitemmdlcd>0</qestitemmdlcd>
- </qestitemcls>
- </send>
- </root>
- </instance>
- <submission id="TRCIT01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/qestitemtreeinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- submit("TRCIT01601");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fCheckAuth();
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fCheckAuth() {
- // 권한체크
- if (!checkAuth("r")) {
- }
- if (!checkAuth("x")) {
- btn_grpmngt.disabled=true;
- }
- if (!checkAuth("p")) {
- }
- }
-
- // 그리드를 초기화한다. (SPCIT01500_만족도목적분류관리 팝업에서 사용)
- function fInitGrid(){
- model.removeNodeset("/root/main/qestitemtreeinfo/qestitemtreelist");
- submit("TRCIT01601");
- }
-
- // 트리 중그릅 클릭시 조회하기
- function fGetTreeMsgTmplList() {
-
- model.removeNodeset("/root/main/qestitemgruplist");
- fGetSrchQestItemMdlCd();
- submit("TRCIT00101");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <group id="grp_tree" scroll="auto" style="left:0px; top:0px; width:215px; height:744px; ">
- <line id="lin_tree" class="line_1" nodeset="/root/main/qestiteminfo/qestitemtreelist" style="x1:0px; y1:0px; x2:215px; y2:0px; "/>
- <treeview id="trv_leftmenu" ref="/root/send/qestitemcls/qestitemmdlcd" expanddepth="2" fullrowselect="true" itemsettype="depth" style="left:0px; top:5px; width:215px; height:710px; ">
- <itemset nodeset="/root/main/qestitemtreeinfo/qestitemtreelist">
- <label ref="qestitemnm"/>
- <value ref="qestitemallcd"/>
- <depth ref="depth"/>
- </itemset>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var scrnflag = model.getValue("/root/hidden/scrnflag");
- var qest_allcd = trv_leftmenu.value;
- var split_var=qest_allcd.split('/');
- var i = 0;
-
- var qestitemlrgcd = split_var[0];
- var qestitemmdlcd = split_var[1];
-
- if (scrnflag == "G") {
- if(qestitemmdlcd != "0"){
- model.setValue("/root/send/qestsrch/qestitemlrgcd", qestitemlrgcd);
- model.setValue("/root/send/qestsrch/qestitemmdlcd",qestitemmdlcd);
- fGetTreeMsgTmplList();
- }
- }else if (scrnflag == "L") {
- if(qestitemmdlcd != "0"){
- var rtn = messageBox(" 만족도 설문문항 그룹관리 페이지로 이동합니다.", "Q003");
- model.setValue("/root/send/qestitemcls/qestitemmdlcd",qestitemmdlcd);
- if (qestitemmdlcd > 0 && rtn == 6) {
- navigate("SMCIT00100", "", "", "", "SMCIT00100", "/root/send/qestitemcls/qestitemmdlcd", "/root/send/qestsrch/qestitemmdlcd");
- }
- }
- }
-
- ]]>
- </script>
- </treeview>
- <button id="btn_grpmngt" class="btn2_letter4" style="left:151px; top:718px; width:64px; height:19px; ">
- <caption>그룹관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPCIT01500");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|