1项目级看板优化
This commit is contained in:
parent
c31c5d1097
commit
7a17924ee7
|
@ -10,11 +10,13 @@
|
|||
<%-- <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" />--%>
|
||||
<script src="./res/lib/flex.js"></script>
|
||||
<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/index7.css" rel="stylesheet" />
|
||||
<link href="~/res/indexv2/assets/css/swiper.min.css" rel="stylesheet" />
|
||||
|
||||
<link href="~/res/homecss/common.css" rel="stylesheet" />
|
||||
<link href="~/res/homecss/head.css?v3" rel="stylesheet" />
|
||||
<style type="text/css">
|
||||
html {
|
||||
min-height: auto;
|
||||
|
@ -31,6 +33,10 @@
|
|||
body > .f-panel-border, body > .f-panel-border > div {
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
[v-cloak] {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
<style type="text/css">
|
||||
.f-tabstrip-header-clip {
|
||||
|
@ -50,6 +56,8 @@
|
|||
|
||||
.f-btn .f-btn-text {
|
||||
vertical-align: baseline !important;
|
||||
color: #ffffff;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.f-state-hover {
|
||||
|
@ -61,6 +69,7 @@
|
|||
border: none !important;
|
||||
background-color: transparent !important;
|
||||
padding: 0 !important;
|
||||
color: #ffffff;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
|
@ -75,6 +84,7 @@
|
|||
.bgbtn a:visited, .bgbtn .f-state-focus {
|
||||
background-image: none;
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.f-state-default, .f-widget-content .f-state-default, .f-widget-header .f-state-default {
|
||||
|
@ -104,7 +114,7 @@
|
|||
}
|
||||
|
||||
.f-panel, .f-widget-header, .f-tree-headerstyle .f-panel-body {
|
||||
background-color: rgb(14,17,60);
|
||||
background-color: #001B35;
|
||||
/* color: #fff;*/
|
||||
border: none !important;
|
||||
font-size: 14px !important;
|
||||
|
@ -132,16 +142,9 @@
|
|||
}
|
||||
|
||||
.f-tree-table .f-state-active, .f-widget-content .f-state-active, .f-widget-header .f-state-active {
|
||||
background: #0E113C;
|
||||
background: #001B35;
|
||||
}
|
||||
|
||||
.bgbtn2 {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.f-tabstrip-align-left .f-tab-header.f-first {
|
||||
/*background-color: #dfe4f1;
|
||||
|
@ -207,7 +210,7 @@
|
|||
}
|
||||
|
||||
.f-grid-row-alt {
|
||||
background-color: #0d225f;
|
||||
background-color: #001B35;
|
||||
}
|
||||
</style>
|
||||
<style type="text/css">
|
||||
|
@ -216,26 +219,6 @@
|
|||
height: 35px;
|
||||
}
|
||||
|
||||
/* #fineui_6 {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
#fineui_7 {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
#fineui_8 {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
#fineui_9 {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
#fineui_10 {
|
||||
background-color: white;
|
||||
}*/
|
||||
|
||||
.f-messagebox-notify {
|
||||
background-color: #ffffff !important;
|
||||
}
|
||||
|
@ -255,6 +238,7 @@
|
|||
|
||||
.f-btn .f-btn-text {
|
||||
vertical-align: baseline !important;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.f-state-hover {
|
||||
|
@ -265,6 +249,7 @@
|
|||
width: 100%;
|
||||
border: none !important;
|
||||
background-color: transparent !important;
|
||||
color: #ffffff;
|
||||
padding: 0 !important;
|
||||
line-height: 1;
|
||||
}
|
||||
|
@ -280,10 +265,11 @@
|
|||
.bgbtn a:visited, .bgbtn .f-state-focus {
|
||||
background-image: none;
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.f-tree-table .f-state-active, .f-widget-content .f-state-active, .f-widget-header .f-state-active {
|
||||
background: #0E113C;
|
||||
background: #001B35;
|
||||
}
|
||||
|
||||
.f-state-default, .f-widget-content .f-state-default, .f-widget-header .f-state-default {
|
||||
|
@ -310,7 +296,7 @@
|
|||
|
||||
.f-panel, .f-widget-header, .f-tree-headerstyle .f-panel-body {
|
||||
/*background-color: #dfe4f1;*/
|
||||
background-color: rgb(14,17,60);
|
||||
background-color: #001B35;
|
||||
/* color: #fff;*/
|
||||
border: none !important;
|
||||
font-size: 14px !important;
|
||||
|
@ -337,13 +323,6 @@
|
|||
border-color: transparent;
|
||||
}
|
||||
|
||||
.bgbtn2 {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.f-tabstrip-align-left .f-tab-header.f-first {
|
||||
/*background-color: #dfe4f1;*/
|
||||
|
@ -467,16 +446,30 @@
|
|||
}
|
||||
|
||||
.f-panel > .f-panel-bodyct {
|
||||
background: #111549;
|
||||
background: #001B35;
|
||||
}
|
||||
|
||||
.f-grid-row-alt {
|
||||
background-color: #0d225f;
|
||||
background-color: #001B35;
|
||||
}
|
||||
|
||||
#Panel1_topPanel_ContentPanel1_drpProject-inputEl {
|
||||
text-align: center !important;
|
||||
}
|
||||
.bgbtn3{
|
||||
position:absolute;
|
||||
height:100%;
|
||||
width: 100%;
|
||||
left: 0;
|
||||
top:0;
|
||||
}
|
||||
.bgbtn2 {
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
line-height: 1;
|
||||
font-size: 14px;
|
||||
border: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="wrap">
|
||||
|
@ -487,129 +480,119 @@
|
|||
<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-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="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>
|
||||
<div id="app" class="container" style="background-color:#001B35;">
|
||||
<header v-cloak>
|
||||
<div class="nav-box" style="padding-left: 0.3rem;">
|
||||
<div class="logo-img"></div>
|
||||
<div class="refresh-img" @click="onRefresh"></div>
|
||||
<div class="navs" style="justify-content: flex-end;">
|
||||
<div :class="['nav', 'nav-l', navIdx==1?'nav-l-active':'']" @click="onSwitchMenu(1)">
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="人员管理" ID="btnPerson" OnClick="btnPerson_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</div>
|
||||
<div :class="['nav', 'nav-l', navIdx==2?'nav-l-active':'']" @click="onSwitchMenu(2)">
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="安全管理" ID="btnDigData" OnClick="btnHSSE_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</div>
|
||||
<div :class="['nav', 'nav-l', navIdx==3?'nav-l-active':'']" @click="onSwitchMenu(3)">
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="三年行动" OnClick="btnThreeYearAction_Click" OnClientClick="parent.removeActiveTab();"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="Button1">
|
||||
</f:Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="logo-tit" style="position: relative;">
|
||||
建投公司智慧工地管理信息系统
|
||||
<f:Button runat="server" CssClass="bgbtn3" EnablePostBack="true" OnClick="btnHome_Click"
|
||||
EnableDefaultState="true" EnableDefaultCorner="false" ID="btnHome" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</div>
|
||||
<div class="nav-box" style="padding-right: 0.3rem;">
|
||||
<div class="navs" style="justify-content: flex-start;">
|
||||
<div :class="['nav', 'nav-r', navIdx==4?'nav-r-active':'']" @click="onSwitchMenu(4)">
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="质量管理" ID="btnCQMS" OnClick="btnCQMS_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</div>
|
||||
<div :class="['nav', 'nav-r', navIdx==5?'nav-r-active':'']" @click="onSwitchMenu(5)">
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="设备管理" ID="btnDevice" OnClick="btnDevice_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</div>
|
||||
<div :class="['nav', 'nav-r', navIdx==6?'nav-r-active':'']" @click="onSwitchMenu(6)">
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="视频监控" OnClientClick="openVideo();"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnDigitalSite">
|
||||
</f:Button>
|
||||
</div>
|
||||
|
||||
</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="ShortName"
|
||||
DataKeyNames="ProjectId" AllowSorting="true" EnableColumnLines="true"
|
||||
Hidden="true" Width="800px" Height="400px" PageSize="300">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar2" Position="Top" runat="server">
|
||||
<Items>
|
||||
<f:TextBox runat="server" ID="txtProjectName" EmptyText="按名称查询" FocusOnPageLoad="true"
|
||||
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Width="200px">
|
||||
</f:TextBox>
|
||||
<f:DropDownList runat="server" ID="drpUnit" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged"></f:DropDownList>
|
||||
<f:RadioButtonList runat="server" ID="ckState" Width="350px" ShowEmptyLabel="true"
|
||||
AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
|
||||
<f:RadioItem Text="全部" Value="0" />
|
||||
<f:RadioItem Text="在建" Value="1" Selected="true" />
|
||||
<f:RadioItem Text="停工" Value="2" />
|
||||
<f:RadioItem Text="竣工" Value="3" />
|
||||
</f:RadioButtonList>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Columns>
|
||||
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center" TextAlign="Center" />
|
||||
<f:RenderField Width="200px" ColumnID="UnitName" DataField="UnitId"
|
||||
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>--%>
|
||||
<f:RenderField Width="500px" ColumnID="ProjectName" DataField="ProjectName" EnableFilter="true"
|
||||
FieldType="String" HeaderText="项目名称" HeaderTextAlign="Center"
|
||||
TextAlign="Left">
|
||||
</f:RenderField>
|
||||
</Columns>
|
||||
<Listeners>
|
||||
<f:Listener Event="dataload" Handler="onGridDataLoad" />
|
||||
</Listeners>
|
||||
</f:Grid>
|
||||
</PopPanel>
|
||||
</f:DropDownBox>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<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>
|
||||
<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>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="三年行动" OnClick="btnThreeYearAction_Click" OnClientClick="parent.removeActiveTab();"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="Button1">
|
||||
</f:Button>
|
||||
</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>
|
||||
</div>
|
||||
</div>
|
||||
<div class="timer">
|
||||
<p><span>{{timer.city}}</span><span>{{timer.time}}</span></p>
|
||||
<p><span>{{timer.date}}</span><span>{{timer.week}}</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="set">
|
||||
<div >
|
||||
<f:DropDownBox runat="server" ID="drpProject" Label="" EmptyText="请从下拉表格中选择" MatchFieldWidth="false" LabelAlign="Right"
|
||||
AutoPostBack="true" OnTextChanged="drpProject_SelectedIndexChanged" Width="200px">
|
||||
<PopPanel>
|
||||
<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">
|
||||
<Items>
|
||||
<f:TextBox runat="server" ID="txtProjectName" EmptyText="按名称查询" FocusOnPageLoad="true"
|
||||
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Width="200px">
|
||||
</f:TextBox>
|
||||
<f:DropDownList runat="server" ID="drpUnit" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged"></f:DropDownList>
|
||||
<f:RadioButtonList runat="server" ID="ckState" Width="350px" ShowEmptyLabel="true"
|
||||
AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
|
||||
<f:RadioItem Text="全部" Value="0" />
|
||||
<f:RadioItem Text="在建" Value="1" Selected="true" />
|
||||
<f:RadioItem Text="停工" Value="2" />
|
||||
<f:RadioItem Text="竣工" Value="3" />
|
||||
</f:RadioButtonList>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Columns>
|
||||
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center" TextAlign="Center" />
|
||||
<f:RenderField Width="200px" ColumnID="UnitName" DataField="UnitId"
|
||||
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">
|
||||
</f:RenderField>
|
||||
</Columns>
|
||||
<Listeners>
|
||||
<f:Listener Event="dataload" Handler="onGridDataLoad" />
|
||||
</Listeners>
|
||||
</f:Grid>
|
||||
</PopPanel>
|
||||
</f:DropDownBox>
|
||||
</div>
|
||||
<div class="iconfont icon-nav07">
|
||||
<a href="javascript:void(0);" style="color:#ffffff;" onclick="onToolSignOutClick()">退出</a>
|
||||
</div>
|
||||
<div class="iconfont icon-nav06">
|
||||
<f:Button runat="server" CssClass="bgbtn2" OnClick="btnProjectSet_Click" Text="设置"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnSysSet" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</div>
|
||||
<div class="iconfont icon-nav05">
|
||||
<f:Button runat="server" CssClass="bgbtn2" OnClick="btnPersonal_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="userName" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</div>
|
||||
<div class="iconfont icon-nav08" @click="full">全屏</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
</div>
|
||||
</f:ContentPanel>
|
||||
<%--头部 结束--%>
|
||||
</f:ContentPanel>
|
||||
|
@ -955,8 +938,8 @@
|
|||
}
|
||||
}
|
||||
// 点击标题栏工具图标 - 查看源代码
|
||||
var videoURL ='<%=VideoURL %>'
|
||||
|
||||
var videoURL = '<%=VideoURL %>'
|
||||
function openVideo() {
|
||||
if (videoURL) {
|
||||
var username = $('#SimpleForm1_hfProjectCode-inputEl').val()
|
||||
|
@ -1121,5 +1104,86 @@
|
|||
initEvent();
|
||||
});
|
||||
</script>
|
||||
|
||||
<script src="./res/lib/vue.min.js"></script>
|
||||
<script>
|
||||
new Vue({
|
||||
el: "#app",
|
||||
data() {
|
||||
return {
|
||||
navIdx: 0,
|
||||
timer: {
|
||||
date: "",
|
||||
time: "",
|
||||
city: "",
|
||||
T: "15-26℃",
|
||||
week: "",
|
||||
},
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
setInterval(() => {
|
||||
this.getLocation();
|
||||
}, 1000);
|
||||
|
||||
document.addEventListener("fullscreenchange", function () {
|
||||
if (document.fullscreenElement) {
|
||||
console.log("进入全屏模式");
|
||||
} else {
|
||||
console.log("退出全屏模式");
|
||||
}
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
onSwitchMenu(idx) {
|
||||
this.navIdx = idx;
|
||||
},
|
||||
onRefresh() {
|
||||
alert("刷新");
|
||||
},
|
||||
full() {
|
||||
if (document.fullscreenElement === null) {
|
||||
console.log("当前不处于全屏模式");
|
||||
this.openFullscreen()
|
||||
} else {
|
||||
console.log("当前处于全屏模式");
|
||||
this.closeFullscreen()
|
||||
}
|
||||
},
|
||||
getLocation() {
|
||||
let date = new Date();
|
||||
this.timer.time = `${date.getHours().toString().padStart(2, "0")}:${date.getMinutes().toString().padStart(2, "0")}:${date.getSeconds().toString().padStart(2, '0')}`;
|
||||
this.timer.date = `${date.getFullYear()}-${(date.getMonth() + 1).toString().padStart(2, "0")}-${date.getDate().toString().padStart(2, "0")}`;
|
||||
this.timer.city = "北京市";
|
||||
this.timer.week = "星期" + "日一二三四五六".charAt(date.getDay());
|
||||
},
|
||||
openFullscreen() {
|
||||
let element = document.querySelector(".wrap")
|
||||
if (element.requestFullscreen) {
|
||||
element.requestFullscreen();
|
||||
} else if (element.mozRequestFullScreen) { /* Firefox */
|
||||
element.mozRequestFullScreen();
|
||||
} else if (element.webkitRequestFullscreen) { /* Chrome, Safari & Opera */
|
||||
element.webkitRequestFullscreen();
|
||||
} else if (element.msRequestFullscreen) { /* IE/Edge */
|
||||
element.msRequestFullscreen();
|
||||
}
|
||||
},
|
||||
|
||||
closeFullscreen() {
|
||||
if (document.exitFullscreen) {
|
||||
document.exitFullscreen();
|
||||
} else if (document.mozCancelFullScreen) { /* Firefox */
|
||||
document.mozCancelFullScreen();
|
||||
} else if (document.webkitExitFullscreen) { /* Chrome, Safari and Opera */
|
||||
document.webkitExitFullscreen();
|
||||
} else if (document.msExitFullscreen) { /* IE/Edge */
|
||||
document.msExitFullscreen();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -299,8 +299,8 @@ namespace FineUIPro.Web
|
|||
{
|
||||
needProjectId = Request.Params["projectId"];
|
||||
}
|
||||
BLL.UnitService.InitBranchUnitDropDownList(this.drpUnit,false);
|
||||
Funs.FineUIPleaseSelect(this.drpUnit,"请选择所属单位");
|
||||
BLL.UnitService.InitBranchUnitDropDownList(this.drpUnit, false);
|
||||
Funs.FineUIPleaseSelect(this.drpUnit, "请选择所属单位");
|
||||
//if (this.CurrUser.UnitId != null)
|
||||
//{
|
||||
// this.drpUnit.SelectedValue = this.CurrUser.UnitId;
|
||||
|
@ -335,33 +335,33 @@ namespace FineUIPro.Web
|
|||
{
|
||||
this.drpProject.Value = needProjectId;
|
||||
}
|
||||
var project = Funs.DB.Base_Project.FirstOrDefault(x => x.ProjectId == this.drpProject.Value);
|
||||
if (project != null && !string.IsNullOrEmpty(project.ProjectCode))
|
||||
{
|
||||
this.hfProjectCode.Text = project.ProjectCode;
|
||||
}
|
||||
if (project != null && !string.IsNullOrEmpty(project.MonitorPW))
|
||||
{
|
||||
this.hfMonitorPW.Text = Funs.EncryptionPassword(project.MonitorPW);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.hfMonitorPW.Text = "";
|
||||
}
|
||||
if (CurrUser.UserId == Const.hfnbdId)
|
||||
{
|
||||
var sysSet17 = (from x in Funs.DB.Sys_Set where x.SetName == "视频监控密码" select x).ToList().FirstOrDefault();
|
||||
if (sysSet17 != null)
|
||||
{
|
||||
this.hfProjectCode.Text = "admin";
|
||||
this.hfMonitorPW.Text = Funs.EncryptionPassword(sysSet17.SetValue);
|
||||
}
|
||||
}
|
||||
this.MenuSwitchMethod(Request.Params["menuType"]);
|
||||
var project = Funs.DB.Base_Project.FirstOrDefault(x => x.ProjectId == this.drpProject.Value);
|
||||
if (project != null && !string.IsNullOrEmpty(project.ProjectCode))
|
||||
{
|
||||
this.hfProjectCode.Text = project.ProjectCode;
|
||||
}
|
||||
if (project != null && !string.IsNullOrEmpty(project.MonitorPW))
|
||||
{
|
||||
this.hfMonitorPW.Text = Funs.EncryptionPassword(project.MonitorPW);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.hfMonitorPW.Text = "";
|
||||
}
|
||||
if (CurrUser.UserId == Const.hfnbdId)
|
||||
{
|
||||
var sysSet17 = (from x in Funs.DB.Sys_Set where x.SetName == "视频监控密码" select x).ToList().FirstOrDefault();
|
||||
if (sysSet17 != null)
|
||||
{
|
||||
this.hfProjectCode.Text = "admin";
|
||||
this.hfMonitorPW.Text = Funs.EncryptionPassword(sysSet17.SetValue);
|
||||
}
|
||||
}
|
||||
this.MenuSwitchMethod(Request.Params["menuType"]);
|
||||
this.InitMenuStyleButton();
|
||||
this.InitMenuModeButton();
|
||||
this.InitLangMenuButton();
|
||||
this.userName.InnerText = this.CurrUser.UserName;
|
||||
this.userName.Text = this.CurrUser.UserName;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -584,21 +584,21 @@ namespace FineUIPro.Web
|
|||
PageContext.RegisterStartupScript("parent.removeActiveTab();");
|
||||
MenuSwitchMethod(this.CurrUser.LastMenuType);
|
||||
|
||||
var project = Funs.DB.Base_Project.FirstOrDefault(x => x.ProjectId == this.drpProject.Value);
|
||||
if (project != null && !string.IsNullOrEmpty(project.ProjectCode))
|
||||
{
|
||||
this.hfProjectCode.Text = project.ProjectCode;
|
||||
}
|
||||
if (project != null && !string.IsNullOrEmpty(project.MonitorPW))
|
||||
{
|
||||
this.hfMonitorPW.Text = Funs.EncryptionPassword(project.MonitorPW);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.hfMonitorPW.Text = "";
|
||||
}
|
||||
var project = Funs.DB.Base_Project.FirstOrDefault(x => x.ProjectId == this.drpProject.Value);
|
||||
if (project != null && !string.IsNullOrEmpty(project.ProjectCode))
|
||||
{
|
||||
this.hfProjectCode.Text = project.ProjectCode;
|
||||
}
|
||||
if (project != null && !string.IsNullOrEmpty(project.MonitorPW))
|
||||
{
|
||||
this.hfMonitorPW.Text = Funs.EncryptionPassword(project.MonitorPW);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.hfMonitorPW.Text = "";
|
||||
}
|
||||
|
||||
if (CurrUser.UserId==Const.hfnbdId)
|
||||
if (CurrUser.UserId==Const.hfnbdId)
|
||||
{
|
||||
var sysSet17 = (from x in Funs.DB.Sys_Set where x.SetName == "视频监控密码" select x).ToList().FirstOrDefault();
|
||||
if (sysSet17 != null)
|
||||
|
@ -615,7 +615,7 @@ namespace FineUIPro.Web
|
|||
/// <param name="type"></param>
|
||||
protected void MenuSwitchMethod(string type)
|
||||
{
|
||||
this.CurrUser.LoginProjectId = this.drpProject.Value;
|
||||
//this.CurrUser.LoginProjectId = this.drpProject.Value;
|
||||
this.XmlDataSource1.DataFile = "common/Menu_Personal.xml";
|
||||
this.leftPanel.Hidden = true;
|
||||
this.Tab1.IFrameUrl = "~/common/mainProject.aspx";
|
||||
|
@ -742,33 +742,33 @@ namespace FineUIPro.Web
|
|||
{
|
||||
video_Url = sysSet16.SetValue;
|
||||
}
|
||||
var project = Funs.DB.Base_Project.FirstOrDefault(x => x.ProjectId == CurrUser.LoginProjectId);
|
||||
string url = video_Url + "#/screen?username="+ project.ProjectCode+"&password="+project.MonitorPW;
|
||||
var project = Funs.DB.Base_Project.FirstOrDefault(x => x.ProjectId == CurrUser.LoginProjectId);
|
||||
string url = video_Url + "#/screen?username=" + project.ProjectCode + "&password=" + project.MonitorPW;
|
||||
Response.Write("<script>window.open(" + url + "'',''_blank'')</script>");
|
||||
// this.MenuSwitchMethod(Const.Menu_DigitalSite);
|
||||
}
|
||||
}
|
||||
|
||||
protected string VideoURL
|
||||
{
|
||||
get
|
||||
{
|
||||
if (CommonService.IsHaveSystemPower(this.CurrUser.UserId, Const.Menu_DigitalSite, this.drpProject.Value))
|
||||
{
|
||||
string video_Url = string.Empty;
|
||||
var sysSet16 = (from x in Funs.DB.Sys_Set where x.SetName == "视频监控地址" select x).ToList().FirstOrDefault();
|
||||
if (sysSet16 != null)
|
||||
{
|
||||
video_Url = sysSet16.SetValue;
|
||||
}
|
||||
return video_Url;
|
||||
}
|
||||
else
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
get
|
||||
{
|
||||
if (CommonService.IsHaveSystemPower(this.CurrUser.UserId, Const.Menu_DigitalSite, this.drpProject.Value))
|
||||
{
|
||||
string video_Url = string.Empty;
|
||||
var sysSet16 = (from x in Funs.DB.Sys_Set where x.SetName == "视频监控地址" select x).ToList().FirstOrDefault();
|
||||
if (sysSet16 != null)
|
||||
{
|
||||
video_Url = sysSet16.SetValue;
|
||||
}
|
||||
return video_Url;
|
||||
}
|
||||
else
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
protected void btnPDigData_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.MenuSwitchMethod(Const.Menu_PDigData);
|
||||
|
|
|
@ -60,49 +60,31 @@ namespace FineUIPro.Web
|
|||
protected global::FineUIPro.ContentPanel ContentPanel1;
|
||||
|
||||
/// <summary>
|
||||
/// divWeather 控件。
|
||||
/// btnPerson 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divWeather;
|
||||
protected global::FineUIPro.Button btnPerson;
|
||||
|
||||
/// <summary>
|
||||
/// spDate 控件。
|
||||
/// btnDigData 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl spDate;
|
||||
protected global::FineUIPro.Button btnDigData;
|
||||
|
||||
/// <summary>
|
||||
/// userName 控件。
|
||||
/// Button1 控件。
|
||||
/// </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;
|
||||
protected global::FineUIPro.Button Button1;
|
||||
|
||||
/// <summary>
|
||||
/// btnHome 控件。
|
||||
|
@ -113,6 +95,33 @@ namespace FineUIPro.Web
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnHome;
|
||||
|
||||
/// <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>
|
||||
/// drpProject 控件。
|
||||
/// </summary>
|
||||
|
@ -168,67 +177,22 @@ namespace FineUIPro.Web
|
|||
protected global::FineUIPro.RadioButtonList ckState;
|
||||
|
||||
/// <summary>
|
||||
/// Div1 控件。
|
||||
/// btnSysSet 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl Div1;
|
||||
protected global::FineUIPro.Button btnSysSet;
|
||||
|
||||
/// <summary>
|
||||
/// btnPerson 控件。
|
||||
/// userName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPerson;
|
||||
|
||||
/// <summary>
|
||||
/// btnDigData 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnDigData;
|
||||
|
||||
/// <summary>
|
||||
/// Button1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button Button1;
|
||||
|
||||
/// <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;
|
||||
protected global::FineUIPro.Button userName;
|
||||
|
||||
/// <summary>
|
||||
/// leftPanel 控件。
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
header {
|
||||
width: 100%;
|
||||
height: 1rem;
|
||||
height: 1.25rem;
|
||||
background-image: url(../images/01/top.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: left top;
|
||||
|
@ -25,14 +25,14 @@ header {
|
|||
background-size: 100% 100%;
|
||||
|
||||
}
|
||||
.refresh-img{
|
||||
.refresh-img {
|
||||
margin-left: 0.125rem;
|
||||
background: url('../images/sprite.png') no-repeat 0 0;
|
||||
width: 27px;
|
||||
height: 26px;
|
||||
background: url('../images/sprite.png') no-repeat -402px 0;
|
||||
width: 27px;
|
||||
height: 26px;
|
||||
}
|
||||
.navs{
|
||||
width: 100%;
|
||||
.navs {
|
||||
width: calc(100% - 1.9375rem - 40px );
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
|
@ -97,7 +97,7 @@ header {
|
|||
.set{
|
||||
position: absolute;
|
||||
left: 0;right: 0;
|
||||
bottom: 0;
|
||||
bottom: .25rem;
|
||||
height: 14px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 118 KiB |
Loading…
Reference in New Issue