<%@ Page Language="C#" AutoEventWireup="true" ResponseEncoding="gb2312" Codebehind="../ListReport/ListReport.aspx.cs"
    Inherits="Vonle.Web.Tp_ListReport" 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 runat="server">
    <meta http-equiv="content-type" content="text/html; charset=gb2312">
    <%--左树，中间列表，右明细--%>
    <link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
    <title>
        <%=templateObj.EntName%>
    </title>
    <link rel="stylesheet" type="text/css" href="/css/style/default/template/LeftCenterRight/Default.css"
        media="all" />
    <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" />
    <link rel="stylesheet" href="/Css/style/default/module/search/search_002.css" type="text/css" />
    <link rel="stylesheet" href="/Css/style/default/module/SummaryList/SummaryList_001.css"
        type="text/css" />

    <script type="text/javascript" language="JavaScript">  
        var formUrl_<%=templateObj.EntId %>_<%=templateObj.CtrlPrex %>="/Template/Default/Form/AjaxForm/AjaxForm008.aspx";//表单网址
        if ("<%=templateObj.Form_CtrlPrex %>"=="DefaultF_")
            formUrl_<%=templateObj.EntId %>_<%=templateObj.CtrlPrex %>="/Template/Default/Form/DefaultForm008.aspx";//表单网址

        var browseUrl_<%=templateObj.EntId %>_<%=templateObj.CtrlPrex %>="/Template/default/Browse/Browse3.aspx";//明细网址
        if ("<%=templateObj.Browse_CtrlPrex %>"=="DetailR_")
            formUrl_<%=templateObj.EntId %>_<%=templateObj.CtrlPrex %>="/Template/default/Browse/Browse3.aspx";//明细网址
        
        var CtrlPrex="<%=templateObj.CtrlPrex %>";
    </script>

    <%=templateObj.strHead.ToString()%>

    <script type="text/javascript" language="JavaScript">
$(window).load(function(){
 
    try{
        onh(<%=templateObj.EntId %>,"<%=templateObj.CtrlPrex %>");
    }
    catch(err)
    {}

});  

/*
*
* 搜索
*
*/
function VL_Search(EntId)
{
Dcx_Search(EntId,"<%=templateObj.CtrlPrex %>");
}

/*
*
* 提供节点的信息，调用客户提供的函数，执行指定事件。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);
    //执行用户自己定义的代码
    try{
        if(!ymr(DcxTree.ptq))
             DcxTree.ptq(EntId,CtrlPrex,BindFieldName,BindValue,OtherSqlCondition,NodeValue,NodeText,NodeIndex,TreeId,ClickedObj, BindFieldDType); 
    }
    catch(err)
    {}
        
}


    </script>

</head>
<body>
    <div class="main">
        <!--顶部-->
        <div class="top tag2">
            <div class="tag2_menu ">
                <%=templateObj.strTagHtml.ToString()%>
            </div>
            <div class="mod_tab_other " style="display: none;">
                <a class="ui_icon bt_addapp" title="添加应用" href="javascript:void(0);">
                    <h5>
                        <span class="more" id="span_searchReport">&gt;&gt;</span></h5>
                </a>
            </div>
        </div>
        <!--树-->
        <div class="container">
            <div class="p-left">
                <%=templateObj.GetModuleHtml(Dcx.Model.ModuleType.Tree)%>
            </div>
            <div class="p-center">
                <!--搜索-->
                <div class="center-top" style="clear: both;">
                    <%=templateObj.GetModuleHtml(Dcx.Model.ModuleType.SearchForm)%>
                </div>
                <div class="center-bottom" style="clear: both;">
                    <!--列表-->
                    <%=templateObj.GetModuleHtml(Dcx.Model.ModuleType.SummaryList)%>
                </div>
            </div>
            <div class="p-right">
                <!--搜索-->
                <div class="right-top" style="clear: both;">
                </div>
                <div class="right-bottom" style="clear: both;">
                    <!--表单-->
                    <%=templateObj.GetModuleHtml(Dcx.Model.ModuleType.DefaultBrowse  )%>
                </div>
            </div>
        </div>
    </div>
</body>
</html>

