菜单调整
This commit is contained in:
parent
c1b19f9c84
commit
ff335e8f27
|
@ -0,0 +1,144 @@
|
|||
|
||||
|
||||
----------------------项目级菜单
|
||||
--1、项目管理菜单调整
|
||||
|
||||
--隐藏项目数据分析
|
||||
update Sys_Menu
|
||||
set IsUsed=0
|
||||
where MenuId='96763EC0-6AFF-4FA2-BFA1-63CCF1FF65A9'
|
||||
|
||||
GO
|
||||
--项目成立菜单放系统设置里面
|
||||
update Sys_Menu
|
||||
set SuperMenu='C2297533-B7C0-441E-B29F-ADE87C6F8978',MenuType='Menu_SysSet',SortIndex=80
|
||||
where MenuId='B830399C-CA36-4C23-A170-21E556D052DD'
|
||||
|
||||
GO
|
||||
|
||||
--2、安全管理下面人员信息、教育培训菜单移至人员管理下面
|
||||
update Sys_Menu
|
||||
set IsUsed=0
|
||||
where MenuType='Menu_Person' and SuperMenu='0'
|
||||
|
||||
GO
|
||||
|
||||
--人员信息、教育培训菜单移至人员管理下面
|
||||
update Sys_Menu
|
||||
set SuperMenu='0',MenuType='Menu_Person',IsUsed=1
|
||||
where MenuId in ('6A0506EB-05CE-4BB3-9BA9-866389F01E1C','EE260447-028F-46AF-8864-9A5DC9DAA5BD')
|
||||
|
||||
GO
|
||||
|
||||
update Sys_Menu
|
||||
set MenuType='Menu_Person'
|
||||
where SuperMenu in ('6A0506EB-05CE-4BB3-9BA9-866389F01E1C','EE260447-028F-46AF-8864-9A5DC9DAA5BD')
|
||||
|
||||
GO
|
||||
|
||||
--3、设备管理菜单
|
||||
update Sys_Menu
|
||||
set MenuType='Menu_Device',SuperMenu='0'
|
||||
where MenuId in ('28C8EDB9-F1C2-4287-8013-28A976B093E2','AC98EF9C-FEA7-47F3-8589-D7DA148810DF','D58B9DEC-A09B-45B0-BD54-18592119BB49') and SuperMenu='0'
|
||||
|
||||
GO
|
||||
|
||||
update Sys_Menu
|
||||
set MenuType='Menu_Device'
|
||||
where SuperMenu in ('28C8EDB9-F1C2-4287-8013-28A976B093E2','AC98EF9C-FEA7-47F3-8589-D7DA148810DF','D58B9DEC-A09B-45B0-BD54-18592119BB49')
|
||||
|
||||
GO
|
||||
|
||||
|
||||
--项目考勤
|
||||
update Sys_Menu
|
||||
set MenuType='Menu_Person',SortIndex=110
|
||||
where MenuId='1BF93DE5-4145-4828-8692-038F3ABD519C'
|
||||
|
||||
GO
|
||||
|
||||
|
||||
--劳务实名制对接
|
||||
update Sys_Menu
|
||||
set MenuType='Menu_Person',SortIndex=100
|
||||
where MenuId='B0A4F8E9-143E-410A-AAD7-348EC72ADA0B'
|
||||
|
||||
GO
|
||||
|
||||
update Sys_Menu
|
||||
set MenuType='Menu_Person'
|
||||
where MenuType='Menu_PDigData'
|
||||
|
||||
|
||||
GO
|
||||
--综合管理-安全体系
|
||||
update Sys_Menu
|
||||
set MenuType='Menu_HSSE'
|
||||
where MenuId='2572CDC8-BA26-4C74-B6F7-CB3D63E91E72'
|
||||
|
||||
update Sys_Menu
|
||||
set MenuType='Menu_HSSE'
|
||||
where SuperMenu='2572CDC8-BA26-4C74-B6F7-CB3D63E91E72'
|
||||
|
||||
GO
|
||||
--综合管理-人员管理
|
||||
update Sys_Menu
|
||||
set MenuType='Menu_Person',SortIndex=80
|
||||
where MenuId='175FAEE8-F6B3-483D-839B-001AF4B45D0A'
|
||||
|
||||
update Sys_Menu
|
||||
set MenuType='Menu_Person'
|
||||
where SuperMenu='175FAEE8-F6B3-483D-839B-001AF4B45D0A'
|
||||
|
||||
GO
|
||||
--综合管理-管理工作报告、企业安全大检查
|
||||
update Sys_Menu
|
||||
set MenuType='Menu_SJTB'
|
||||
where MenuId in ('70E51ABF-81C8-49CB-89AC-CF0542A201D6','CD9FC4C8-4B02-4619-8B02-50DA6AE6146E')
|
||||
|
||||
update Sys_Menu
|
||||
set MenuType='Menu_SJTB'
|
||||
where SuperMenu in ('70E51ABF-81C8-49CB-89AC-CF0542A201D6','CD9FC4C8-4B02-4619-8B02-50DA6AE6146E')
|
||||
|
||||
GO
|
||||
--1、焊接管理
|
||||
IF NOT EXISTS (SELECT * FROM Sys_Menu WHERE MenuId = '86712EA6-270F-4868-AD8B-16970F51B5BA')
|
||||
BEGIN
|
||||
--焊接管理
|
||||
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
|
||||
VALUES('86712EA6-270F-4868-AD8B-16970F51B5BA','焊接管理','',130,'0','Menu_CQMS',0,0,1)
|
||||
END
|
||||
GO
|
||||
|
||||
update Sys_Menu
|
||||
set SuperMenu='86712EA6-270F-4868-AD8B-16970F51B5BA',MenuType='Menu_CQMS'
|
||||
where MenuType='Menu_HJGL' and SuperMenu='0'
|
||||
|
||||
GO
|
||||
update Sys_Menu
|
||||
set MenuType='Menu_CQMS'
|
||||
where MenuType='Menu_HJGL'
|
||||
|
||||
GO
|
||||
--疫情防控
|
||||
update Sys_Menu
|
||||
set IsUsed=0
|
||||
where MenuId='DD26F708-8BBD-46C1-AECA-3B19CA37B2A5'
|
||||
|
||||
GO
|
||||
----------------------公司级菜单
|
||||
--1、环保公共资源库
|
||||
IF NOT EXISTS (SELECT * FROM Sys_Menu WHERE MenuId = 'A6AE443A-66B5-42E3-8BC0-2E6D446E5A7F')
|
||||
BEGIN
|
||||
--环保公共资源库
|
||||
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
|
||||
VALUES('A6AE443A-66B5-42E3-8BC0-2E6D446E5A7F','环保公共资源库','',30,'0','Menu_DigData',1,0,1)
|
||||
END
|
||||
GO
|
||||
|
||||
|
||||
update Sys_Menu
|
||||
set SuperMenu='A6AE443A-66B5-42E3-8BC0-2E6D446E5A7F'
|
||||
where MenuName like '%环境因素危险源%'
|
||||
|
||||
GO
|
|
@ -1269,10 +1269,10 @@ namespace BLL
|
|||
/// 实业菜单
|
||||
/// </summary>
|
||||
public const string Menu_SHIYE = "Menu_SHIYE";
|
||||
///// <summary>
|
||||
///// 员工菜单
|
||||
///// </summary>
|
||||
//public const string Menu_Person = "Menu_Person";
|
||||
/// <summary>
|
||||
/// 人员管理
|
||||
/// </summary>
|
||||
public const string Menu_Person = "Menu_Person";
|
||||
/// <summary>
|
||||
/// 通知
|
||||
/// </summary>
|
||||
|
@ -1378,6 +1378,10 @@ namespace BLL
|
|||
/// </summary>
|
||||
public const string Menu_PDigData = "Menu_PDigData";
|
||||
/// <summary>
|
||||
/// 设备管理
|
||||
/// </summary>
|
||||
public const string Menu_Device = "Menu_Device";
|
||||
/// <summary>
|
||||
/// 消息
|
||||
/// </summary>
|
||||
public const string Menu_ToDo = "Menu_ToDo";
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -50,14 +50,14 @@
|
|||
<span>工程</span>
|
||||
</div>
|
||||
|
||||
<div id="rb_sy" class="login-help-left">
|
||||
<%--<div id="rb_sy" class="login-help-left">
|
||||
<div class="checkbox">
|
||||
<div class="basic-check">
|
||||
<div id="sy" class="checkbox-content"></div>
|
||||
</div>
|
||||
</div>
|
||||
<span>实业</span>
|
||||
</div>
|
||||
</div>--%>
|
||||
</div>
|
||||
<div class="login-help">
|
||||
<div id="login-help-left" class="login-help-left">
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
}
|
||||
|
||||
.sd-index1-body {
|
||||
|
||||
}
|
||||
|
||||
.f-widget-content {
|
||||
|
@ -56,10 +55,10 @@
|
|||
.f-state-hover {
|
||||
/*background-color: transparent !important;*/
|
||||
}
|
||||
.f-tab-header.f-state-active
|
||||
{
|
||||
|
||||
.f-tab-header.f-state-active {
|
||||
}
|
||||
|
||||
.bgbtn {
|
||||
width: 100%;
|
||||
border: none !important;
|
||||
|
@ -104,7 +103,7 @@
|
|||
color: #333;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
|
||||
.f-menu-item-text, .f-tree-cell-text, .f-widget-content a, .f-qtip-content {
|
||||
color: #333;
|
||||
}
|
||||
|
@ -112,9 +111,11 @@
|
|||
.f-corner-all {
|
||||
background-color: #dfe4f1;
|
||||
}
|
||||
.f-tab-header .f-panel-title-text{
|
||||
color:#1AB1FF;
|
||||
|
||||
.f-tab-header .f-panel-title-text {
|
||||
color: #1AB1FF;
|
||||
}
|
||||
|
||||
.f-state-hover.f-tree-node a {
|
||||
color: #333;
|
||||
}
|
||||
|
@ -132,7 +133,6 @@
|
|||
}
|
||||
|
||||
.f-tabstrip-align-left .f-tab-header.f-first {
|
||||
|
||||
color: #333;
|
||||
border: none !important;
|
||||
}
|
||||
|
@ -155,42 +155,43 @@
|
|||
|
||||
#Panel1_leftPanel_treeMenu .f-state-hover {
|
||||
background: #99e7ff !important;
|
||||
}
|
||||
.f-tabstrip-connected>.f-tabstrip-header .f-tab-header.f-state-active{
|
||||
}
|
||||
|
||||
.f-tabstrip-connected > .f-tabstrip-header .f-tab-header.f-state-active {
|
||||
background-color: #0e113c !important;
|
||||
border-width:0 !important;
|
||||
} .f-tabstrip-connected>.f-tabstrip-header .f-tab-header.f-state-hover{
|
||||
border-width: 0 !important;
|
||||
}
|
||||
|
||||
.f-tabstrip-connected > .f-tabstrip-header .f-tab-header.f-state-hover {
|
||||
background-color: #0e113c !important;
|
||||
border-width:0 !important;
|
||||
}
|
||||
border-width: 0 !important;
|
||||
}
|
||||
</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:Panel ID="Panel1" Layout="Region" ShowBorder="false" ShowHeader="false" runat="server">
|
||||
<Items>
|
||||
<f:TabStrip ID="mainTabStrip" CssClass="centerregion" RegionPosition="Center" ShowTabHeader="true"
|
||||
OnTabIndexChanged="mainTabStrip_TabIndexChanged" AutoPostBack="true"
|
||||
ShowBorder="true" EnableTabCloseMenu="true" runat="server">
|
||||
<Tabs >
|
||||
<%--<f:Tab ID="Tab1" Title="首页"
|
||||
OnTabIndexChanged="mainTabStrip_TabIndexChanged" AutoPostBack="true" ShowBorder="true" EnableTabCloseMenu="true" runat="server">
|
||||
<Tabs>
|
||||
<%--<f:Tab ID="Tab1" Title="首页"
|
||||
EnableIFrame="true" IFrameUrl="~/common/main1.aspx" runat="server">
|
||||
</f:Tab>--%>
|
||||
<f:Tab ID="Tab2" Title="安全"
|
||||
<f:Tab ID="Tab2" Title="安全"
|
||||
EnableIFrame="true" IFrameUrl="~/common/mainMenu_HSSE2.aspx" runat="server">
|
||||
</f:Tab>
|
||||
<f:Tab ID="Tab3" Title="质量焊接"
|
||||
<f:Tab ID="Tab3" Title="质量焊接"
|
||||
EnableIFrame="true" IFrameUrl="~/common/mainMenu_HJGL2.aspx" runat="server">
|
||||
</f:Tab>
|
||||
<f:Tab ID="Tab4" Title="实业"
|
||||
<%--<f:Tab ID="Tab4" Title="实业"
|
||||
EnableIFrame="true" IFrameUrl="~/common/mainProjectSY.aspx" runat="server">
|
||||
</f:Tab>
|
||||
</Tabs>
|
||||
</f:Tab>--%>
|
||||
</Tabs>
|
||||
</f:TabStrip>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</form>
|
||||
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -67,14 +67,5 @@ namespace FineUIPro.Web.common
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Tab Tab3;
|
||||
|
||||
/// <summary>
|
||||
/// Tab4 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Tab Tab4;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,14 +24,15 @@
|
|||
}
|
||||
|
||||
.sd-index1-body {
|
||||
|
||||
}
|
||||
|
||||
.f-widget-content {
|
||||
border: none;
|
||||
background: none;
|
||||
}
|
||||
body>.f-panel-border, body>.f-panel-border>div {
|
||||
background: #ffffff;
|
||||
|
||||
body > .f-panel-border, body > .f-panel-border > div {
|
||||
background: #ffffff;
|
||||
}
|
||||
</style>
|
||||
<style type="text/css">
|
||||
|
@ -96,26 +97,31 @@
|
|||
.activeClick .f-icon {
|
||||
color: white !important;
|
||||
}
|
||||
.f-panel-title-text{
|
||||
color: #1ab1ff;
|
||||
|
||||
.f-panel-title-text {
|
||||
color: #1ab1ff;
|
||||
}
|
||||
.f-messagebox-notify{
|
||||
background-color: #ffffff!important;
|
||||
|
||||
.f-messagebox-notify {
|
||||
background-color: #ffffff !important;
|
||||
}
|
||||
|
||||
.f-panel, .f-widget-header, .f-tree-headerstyle .f-panel-body {
|
||||
background-color:rgb(14,17,60);
|
||||
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;
|
||||
}
|
||||
|
@ -127,10 +133,11 @@
|
|||
.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;
|
||||
|
||||
|
||||
.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%;
|
||||
|
@ -164,17 +171,6 @@
|
|||
#Panel1_leftPanel_treeMenu .f-state-hover {
|
||||
background: #99e7ff !important;
|
||||
}
|
||||
.notification-badge {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
background-color: red;
|
||||
color: white;
|
||||
border-radius: 50%;
|
||||
padding: 2px 6px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body class="wrap">
|
||||
|
@ -198,13 +194,13 @@
|
|||
</div>
|
||||
<div class="sd-header-top-right">
|
||||
<ul>
|
||||
<li class="js-showTab-item top-li-item"><a href="javascript:void(0);">
|
||||
<div style="background-image:url('./res/images/Monitoring.png');width: 19px;height: 19px;float: left;background-repeat: no-repeat;background-position: center;"> </div>
|
||||
<span >视频</span></a>
|
||||
<f:Button runat="server" CssClass="bgbtn2"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="Button1" OnClientClick="openVideo()" >
|
||||
<%--<li class="js-showTab-item top-li-item"><a href="javascript:void(0);">
|
||||
<div style="background-image: url('./res/images/Monitoring.png'); width: 19px; height: 19px; float: left; background-repeat: no-repeat; background-position: center;"></div>
|
||||
<span>视频</span></a>
|
||||
<f:Button runat="server" CssClass="bgbtn2"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="Button1" OnClientClick="openVideo()">
|
||||
</f:Button>
|
||||
</li>
|
||||
</li>--%>
|
||||
<li class="js-showTab-item top-li-item">
|
||||
<a href="javascript:void(0);">
|
||||
<span><i class="iconfont icon-user"></i></span>
|
||||
|
@ -212,17 +208,17 @@
|
|||
<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="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" IconUrl="~/res/image/home.png" CssClass="bgbtn2" OnClick="btnGateway_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnGateway" >
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnGateway">
|
||||
</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="btnSysSet_Click"
|
||||
</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="btnSysSet_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnSysSet" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>--%>
|
||||
</li>
|
||||
<li><a href="javascript:void(0);" onclick="onToolSignOutClick()"><span><i class="iconfont icon-stop"></i></span>退出</a></li>
|
||||
|
||||
<li class="top-li-item">
|
||||
|
@ -234,7 +230,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="sd-header-title js-hiddenTab-item">
|
||||
<div id="divTitle" runat="server"></div>
|
||||
<div id="divTitle" runat="server"></div>
|
||||
<f:Button runat="server" CssClass="bgbtn2" EnablePostBack="true" OnClick="btnHome_Click"
|
||||
EnableDefaultState="true" EnableDefaultCorner="false" ID="btnHome" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
|
@ -242,30 +238,60 @@
|
|||
<div class="sd-header-bottom" runat="server" visible="true">
|
||||
<ul class="sd-header-bottom-menu">
|
||||
<li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="项目管理" ID="btnProject" OnClick="btnProject_Click"
|
||||
<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>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="资源库" ID="btnDigData" OnClick="btnDigData_Click"
|
||||
<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="liThreeYearAction">
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="三年行动" ID="btnThreeYearAction" OnClick="btnThreeYearAction_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="资源库" ID="Button2" OnClick="btnDigData_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<%--<li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="项目管理" ID="btnProject" OnClick="btnProject_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>--%>
|
||||
<%--
|
||||
<li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="综合管理" ID="btnZHGL" OnClick="btnZHGL_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
|
||||
</li>
|
||||
<li runat="server" id="liThreeYearAction" >
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="三年行动" ID="btnThreeYearAction" OnClick="btnThreeYearAction_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
|
||||
</li>
|
||||
</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>
|
||||
<li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="数据管理" ID="btnServer" OnClick="btnServer_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<%--<li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="通知管理" ID="btnNotice" OnClick="btnNotice_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
|
@ -279,7 +305,7 @@
|
|||
<f:Button runat="server" CssClass="bgbtn" Text="系统设置" ID="btnSet" OnClick="btnSysSet_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
</li>--%>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -428,9 +454,7 @@
|
|||
var videoURL = '<%=VideoURL %>'
|
||||
function openVideo() {
|
||||
if (videoURL) {
|
||||
|
||||
window.open(videoURL, '_blank');
|
||||
|
||||
}
|
||||
else {
|
||||
alert("您没有权限!");
|
||||
|
|
|
@ -429,24 +429,30 @@ namespace FineUIPro.Web
|
|||
if (this.leftPanel.Hidden)
|
||||
{
|
||||
var currUser = Funs.DB.Sys_User.FirstOrDefault(x => x.UserId == this.CurrUser.UserId);
|
||||
if (SysType== "SHIYE")
|
||||
{
|
||||
string url = "~/indexProjectShiYe.aspx?projectId=" + this.CurrUser.LastProjectId;
|
||||
UserService.UpdateLastUserInfo(this.CurrUser.UserId, Const.Menu_SHIYE, false, this.CurrUser.LastProjectId);
|
||||
PageContext.Redirect(url, "_top");
|
||||
}
|
||||
else
|
||||
{
|
||||
string url = "~/indexProject.aspx?projectId=" + this.CurrUser.LastProjectId;
|
||||
UserService.UpdateLastUserInfo(this.CurrUser.UserId, null, false, this.CurrUser.LastProjectId);
|
||||
PageContext.Redirect(url, "_top");
|
||||
}
|
||||
//if (SysType== "SHIYE")
|
||||
//{
|
||||
// string url = "~/indexProjectShiYe.aspx?projectId=" + this.CurrUser.LastProjectId;
|
||||
// UserService.UpdateLastUserInfo(this.CurrUser.UserId, Const.Menu_SHIYE, false, this.CurrUser.LastProjectId);
|
||||
// PageContext.Redirect(url, "_top");
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
string url = "~/indexProject.aspx?projectId=" + this.CurrUser.LastProjectId;
|
||||
UserService.UpdateLastUserInfo(this.CurrUser.UserId, null, false, this.CurrUser.LastProjectId);
|
||||
PageContext.Redirect(url, "_top");
|
||||
//}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.MenuSwitchMethod(string.Empty);
|
||||
}
|
||||
}
|
||||
|
||||
protected void btnPerson_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.MenuSwitchMethod(Const.Menu_Person);
|
||||
}
|
||||
|
||||
protected void btnGateway_Click(object sender, EventArgs e)
|
||||
{
|
||||
string url = "~/index_gateway.aspx" ;
|
||||
|
@ -456,7 +462,10 @@ namespace FineUIPro.Web
|
|||
{
|
||||
this.MenuSwitchMethod(Const.Menu_Notice);
|
||||
}
|
||||
|
||||
protected void btnHSSE_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.MenuSwitchMethod(Const.Menu_HSSE);
|
||||
}
|
||||
protected void btnProject_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.MenuSwitchMethod(Const.Menu_Project);
|
||||
|
@ -467,7 +476,15 @@ namespace FineUIPro.Web
|
|||
this.MenuSwitchMethod(Const.Menu_SJTB);
|
||||
}
|
||||
|
||||
|
||||
protected void btnCQMS_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.MenuSwitchMethod(Const.Menu_CQMS);
|
||||
}
|
||||
|
||||
protected void btnDevice_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.MenuSwitchMethod(Const.Menu_Device);
|
||||
}
|
||||
|
||||
protected void btnDigData_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
|
|
@ -77,15 +77,6 @@ namespace FineUIPro.Web
|
|||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl spDate;
|
||||
|
||||
/// <summary>
|
||||
/// Button1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button Button1;
|
||||
|
||||
/// <summary>
|
||||
/// userName 控件。
|
||||
/// </summary>
|
||||
|
@ -113,6 +104,15 @@ namespace FineUIPro.Web
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnGateway;
|
||||
|
||||
/// <summary>
|
||||
/// btnSysSet 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSysSet;
|
||||
|
||||
/// <summary>
|
||||
/// btnRetweet 控件。
|
||||
/// </summary>
|
||||
|
@ -141,13 +141,13 @@ namespace FineUIPro.Web
|
|||
protected global::FineUIPro.Button btnHome;
|
||||
|
||||
/// <summary>
|
||||
/// btnProject 控件。
|
||||
/// btnPerson 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnProject;
|
||||
protected global::FineUIPro.Button btnPerson;
|
||||
|
||||
/// <summary>
|
||||
/// btnDigData 控件。
|
||||
|
@ -158,15 +158,6 @@ namespace FineUIPro.Web
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnDigData;
|
||||
|
||||
/// <summary>
|
||||
/// btnZHGL 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnZHGL;
|
||||
|
||||
/// <summary>
|
||||
/// liThreeYearAction 控件。
|
||||
/// </summary>
|
||||
|
@ -186,13 +177,40 @@ namespace FineUIPro.Web
|
|||
protected global::FineUIPro.Button btnThreeYearAction;
|
||||
|
||||
/// <summary>
|
||||
/// btnNotice 控件。
|
||||
/// Button2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnNotice;
|
||||
protected global::FineUIPro.Button Button2;
|
||||
|
||||
/// <summary>
|
||||
/// btnCQMS 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnCQMS;
|
||||
|
||||
/// <summary>
|
||||
/// btnDevice 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnDevice;
|
||||
|
||||
/// <summary>
|
||||
/// btnDigitalSite 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnDigitalSite;
|
||||
|
||||
/// <summary>
|
||||
/// btnServer 控件。
|
||||
|
@ -203,15 +221,6 @@ namespace FineUIPro.Web
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnServer;
|
||||
|
||||
/// <summary>
|
||||
/// btnSet 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSet;
|
||||
|
||||
/// <summary>
|
||||
/// leftPanel 控件。
|
||||
/// </summary>
|
||||
|
|
|
@ -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("您没有权限!");
|
||||
|
|
|
@ -646,6 +646,14 @@ namespace FineUIPro.Web
|
|||
{
|
||||
this.Tab1.IFrameUrl = "";
|
||||
}
|
||||
else if (type == Const.Menu_Person)
|
||||
{
|
||||
this.Tab1.IFrameUrl = "";
|
||||
}
|
||||
else if (type == Const.Menu_Device)
|
||||
{
|
||||
this.Tab1.IFrameUrl = "";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -673,6 +681,13 @@ namespace FineUIPro.Web
|
|||
this.MenuSwitchMethod(string.Empty);
|
||||
}
|
||||
}
|
||||
|
||||
protected void btnPerson_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.MenuSwitchMethod(Const.Menu_Person);
|
||||
}
|
||||
|
||||
|
||||
protected void btnCQMS_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.MenuSwitchMethod(Const.Menu_CQMS);
|
||||
|
@ -687,6 +702,10 @@ namespace FineUIPro.Web
|
|||
{
|
||||
this.MenuSwitchMethod(Const.Menu_ProjectSet);
|
||||
}
|
||||
protected void btnDevice_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.MenuSwitchMethod(Const.Menu_Device);
|
||||
}
|
||||
|
||||
protected void btnHSSE_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
|
|
@ -60,13 +60,58 @@ namespace FineUIPro.Web
|
|||
protected global::FineUIPro.ContentPanel ContentPanel1;
|
||||
|
||||
/// <summary>
|
||||
/// Button21 控件。
|
||||
/// divWeather 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button Button21;
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divWeather;
|
||||
|
||||
/// <summary>
|
||||
/// spDate 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl spDate;
|
||||
|
||||
/// <summary>
|
||||
/// userName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl userName;
|
||||
|
||||
/// <summary>
|
||||
/// btnPersonal 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPersonal;
|
||||
|
||||
/// <summary>
|
||||
/// btnSysSet 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSysSet;
|
||||
|
||||
/// <summary>
|
||||
/// btnHome 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnHome;
|
||||
|
||||
/// <summary>
|
||||
/// drpProject 控件。
|
||||
|
@ -123,67 +168,31 @@ namespace FineUIPro.Web
|
|||
protected global::FineUIPro.RadioButtonList ckState;
|
||||
|
||||
/// <summary>
|
||||
/// liCQMS 控件。
|
||||
/// Div1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl liCQMS;
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl Div1;
|
||||
|
||||
/// <summary>
|
||||
/// btnCQMS 控件。
|
||||
/// btnPerson 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnCQMS;
|
||||
protected global::FineUIPro.Button btnPerson;
|
||||
|
||||
/// <summary>
|
||||
/// liHSSE 控件。
|
||||
/// btnDigData 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl liHSSE;
|
||||
|
||||
/// <summary>
|
||||
/// btnHSSE 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnHSSE;
|
||||
|
||||
/// <summary>
|
||||
/// liHJGL 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl liHJGL;
|
||||
|
||||
/// <summary>
|
||||
/// btnHJGL 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnHJGL;
|
||||
|
||||
/// <summary>
|
||||
/// liThreeYearAction 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl liThreeYearAction;
|
||||
protected global::FineUIPro.Button btnDigData;
|
||||
|
||||
/// <summary>
|
||||
/// Button1 控件。
|
||||
|
@ -195,13 +204,22 @@ namespace FineUIPro.Web
|
|||
protected global::FineUIPro.Button Button1;
|
||||
|
||||
/// <summary>
|
||||
/// liDigitalSite 控件。
|
||||
/// btnCQMS 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl liDigitalSite;
|
||||
protected global::FineUIPro.Button btnCQMS;
|
||||
|
||||
/// <summary>
|
||||
/// btnDevice 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnDevice;
|
||||
|
||||
/// <summary>
|
||||
/// btnDigitalSite 控件。
|
||||
|
@ -212,51 +230,6 @@ namespace FineUIPro.Web
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnDigitalSite;
|
||||
|
||||
/// <summary>
|
||||
/// liPDigData 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl liPDigData;
|
||||
|
||||
/// <summary>
|
||||
/// btnPDigData 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPDigData;
|
||||
|
||||
/// <summary>
|
||||
/// btnSysSet 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSysSet;
|
||||
|
||||
/// <summary>
|
||||
/// userName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl userName;
|
||||
|
||||
/// <summary>
|
||||
/// btnPersonal 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPersonal;
|
||||
|
||||
/// <summary>
|
||||
/// leftPanel 控件。
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in New Issue