|
|
|
|
<%@ 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="../../../../Views/../TruckMng/Scripts/extjs/resources/css/ext-all.css" />
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../../../Views/../TruckMng/Content/Icon.css" />
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../../../Views/../TruckMng/Content/Comm.css" />
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Cookie/Cookies.js"></script>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="../../../../Views/../TruckMng/Scripts/extjs/ext-all.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../../../../Views/../TruckMng/Scripts/extjs/ext-lang-zh_CN.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<%-- <link rel="stylesheet" type="text/css" href="../../../../Views/../TruckMng/Scripts/extjs/resources/css/sink.css" />--%>
|
|
|
|
|
|
|
|
|
|
<!--消息提醒-->
|
|
|
|
|
<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">
|
|
|
|
|
|
|
|
|
|
var SHOWNAME;
|
|
|
|
|
function getSessgion3() {
|
|
|
|
|
SHOWNAME = '<%= Session["SHOWNAME"] %>';
|
|
|
|
|
}
|
|
|
|
|
getSessgion3()
|
|
|
|
|
var COMPANYNAME;
|
|
|
|
|
function getSessgion4() {
|
|
|
|
|
COMPANYNAME = '<%= Session["COMPANYNAME"] %>';
|
|
|
|
|
}
|
|
|
|
|
getSessgion4()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/BasicDataRefModel.js"></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() {
|
|
|
|
|
var _iframe = document.getElementById('mainIframe').contentWindow;
|
|
|
|
|
var _div = _iframe.document.getElementById('hidAlowSetting');
|
|
|
|
|
//_div.style.backgroundColor = '#ccc';
|
|
|
|
|
_div.value = "1";
|
|
|
|
|
document.getElementById("btnSetting").style.display = "none";
|
|
|
|
|
document.getElementById("btnClose").style.display = "block";
|
|
|
|
|
}
|
|
|
|
|
function fnCloseSetting() {
|
|
|
|
|
var _iframe = document.getElementById('mainIframe').contentWindow;
|
|
|
|
|
var _div = _iframe.document.getElementById('hidAlowSetting');
|
|
|
|
|
//_div.style.backgroundColor = '#ccc';
|
|
|
|
|
_div.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 obj = MainCenter.queryById('pnl' + modname);
|
|
|
|
|
if (obj != null)
|
|
|
|
|
MainCenter.remove(obj);
|
|
|
|
|
//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.remove(obj);
|
|
|
|
|
// //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();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function GetPubStore(STORENAME) {
|
|
|
|
|
return panelEdit.GetPubStore(STORENAME);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function IsMainForm() {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function onClicktree(module) {
|
|
|
|
|
panelEdit.clicktree(module);
|
|
|
|
|
}
|
|
|
|
|
</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">
|
|
|
|
|
|
|
|
|
|
function getSessgionMsg() {
|
|
|
|
|
var WORKFLOWMSG='<%= Session["WORKFLOWMSG"] %>';; //zh-cn-中文,en-us-英文
|
|
|
|
|
if (WORKFLOWMSG == "1") {
|
|
|
|
|
document.write('<script type=\"text/javascript\" src=\"../../../../Areas/SoftMng/Content/signalR-2.2.0/js/MessageBox.js\"></sc' + 'ript>');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
getSessgionMsg();
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<%--<script type="text/javascript" src="/Areas/SoftMng/Content/signalR-2.2.0/js/MessageBox.js"></script>--%>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|