414 lines
15 KiB
Plaintext
414 lines
15 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="indexShiYe.aspx.cs" Inherits="FineUIPro.Web.indexShiYe" %>
|
|
|
|
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head runat="server">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="initial-scale=scale,maximum-scale=scale,minimum-scale=scale,user-scalable=no" />
|
|
<title>智慧施工管理信息系统</title>
|
|
<link rel="shortcut icon" type="image/x-icon" href="~/favicon.ico" />
|
|
<%--
|
|
<link rel="stylesheet" href="~/res/indexv1/iconfont/iconfont.css" />
|
|
<link rel="stylesheet" href="~/res/indexv1/css/index1.css" />
|
|
<link type="text/css" rel="stylesheet" href="~/res/css/default.css" />
|
|
<link href="res/index/css/home.css" rel="stylesheet" />--%>
|
|
|
|
<link href="~/res/indexv3/assets/iconfont/iconfont.css" rel="stylesheet" />
|
|
<link href="~/res/indexv3/assets/css/video-7.15.0.min.css" rel="stylesheet" />
|
|
<link href="~/res/indexv3/assets/css/index7.css" rel="stylesheet" />
|
|
|
|
<style type="text/css">
|
|
html {
|
|
min-height: auto;
|
|
}
|
|
|
|
.sd-index1-body {
|
|
|
|
}
|
|
|
|
.f-widget-content {
|
|
border: none;
|
|
background: none;
|
|
}
|
|
</style>
|
|
<style type="text/css">
|
|
.f-tabstrip-header-clip {
|
|
width: 100%;
|
|
height: 35px;
|
|
}
|
|
|
|
.up-wrap {
|
|
height: 55px;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.item-s {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.f-btn .f-btn-text {
|
|
vertical-align: baseline !important;
|
|
}
|
|
|
|
.f-state-hover {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.bgbtn {
|
|
width: 100%;
|
|
border: none !important;
|
|
background-color: transparent !important;
|
|
padding: 0 !important;
|
|
line-height: 1;
|
|
}
|
|
|
|
.activeClick {
|
|
font-weight: 800;
|
|
color: white !important;
|
|
}
|
|
|
|
.bgbtn .x-frame-ml, .bgbtn .x-frame-mc, .bgbtn .x-frame-mr,
|
|
.bgbtn .x-frame-tl, .bgbtn .x-frame-tc, .bgbtn .x-frame-tr,
|
|
.bgbtn .x-frame-bl, .bgbtn .x-frame-bc, .bgbtn .x-frame-br,
|
|
.bgbtn a:visited, .bgbtn .f-state-focus {
|
|
background-image: none;
|
|
background-color: transparent;
|
|
}
|
|
|
|
.f-state-default, .f-widget-content .f-state-default, .f-widget-header .f-state-default {
|
|
background-image: none;
|
|
background-color: transparent;
|
|
}
|
|
|
|
.header .layui-nav {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.bgbtntop.f-btn.f-state-default .f-icon, .bgbtntop.f-btn.f-state-hover .f-icon, .bgbtntop.f-btn.f-state-focus .f-icon, .bgbtntop.f-btn.f-state-active .f-icon {
|
|
color: #37a6ff;
|
|
}
|
|
|
|
.activeClick .f-icon {
|
|
color: white !important;
|
|
}
|
|
.f-panel-title-text{
|
|
color: #1ab1ff;
|
|
}
|
|
.f-panel, .f-widget-header, .f-tree-headerstyle .f-panel-body {
|
|
background-color:rgb(14,17,60);
|
|
/* color: #fff;*/
|
|
border: none !important;
|
|
font-size: 14px !important;
|
|
height: 35px;
|
|
}
|
|
.f-menu-item-text, .f-tree-cell-text, .f-widget-content a, .f-qtip-content {
|
|
color: #1ab1ff;
|
|
}
|
|
|
|
.f-state-hover.f-tree-node a {
|
|
color: #37a6ff;
|
|
}
|
|
.f-corner-all {
|
|
background-color: #dfe4f1;
|
|
}
|
|
|
|
.f-state-hover.f-tree-node a {
|
|
color: #37a6ff;
|
|
}
|
|
|
|
.f-state-default, .f-widget-content .f-state-default, .f-widget-header .f-state-default {
|
|
border-color: transparent;
|
|
}
|
|
.f-tree-table .f-state-active, .f-widget-content .f-state-active, .f-widget-header .f-state-active{
|
|
background:#247ba8;
|
|
|
|
}
|
|
.bgbtn2 {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
}
|
|
|
|
.f-tabstrip-align-left .f-tab-header.f-first {
|
|
/*background-color: #dfe4f1;
|
|
color: #333;*/
|
|
border: none !important;
|
|
}
|
|
|
|
.top-li-item {
|
|
position: relative;
|
|
}
|
|
|
|
.top-li-item .f-btn-inner {
|
|
display: none;
|
|
}
|
|
|
|
.sd-header .sd-header-top .sd-header-top-right ul li span:nth-child(2n) {
|
|
margin-right: 0;
|
|
float: left;
|
|
height: 40px;
|
|
flex: 1;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
#Panel1_leftPanel_treeMenu .f-state-hover .f-icon {
|
|
color: #fff !important;
|
|
}
|
|
|
|
#Panel1_leftPanel_treeMenu .f-state-hover {
|
|
background: #99e7ff !important;
|
|
}
|
|
.f-corner-all{
|
|
background: none;
|
|
font-size: .0625rem;
|
|
color: #1AB1FF
|
|
}
|
|
.f-state-focus, .f-widget-content .f-state-focus, .f-widget-header .f-state-focus{
|
|
background:none;
|
|
}
|
|
.wrap >.f-corner-all{
|
|
border: 1px solid #f2f2f2;
|
|
background: #131640e0;
|
|
z-index: 9999;
|
|
}
|
|
.wrap >.f-corner-all>.f-state-hover{
|
|
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="wrap">
|
|
<form id="form1" runat="server">
|
|
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server"></f:PageManager>
|
|
<f:Panel ID="Panel1" Layout="Region" ShowBorder="false" ShowHeader="false" runat="server">
|
|
<Items>
|
|
<f:ContentPanel ID="topPanel" CssClass="topregion" RegionPosition="Top" ShowBorder="false" ShowHeader="false" EnableCollapse="true" runat="server">
|
|
<%--头部 开始--%>
|
|
<f:ContentPanel ID="ContentPanel1" CssClass="bodyregion" ShowBorder="false" ShowHeader="false" runat="server">
|
|
<div class="sd-index1-body">
|
|
<div class="sd-header">
|
|
<div class="sd-header-top">
|
|
<div class="sd-header-top-left">
|
|
|
|
<div class="sd-location-time"><span id="spDate" runat="server"></span></div>
|
|
</div>
|
|
<div class="sd-header-top-right">
|
|
|
|
</div>
|
|
<%--<div class="sd-header-top-right">
|
|
<ul>
|
|
|
|
<li class="top-li-item">
|
|
<f:Button runat="server" CssClass="bgbtntop" Text="刷新" ToolTip="刷新菜单" IconFont="Retweet" OnClick="btnRetweet_Click"
|
|
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnRetweet" >
|
|
</f:Button>
|
|
</li>
|
|
</ul>
|
|
</div>--%>
|
|
</div>
|
|
<div class="sd-header-title js-hiddenTab-item">
|
|
<span id="spTitle">安全生产数字看板</span> <f:Button runat="server" CssClass="bgbtn2" EnablePostBack="true" OnClick="btnHome_Click"
|
|
EnableDefaultState="true" EnableDefaultCorner="false" ID="btnHome" >
|
|
</f:Button>
|
|
</div>
|
|
<div class="sd-header-bottom" runat="server" visible="true">
|
|
<ul class="sd-header-bottom-menu">
|
|
|
|
|
|
</ul>
|
|
<ul class="sd-header-bottom-menu">
|
|
|
|
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</f:ContentPanel>
|
|
<%--头部 结束--%>
|
|
</f:ContentPanel>
|
|
|
|
<f:TabStrip ID="mainTabStrip" CssClass="centerregion" RegionPosition="Center" ShowTabHeader="false"
|
|
ShowBorder="true" EnableTabCloseMenu="true" runat="server">
|
|
<Tabs>
|
|
<%--.f-tabstrip-noheader>.f-panel-header--%>
|
|
<f:Tab ID="Tab1"
|
|
EnableIFrame="true" IFrameUrl="~/common/mainProjectSY.aspx" runat="server">
|
|
</f:Tab>
|
|
</Tabs>
|
|
<Tools>
|
|
<f:Tool runat="server" EnablePostBack="false" IconFont="Refresh" MarginRight="5" CssClass="tabtool" ToolTip="刷新本页" ID="toolRefresh">
|
|
|
|
</f:Tool>
|
|
<f:Tool runat="server" EnablePostBack="false" IconFont="Share" MarginRight="5" CssClass="tabtool" ToolTip="在新标签页中打开" ID="toolNewWindow">
|
|
|
|
</f:Tool>
|
|
<f:Tool runat="server" EnablePostBack="false" IconFont="Expand" CssClass="tabtool" ToolTip="最大化" ID="toolMaximize" Hidden="true">
|
|
<Listeners>
|
|
<f:Listener Event="click" Handler="onToolMaximizeClick" />
|
|
</Listeners>
|
|
</f:Tool>
|
|
<f:Tool runat="server" EnablePostBack="false" IconFont="SignOut" Hidden="true"
|
|
CssClass="tabtool" ToolTip="注销" ID="toolSignOut">
|
|
<Listeners>
|
|
<f:Listener Event="click" Handler="onToolSignOutClick" />
|
|
</Listeners>
|
|
</f:Tool>
|
|
</Tools>
|
|
</f:TabStrip>
|
|
</Items>
|
|
</f:Panel>
|
|
<f:Window ID="windowCustomQuery" Title="自定义查询" Hidden="true" EnableIFrame="true" IFrameUrl="./SysManage/CustomQuery.aspx" ClearIFrameAfterClose="false"
|
|
runat="server" IsModal="true" Width="1200px" Height="620px" EnableClose="true"
|
|
EnableMaximize="true" EnableResize="false">
|
|
</f:Window>
|
|
<asp:XmlDataSource ID="XmlDataSource1" runat="server" EnableCaching="false"></asp:XmlDataSource>
|
|
</form>
|
|
<script type="text/javascript">
|
|
var toolRefreshClientID = '<%= toolRefresh.ClientID %>';
|
|
var toolNewWindowClientID = '<%= toolNewWindow.ClientID %>';
|
|
var windowCustomQueryClientID = '<%= windowCustomQuery.ClientID %>';
|
|
var topPanelClientID = '<%= topPanel.ClientID %>';
|
|
|
|
var tab1ClientID = '<%= Tab1.ClientID %>';
|
|
|
|
function onSearchTrigger1Click(event) {
|
|
F.removeCookie('SearchText_Pro');
|
|
top.window.location.reload();
|
|
}
|
|
|
|
function onSearchTrigger2Click(event) {
|
|
F.cookie('SearchText_Pro', this.getValue(), {
|
|
expires: 100 // 单位:天
|
|
});
|
|
top.window.location.reload();
|
|
}
|
|
|
|
|
|
|
|
|
|
// 点击标题栏工具图标 - 注销
|
|
function onToolSignOutClick(event) {
|
|
var bConfirmed = confirm('您确定要退出吗?');
|
|
if (bConfirmed) { window.open('login.aspx', '_top'); }
|
|
}
|
|
|
|
// 点击标题栏工具图标 - 最大化
|
|
function onToolMaximizeClick(event) {
|
|
var topPanel = F(topPanelClientID);
|
|
|
|
|
|
var currentTool = this;
|
|
if (currentTool.iconFont.indexOf('expand') >= 0) {
|
|
topPanel.collapse();
|
|
currentTool.setIconFont('compress');
|
|
|
|
collapseLeftPanel();
|
|
} else {
|
|
topPanel.expand();
|
|
currentTool.setIconFont('expand');
|
|
|
|
expandLeftPanel();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 通知框
|
|
function notify(msg) {
|
|
F.notify({
|
|
message: msg,
|
|
messageIcon: 'information',
|
|
target: '_top',
|
|
header: false,
|
|
displayMilliseconds: 3 * 1000,
|
|
positionX: 'center',
|
|
positionY: 'center'
|
|
});
|
|
}
|
|
|
|
// 点击菜单样式
|
|
function onMenuStyleCheckChange(event, item, checked) {
|
|
var menuStyle = item.getAttr('data-tag');
|
|
F.cookie('MenuStyle_Pro', menuStyle, {
|
|
expires: 100 // 单位:天
|
|
});
|
|
top.window.location.reload();
|
|
}
|
|
|
|
// 点击显示模式
|
|
function onMenuModeCheckChange(event, item, checked) {
|
|
var menuMode = item.getAttr('data-tag');
|
|
|
|
F.cookie('MenuMode_Pro', menuMode, {
|
|
expires: 100 // 单位:天
|
|
});
|
|
top.window.location.reload();
|
|
}
|
|
|
|
// 点击语言
|
|
function onMenuLangCheckChange(event, item, checked) {
|
|
var lang = item.getAttr('data-tag');
|
|
F.cookie('Language_Pro', lang, {
|
|
expires: 100 // 单位:天
|
|
});
|
|
top.window.location.reload();
|
|
}
|
|
|
|
///个人信息
|
|
function onUserProfileClick() {
|
|
var windowUserProfile = F(windowUserProfileClientID);
|
|
windowUserProfile.show();
|
|
}
|
|
function setTitle(title) {
|
|
$("#spTitle").html(title);
|
|
}
|
|
F.ready(function () {
|
|
//点头部菜单,显示标签“首页”
|
|
$(".sd-header-bottom li").click(function () {
|
|
var $item = $('.f-tabstrip-header')
|
|
// $item.attr('style', ";display:block !important;")
|
|
});
|
|
|
|
$(".js-showTab-item").click(function () {
|
|
var $item = $('.f-tabstrip-header')
|
|
// $item.attr('style', ";display:block !important;")
|
|
});
|
|
|
|
$(".js-hiddenTab-item").click(function () {
|
|
var $item = $('.f-tabstrip-header')
|
|
$item.attr('style', ";display:none !important;")
|
|
$(".bgbtn,.bgbtntop").removeClass("activeClick")
|
|
});
|
|
|
|
|
|
$(".bgbtn,.bgbtntop").click(function () {
|
|
// 切换下tab样式
|
|
var $this = $(this)
|
|
if (!$this.hasClass('activeClick')) {
|
|
if ($this.hasClass('bgbtn')) {
|
|
$(".bgbtn").removeClass('activeClick')
|
|
} else {
|
|
$(".bgbtntop").removeClass('activeClick')
|
|
}
|
|
$this.addClass('activeClick')
|
|
}
|
|
});
|
|
|
|
|
|
});
|
|
</script>
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|