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.
DS7/DSWeb/Default.aspx

184 lines
8.1 KiB
Plaintext

2 years ago
<%@ 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()
1 year ago
function getSessgion6() {
strLANGUAGES = '<%= Session["LANGUAGES"] %>'; //zh-cn-中文en-us英文
if (strLANGUAGES == "en-us") {
document.write('<script type=\"text/javascript\" src=\"../../../../Areas/MvcShipping/Viewsjs/MainForm/Zi_en-us.js\"></sc' + 'ript>');
} else {
document.write('<script type=\"text/javascript\" src=\"../../../../Areas/MvcShipping/Viewsjs/MainForm/Zi_zh-cn.js\"></sc' + 'ript>');
}
}
getSessgion6();
2 years ago
</script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/BasicDataRefModel.js"></script>
9 months ago
<script type="text/javascript" src="../../../../Areas/CommMng/Viewsjs/Comm/DsExtjsEx.js"></script>
2 years ago
<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;
4 months ago
var tmpurl = url;
if (tmpurl.indexOf('?') > 0) tmpurl = tmpurl.substring(0, tmpurl.indexOf('?'));
2 years ago
var finded = false;
4 months ago
var isenable = false;
var storeModuleEnable = MainCenter.ownerCt.PubStore_storeModuleEnable;
if (storeModuleEnable.getCount() > 0) {
for (var j = 0; j < storeModuleEnable.getCount(); j += 1) {
var member = storeModuleEnable.getAt(j);
if (member.data.MODULEURL == tmpurl) {
isenable = true;
var obj = MainCenter.queryById('pnl' + modname);
if (obj != null)
MainCenter.remove(obj);
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();
}
}
};
}
if (!isenable) {
Ext.Msg.show({ title: '提示', msg: '没有此模块权限!', icon: Ext.Msg.INFO, buttons: Ext.Msg.OK });
return;
2 years ago
}
4 months ago
2 years ago
}
function GetPubStore(STORENAME) {
return panelEdit.GetPubStore(STORENAME);
}
function IsMainForm() {
return true;
}
</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>