123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : 고객그룹 좌측메뉴
- * Summary : 트리메뉴
- * Programmer : 최정환
- * Date Written : 2007.03.23
- * History : 2007.05.23 김준규 수정
- * Remark :
- -->
- <?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>
- <xhtml:style id="style_tree">
- <![CDATA[treeview treeitem { hover.color:blue; hover.background-color:#f5eef5; hover.text-decoration:underline; }]]>
- </xhtml:style>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <grouptreeinfo>
- <grouptreelist>
- <grouplrgcd/>
- <groupmdlcd/>
- <groupsmlcd/>
- <groupnm/>
- <depth/>
- </grouptreelist>
- </grouptreeinfo>
- </main>
- <hidden>
- <grupinfo>
- <lrgrupgcd/>
- <mdlgrupcd/>
- <smlgrupcd>0</smlgrupcd>
- </grupinfo>
- </hidden>
- </root>
- </instance>
- <submission id="TRCMS00100" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/main/dtmntreeinfo"/>
- </model>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- model.removeNodeset("/root/main/grouptreeinfo/grouptreelist");
- submit("TRCMS00100");
- fCheckAuth();
- // model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 그리드를 초기화한다.
- function fInitGrid(){
- model.removeNodeset("/root/main/grouptreeinfo/grouptreelist");
- submit("TRCMS00100");
- model.refresh();
- }
- function fCheckAuth() {
- // 권한체크
- //if (!checkAuth("r")) {
- //}
- if (!checkAuth("x")) {
- btn_mnggrp.disabled=true;
- }
- //if (!checkAuth("p")) {
- //}
- }
- ]]>
- </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" style="x1:0px; y1:0px; x2:215px; y2:0px; "/>
- <treeview id="trv_leftmenu" ref="/root/hidden/grupinfo/smlgrupcd" expanddepth="0" fullrowselect="true" itemsettype="depth" oneclickexpand="true" style="left:0px; top:5px; width:215px; height:710px; ">
- <itemset nodeset="/root/main/grouptreeinfo/grouptreelist">
- <label ref="groupnm"/>
- <value ref="groupsmlcd"/>
- <depth ref="depth"/>
- </itemset>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var grup_smlcd = trv_leftmenu.value;
- if (grup_smlcd > 0) {
- model.setValue("/root/send/grupinfo/smlgrupcd", grup_smlcd);
- submit("TRCMS00101");
- model.setValue("/root/hidden/grupinfo/smlgrupcd", grup_smlcd);
- model.SetFocus("grd_patlist");
- }
- ]]>
- </script>
- </treeview>
- <button id="btn_mnggrp" class="btn2_letter4" style="left:151px; top:718px; width:64px; height:19px; ">
- <caption>그룹관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPCMZ00100");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|