This commit is contained in:
gaofei
2021-08-13 11:15:59 +08:00
parent 43acc57060
commit d8dff88c39
320 changed files with 37219 additions and 4678 deletions
-4
View File
@@ -39,10 +39,6 @@
<TreeNode id="E6703F32-4E42-4D03-84B3-5EC0E8E48E0F" Text="质量共检" NavigateUrl="CQMS/Check/JointCheck.aspx"></TreeNode>
<TreeNode id="D3B1433E-00DE-432B-A30A-0EFB513480A8" Text="问题统计" NavigateUrl="CQMS/Check/JointCheckStatistics.aspx"></TreeNode>
</TreeNode>
<TreeNode id="5DFD5DF9-6356-460C-9DA8-F8AFCEA2F997" Text="国外项目" NavigateUrl=""><TreeNode id="2571D7F5-4DA4-46E1-8C7F-B926302A52BF" Text="ITP清单" NavigateUrl="CQMS/Foreign/ITPListProject.aspx"></TreeNode>
<TreeNode id="64BC5460-E2CE-4C58-82A6-843A512573F4" Text="控制点表格清单" NavigateUrl="CQMS/Foreign/ControlPointList.aspx"></TreeNode>
<TreeNode id="04F678E5-983A-4000-A480-7D8D9E3C13C5" Text="控制点检查检测" NavigateUrl="CQMS/Foreign/ControlPointCheck.aspx"></TreeNode>
</TreeNode>
<TreeNode id="E632DCA0-5A68-49C4-90CE-793EFC693C4A" Text="资料管理" NavigateUrl=""><TreeNode id="151BFF86-5B2D-4852-A846-690EA4D4DB51" Text="标准规范" NavigateUrl="CQMS/DataBase/ConstructionStandardListProject.aspx"></TreeNode>
<TreeNode id="3A50A067-6FF2-43EF-BFF3-C04E7E66F8F9" Text="资料库" NavigateUrl="CQMS/DataBase/DataBaseProject.aspx"></TreeNode>
</TreeNode>
-1
View File
@@ -34,7 +34,6 @@
<TreeNode id="8F15D3BE-BE21-4A6F-AD5C-2BBECEE46149" Text="人工时日报" NavigateUrl="HSSE/SitePerson/DayReport.aspx"></TreeNode>
<TreeNode id="6C97E014-AF13-46E5-ADB2-03D327C560EC" Text="人工时月报" NavigateUrl="HSSE/SitePerson/MonthReport.aspx"></TreeNode>
<TreeNode id="7ACB0CB1-15D8-4E8E-A54D-0CDC5F69B39A" Text="发卡管理" NavigateUrl="HSSE/SitePerson/SendCard.aspx"></TreeNode>
<TreeNode id="12F7123B-C2ED-4011-9859-83260AC91F09" Text="现场人员考勤管理" NavigateUrl="HSSE/SitePerson/PersonInfo.aspx"></TreeNode>
<TreeNode id="7D36E853-CC79-48B9-9E7F-E34797B4E87E" Text="现场人员考勤统计" NavigateUrl="HSSE/SitePerson/PersonStatistic.aspx"></TreeNode>
<TreeNode id="F291CAE4-2E53-48FC-BF44-382D42EA4DEC" Text="现场岗位人工时统计" NavigateUrl="HSSE/SitePerson/WorkPostStatistic.aspx"></TreeNode>
<TreeNode id="EBEA762D-1F46-47C5-9EAD-759E13D9B41C" Text="特种作业人员资质" NavigateUrl="HSSE/QualityAudit/PersonQuality.aspx"></TreeNode>
+4 -9
View File
@@ -1,13 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Tree>
<TreeNode id="2344465A-F43E-495E-98E7-9AC1C6484F5C" Text="工程量清单设置" NavigateUrl="JDGL/Check/QuantityList.aspx">
<TreeNode id="858E83E9-ADE5-452E-BD65-82D8DFF872C0" Text="分部、工作项及费用清单设置" NavigateUrl="JDGL/WBS/WBSSetAudit.aspx">
</TreeNode>
<TreeNode id="F3AA42B3-5776-4992-A625-1216C579FEDE" Text="项目进度情况" NavigateUrl="JDGL/Check/ProgressCompletion.aspx"></TreeNode>
<TreeNode id="2AE9D982-A499-497F-8F54-ADDA5856887E" Text="工程量完成情况" NavigateUrl="JDGL/Check/QuantityCompletion.aspx"></TreeNode>
<TreeNode id="4ACA0647-4D44-462E-8277-1EF9F100566A" Text="钢结构完成情况" NavigateUrl="JDGL/Check/SteelStructureCompletion.aspx"></TreeNode>
<TreeNode id="92FD1845-F56C-4111-8BA0-91838A18B750" Text="设备完成情况" NavigateUrl="JDGL/Check/EquipmentCompletion.aspx"></TreeNode>
<TreeNode id="9AE07A76-3A54-4414-BC8C-C86A18C737BA" Text="管道完成情况" NavigateUrl="JDGL/Check/PipelineCompletion.aspx"></TreeNode>
<TreeNode id="8A8A1050-F227-42ED-9456-8CB5ECA36512" Text="电气完成情况" NavigateUrl="JDGL/Check/ElectricalCompletion.aspx"></TreeNode>
<TreeNode id="7EC1FBAF-BEC9-46CD-9E3B-0D0093B4E1C2" Text="仪表完成情况" NavigateUrl="JDGL/Check/MeterCompletion.aspx"></TreeNode>
<TreeNode id="C7037A5D-D8A6-4C1C-A5B8-2083C31C0A7B" Text="全厂地下管网完成情况" NavigateUrl="JDGL/Check/UndergroundPipeCompletion.aspx"></TreeNode>
<TreeNode id="E3905BF1-289B-4500-BD34-36F97D649AFC" Text="工作量录入" NavigateUrl="JDGL/WBS/WorkloadInput.aspx"></TreeNode>
<TreeNode id="2A3F8526-95C7-4D30-B2DD-DD26696BE150" Text="工作量统计" NavigateUrl="JDGL/WBS/WorkloadStatistics.aspx"></TreeNode>
<TreeNode id="59AAE0F0-2DB6-4065-B304-7E2C56EC3E5D" Text="赢得值曲线" NavigateUrl="JDGL/CostAnalysis/EarnedValueCurve.aspx"></TreeNode>
</Tree>
+2 -1
View File
@@ -6,7 +6,8 @@
<TreeNode id="86369F0D-0E01-4206-BF62-60A29B880EF5" Text="基础数据" NavigateUrl="ZHGL/RealName/BasicData.aspx"></TreeNode>
<TreeNode id="46B15547-BB67-43F8-86AE-D8DB8928EFE4" Text="同步记录" NavigateUrl="ZHGL/RealName/SynchroRecord.aspx"></TreeNode>
</TreeNode>
<TreeNode id="1BF93DE5-4145-4828-8692-038F3ABD519C" Text="项目考勤" NavigateUrl=""><TreeNode id="56E3E7B8-65D4-4121-930D-8B7EFC2F1645" Text="出入记录" NavigateUrl="Door/InOutList.aspx"></TreeNode>
<TreeNode id="1BF93DE5-4145-4828-8692-038F3ABD519C" Text="项目考勤" NavigateUrl=""><TreeNode id="12F7123B-C2ED-4011-9859-83260AC91F09" Text="现场人员考勤管理" NavigateUrl="HSSE/SitePerson/PersonInfo.aspx"></TreeNode>
<TreeNode id="56E3E7B8-65D4-4121-930D-8B7EFC2F1645" Text="出入记录" NavigateUrl="Door/InOutList.aspx"></TreeNode>
<TreeNode id="637F560D-4F3F-498F-B47D-8BB7EA33A2F6" Text="人员考勤" NavigateUrl="Door/InOutRecord.aspx"></TreeNode>
<TreeNode id="E0F7DDC3-C1B3-4F9E-9B7E-086AEB1E28B1" Text="人员考勤图形分析" NavigateUrl="Door/InOutRecordChart.aspx"></TreeNode>
<TreeNode id="E6B5DAD1-8B9A-47AC-B7A8-33AB3B0B630C" Text="单位考勤" NavigateUrl="Door/InOutManHours.aspx"></TreeNode>
+24 -2
View File
@@ -1,5 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<Tree>
<TreeNode id="2CA1D158-7BB4-4A0C-8EBC-88DD3D994478" Text="党工群团" NavigateUrl="">
</TreeNode>
<TreeNode id="621E51AD-0444-4920-846A-BA14D2E1BEE4" Text="党支部情况" NavigateUrl="">
<TreeNode id="446A2702-522F-4A06-92A3-B8FAA0814A8B" Text="基本情况" NavigateUrl="Party/BasicInformation.aspx">
</TreeNode>
<TreeNode id="8F93D7AB-A746-4279-A1F2-4EC1E0B45849" Text="党员名册" NavigateUrl="Party/Partyer.aspx"></TreeNode>
</TreeNode>
<TreeNode id="AA2BCCC3-24C7-4766-BF67-90F852E9922B" Text="上年度党建工作总结" NavigateUrl="Party/LastWorkSummary.aspx"></TreeNode>
<TreeNode id="5430460E-C495-4699-B039-B457587BBB60" Text="本年度党建工作计划" NavigateUrl="Party/WorkPlan.aspx"></TreeNode>
<TreeNode id="9AD721CB-65E8-4705-BA2C-E1CBEEB84A2C" Text="三会一课" NavigateUrl=""><TreeNode id="89815103-D31B-4FD1-89FD-15F47F132C5C" Text="党支部党员大会" NavigateUrl="Party/PartyCongress.aspx"></TreeNode>
<TreeNode id="5EEBBF63-CCE2-4D53-ACD4-B21C3A06B97D" Text="党支部委员会" NavigateUrl="Party/PartyCommittee.aspx"></TreeNode>
<TreeNode id="FD3FE3DF-7CF4-4472-AC11-CB93FAA7044F" Text="支部党小组会" NavigateUrl="Party/PartyMeeting.aspx"></TreeNode>
<TreeNode id="5D85CB4D-357D-42AF-9A23-8BF908C9A92F" Text="党课" NavigateUrl="Party/PartyLecture.aspx"></TreeNode>
</TreeNode>
<TreeNode id="FA19FBD7-6458-4A40-9D2E-9CBCBF5CDBDB" Text="组织生活会" NavigateUrl="Party/OrganizingLife.aspx"></TreeNode>
<TreeNode id="B0942E8C-BE49-4D96-948B-FDE75C4E27A5" Text="民主评议党员" NavigateUrl="Party/CommentPartyer.aspx"></TreeNode>
<TreeNode id="EAB1A564-00A4-4D7C-9655-7DD9741F46C9" Text="集中学习" NavigateUrl="Party/FocusLearn.aspx"></TreeNode>
<TreeNode id="BF0340D1-6641-494B-80DC-DB3BDAA43D3E" Text="主题党日活动" NavigateUrl="Party/ThemePartyDay.aspx"></TreeNode>
<TreeNode id="A425EF77-1527-473D-85C8-C30DE914F488" Text="党员先锋岗、示范岗" NavigateUrl="Party/PartyPioneerDemonstration.aspx"></TreeNode>
<TreeNode id="ECA84DF5-F900-4FD4-A78A-20C725C1483C" Text="“两优一先”评选" NavigateUrl="Party/TwoOneGoodSelection.aspx"></TreeNode>
<TreeNode id="066CE5C7-FACE-435F-8691-DEFC5A0E9E9B" Text="党史学习教育" NavigateUrl="Party/PartyHistoryStudy.aspx"></TreeNode>
<TreeNode id="A3A92342-3361-47CE-AF32-830C0FC9FB77" Text="保障与支撑" NavigateUrl=""><TreeNode id="BA1DA76E-D5D2-4270-ACBF-6E134B8F5952" Text="党组织工作经费使用" NavigateUrl="Party/PartyMoneyUse.aspx"></TreeNode>
<TreeNode id="A4789F38-4431-4497-872E-7121BB53DC22" Text="新闻宣传工作" NavigateUrl="Party/NewsPropagandaWork.aspx"></TreeNode>
<TreeNode id="7BF12C19-2A26-48BE-A812-325A809EEA62" Text="员工谈话记录" NavigateUrl="Party/EmployeeConversationRecord.aspx"></TreeNode>
<TreeNode id="44D157DC-064E-4C24-82E5-33795764756D" Text="为群众办实事" NavigateUrl="Party/DoingThingsForMasses.aspx"></TreeNode>
</TreeNode>
</Tree>
+167 -145
View File
@@ -9,103 +9,123 @@
<link href="../res/index/css/home.css" rel="stylesheet" />
<link href="../res/index/css/swiper-3.4.2.min.css" rel="stylesheet" />
<style>
.wrap{
height:100%;
padding:15px;
}
.top-wrap{
height:100%;
}
.bw-b-bottom{
width:100%;
height:100%;
}
.bw-b-bottom-up {
border-radius:0;
.wrap {
height: 100%;
margin:0;
box-shadow:none;
padding: 15px;
}
.bottom-wrap{
padding:0;
.top-wrap {
height: 100%;
}
.pdtb0{
padding-top:0 !important;
padding-bottom:0 !important;
.bw-b-bottom {
width: 100%;
height: 100%;
}
.tit-center{
text-align:center;
font-size:12px;
.bw-b-bottom-up {
border-radius: 0;
height: 100%;
margin: 0;
box-shadow: none;
}
.tit-one{
.bottom-wrap {
padding: 0;
}
.pdl{
padding-left:15px;
font-size:12px;
.pdtb0 {
padding-top: 0 !important;
padding-bottom: 0 !important;
}
.tit-center {
text-align: center;
font-size: 12px;
}
.tit-one {
}
.pdl {
padding-left: 15px;
font-size: 12px;
}
.more {
text-align: right;
padding: 10px;
font-size: 10px;
}
.bg-img{
width:100%;
max-height:225px;
.bg-img {
width: 100%;
max-height: 225px;
}
.item{
.item {
margin-bottom: 5px;
font-size:10px;
font-size: 10px;
}
.item:last-child{
margin-bottom: 0;
}
.item-two{
.item:last-child {
margin-bottom: 0;
}
.item-two {
margin: 5px 0;
}
.jd-list{
height:100%;
background-color:#1A5A92;
font-size:10px;
.jd-list {
height: 100%;
background-color: #1A5A92;
font-size: 10px;
}
.jd-list .jd-title{
color:#fff;
.jd-list .jd-title {
color: #fff;
}
.jd-list .jd-item {
display: flex;
align-items: center;
border-bottom: 1px solid #1D6FA9;
}
.jd-list .jd-item .item {
flex: 1;
display: flex;
justify-content: center;
}
.pd10 {
padding: 10px !important;
}
.jd-list .jd-item{
display:flex;
align-items:center;
border-bottom:1px solid #1D6FA9;
.bg-img-1 {
height: 100%;
background: url(../Images/siteProject.jpg) center center no-repeat;
background-size: 100% 100%;
}
.tab-wrap-hastit {
position: relative;
}
.tab-wrap-pos {
left: auto;
right: 30px;
top: 5px;
}
.jd-list .jd-item .item{
flex:1;
display:flex;
justify-content:center;
}
.pd10{
padding:10px !important;
}
.bg-img-1{
height:100%;
background: url(../Images/siteProject.jpg) center center no-repeat;
background-size: 100% 100%;
}
.tab-wrap-hastit{
position:relative;
}
.tab-wrap-pos{
left: auto;
right: 30px;
top: 5px;
}
</style>
</head>
<body>
<div class="wrap flex">
<div class="flex3 flex flexV top-wrap" style="margin-right:5px;">
<div class="item flex1">
<div class="flex3 flex flexV top-wrap" style="margin-right: 5px;">
<div class="item flex1" style="display: none;">
<div class="bw-b-bottom">
<div class="bw-b-bottom-up flex flexV">
<div class="tit-one tit-center" style="color:#fff">周计划完成情况统计</div>
<div class="tit-one tit-center" style="color: #fff">周计划完成情况统计</div>
<div class="bw-item-content flex1 pd0 flex">
<div class="flex1" id='one1' style="width: 100%; height: 100%;"></div>
<div class="flex1" id='one2' style="width: 100%; height: 100%;"></div>
@@ -115,28 +135,38 @@
</div>
</div>
</div>
<div class="item flex1">
<div class="item-one flex1">
<div class="bw-b-bottom">
<div class="bw-b-bottom-up flex flexV">
<div class="tit-one tit-center" style="color:#fff">赢得值曲线</div>
<div class="tit-one pdl" style="color: #fff">进度统计</div>
<div class="bw-item-content flex1 pdtb0">
<div id='two' style="width: 100%; height: 100%;"></div>
<div id='four' style="width: 100%; height: 100%;"></div>
</div>
</div>
</div>
</div>
<div class="item flex1">
<div class="bw-b-bottom">
<div class="bw-b-bottom-up flex flexV">
<div class="tit-one tit-center" style="color: #fff">赢得值曲线</div>
<div class="bw-item-content flex1 pdtb0">
<div id='two' style="width: 100%; height: 100%;"></div>
</div>
</div>
</div>
</div>
<div class="item flex1" style="display: none;">
<div class="bw-b-bottom">
<div class="bw-b-bottom-up flex flexV">
<div class='tab-wrap-hastit'>
<div class="tit-one tit-center" style="color:#fff">施工进度统计</div>
<div class="tab-wrap tab-wrap-pos">
<div class="tab" data-value="0">
<div class="t-item active">安装单位工程</div>
<div class="spline"></div>
<div class="t-item">建筑单位工程</div>
</div>
</div>
<div class="tit-one tit-center" style="color: #fff">施工进度统计</div>
<div class="tab-wrap tab-wrap-pos">
<div class="tab" data-value="0">
<div class="t-item active">安装单位工程</div>
<div class="spline"></div>
<div class="t-item">建筑单位工程</div>
</div>
</div>
</div>
<div class="bw-item-content flex1 pdtb0">
<div id='three' style="width: 100%; height: 100%;"></div>
@@ -145,23 +175,14 @@
</div>
</div>
</div>
<div class="flex1 flex flexV">
<div class="item-one flex1">
<div class="flex1 flex flexV" style="display: none;">
<div class="item-two flex2" style="display: none;">
<div class="bw-b-bottom">
<div class="bw-b-bottom-up flex flexV">
<div class="tit-one pdl" style="color:#fff">进度统计</div>
<div class="bw-item-content flex1 pdtb0">
<div id='four' style="width: 100%; height: 100%;"></div>
</div>
</div>
</div>
</div>
<div class="item-two flex2">
<div class="bw-b-bottom">
<div class="bw-b-bottom-up flex flexV">
<div class="tit-one pdl" style="color:#fff">项目里程碑节点</div>
<div class="tit-one pdl" style="color: #fff">项目里程碑节点</div>
<div class="bw-item-content flex1 pd10">
<%--<div id='five' style="width: 100%; height: 100%;"></div>--%>
<%--<div id='five' style="width: 100%; height: 100%;"></div>--%>
<div class="jd-list">
<div class="jd-item">
<div class="item jd-title">节点名称</div>
@@ -180,12 +201,12 @@
</div>
</div>
</div>
<div class="item-three flex3">
<div class="item-three flex3" style="display: none;">
<div class="bw-b-bottom">
<div class="bw-b-bottom-up flex flexV">
<div class="tit-one pdl" style="color:#fff">形象进度照片</div>
<div class="bw-item-content flex1 pdtb0" style="margin-top:10px;">
<div style="width:100%;height:100%;">
<div class="tit-one pdl" style="color: #fff">形象进度照片</div>
<div class="bw-item-content flex1 pdtb0" style="margin-top: 10px;">
<div style="width: 100%; height: 100%;">
<div class="bg-img-1"></div>
<%--<img src="../Images/siteProject.jpg" alt="Alternate Text" class="bg-img" />--%>
</div>
@@ -201,13 +222,13 @@
<script type="text/javascript" src="../res/index/js/swiper-3.4.2.jquery.min.js"></script>
<script type="text/javascript" src="../res/index/js/echarts.min.js"></script>
<script type="text/javascript">
function line(id, xArr, data) {
function line(id, xArr, data) {
// 基于准备好的dom,初始化echarts实例
var myChart = echarts.init(document.getElementById(id))
// 指定图表的配置项和数据
var option = {
title: {
left:'center',
left: 'center',
text: ' ',
textStyle: {
color: '#fff',
@@ -217,12 +238,12 @@
show: false
},
tooltip: {
formatter: '{a}<br />{b}: {c}%'
},
formatter: '{a}<br />{b}: {c}%'
},
legend: {
show: true,
textStyle: {
color: '#fff'
textStyle: {
color: '#fff'
},
left: 0
},
@@ -259,7 +280,7 @@
textStyle: {
color: 'rgba(255, 255, 255, 0.8)'
},
formatter: '{value} %'
formatter: '{value} %'
}
},
series: data,
@@ -286,7 +307,7 @@
}
var two =<%=Two %>;
var xArr1 = two.categories
var data1 = [ {
var data1 = [{
name: '计划值',
type: 'bar',
//smooth: true,
@@ -294,12 +315,12 @@
lineStyle: {
//color: 'rgba(200,201,10, 1)'
}
},{
}, {
name: '实际值',
type: 'bar',
//smooth: true,
data: two.series[2].data,
},{
data: two.series[2].data,
}, {
name: '累计计划值',
type: 'line',
//smooth: true,
@@ -307,11 +328,11 @@
lineStyle: {
//color: 'rgba(200,201,10, 1)'
}
},{
}, {
name: '累计实际值',
type: 'line',
//smooth: true,
data: two.series[3].data,
data: two.series[3].data,
}]
line('two', xArr1, data1)
</script>
@@ -327,7 +348,7 @@
textStyle: {
color: '#fff',
fontWeight: '300',
fontSize:12
fontSize: 12
},
show: false
},
@@ -336,8 +357,8 @@
left: '3%',
show: false,
selectedMode: false,
textStyle:{//图例文字的样式
color:'#ffffff'
textStyle: {//图例文字的样式
color: '#ffffff'
}
},
xAxis: {
@@ -413,16 +434,16 @@
var myChart = echarts.init(document.getElementById(id))
// 指定图表的配置项和数据
var option = {
title: [{
text: title,
bottom:'0',
left:'center',
textStyle:{
color: '#fff',
title: [{
text: title,
bottom: '0',
left: 'center',
textStyle: {
color: '#fff',
fontSize: 12,
fontWeight:300
}
}],
fontWeight: 300
}
}],
tooltip: {
trigger: 'item',
formatter: '{a} <br/>{b}: {c} ({d}%)'
@@ -432,13 +453,13 @@
orient: 'vertical',
left: 'right',
top: 'center',
align :'left',
align: 'left',
data: xArr,
textStyle:{//图例文字的样式
color:'#f2f2f2'
textStyle: {//图例文字的样式
color: '#f2f2f2'
}
},
color: ['#1D9A78','#8BC145','#36AFCE','#1D6FA9'],
color: ['#1D9A78', '#8BC145', '#36AFCE', '#1D6FA9'],
series: [
{
name: title,
@@ -448,11 +469,11 @@
avoidLabelOverlap: false,
label: {
show: true,
textStyle:{
color:'#333'
textStyle: {
color: '#333'
},
position: 'inside',
formatter: function(data){ return data.percent.toFixed(0)+"%";}
formatter: function (data) { return data.percent.toFixed(0) + "%"; }
},
labelLine: {
show: false
@@ -474,8 +495,8 @@
}
var xArr = ['完成', '未完成']
var data = [
{ value: 80, name: '完成' },
{ value: 20, name: '未完成' }
{ value: 80, name: '完成' },
{ value: 20, name: '未完成' }
]
pie('one1', '单位一', xArr, data)
pie('one2', '单位二', xArr, data)
@@ -484,7 +505,8 @@
</script>
<script>
var dataX = ['项目']
var data = [20]
var one =<%=One %>;
var data = [one]
var dataT = [100]
echartsBarInit('four', "进度统计", dataX, data, dataT);
function echartsBarInit(id, title, dataX, data, dataT) {
@@ -497,8 +519,8 @@
text: title,
textStyle: {
color: '#fff',
fontSize:12,
fontWeight:'300',
fontSize: 12,
fontWeight: '300',
},
show: false
},
@@ -593,12 +615,12 @@
)
}
</script>
<script type="text/javascript">
$(document).ready(function () {
$(".bg-img-1").css("background", "url(../Images/siteProject.jpg) center center no-repeat").css("background-size", "100% 100%")
})
</script>
<script>
<script type="text/javascript">
$(document).ready(function () {
$(".bg-img-1").css("background", "url(../Images/siteProject.jpg) center center no-repeat").css("background-size", "100% 100%")
})
</script>
<script>
$(".tab .t-item").click(function () {
var $this = $(this)
var index = $this.index()
@@ -609,7 +631,7 @@
var value = $tab.attr("data-value")
$tab.find(".t-item").removeClass('active');
$this.addClass('active')
var three =<%=Three %>;
var three2 =<%=Three2 %>;
if (value == 0) {
@@ -629,4 +651,4 @@
}
})
</script>
</html>
</html>
@@ -19,6 +19,20 @@ namespace FineUIPro.Web
}
}
protected string One
{
get
{
var views = (from x in Funs.DB.View_JDGL_ProgressCompletion where x.ProjectId == this.CurrUser.LoginProjectId orderby x.Months descending select x).ToList();
double result = 0;
if (views.Count > 0)
{
result = Convert.ToDouble(views[0].TotalRealNum);
}
return JsonConvert.SerializeObject(result);
}
}
#region 线
protected string Two
{
@@ -8,6 +8,7 @@
<link href="../res/index/css/reset.css" rel="stylesheet" />
<link href="../res/index/css/home.css" rel="stylesheet" />
<link href="../res/index/css/swiper-3.4.2.min.css" rel="stylesheet" />
<link rel="stylesheet" href="../res/js/swiper-bundle.min.css" />
<style type="text/css">
.top {
display: flex;
@@ -68,6 +69,28 @@
.tab .t-item {
font-size: 13px;
}
.swiper-container {
width: 100%;
height: 290px;
}
.swiper-slide {
text-align: center;
font-size: 18px;
}
.swiper-slide img {
width: auto;
height: auto;
max-width: 100%;
max-height: 100%;
-ms-transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
position: absolute;
left: 50%;
top: 50%;
}
</style>
</head>
<body>
@@ -4,14 +4,63 @@ using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
namespace FineUIPro.Web
{
public partial class mainMenu_PHTGL : System.Web.UI.Page
public partial class mainMenu_PHTGL : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
}
/// <summary>
///
/// </summary>
public string swiperHtml;
#region
/// <summary>
/// 项目图片显示
/// </summary>
public void ProjectPic()
{
swiperHtml = " ";
var getP = from x in Funs.DB.InformationProject_Picture
join y in Funs.DB.AttachFile on x.PictureId equals y.ToKeyId
where y.AttachFileId != null && y.AttachUrl != null
select new { x.ProjectId, x.UploadDate, y.AttachUrl };
if (!string.IsNullOrEmpty(this.CurrUser.LoginProjectId))
{
getP = getP.Where(x => x.ProjectId == this.CurrUser.LoginProjectId);
}
var getList = getP.OrderByDescending(x => x.UploadDate).Take(5).ToList();
if (getList.Count() > 0)
{
foreach (var item in getList)
{
var geturl = Funs.GetStrListByStr(item.AttachUrl, ',');
foreach (var itemurl in geturl)
{
if (!string.IsNullOrEmpty(itemurl))
{
swiperHtml += @"<div class='swiper-slide'>
<img data-src='../" + itemurl + @"' class='swiper-lazy'>
<div class='swiper-lazy-preloader swiper-lazy-preloader-white'></div>
</div>";
}
}
}
}
else
{
swiperHtml += @"<div class='swiper-slide'>
<img data-src='../images/Test_Null.jpg' class='swiper-lazy'>
<div class='swiper-lazy-preloader swiper-lazy-preloader-white'></div>
</div>";
}
}
#endregion
}
}
@@ -0,0 +1,709 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mainMenu_Party.aspx.cs" Inherits="FineUIPro.Web.common.mainMenu_Party" %>
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>首页</title>
<link href="../res/index/css/reset.css" rel="stylesheet" />
<link href="../res/index/css/home.css" rel="stylesheet" />
<link href="../res/index/css/swiper-3.4.2.min.css" rel="stylesheet" />
<style type="text/css">
* {
box-sizing: border-box;
}
.flexV {
flex-direction: column;
}
.wrap {
height: 100%;
padding: 15px;
}
.bottom-wrap {
padding: 0;
margin-bottom: 5px;
}
.bottom-wrap:last-child {
margin-bottom: 0;
}
.bw-item-content {
padding: 5px;
}
.top {
display: flex;
display: -webkit-flex;
overflow: hidden;
width: 100%;
}
.bw-b-bottom {
/* width: 100%;*/
height: 100%;
}
.itemlr {
margin: 0 5px;
}
.bw-b-bottom-up {
border-radius: 0;
height: 100%;
margin: 0;
box-shadow: none;
}
.yj-info {
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
color: red;
font-size: 20px;
}
.yj-info .tit {
font-weight: 700;
margin-bottom: 20px;
}
.yj-info .tel {
font-weight: 700;
}
.tab-wrap {
left: auto;
right: 15px;
top: 5px;
}
.tab .t-item {
width: auto;
padding: 5px 10px;
}
.bottom-list {
height: 100px;
padding: 15px;
overflow: hidden;
color: #fff;
margin: 0 10px;
}
.bottom-list .bl-left {
float: left;
margin-right: 30px;
margin-left: 50px;
}
.bottom-list .bl-right {
float: right;
margin-right: 50px;
}
.tab .t-item {
font-size: 12px;
}
.content-body {
display: flex;
flex-direction: column;
flex: 3;
}
.content-body .content-item {
}
.part-item {
display: flex;
align-items: center;
}
.part-tag {
display: flex;
flex-direction: column;
background-color: #107ca2;
opacity: 0.8;
flex: 1;
border-radius: 10px;
}
.part-tag + .part-tag {
margin-left: 20px;
}
.item-top {
display: flex;
justify-content: center;
align-items: center;
font-size: 20px;
color: #fff;
border-bottom: 1px solid #f2f2f2;
padding: 10px 0px;
}
.unit {
display: flex;
justify-content: flex-end;
text-align: right;
font-size: 16px;
padding-right: 30px;
}
.num {
display: flex;
justify-content: center;
flex: 1;
}
.unit-btn {
display: flex;
justify-content: center;
padding: 10px 0px;
font-size: 16px;
color: #fff;
}
.do-btn {
display: flex;
justify-content: center;
background-color: #107ca2;
opacity: 0.8;
flex: 1;
border-radius: 10px;
padding: 20px 0px;
color: #fff;
}
.base-wrap{
padding:15px 10px;
height:100%;
}
.base-wrap .base-tit{
font-size:12px;
color:#fff;
}
.base-wrap .base-txt-wrap{
margin-top:5px;
background-color:#0B508B;
border-radius:5px;
color:#FFAE72;
height:100%;
align-items:center;
justify-content:space-around;
}
.base-wrap .base-txt-wrap .num-1{
background-color:#2A759C;
padding:5px;
font-size:40px;
}
.yj-info-1{
height:100%;
}
.yj-info-1-list{
color:#fff;
}
.yj-info-1 .telbg{
height:100%;
width:85px;
background: url(../res/index/images/tel.png) center center no-repeat;
background-size: contain;
}
.yj-info-1-list-item{
padding:0 5px;
background-color:#2A759C;
margin-bottom:5px;
font-size:12px;
align-items:center;
justify-content:center;
}
.yj-info-1-list-item:last-child{
margin-bottom:0;
}
.yj-info-1-list-item .telnum{
text-align:center;
align-items:center;
justify-content:center;
display:flex;
}
.yj-info-1-info{
color:#fff;
background-color:#2A759C;
text-align:center;
font-size:16px;
height:40px;
line-height:40px;
margin-top:5px;
}
.info-wrap{
width:100%;
height:100%;
padding:5px 10px;
}
.info-wrap .info-item{
align-items:center;
justify-content: center;
margin:0 20px;
}
.info-wrap .info-item .title {
margin-bottom:5px;
font-size:14px;
}
.info-wrap .info-item .item {
width:100%;
height: 40%;
background-color:#267AA4;
border-radius:15px;
align-items:center;
justify-content:space-around;
}
.info-wrap .info-item .item .i-num{
color:#F48A5C;
font-size:28px;
}
.info-wrap .info-item .item .i-num-c{
color:#C1DF8E;
}
.tab .t-item {
width: auto;
padding: 5px 10px;
}
.tit-item {
padding: 0 10px;
color: #fff;
justify-content: space-between;
font-size: 12px;
}
.tip-item {
margin-left: 10px;
align-items: center;
font-size: 10px;
}
.tip {
width: 25px;
height: 13px;
background-color: #258F76;
border-radius: 2px;
margin-right: 5px;
}
.tip-next {
background-color: #92BF55;
}
.mglone{
margin-left: 2px;
}
.mgrone{
margin-right: 2px;
}
.mgbone{
margin-bottom: 2px;
}
.pdtb0{
padding-top:0 !important;
padding-bottom:0 !important;
}
.tit-center{
text-align:center;
font-size:12px;
}
.tit-one{
padding: 10px 0;
}
.content-ul .c-item .tit {
display:block;
position:relative;
padding-left: 2em;
}
.content-ul .c-item .tit::before {
content: '';
position: absolute;
border-color: #57B8BD;
border-style: solid;
border-width: 0.25em;
height: 0;
top: 0;
left: 0.6em;
margin-top: 0.5em;
width: 0;
border-radius:50%;
}
.content-ul .c-item .tit-read::before {
content: '';
position: absolute;
border-color: #ffffff;
border-style: solid;
border-width: 0.25em;
height: 0;
top: 0;
left: 0.6em;
margin-top: 0.25em;
width: 0;
border-radius:50%
}
.content-ul .c-item .tit .tit-t{
flex:1;
min-width: 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
word-break: keep-all;
}
.content-ul .c-item.disabled .tit::before{
display:none !important;
}
.content-ul .c-item .tit .tit-v{
margin-left: 12px;
width: 80px;
}
.top-wrap{
width: 100%;
height: 100%;
justify-content: center;
align-items:center;
/*上移,数字能居中*/
margin-top:-18px;
}
.top-desc{
margin-bottom: 15px;
width:100%;
padding: 0 10px;
}
.content-1 {
width: 100%;
margin-bottom: 5px;
align-items: center;
padding:0 15px;
}
.content-1 .cc-num-wrap {
justify-content: space-around;
align-items:center;
}
.content-1 .cc-num-wrap .cc-num {
color: #F4B286;
background-color: #4967AD;
font-size: 38px;
/* padding: 0 2px; */
display: flex;
align-items: center;
justify-content: center;
height: 60px;
width: 40px;
border-radius:6px;
}
.content-1 .unit1 {
margin-left: 6px;
font-size: 16px;
color: #fff;
}
.tab-tit{
padding:10px;
height:40px;
}
.swiper-container-img {
width: 100%;
height: 100%;
}
.swiper-container-img .swiper-slide {
text-align: center;
font-size: 18px;
/*background: #000;*/
}
.swiper-container-img .swiper-slide img {
/*图片的宽高自动,可以设置100%撑满*/
width: 100%;
height: auto;
max-width: 100%;
max-height: 100%;
-ms-transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
position: absolute;
left: 50%;
top: 50%;
}
.swiper-container-img .swiper-slide .title {
font-size: 16px;
font-weight: 300;
position: relative;
z-index: 99;
color: #0B508B;
text-align: left;
text-indent: 45px;
}
</style>
</head>
<body>
<div class="wrap flex flexV">
<div class="bottom-wrap flex1">
<div class="top flex">
<div class="bw-b-bottom flex1 mgrone">
<div class="bw-b-bottom-up flex flexV">
<div class="tab-tit">组织生活会</div>
<div class="bw-item-content flex1">
<!-- Swiper -->
<div class="swiper-container swiper-container-img" id="swiperImg">
<div class="swiper-wrapper">
<%= swiperHtml1 %>
<%--<div class="swiper-slide">
<div class="title">Slide 1</div>
<!-- Required swiper-lazy class and image source specified in data-src attribute -->
<img data-src="http://lorempixel.com/1600/1200/nature/1" class="swiper-lazy">
<!-- Preloader image -->
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
</div>
<div class="swiper-slide">
<div class="title">Slide 2</div>
<img data-src="http://lorempixel.com/1600/1200/nature/2" class="swiper-lazy">
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
</div>
<div class="swiper-slide">
<div class="title">Slide 3</div>
<img data-src="http://lorempixel.com/1600/1200/nature/3" class="swiper-lazy">
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
</div>
<div class="swiper-slide">
<div class="title">Slide 4</div>
<img data-src="http://lorempixel.com/1600/1200/nature/4" class="swiper-lazy">
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
</div>
<div class="swiper-slide">
<div class="title">Slide 5</div>
<img data-src="http://lorempixel.com/1600/1200/nature/5" class="swiper-lazy">
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
</div>
<div class="swiper-slide">
<div class="title">Slide 6</div>
<img data-src="http://lorempixel.com/1600/1200/nature/6" class="swiper-lazy">
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
</div>--%>
</div>
<!-- Add Pagination -->
<div class="swiper-pagination swiper-pagination-white"></div>
<!-- Navigation -->
<div class="swiper-button-next swiper-button-white"></div>
<div class="swiper-button-prev swiper-button-white"></div>
</div>
</div>
</div>
</div>
<div class="bw-b-bottom flex1">
<div class="bw-b-bottom-up flex flexV">
<div class="tab-tit">主题党日活动</div>
<div class="bw-item-content flex1">
<!-- Swiper -->
<div class="swiper-container swiper-container-img" id="swiperImg1">
<div class="swiper-wrapper">
<%= swiperHtml2 %>
<%--<div class="swiper-slide">
<div class="title">Slide 1</div>
<!-- Required swiper-lazy class and image source specified in data-src attribute -->
<img data-src="http://lorempixel.com/1600/1200/nature/1" class="swiper-lazy">
<!-- Preloader image -->
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
</div>
<div class="swiper-slide">
<div class="title">Slide 2</div>
<img data-src="http://lorempixel.com/1600/1200/nature/2" class="swiper-lazy">
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
</div>
<div class="swiper-slide">
<div class="title">Slide 3</div>
<img data-src="http://lorempixel.com/1600/1200/nature/3" class="swiper-lazy">
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
</div>
<div class="swiper-slide">
<div class="title">Slide 4</div>
<img data-src="http://lorempixel.com/1600/1200/nature/4" class="swiper-lazy">
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
</div>
<div class="swiper-slide">
<div class="title">Slide 5</div>
<img data-src="http://lorempixel.com/1600/1200/nature/5" class="swiper-lazy">
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
</div>
<div class="swiper-slide">
<div class="title">Slide 6</div>
<img data-src="http://lorempixel.com/1600/1200/nature/6" class="swiper-lazy">
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
</div>--%>
</div>
<!-- Add Pagination -->
<div class="swiper-pagination swiper-pagination-white"></div>
<!-- Navigation -->
<div class="swiper-button-next swiper-button-white"></div>
<div class="swiper-button-prev swiper-button-white"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="bottom-wrap flex1">
<div class="top flex">
<div class="bg-item flex1 mgrone" id="divJD_wrap" style="margin-bottom:0;">
<div class="bw-item-content flex flexV" style="padding:0;">
<div class="tit-new">党员先锋岗、示范岗</div>
<div class="" style="padding: 0 10px 0; overflow: hidden;">
<div class="swiper-container " id='swiper1' runat="server">
</div>
</div>
</div>
</div>
<div class="bg-item flex1" style="margin-bottom:0;">
<div class="bw-item-content flex flexV" style="padding:0;">
<div class="tit-new">党史学习教育</div>
<div class="" style="padding: 0 10px 0; overflow: hidden;">
<div class="swiper-container " id='swiper2' runat="server">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
<script type="text/javascript" src="../res/index/js/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="../res/index/js/swiper-3.4.2.jquery.min.js"></script>
<script type="text/javascript">
var basePath = '<%= ResolveUrl("~/") %>';
</script>
<!-- Swiper JS -->
<script src="../package/swiper-bundle.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
var widthImg = $(".swiper-container-img").width();
$(".swiper-container-img").css("width", widthImg + 'px')
var swiperImg = new Swiper('#swiperImg', {
nextButton: '.swiper-button-next',
prevButton: '.swiper-button-prev',
pagination: '.swiper-pagination',
paginationClickable: true,
// Disable preloading of all images
preloadImages: false,
// Enable lazy loading
lazyLoading: true,
autoplay: 3000,
loop: true,
preventClicks: true
});
var swiperImg1 = new Swiper('#swiperImg1', {
nextButton: '.swiper-button-next',
prevButton: '.swiper-button-prev',
pagination: '.swiper-pagination',
paginationClickable: true,
// Disable preloading of all images
preloadImages: false,
// Enable lazy loading
lazyLoading: true,
autoplay: 3000,
loop: true,
preventClicks: false
});
$("#swiperImg,#swiperImg1").on('click', '.swiper-slide', function () {
var data = $(this).attr("data-id");
window.open(data);
});
})
</script>
<script type="text/javascript">
var slidesNum = 5
var mySwiper = null
var mySwiper_JD = null
var slidesNum_JD = 15
var swiper3 = '<%=swiper3 %>'
var accident = { "title": "质量事故", "xFontNum": 0, "legend": null, "categories": ["潮州华瀛", "黄州危废", "山东滨州首站", "嘉盛工程", "湘渝盐化", "东华能源", "广汇启东", "重庆涪陵", "开阳PPA项目", "广西华谊", "金新锅炉", "兴力项目", "济民可信", "哈密广汇", "俄罗斯", "印尼罐区", "印度TALCHER", "天津渤化", "宜都兴发", "图克二期", "云华安"], "series": [{ "name": null, "type": null, "data": [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], "data2": [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], "data3": [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], "data4": [34.56, 37.80, 21.00, 0.00, 6.00, 29.45, 43.12, 29.00, 0.00, 2.84, 95.00, 95.00, 90.00, 23.00, 39.00, 15.00, 17.23, 50.00, 99.00, 86.00, 64.00], "dataString": null, "dataObject": null, "jd": null, "sg": null, "time": null, "ht": null, "convert": null, "pieData": null, "loc": null }], "series2": null }
$(document).ready(function () {
var height = $("#divJD_wrap").height() - 30
var width = $("#divJD_wrap").width()
$("#swiper1").css("height", (height) + 'px').css("width", (width - 30) + 'px')
slidesNum = Math.floor((height) / 24)
$("#swiper1").html(swiper3)
mySwiper = new Swiper('#swiper1', {
autoplay: 3000,//可选选项,自动滑动
direction: 'vertical',
loop: true,
slidesPerView: 7
})
$("#swiper2").css("height", (height) + 'px').css("width", (width - 30) + 'px')
var swiper4 = '<%=swiper4 %>'
$("#swiper2").html(swiper4)
if (accident.categories.length > slidesNum) {
mySwiper_JD = new Swiper('#swiper2', {
autoplay: 3000,//可选选项,自动滑动
direction: 'vertical',
loop: true,
slidesPerView: 7
})
}
})
</script>
<script>
// 点击列表
$("#swiper1").on('click', 'li', function () {
var $this = $(this)
var data = $this.attr("data-id")
var noticeId = $this.attr("notice-id")
//$(".project-list-wrap").show();
//return
if (data != "") {
//Window1.GetShowReference(data) + "return false;";
//document.getElementById("hdNoticeId").value = noticeId;
//document.getElementById("imgBtn").click();
window.open(data);
//top.window.location.reload();
}
})
// 点击列表
$("#swiper2").on('click', 'li', function () {
var $this = $(this)
var data = $this.attr("data-id")
var noticeId = $this.attr("notice-id")
//$(".project-list-wrap").show();
//return
if (data != "") {
//Window1.GetShowReference(data) + "return false;";
//document.getElementById("hdNoticeId").value = noticeId;
//document.getElementById("imgBtn").click();
window.open(data);
//top.window.location.reload();
}
})
</script>
</html>
@@ -0,0 +1,157 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
namespace FineUIPro.Web.common
{
public partial class mainMenu_Party : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
OrganizingLifePic();
ThemePartyDayPic();
}
}
/// <summary>
///
/// </summary>
public string swiperHtml1;
public string swiperHtml2;
#region
/// <summary>
/// 组织生活会图片显示
/// </summary>
public void OrganizingLifePic()
{
swiperHtml1 = " ";
var getP = from x in Funs.DB.Party_OrganizingLife
join y in Funs.DB.AttachFile on x.OrganizingLifeId equals y.ToKeyId
where y.AttachFileId != null && y.AttachUrl != null
orderby x.OrganizingLifeDate descending
select new { x.OrganizingLifeId, x.Theme, x.Year, y.AttachUrl };
var getList = getP.OrderByDescending(x => x.Year).Take(5).ToList();
if (getList.Count() > 0)
{
foreach (var item in getList)
{
var geturl = Funs.GetStrListByStr(item.AttachUrl, ',');
foreach (var itemurl in geturl)
{
if (!string.IsNullOrEmpty(itemurl))
{
swiperHtml1 += @"<div class='swiper-slide' data-id='../Party/OrganizingLifeEdit.aspx?type=see&organizingLifeId=" + item.OrganizingLifeId + @"'>
<div class='title'>" + item.Theme + @"</div>
<img data-src='../" + itemurl + @"' class='swiper-lazy'>
<div class='swiper-lazy-preloader swiper-lazy-preloader-white'></div>
</div>";
}
}
}
}
else
{
swiperHtml1 += @"<div class='swiper-slide'>
<img data-src='../images/Null2.jpg' class='swiper-lazy'>
<div class='swiper-lazy-preloader swiper-lazy-preloader-white'></div>
</div>";
}
}
#endregion
#region
/// <summary>
/// 主题党日活动图片显示
/// </summary>
public void ThemePartyDayPic()
{
swiperHtml2 = " ";
var getP = from x in Funs.DB.Party_ThemePartyDay
join y in Funs.DB.AttachFile on x.ThemePartyDayId equals y.ToKeyId
where y.AttachFileId != null && y.AttachUrl != null
orderby x.ConveneDate descending
select new { x.ThemePartyDayId, x.Theme, x.Year, y.AttachUrl };
var getList = getP.OrderByDescending(x => x.Year).Take(5).ToList();
if (getList.Count() > 0)
{
foreach (var item in getList)
{
var geturl = Funs.GetStrListByStr(item.AttachUrl, ',');
foreach (var itemurl in geturl)
{
if (!string.IsNullOrEmpty(itemurl))
{
swiperHtml2 += @"<div class='swiper-slide' data-id='../Party/ThemePartyDayEdit.aspx?type=see&themePartyDayId=" + item.ThemePartyDayId + @"'>
<div class='title'>" + item.Theme + @"</div>
<img data-src='../" + itemurl + @"' class='swiper-lazy'>
<div class='swiper-lazy-preloader swiper-lazy-preloader-white'></div>
</div>";
}
}
}
}
else
{
swiperHtml2 += @"<div class='swiper-slide'>
<img data-src='../images/Null2.jpg' class='swiper-lazy'>
<div class='swiper-lazy-preloader swiper-lazy-preloader-white'></div>
</div>";
}
}
#endregion
protected string swiper3
{
get
{
var getPartyPioneerDemonstration = (from x in Funs.DB.Party_PartyPioneerDemonstration
orderby x.CompileDate descending
select x).Distinct().Take(20);
string strNoticeHtml = string.Empty;
foreach (var item in getPartyPioneerDemonstration)
{
string url = "../Party/PartyPioneerDemonstrationEdit.aspx?type=see&partyPioneerDemonstrationId=" + item.PartyPioneerDemonstrationId;
string name = BLL.PartyerService.GetNameByPartyId(item.PartyerId);
strNoticeHtml += "<li data-id=\"" + url + "\" notice-id=\"" + item.PartyPioneerDemonstrationId + "\" class=\"c-item swiper-slide\"><div class=\"tit\" title=\"" + name + "\"><div class=\"flex\" ><div class=\"tit-t flex1\">" + name + "</div><div class=\"tit-v\">" + string.Format("{0:yyyy-MM-dd}", item.CompileDate) + "</div></div></div></li>";
}
return "<ul class=\"content-ul swiper-wrapper\">" + strNoticeHtml + "</ul>";
}
}
protected string swiper4
{
get
{
var getPartyPioneerDemonstration = (from x in Funs.DB.Party_PartyHistoryStudy
orderby x.StudyDate descending
select x).Distinct().Take(20);
string strNoticeHtml = string.Empty;
foreach (var item in getPartyPioneerDemonstration)
{
string url = "../Party/PartyHistoryStudyEdit.aspx?type=see&partyHistoryStudyId=" + item.PartyHistoryStudyId;
string name = item.Theme;
strNoticeHtml += "<li data-id=\"" + url + "\" notice-id=\"" + item.PartyHistoryStudyId + "\" class=\"c-item swiper-slide\"><div class=\"tit\" title=\"" + name + "\"><div class=\"flex\" ><div class=\"tit-t flex1\">" + name + "</div><div class=\"tit-v\">" + string.Format("{0:yyyy-MM-dd}", item.StudyDate) + "</div></div></div></li>";
}
return "<ul class=\"content-ul swiper-wrapper\">" + strNoticeHtml + "</ul>";
}
}
protected void imgBtn_Click(object sender, ImageClickEventArgs e)
{
//Model.InformationProject_Notice notice = BLL.NoticeService.GetNoticeById(this.hdNoticeId.Value);
//if (notice != null)
//{
// BLL.APIUserService.getSaveUserRead(BLL.Const.ServerNoticeMenuId, notice.ProjectId, this.CurrUser.UserId, notice.NoticeId);
//}
}
}
}
@@ -0,0 +1,42 @@
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.common {
public partial class mainMenu_Party {
/// <summary>
/// Head1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlHead Head1;
/// <summary>
/// swiper1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl swiper1;
/// <summary>
/// swiper2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl swiper2;
}
}
@@ -60,9 +60,9 @@ namespace FineUIPro.Web.common
+ i + "</div><div class='item'>"
+ item.Name + "</div><div class='item'>"
+ item.Unit + "</div><div class='item'>"
+ item.DesignNum + "</div><div class='item'>"
+ item.PlanNum + "</div><div class='item'>"
+ item.RealNum + "</div><div class='item'>"
+ (item.DesignNum != null ? item.DesignNum.Value.ToString("F0") : "0") + "</div><div class='item'>"
+ (item.PlanNum != null ? item.PlanNum.Value.ToString("F0") : "0") + "</div><div class='item'>"
+ (item.RealNum != null ? item.RealNum.Value.ToString("F0") : "0") + "</div><div class='item'>"
+ item.Rate + "</div><div class='item'>"
+ item.TotalPlanNum + "</div><div class='item'>"
+ item.TotalRealNum + "</div><div class='item'>"
@@ -185,8 +185,8 @@ namespace FineUIPro.Web.common
listdata.Add(workPostCount12);
//其他
listCategories.Add("其他");
int workPostCount13 = persons.Count()- workPostCount1- workPostCount2- workPostCount3- workPostCount4- workPostCount5- workPostCount6- workPostCount7
- workPostCount8- workPostCount9- workPostCount10- workPostCount11- workPostCount12;
int workPostCount13 = persons.Count() - workPostCount1 - workPostCount2 - workPostCount3 - workPostCount4 - workPostCount5 - workPostCount6 - workPostCount7
- workPostCount8 - workPostCount9 - workPostCount10 - workPostCount11 - workPostCount12;
listdata.Add(workPostCount13);
s.data = listdata;
series.Add(s);