菜单调整
This commit is contained in:
@@ -10,17 +10,213 @@
|
||||
<%-- <link type="text/css" rel="stylesheet" href="~/res/css/default.css" />
|
||||
<link rel="stylesheet" href="~/res/indexv1/iconfont/iconfont.css" />
|
||||
<link rel="stylesheet" href="~/res/indexv1/css/index2.css" />--%>
|
||||
<link rel="stylesheet" href="~/res/indexv2/assets/iconfont/iconfont.css" />
|
||||
<link href="~/res/indexv2/assets/iconfont/iconfont.css" rel="stylesheet" />
|
||||
<link href="~/res/indexv2/assets/css/video-7.15.0.min.css" rel="stylesheet" />
|
||||
<link href="~/res/indexv2/assets/css/index6.css" rel="stylesheet" />
|
||||
<link href="~/res/indexv2/assets/css/index7.css" rel="stylesheet" />
|
||||
<link href="~/res/indexv2/assets/css/swiper.min.css" rel="stylesheet" />
|
||||
|
||||
<style type="text/css">
|
||||
html {
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
.sd-index1-body {
|
||||
}
|
||||
|
||||
.f-widget-content {
|
||||
border: none;
|
||||
background: none;
|
||||
}
|
||||
|
||||
body > .f-panel-border, body > .f-panel-border > div {
|
||||
background: #ffffff;
|
||||
}
|
||||
</style>
|
||||
<style type="text/css">
|
||||
.f-tabstrip-header-clip {
|
||||
width: 100%;
|
||||
height: 35px;
|
||||
}
|
||||
|
||||
/* #fineui_6 {
|
||||
.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-messagebox-notify {
|
||||
background-color: #ffffff !important;
|
||||
}
|
||||
|
||||
.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: #0E113C;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
#Panel1_leftPanel_treeMenu .f-state-hover .f-icon {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
#Panel1_leftPanel_treeMenu .f-state-hover {
|
||||
background: #99e7ff !important;
|
||||
}
|
||||
|
||||
.sd-header-absolunt-top {
|
||||
top: 10% !important;
|
||||
font-size: 0.14rem !important;
|
||||
}
|
||||
|
||||
.sd-header-absolunt-bottom {
|
||||
top: 0.20292rem !important;
|
||||
font-size: 0.1rem !important;
|
||||
}
|
||||
|
||||
.projcet-select {
|
||||
float: left;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.projcet-select .f-state-focus,
|
||||
.projcet-select .f-widget-content .f-state-focus,
|
||||
.projcet-select .f-widget-header .f-state-focus {
|
||||
/*background-color: #107f8b !important;*/
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.f-field-dropdownlist-wrap .f-field-textbox {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.f-field-dropdownlist, .f-field-dropdownlist-pop {
|
||||
background-color: #0E113C;
|
||||
color: #1AB1FF !important;
|
||||
/*color: #1ab1ff;*/
|
||||
}
|
||||
|
||||
.f-field-dropdownlist-wrap .f-field-textbox {
|
||||
/*width:auto;*/
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.f-grid-row-alt {
|
||||
background-color: #0d225f;
|
||||
}
|
||||
</style>
|
||||
<style type="text/css">
|
||||
.f-tabstrip-header-clip {
|
||||
width: 100%;
|
||||
height: 35px;
|
||||
}
|
||||
|
||||
/* #fineui_6 {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
@@ -278,15 +474,8 @@
|
||||
background-color: #0d225f;
|
||||
}
|
||||
|
||||
.notification-badge {
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
right: 5px;
|
||||
background-color: red;
|
||||
color: white;
|
||||
border-radius: 50%;
|
||||
padding: 2px 6px;
|
||||
font-size: 12px;
|
||||
#Panel1_topPanel_ContentPanel1_drpProject-inputEl {
|
||||
text-align: center !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
@@ -298,21 +487,48 @@
|
||||
<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-index2-body">
|
||||
<div class="sd-header2">
|
||||
<div class="sd-header2-left">
|
||||
<div class="sd-cname js-hiddenTab-item">
|
||||
QHSE管理数字化平台(项目级)
|
||||
<f:Button runat="server" CssClass="bgbtn2" EnablePostBack="true" OnClick="btnHome_Click"
|
||||
EnableDefaultState="true" EnableDefaultCorner="false" ID="Button21">
|
||||
</f:Button>
|
||||
<div class="sd-index1-body">
|
||||
<div class="sd-header">
|
||||
<div class="sd-header-top">
|
||||
<div class="sd-header-top-left">
|
||||
<div class="sd-location-name">北京</div>
|
||||
<div class="sd-location-weather">
|
||||
<img src="res/indexv1/image/index1/weather/duoyun.png"
|
||||
alt="" /><span runat="server" id="divWeather">多云</span>
|
||||
</div>
|
||||
<div class="sd-location-time"><span id="spDate" runat="server"></span></div>
|
||||
</div>
|
||||
<div class="projcet-select">
|
||||
<div class="sd-header-top-right">
|
||||
<ul>
|
||||
<li class="js-showTab-item top-li-item"><a href="javascript:void(0);"><span><i class="iconfont icon-user"></i></span><span id="userName" runat="server"></span></a>
|
||||
<f:Button runat="server" CssClass="bgbtn2" OnClick="btnPersonal_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnPersonal" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li class="js-showTab-item top-li-item"><a href="#"><span><i class="iconfont icon-setting"></i></span>设置</a><f:Button runat="server" CssClass="bgbtn2" OnClick="btnProjectSet_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnSysSet" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li><a href="javascript:void(0);" onclick="onToolSignOutClick()"><span><i class="iconfont icon-stop"></i></span>退出</a></li>
|
||||
<li><a style="display: flex; align-items: center;" href="javascript:void(0);" onclick="toggleFullScreen()">
|
||||
<img style="width: 0.1rem; height: 0.09rem;" src="./res/images/full.png" alt="">全屏</a></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="sd-header-title sd-header-absolunt-top js-hiddenTab-item">
|
||||
QHSE管理数字化平台(项目级)
|
||||
<f:Button runat="server" CssClass="bgbtn2" EnablePostBack="true" OnClick="btnHome_Click"
|
||||
EnableDefaultState="true" EnableDefaultCorner="false" ID="btnHome" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</div>
|
||||
<div class="sd-header-title sd-header-absolunt-bottom projcet-select">
|
||||
<f:DropDownBox runat="server" ID="drpProject" Label="" EmptyText="请从下拉表格中选择" MatchFieldWidth="false" LabelAlign="Right"
|
||||
AutoPostBack="true" OnTextChanged="drpProject_SelectedIndexChanged" Width="400px">
|
||||
<PopPanel>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" runat="server" DataIDField="ProjectId" DataTextField="ProjectName"
|
||||
DataKeyNames="ProjectId" AllowSorting="true" EnableColumnLines="true"
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" runat="server" DataIDField="ProjectId" DataTextField="ShortName"
|
||||
DataKeyNames="ProjectId" AllowSorting="true" EnableColumnLines="true"
|
||||
Hidden="true" Width="800px" Height="400px" PageSize="300">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar2" Position="Top" runat="server">
|
||||
@@ -337,9 +553,9 @@
|
||||
FieldType="String" HeaderText="所属单位" HeaderTextAlign="Center" TextAlign="Left">
|
||||
</f:RenderField>
|
||||
<%--<f:RenderField Width="100px" ColumnID="ProjectCode" DataField="ProjectCode" EnableFilter="true"
|
||||
FieldType="String" HeaderText="项目编号" HeaderTextAlign="Center"
|
||||
TextAlign="Left">
|
||||
</f:RenderField>--%>
|
||||
FieldType="String" HeaderText="项目编号" HeaderTextAlign="Center"
|
||||
TextAlign="Left">
|
||||
</f:RenderField>--%>
|
||||
<f:RenderField Width="500px" ColumnID="ProjectName" DataField="ProjectName" EnableFilter="true"
|
||||
FieldType="String" HeaderText="项目名称" HeaderTextAlign="Center"
|
||||
TextAlign="Left">
|
||||
@@ -352,69 +568,44 @@
|
||||
</PopPanel>
|
||||
</f:DropDownBox>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="sd-header2-center">
|
||||
<ul>
|
||||
<%-- <li runat="server" id="liPHTGL">
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="合同管理" OnClick="btnPHTGL_Click" OnClientClick="parent.removeActiveTab();"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnPHTGL">
|
||||
</f:Button>
|
||||
</li>--%>
|
||||
<li runat="server" id="liCQMS">
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="质量管理" OnClick="btnCQMS_Click" OnClientClick="parent.removeActiveTab();"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnCQMS">
|
||||
|
||||
<div id="Div1" class="sd-header-bottom" runat="server" visible="true">
|
||||
<ul class="sd-header-bottom-menu">
|
||||
<li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="人员管理" ID="btnPerson" OnClick="btnPerson_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li runat="server" id="liHSSE">
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="安全管理" OnClick="btnHSSE_Click" OnClientClick="parent.removeActiveTab();"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnHSSE">
|
||||
<li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="安全管理" ID="btnDigData" OnClick="btnHSSE_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li runat="server" id="liHJGL">
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="焊接管理" OnClick="btnHJGL_Click" OnClientClick="parent.removeActiveTab();"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnHJGL">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li runat="server" id="liThreeYearAction" >
|
||||
<li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="三年行动" OnClick="btnThreeYearAction_Click" OnClientClick="parent.removeActiveTab();"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="Button1">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li runat="server" id="liDigitalSite">
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="视频监控" OnClientClick="openVideo();"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnDigitalSite">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li runat="server" id="liPDigData">
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="现场考勤" OnClick="btnPDigData_Click" OnClientClick="parent.removeActiveTab();"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnPDigData">
|
||||
</f:Button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sd-header2-right">
|
||||
<ul>
|
||||
<%--<li class="js-showTab-item"><a href="#"><span class="sd-message-dot"><i class="iconfont icon-message"></i></span>消息</a></li>--%>
|
||||
<%--<li class="js-showTab-item top-li-item"><a href="#"><span <%=cssMessage %> class="sd-message-dot"><i class="iconfont icon-message"></i></span>消息</a><f:Button runat="server" CssClass="bgbtn2" OnClick="btnToDoItem_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnToDoItem" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>--%>
|
||||
<li class="js-showTab-item top-li-item"><a href="#"><span><i class="iconfont icon-setting"></i></span>设置</a><f:Button runat="server" CssClass="bgbtn2" OnClick="btnProjectSet_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnSysSet" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li class="js-showTab-item top-li-item">
|
||||
<a href="javascript:void(0);">
|
||||
<span><i class="iconfont icon-user"></i></span>
|
||||
<span id="userName" runat="server"></span>
|
||||
<span id="notification-badge" class="notification-badge" style="display: none;">0</span>
|
||||
</a>
|
||||
<f:Button runat="server" CssClass="bgbtn2" OnClick="btnPersonal_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnPersonal" OnClientClick="parent.removeActiveTab();">
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="Button1">
|
||||
</f:Button>
|
||||
</li>
|
||||
|
||||
<li><a href="javascript:void(0);" onclick="onToolSignOutClick()"><span><i class="iconfont icon-stop"></i></span>退出</a></li>
|
||||
</ul>
|
||||
<ul class="sd-header-bottom-menu">
|
||||
<li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="质量管理" ID="btnCQMS" OnClick="btnCQMS_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="设备管理" ID="btnDevice" OnClick="btnDevice_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="视频监控" OnClientClick="openVideo();"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnDigitalSite">
|
||||
</f:Button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -534,12 +725,12 @@
|
||||
</f:Window>
|
||||
<asp:XmlDataSource ID="XmlDataSource1" runat="server" EnableCaching="false"></asp:XmlDataSource>
|
||||
<f:SimpleForm ID="SimpleForm1" runat="server" ShowBorder="true" ShowHeader="false" Hidden="true"
|
||||
LabelWidth="80px" BodyPadding="5px" Width="350px">
|
||||
<Items>
|
||||
<f:HiddenField runat="server" ID="hfProjectCode" ></f:HiddenField>
|
||||
<f:HiddenField runat="server" ID="hfMonitorPW" ></f:HiddenField>
|
||||
LabelWidth="80px" BodyPadding="5px" Width="350px">
|
||||
<Items>
|
||||
<f:HiddenField runat="server" ID="hfProjectCode"></f:HiddenField>
|
||||
<f:HiddenField runat="server" ID="hfMonitorPW"></f:HiddenField>
|
||||
</Items>
|
||||
</f:SimpleForm>
|
||||
</f:SimpleForm>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
var mainTabStrip = '<%= mainTabStrip.ClientID %>'
|
||||
@@ -765,18 +956,16 @@
|
||||
}
|
||||
// 点击标题栏工具图标 - 查看源代码
|
||||
var videoURL ='<%=VideoURL %>'
|
||||
|
||||
|
||||
function openVideo() {
|
||||
if (videoURL) {
|
||||
var username = $('#SimpleForm1_hfProjectCode-inputEl').val()
|
||||
var password = $('#SimpleForm1_hfMonitorPW-inputEl').val();
|
||||
debugger
|
||||
$.post(videoURL + 'api/v1/login', {
|
||||
username: username,
|
||||
password: password,
|
||||
url_token_only: true
|
||||
}, function (data) {
|
||||
debugger
|
||||
var username = $('#<%= hfProjectCode.ClientID %>-inputEl').val()
|
||||
var password = $('#<%= hfMonitorPW.ClientID %>-inputEl').val();
|
||||
if (password != "") {
|
||||
@@ -786,9 +975,6 @@
|
||||
alert("该项目未关联监控信息!");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
}
|
||||
else {
|
||||
alert("您没有权限!");
|
||||
|
||||
Reference in New Issue
Block a user