You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
107 lines
5.2 KiB
Plaintext
107 lines
5.2 KiB
Plaintext
<%@ Page Title="" Language="C#" CodeBehind="Default.aspx.cs" Inherits="DSWeb._Default" %>
|
|
<!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="Head2" runat="server">
|
|
<title>东胜物流信息管理系统</title>
|
|
<!-- ExtJS -->
|
|
|
|
<link rel="shortcut icon" href="TruckMng/Content/Images/ds.png" type="image/x-icon" />
|
|
<link rel="stylesheet" type="text/css" href="/TruckMng/Scripts/extjs/resources/css/ext-all.css" />
|
|
<link rel="stylesheet" type="text/css" href="/TruckMng/Content/Icon.css" />
|
|
<link rel="stylesheet" type="text/css" href="/TruckMng/Content/Comm.css" />
|
|
<script type="text/javascript" src="/TruckMng/Scripts/extjs/ext-all.js"></script>
|
|
<script type="text/javascript" src="/TruckMng/Scripts/extjs/ext-lang-zh_CN.js"></script>
|
|
<!--消息提醒-->
|
|
<link type="text/css" href="/Areas/SoftMng/Content/bootstrap-4.1.1-dist/css/bootstrap.min.css" rel="stylesheet" />
|
|
<link href="/Areas/SoftMng/Content/signalR-2.2.0/css/Chat.css" rel="stylesheet" />
|
|
<link href="/Areas/SoftMng/Content/signalR-2.2.0/css/main.css" rel="stylesheet" />
|
|
<link type="text/css" href="/Areas/SoftMng/Content/font-awesome-3.2.1/css/font-awesome.min.css" rel="stylesheet" />
|
|
<link type="text/css" href="/Areas/SoftMng/Content/common-css/site.css" rel="stylesheet" />
|
|
<style type="text/css">
|
|
.message-box-div button {
|
|
padding: .60rem .65rem;
|
|
}
|
|
</style>
|
|
|
|
<script type="text/javascript">
|
|
var SHOWNAME = '<%=Session["SHOWNAME"]%>';
|
|
var COMPANYNAME = '<%=Session["COMPANYNAME"]%>';
|
|
</script>
|
|
<script type="text/javascript" src="/Areas/MvcShipping/Viewsjs/MainForm/MainForm.js"></script>
|
|
<script type="text/javascript" src="/Areas/MvcShipping/Viewsjs/MainForm/Main.js"></script>
|
|
|
|
<script type="text/javascript" src="/Areas/SoftMng/Content/jquery-3.3.1-dist/js/jquery-3.3.1.min.js"></script>
|
|
<script type="text/javascript" src="/Areas/SoftMng/Content/layer-v3.1.1/layer/layer.js"></script>
|
|
<script type="text/javascript" src="/Areas/SoftMng/Content/jquery-3.3.1-dist/extensions/jquery-migrate-3.0.0.js"></script>
|
|
<script type="text/javascript" src="/Areas/SoftMng/Content/signalR-2.2.0/js/jquery.signalR-2.2.0.min.js"></script>
|
|
<script type="text/javascript" src="/Areas/SoftMng/Content/common-js/common.js"></script>
|
|
<script type="text/javascript">
|
|
function fnSetting() {
|
|
document.getElementById('mainIframe').contentWindow.document.getElementById('hidAlowSetting').value = "1";
|
|
document.getElementById("btnSetting").style.display = "none";
|
|
document.getElementById("btnClose").style.display = "block";
|
|
}
|
|
function fnCloseSetting() {
|
|
document.getElementById('mainIframe').contentWindow.document.getElementById('hidAlowSetting').value = "0";
|
|
document.getElementById("btnClose").style.display = "none";
|
|
document.getElementById("btnSetting").style.display = "block";
|
|
}
|
|
|
|
window.AddTab = function (modname, url, cname) {
|
|
var MainCenter = Ext.getCmp("MainCenter");
|
|
if (url == '#') return;
|
|
var finded = false;
|
|
var children = MainCenter.items;
|
|
if (children) {
|
|
for (var i = 0, len = children.length; i < len; i++) {
|
|
if (children.items[i].id) {
|
|
if (children.items[i].id == 'pnl' + modname) {
|
|
MainCenter.setActiveTab(i);
|
|
finded = true;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
if (finded == false) {
|
|
var paneltabitems = new Ext.Panel({
|
|
id: 'pnl' + modname,
|
|
layout: "fit",
|
|
region: "center",
|
|
autoScroll: true,
|
|
frame: false,
|
|
closable: true,
|
|
bodyStyle: {
|
|
// background: 'rgba(0, 0, 0, 1) none repeat scroll 0 0 !important'
|
|
},
|
|
title: cname,
|
|
html: ' <iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="' + url + '"> </iframe>'
|
|
});
|
|
MainCenter.add(paneltabitems);
|
|
MainCenter.setActiveTab(paneltabitems);
|
|
MainCenter.doLayout();
|
|
}
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="viewport" ><span>数据加载中...</span></div>
|
|
<script type="text/javascript">
|
|
//用户编码
|
|
var userid = "<%=Session["USERID"]%>";
|
|
//用户名
|
|
var username = "<%=Session["SHOWNAME"]%>";
|
|
//用户头像
|
|
var userface = "/Areas/SoftMng/Content/signalR-2.2.0/css/images/001.jpg";
|
|
//好友头像
|
|
var friendface = "/Areas/SoftMng/Content/signalR-2.2.0/css/images/002.jpg";
|
|
</script>
|
|
<!--通用模块处理 by zxb-->
|
|
<%-- ReSharper disable once Html.PathError --%>
|
|
<script type="text/javascript" src="/signalr/hubs"></script>
|
|
<script type="text/javascript" src="/Areas/SoftMng/Content/signalR-2.2.0/js/MessageBox.js"></script>
|
|
<%--<script type="text/javascript" src="/Areas/SoftMng/Content/signalR-2.2.0/js/Chat.js"></script>--%>
|
|
</body>
|
|
</html>
|