<%@ Page Language="C#" AutoEventWireup="true" ResponseEncoding="gb2312" Codebehind="AjaxForm_Tree_Tag.aspx.cs"
    Inherits="Dcx.Web.Template_AjaxForm_Tree_Tag" EnableEventValidation="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="content-type" content="text/html; charset=gb2312">
    <%--多选项卡：块列表+标准表单（大字号），Excel表单--%>
    <link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
    <%--单列--%>
    <title>
        <%=EntName%>
    </title>
    <link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
    <%--模板Css--%>
    <link rel="stylesheet" type="text/css" href="/css/style/default/template/LeftRight/Default.css"
        media="all" />
 
    <%--模块公共Css--%>
    <link rel="stylesheet" href="/Css/style/common/common.css" type="text/css" />
    <link rel="stylesheet" href="/Css/style/default/module/common.css" type="text/css" />
    <link rel="stylesheet" href="/Css/style/default/control/FormControl.css" type="text/css" />
    <%--搜索模块Css--%>
  
    <link rel="stylesheet" href="/Css/style/default/module/search/search_002.css" type="text/css" />
    <script type="text/javascript" language="JavaScript">  
        var formUrl_<%=EntId %>_<%=CtrlPrex %>="/Template/Default/Form/DefaultForm/DefaultForm3.aspx";//表单网址
        var browseUrl_<%=EntId %>_<%=CtrlPrex %>="/Template/default/Browse/Browse3.aspx";//明细网址
        
        var CtrlPrex="<%=CtrlPrex %>";
        var EntId=<%=EntId %>;
    </script>
    <%=strHead.ToString()%>
    <script src="/Js/Control/LTreeRList/LTreeRList2.js"></script>
    <script type="text/javascript" language="JavaScript">
$(window).load(function(){

try{
    onh(<%=EntId %>,"<%=CtrlPrex %>");
    }
    catch(err){}
  });  
  
  $(window).load(function(){ 

  });  


/*
*
* 提供节点的信息，调用客户提供的函数，执行指定事件。OtherSqlCondition是已经生成的SQL条件
*
*/
function eon(EntId,CtrlPrex,BindFieldName,BindValue,OtherSqlCondition,NodeValue,NodeText,NodeIndex,TreeId, ClickedObj, BindFieldDType)
{
    if(CtrlPrex=="AjaxF_")
        xcr(EntId,CtrlPrex,BindValue,false);
    else if(CtrlPrex=="DefaultF_")
        mhc(EntId,CtrlPrex,BindValue,false);
    else 
        kha(EntId,CtrlPrex,BindFieldName,BindValue, BindFieldDType);
        //vbp(EntId,CtrlPrex,OtherSqlCondition);

}


/*
*
* 搜索
*
*/
function VL_Search(EntId)
{
Dcx_Search(EntId,"<%=CtrlPrex %>");
} 
    </script>
</head>
<body>
    <div class="main">
        <!--顶部-->
        <div class="top tag2">
            <div class="tag2_menu ">
                <%=strTagHtml.ToString()%>
            </div>
            <div class="mod_tab_other " style="display: none;">
                <a class="ui_icon bt_addapp" title="添加应用" onclick="QZONE.navigationBar.appBox.addApp();return false;"
                    href="javascript:;">
                    <h5>
                        <span class="more" id="span_searchReport">&gt;&gt;</span></h5>
                </a>
            </div>
        </div>
        <!--树-->
        <div class="container">
            <div class="p-left">
                <%=strTreeHtml.ToString() %>
            </div>
            <div class="p-right">
                <!--搜索-->
                <div class="right-top" style="clear: both;">
                    <%=strSearchFormHtml.ToString()%>
                </div>
                <div class="right-bottom" style="clear: both;">
                    <!--普通列表-->
                    <%=strListReportHtml.ToString()%>
                    <!--Excel表单-->
                    <%=strFormHtml.ToString()%>
                </div>
            </div>
        </div>
    </div>
</body>
</html>

