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/Areas/MvcShipping/Views/Shared/SiteTest.Master

362 lines
19 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="SiteTest.Master.cs" Inherits="DSWeb.MvcShipping.Views.Shared.Site" %>
<!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">
<title></title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
<!-- ExtJS -->
<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" />
<link rel="stylesheet" type="text/css" href="../../../../Views/../TruckMng/Content/BoxSelect.css" />
<link rel="stylesheet" type="text/css" href="../../../../Views/../TruckMng/Scripts/extjs/ux/css/CheckHeader.css" />
<link rel="Stylesheet" type="text/css" href="../../../../Css/tabTitle.css" />
<link rel="Stylesheet" type="text/css" href="../../../../Css/hyperlink.css" />
<link href="../../../../Css/status.lay.css" type="text/css" rel="Stylesheet" />
<link href="../../../../Css/UserMainFormSet.css" rel="Stylesheet" type="text/css" />
<%-- <link rel="stylesheet" type="text/css" href="../../../../Areas/MvcShipping/Viewsjs/MsChFee/Comm.css" />--%>
<script type="text/javascript" src="../../../../Views/../TruckMng/Scripts/ext-all-debug.js"></script>
<script type="text/javascript" src="../../../../Views/../TruckMng/Scripts/extjs/ext-lang-zh_CN.js"></script>
<script type="text/javascript" src="../../../../Views/../TruckMng/Scripts/extjs/ux/RowExpander.js"></script>
<script type="text/javascript" src="../../../../Views/../TruckMng/Scripts/extjs/ux/CheckColumn.js"></script>
<%-- <script type="text/javascript" src="../../../../Views/../TruckMng/Scripts/ExtjsEx/exportexcel/export-all.js"></script>
<script type="text/javascript" src="../../../../Views/../TruckMng/Scripts/ExtjsEx/gridToExcel.js"></script>
--%>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/MonthField.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/DsExtjsEx.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/DsComm.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/PubFunction.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/BasicDataRefModel.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Cookie/Cookies.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Cookie/DsCookies.js"></script>
<script type="text/javascript" src="../../../../Areas/Import/Viewsjs/Comm/SaveGridPanel.js"></script>
<script type="text/javascript" src="../../../../Areas/CommMng/Viewsjs/Comm/BoxSelect.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsOpSeae/step.lay.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/TimePickerField.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/DateTimePicker.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/DateTimeField.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/DateTimeMenu.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/DsQuery.js"></script>
<script type="text/javascript">
Ext.Ajax.timeout = 120000;
var USERID;
function getSessgion1() {
USERID = '<%= Session["USERID"] %>';
}
getSessgion1();
var usercode;
function getSessgion2() {
usercode = '<%= Session["CODENAME"] %>';
}
getSessgion2();
var SHOWNAME;
function getSessgion3() {
SHOWNAME = '<%= Session["SHOWNAME"] %>';
}
getSessgion3();
var COMPANYID;
function getSessgion4() {
COMPANYID = '<%=Session["COMPANYID"] %>';
}
getSessgion4();
var DEPTNAME;
function getSessgion5() {
DEPTNAME = '<%= Session["DEPTNAME"] %>';
}
getSessgion5();
var LOCALCURR = GetCookie_LocalCurr();
Ext.grid.RowNumberer = Ext.extend(Ext.grid.RowNumberer, {
width: 40
});
Date.prototype.format = function (format) {
var o = {
"M+": this.getMonth() + 1, //month
"d+": this.getDate(), //day
"h+": this.getHours(), //hour
"m+": this.getMinutes(), //minute
"s+": this.getSeconds(), //second
"q+": Math.floor((this.getMonth() + 3) / 3), //quarter
"S": this.getMilliseconds() //millisecond
}
if (/(y+)/.test(format)) format = format.replace(RegExp.$1,
(this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o) if (new RegExp("(" + k + ")").test(format))
format = format.replace(RegExp.$1,
RegExp.$1.length == 1 ? o[k] :
("00" + o[k]).substr(("" + o[k]).length));
return format;
}
var xhr = new XMLHttpRequest();
var currdate = new Date();
if (!xhr) {
//...其他生成xmlhttprequest方法
}
xhr.open("HEAD", location.href, true);
xhr.onreadystatechange = function () {
if (xhr.readyState == 4 && xhr.status == 200) {
var datestr = xhr.getResponseHeader("Date");
currdate = new Date(datestr);
// alert(currdate.format('yyyy-MM-dd'));
}
}
xhr.send(null);
</script>
</head>
<body onbeforeunload=" checkLeave()">
<form id="form1" runat="server">
<div>
<asp:ContentPlaceHolder ID="MainContent" runat="server">
</asp:ContentPlaceHolder>
<div id="mask">&nbsp;</div>
<div id="layBg">
<div id="btnClose"><a href="javascript:fnClose();" class="popCloseLinkContent">×</a></div>
<div id="layTitleContain">
<div id="layTitle">提单状态跟踪——<span id="secTitle"></span></div>
<div id="laySearchContain">
<div id="laySearch">
<ul id="laySearchUL">
<li id="laySearchTextLI"><input type="text" id="txtSearch" name="txtSearch" value="(--请输入提单号--)" onblur="javascript:fnBlur();" onfocus="javascript:fnClearText();" onkeyup="keyboardEvent(event);" /></li>
<li id="laySearchBtnLI"><a href="javascript:fnSearch();"><img src="../../../../images/search.png" style="width:20px;height:20px;border:none;" /></a></li>
</ul>
</div>
</div>
</div>
<div id="layContain">
<div id="mainFlowHoverPoint">
<div id="mainFlowPointContain" class="mainFlowPointContain">
</div>
</div>
<div id="mainFlowHover">&nbsp;</div>
</div>
</div>
<div class="alertMask" id="alertMask">&nbsp;</div>
<div class="alertBg" id="alertBg">
<div class="alertTitle">
提示
<div class="alertClose"><a href="javascript:fnHideMsg();" class="alertCloseLinkContent">×</a></div>
</div>
<div class="alertContain"><p id="alertContent"></p></div>
<div class="alertFoot"><a href="javascript:fnHideMsg();" class="alertConfirmLinkContent">确定</a></div>
</div>
<div class="maskGroup" id="maskGroupLayContain">&nbsp;</div>
<div class="layGroupNameInputContain" id="layGroupNameInputContain">
<div class="layGroupName">请输入分组名称</div>
<div class="layGroupNameInput">
<input type="text" id="txtGroupNameInput" class="textInputGroupName" />
</div>
<div class="layGroupNameBtnContain">
<ul class="layGroupNameBtnUL">
<li class="layGroupNameNormalLI"><a href="javascript:fnInsertItemConfirm();" class="boardNavLinkContent">确定</a></li>
<li class="layGroupNameDivisionLI">&nbsp;</li>
<li class="layGroupNameNormalLI"><a href="javascript:fnInsertItemCancel();" class="boardNavLinkContent">取消</a></li>
</ul>
</div>
</div>
<div class="editMask" id="editMask">&nbsp;</div>
<div class="editBg" id="editBg">
<div class="editTitleContain">
<div class="editTitle">SQL查询</div>
<div class="editClose"><a href="javascript:fnHideSQLEditorAndSave();" class="boardTitleCloseLinkContent">×</a></div>
</div>
<div class="editContain"><textarea id="txtEdit" rows="5" cols="10" class="textEditInput" ></textarea></div>
<div class="editControlContain">
<div class="editControlTitle">
<ul class="editTitleUL">
<li class="editTitleLI">查询结果</li>
</ul>
</div>
<div class="editControlCommand">
<ul class="editCommandUL">
<li class="editNavContainLI">
<ul class="editNavUL">
<li class="editImgLI"><img src="../../../../images/setting/script_code.png" width="16" height="16" border="0" /></li>
<li class="editNavLI"><a href="javascript:fnTestSQLInquire();" class="editNavLinkContent">测试语句</a></li>
</ul>
</li>
<li class="editDivisionLI"><img src="../../../../images/setting/line02.gif" width="2" height="16" border="0" /></li>
<li class="editNavContainLI">
<ul class="editNavUL">
<li class="editImgLI"><img src="../../../../images/setting/script_save.png" width="16" height="16" border="0" /></li>
<li class="editNavLI"><a href="javascript:fnHideSQLEditorAndSave();" class="editNavLinkContent">保存查询</a></li>
</ul>
</li>
<li class="editDivisionLI"><img src="../../../../images/setting/line02.gif" width="2" height="16" border="0" /></li>
<li class="editNavContainLI">
<ul class="editNavUL">
<li class="editImgLI"><img src="../../../../images/setting/script_delete.png" width="16" height="16" border="0" /></li>
<li class="editNavLI"><a href="javascript:fnHideSQLEditor();" class="editNavLinkContent">取消查询</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="editListContain">
<div class="editListTitle" id="editListTitle">
<ul class="editListTitleUL" id="editListTitleUL">
</ul>
</div>
<div class="editListCollection" id="editListCollection">
<ul class="editListUL" id="editListUL">
</ul>
</div>
</div>
</div>
<div class="mask" id="maskLayContain">&nbsp;</div>
<div class="layContain" id="componantLayContain">
<div class="layTitleContain">
<div class="layTitle" id="componantLayTitle">&nbsp;</div>
<div class="layClose"><a href="javascript:fnConfirm();" class="boardTitleCloseLinkContent">×</a></div>
</div>
<div class="layPositionContain" id="layPositionContain">
<ul class="layPositionUL">
<li class="layPositionTitleLI">左边距</li>
<li class="layPositionTextLI"><input type="text" id="txtLeft" class="textInput" /></li>
<li class="layPositionTitleLI">上边距</li>
<li class="layPositionTextLI"><input type="text" id="txtTop" class="textInput" /></li>
<li class="layPositionTitleLI">宽</li>
<li class="layPositionTextLI"><input type="text" id="txtWidth" class="textInput" /></li>
<li class="layPositionTitleLI">高</li>
<li class="layPositionTextLI"><input type="text" id="txtHeight" class="textInput" /></li>
</ul>
<ul class="layPositionUL">
<li class="layPositionTitleLI">页面地址</li>
<li class="layPositionTextLongLI"><input type="text" id="txtURL" class="textInputLong" readonly="readonly" /></li>
</ul>
</div>
<div class="layTempletGroup" id="layTempletContain">
<div class="layTempletContain">
<div class="layTempletTitle">模板</div>
<div class="layTempletImagesContain">
<ul class="layTempletUL" id="layTempletUL">
</ul>
</div>
</div>
<div class="layTempletUserContain">
<div class="layTempletUserTitle">选择用户</div>
<div class="layTempletUserCollection">
<ul class="layTempletUserUL" style="height:25px;">
<li class="layTempletUserLI">
<div class="templetUserCheck"><input type="checkbox" id="chkAll" name="chkAll" class="chkUserStyle" onclick="fnCheckUser();" /></div>
<div class="templetUserName">全选</div>
</li>
</ul>
<ul class="layTempletUserUL" id="layTempletUserUL" style="height:183px;">
</ul>
</div>
</div>
</div>
<div class="layBtnContain" id="layBtnContain">
<ul class="layBtnUL">
<li class="layNormalLI"><a href="javascript:fnConfirm();" class="boardNavLinkContent">确定</a></li>
<li class="layDivisionLI">&nbsp;</li>
<li class="layNormalLI"><a href="javascript:fnCancel();" class="boardNavLinkContent">取消</a></li>
<li class="layDivisionLI">&nbsp;</li>
<li class="layDetailLI"><a href="javascript:fnDetail();" class="boardNavLinkContent">设置明细项目</a></li>
</ul>
</div>
<div class="layMenuContain" id="layMenuContain">
<div class="layReturn"><a href="javascript:fnReturn();" class="boardNavLinkContent">[返回]</a></div>
<ul class="layMenuUL">
<li class="layMenuGroupLI">
<ul class="layMenuChildUL">
<li class="layMenuChildImgLI"><img src="../../../../images/setting/itemAdd.png" width="22" height="22" border="0" /></li>
<li class="layMenuChildNavLI"><a href="javascript:fnInsertItem();" class="boardNavLinkContent">添加分组</a></li>
</ul>
</li>
<li class="layMenuDivLI"><img src="../../../../images/setting/line01.png" width="2" height="22" border="0" /></li>
<li class="layMenuGroupLI" style="display:none;">
<ul class="layMenuChildUL">
<li class="layMenuChildImgLI"><img src="../../../../images/setting/item.png" width="22" height="22" border="0" /></li>
<li class="layMenuChildNavLI"><a href="javascript:void();" class="boardNavLinkContent">修改分组</a></li>
</ul>
</li>
<li class="layMenuDivLI" style="display:none;"><img src="../../../../images/setting/line01.png" width="2" height="22" border="0" /></li>
<li class="layMenuGroupLI">
<ul class="layMenuChildUL">
<li class="layMenuChildImgLI"><img src="../../../../images/setting/itemDelete.png" width="22" height="22" border="0" /></li>
<li class="layMenuChildNavLI"><a href="javascript:fnDeleteItem();" class="boardNavLinkContent">删除分组</a></li>
</ul>
</li>
<li class="layMenuDivLI"><img src="../../../../images/setting/line01.png" width="2" height="22" border="0" /></li>
<li class="layMenuGroupLI">
<ul class="layMenuChildUL">
<li class="layMenuChildImgLI"><img src="../../../../images/setting/linkAdd.png" width="22" height="22" border="0" /></li>
<li class="layMenuChildNavLI"><a href="javascript:fnInsertLink();" class="boardNavLinkContent">添加链接</a></li>
</ul>
</li>
<li class="layMenuDivLI"><img src="../../../../images/setting/line01.png" width="2" height="22" border="0" /></li>
<li class="layMenuGroupLI">
<ul class="layMenuChildUL">
<li class="layMenuChildImgLI"><img src="../../../../images/setting/linkDelete.png" width="22" height="22" border="0" /></li>
<li class="layMenuChildNavLI"><a href="javascript:fnDeleteLink();" class="boardNavLinkContent">删除链接</a></li>
</ul>
</li>
<li class="layMenuDivLI"><img src="../../../../images/setting/line01.png" width="2" height="22" border="0" /></li>
<li class="layMenuGroupLI">
<ul class="layMenuChildUL">
<li class="layMenuChildImgLI"><img src="../../../../images/setting/save.png" width="22" height="22" border="0" /></li>
<li class="layMenuChildNavLI"><a href="javascript:fnSaveLinks();" class="boardNavLinkContent">保存链接</a></li>
</ul>
</li>
</ul>
</div>
<div class="layGroupContain" id="layGroupContain">
<div class="layGroupItem">
<ul class="layGroupItemUL" id="layGroupItemUL">
</ul>
</div>
<div class="layGroupList">
<div class="layGroupListHead">
<ul class="layGroupListHeadUL">
<li class="layGroupListHeadChkbox"><input type="checkbox" id="chkLinkAll" class="chkInputTab" /></li>
<li class="layGroupListHeadShortLI">显示名称</li>
<li class="layGroupListHeadShortLI">链接地址</li>
<li class="layGroupListHeadLongLI">查询语句</li>
</ul>
</div>
<div id="layGroupList">
</div>
</div>
</div>
</div>
</div>
</form>
<script type="text/javascript">
function checkLeave() {
try {
var saved = this.getSaved();
if (saved != '') {
event.returnValue = "注意:" + saved + "未保存,如果离开此页,将丢失未保存的更改 ";
}
}
catch (e) {
}
}
</script>
</body>
</html>