177 lines
8.3 KiB
Plaintext
177 lines
8.3 KiB
Plaintext
@using Air.Model.AirAdminViewModel
|
|
@{
|
|
Layout = null;
|
|
|
|
}
|
|
|
|
<!DOCTYPE html>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11;IE=10; IE=9; IE=8; IE=7; IE=EDGE">
|
|
<html>
|
|
<head>
|
|
<title>微信crm</title>
|
|
<meta name="viewport" content="width=device-width" />
|
|
<script src="@Url.Content("~/Scripts/jquery.min.js")" type="text/javascript"></script>
|
|
<script src="~/Scripts/json2.js"></script>
|
|
<script src="@Url.Content("~/Scripts/jquery.easyui.min.js")" type="text/javascript"></script>
|
|
<script src="@Url.Content("~/Scripts/jquery.easyui.plus.js")"></script>
|
|
<link href="~/Content/themes/blue/easyui.css" rel="stylesheet"/>
|
|
|
|
<link href="~/Content/Site.css" rel="stylesheet"/>
|
|
|
|
<script src="~/Scripts/op/home.js"></script>
|
|
|
|
@*@Styles.Render("~/Content/css")
|
|
@Scripts.Render("~/bundles/home")*@
|
|
<script type="text/javascript">
|
|
window.console = window.console || (function () {
|
|
var c = {}; c.log = c.warn = c.debug = c.info = c.error = c.time = c.dir = c.profile
|
|
= c.clear = c.exception = c.trace = c.assert = function () { };
|
|
return c;
|
|
})();
|
|
</script>
|
|
<script src="~/Scripts/jquery.tree.js"></script>
|
|
<link href="~/Content/tree/css/tree.css" rel="stylesheet" />
|
|
<link href="~/Content/MainMenu.css" rel="stylesheet" />
|
|
</head>
|
|
<body class="easyui-layout" style="margin:0; padding:0;">
|
|
@*<div id="OverTimeLogin" class="easyui-dialog" data-options="closed:true,modal:true">
|
|
<iframe width="726px" scrolling="no" height="497px" frameborder="0" id="iOverTimeLogin"></iframe>
|
|
</div>*@
|
|
@{
|
|
<input id="hidChooseId" type="hidden" value="@ViewBag.ChooseID" />
|
|
if (ViewBag.isLiteHeadParameter == "true" && ViewBag.IsLiteHead == "true")//IsLiteHead=true:为精简版
|
|
{
|
|
<div id="comtreenb" data-options="region:'west',split:true,title:' ',tools:'#lefttoptool',collapsible:true" style="width: 200px; height:100%; padding-top: 2px; background-color:#fff; overflow:auto">
|
|
<div ntype="treeGroup" id="RightTree@(ViewBag.ChooseID)" style=" background-color:#fff;">
|
|
<div class="panel-loading">加载中...</div>
|
|
</div>
|
|
</div>
|
|
<div id="lefttoptool">
|
|
@*@foreach (BAS_MODULEMENU model in ViewBag.MainMenu as List<BAS_MODULEMENU>)
|
|
{
|
|
<div nid="@(model.MODULEMENUID)" onclick="showModule(@(model.MODULEMENUID))" nclass="@(model.IMAGEURL.Replace(".png", "_min_toolHover"))" title="@(model.MNAME) " class="@(model.IMAGEURL.Replace(".png","_min")) toolBarClass"></div>
|
|
}*@
|
|
</div>
|
|
<div data-options="region:'south',border:false" style="height: 20px;">
|
|
<div class="define-bottom">
|
|
@@坐席精简版 <a href="/Home/Switchlayouts?IsLiteHead=false" title="切换成完整版布局">切换布局</a>
|
|
</div>
|
|
</div>
|
|
}
|
|
else
|
|
{
|
|
<div data-options="region:'north',border:false,split:true" style="height: 60px; overflow:hidden;margin:0;padding:0;">
|
|
<div class="define-head" style="padding:0; margin:0;">
|
|
<div class="define-logo">
|
|
<img src="~/Content/Images/@Html.Raw(System.Configuration.ConfigurationManager.AppSettings["main_logo"]!=null? System.Configuration.ConfigurationManager.AppSettings["main_logo"]:"BCCFLogo.png")" width="170" height="49" />
|
|
</div>
|
|
@*<div style=" width: 35px; height: 10px; border-left: 1px solid #1E71B1; float: left;"></div>*@
|
|
<div class="main-Menu" style="float:left;">
|
|
|
|
<ul id="topnav" style="float:left;margin:0;font-size:12px;padding-left:30px;">
|
|
@foreach (var model in ViewBag.MainMenu as List<Bas_ModuleMenuModel>)
|
|
{
|
|
<li class="list">
|
|
<a href="javascript:void(0);" nid="@(model.ModuleMenuId)" class='@(model.ModuleMenuId == ViewBag.ChooseID ? "onnav" : "")'>
|
|
<span class="nc" style="background-image:url('/Content/Images/Menu/@(model.ImageUrl)');"></span>
|
|
@(model.MName)
|
|
</a>
|
|
</li>
|
|
}
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="define-account" style="font-size:12px;">
|
|
欢迎您!@ViewBag.Name - @ViewBag.Eid | <a id="UserInfo" href="javascript:void(0)">密码修改</a> | @Html.ActionLink("注销", "LogOff", "Account")
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="comtreenb" data-options="region:'west',split:true,title:'@ViewBag.Title'" style="width: 200px; height:100%; padding-top: 2px; background-color:#fff; overflow:auto">
|
|
<div ntype="treeGroup" id="RightTree@(ViewBag.ChooseID)" style=" background-color:#fff;">
|
|
<div class="panel-loading">加载中...</div>
|
|
</div>
|
|
</div>
|
|
<div data-options="region:'south',border:false" style="height: 20px;">
|
|
<div class="define-bottom">
|
|
<div style="text-align:center">cic2tf.com 粤ICP备17129171号 </div>
|
|
@if (ViewBag.isLiteHeadParameter == "true")
|
|
{
|
|
<div> @@坐席完整版 <a href="/Home/Switchlayouts?IsLiteHead=true" title="切换成精简版布局">切换布局</a></div>
|
|
}
|
|
</div>
|
|
</div>
|
|
}
|
|
}
|
|
|
|
|
|
<div data-options="region:'center',border:false">
|
|
<div id="mainTab" class="easyui-tabs" data-options="fit:true">
|
|
@*<div title="我的桌面" style="overflow: hidden; background:#fff" data-options="closable:true">
|
|
<iframe id="ifMain" scrolling="auto" frameborder="0" src="" style="width: 100%; height: 100%;"></iframe>
|
|
</div>*@
|
|
</div>
|
|
</div>
|
|
<div id="tab_menu" class="easyui-menu" style="width: 150px;">
|
|
<div id="tab_menu-tabrefresh" data-options="iconCls:'icon-reload'">
|
|
刷新
|
|
</div>
|
|
<div id="tab_menu-openFrame">
|
|
在新的窗体打开
|
|
</div>
|
|
<div id="tab_menu-tabcloseall">
|
|
关闭所有
|
|
</div>
|
|
<div id="tab_menu-tabcloseother">
|
|
关闭其他标签页
|
|
</div>
|
|
<div class="menu-sep">
|
|
</div>
|
|
<div id="tab_menu-tabcloseright">
|
|
关闭右边
|
|
</div>
|
|
<div id="tab_menu-tabcloseleft">
|
|
关闭左边
|
|
</div>
|
|
<div id="tab_menu-tabclose" data-options="iconCls:'icon-remove'">
|
|
关闭
|
|
</div>
|
|
<div id="menu" class="easyui-menu" style="width: 150px;">
|
|
</div>
|
|
</div>
|
|
<div id="modalwindow"></div>
|
|
</body>
|
|
</html>
|
|
<script type="text/javascript">
|
|
function GetIframeHtml(src) {
|
|
return "<iframe width='100%' height='98%' scrolling='no' frameborder='0'' src='" + src + "'></iframe>";
|
|
}
|
|
|
|
$("#UserInfo").click(function () {
|
|
$("#modalwindow").html(GetIframeHtml("/Admin/InnerUser/ChangeUserIfo"));
|
|
$("#modalwindow")
|
|
.window({
|
|
title: '修改密码',
|
|
width: 700,
|
|
height: 400,
|
|
iconCls:
|
|
'icon-add'
|
|
})
|
|
.window('open');
|
|
//ChildAddTab("密码修改", "/Admin/InnerUser/ChangeUserIfo", "");
|
|
});
|
|
$(function () {
|
|
//$("#ifMain").attr("src", "Home/WelCome");
|
|
|
|
});
|
|
function SetTabsTitle(url, customername) {
|
|
var iframes = document.getElementsByTagName("iframe");
|
|
for (var i = 0; i < iframes.length; i++) {
|
|
if (url.indexOf(iframes[i].getAttribute("src")) > -1) {
|
|
var iframeIndex = $(iframes[i]).parent().parent().index();
|
|
var tabTitle = $("#mainTab .tabs-wrap .tabs li:eq(" + iframeIndex + ")").find(".tabs-closable");
|
|
if ($(tabTitle).html().indexOf(customername) == -1)
|
|
$(tabTitle).html(customername + "-" + $(tabTitle).html());
|
|
}
|
|
}
|
|
}
|
|
</script> |