diff --git a/.vs/SGGL_SeDin/v17/.wsuo b/.vs/SGGL_SeDin/v17/.wsuo
index 66e9549e..d63d4610 100644
Binary files a/.vs/SGGL_SeDin/v17/.wsuo and b/.vs/SGGL_SeDin/v17/.wsuo differ
diff --git a/DataBase/版本日志/SGGLDB_V2023-08-31.sql b/DataBase/版本日志/SGGLDB_V2023-09-01-lpf.sql
similarity index 99%
rename from DataBase/版本日志/SGGLDB_V2023-08-31.sql
rename to DataBase/版本日志/SGGLDB_V2023-09-01-lpf.sql
index fb755b76..cb67e550 100644
--- a/DataBase/版本日志/SGGLDB_V2023-08-31.sql
+++ b/DataBase/版本日志/SGGLDB_V2023-09-01-lpf.sql
@@ -27,3 +27,4 @@ INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],
INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
VALUES ( N'C1708178-C52B-4D32-9849-C69622D96105',N'D9BAB30E-3255-4EA0-8631-EF15C9203EFD',N'',1)
GO
+
diff --git a/SGGL/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj
index 6037c38e..7e8c9b4c 100644
--- a/SGGL/BLL/BLL.csproj
+++ b/SGGL/BLL/BLL.csproj
@@ -106,9 +106,6 @@
..\packages\QRCoder.1.4.3\lib\net40\QRCoder.dll
-
- ..\packages\Quartz.3.7.0\lib\netstandard2.0\Quartz.dll
-
..\packages\RestSharp.106.15.0\lib\net452\RestSharp.dll
diff --git a/SGGL/BLL/PHTGL/ContractCompile/PhtglContracttrackprogressService.cs b/SGGL/BLL/PHTGL/ContractCompile/PhtglContracttrackprogressService.cs
index 61e730bf..4e3841e5 100644
--- a/SGGL/BLL/PHTGL/ContractCompile/PhtglContracttrackprogressService.cs
+++ b/SGGL/BLL/PHTGL/ContractCompile/PhtglContracttrackprogressService.cs
@@ -24,17 +24,7 @@ namespace BLL
(string.IsNullOrEmpty(table.ContractTrackProgressId) ||
x.ContractTrackProgressId.Contains(table.ContractTrackProgressId)) &&
(string.IsNullOrEmpty(table.ContractTrackId) ||
- x.ContractTrackId.Contains(table.ContractTrackId)) &&
- (string.IsNullOrEmpty(table.BCWS_Quantity) || x.BCWS_Quantity.Contains(table.BCWS_Quantity)) &&
- (string.IsNullOrEmpty(table.BCWS_OutputValue) ||
- x.BCWS_OutputValue.Contains(table.BCWS_OutputValue)) &&
- (string.IsNullOrEmpty(table.BCWS_Percentage) ||
- x.BCWS_Percentage.Contains(table.BCWS_Percentage)) &&
- (string.IsNullOrEmpty(table.ACWP_Quantity) || x.ACWP_Quantity.Contains(table.ACWP_Quantity)) &&
- (string.IsNullOrEmpty(table.ACWP_OutputValue) ||
- x.ACWP_OutputValue.Contains(table.ACWP_OutputValue)) &&
- (string.IsNullOrEmpty(table.ACWP_Percentage) ||
- x.ACWP_Percentage.Contains(table.ACWP_Percentage)) &&
+ x.ContractTrackId.Contains(table.ContractTrackId)) &&
(string.IsNullOrEmpty(table.Date) ||
x.Date.Contains(table.Date))
orderby x.Date
diff --git a/SGGL/FineUIPro.Web/Controls/ChartControl.ascx.cs b/SGGL/FineUIPro.Web/Controls/ChartControl.ascx.cs
index 13fefb1b..d80bdfd3 100644
--- a/SGGL/FineUIPro.Web/Controls/ChartControl.ascx.cs
+++ b/SGGL/FineUIPro.Web/Controls/ChartControl.ascx.cs
@@ -1,6 +1,12 @@
-using System;
+using NPOI.SS.Formula.Functions;
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
using System.Data;
using System.Drawing;
+using System.Linq;
+using System.Reflection;
using System.Web.UI.DataVisualization.Charting;
namespace Web.Controls
@@ -367,5 +373,124 @@ namespace Web.Controls
Controls.Add(chart1);
}
+
+ public void CreateMaryChartHTGL(DataTable dt, int width, int height, string projectShortName)
+ {
+ Chart chart1 = new Chart();
+ chart1.ID = "chart1";
+ chart1.BackColor = Color.WhiteSmoke;
+ chart1.ImageLocation = "~/Images/ChartPic_#SEQ(300,3)";
+ chart1.BorderlineDashStyle = ChartDashStyle.Solid;
+ chart1.Palette = ChartColorPalette.BrightPastel;
+ chart1.BackSecondaryColor = Color.White;
+ chart1.BackGradientStyle = GradientStyle.TopBottom;
+ chart1.BorderWidth = 2;
+ chart1.BorderColor = Color.FromArgb(26, 59, 105);
+ chart1.ImageType = ChartImageType.Png;
+
+ chart1.Width = width;
+ chart1.Height = height;
+
+ Title title = new Title();
+ title.Text = "图表分析";
+ if (!string.IsNullOrEmpty(projectShortName))
+ {
+ title.Text = projectShortName + "图表分析";
+ }
+ title.Text = BLL.Funs.GetSubStr(title.Text, 30);
+ title.ToolTip = title.Text;
+ title.ShadowColor = Color.FromArgb(32, 0, 0, 0);
+ title.Font = new Font("Trebuchet MS", 10F, FontStyle.Bold);
+ title.ShadowOffset = 3;
+ title.ForeColor = Color.FromArgb(26, 59, 105);
+ chart1.Titles.Add(title);
+
+ Legend legend1 = new Legend();
+ legend1.TextWrapThreshold = 1;
+ legend1.Docking = Docking.Right;
+ legend1.Alignment = StringAlignment.Center;
+ legend1.BackColor = Color.Transparent;
+ legend1.Font = new Font(new FontFamily("Trebuchet MS"), 8);
+ legend1.LegendStyle = LegendStyle.Column;
+ legend1.IsEquallySpacedItems = true;
+ legend1.IsTextAutoFit = false;
+ chart1.Legends.Add(legend1);
+
+ ChartArea chartArea = new ChartArea();
+ chartArea.BackColor = Color.Transparent;
+ chartArea.AxisX.IsLabelAutoFit = false;
+ chartArea.AxisY.IsLabelAutoFit = false;
+ chartArea.AxisX.LabelStyle.Font = new Font("Verdana,Arial,Helvetica,sans-serif", 8F, FontStyle.Regular);
+ chartArea.AxisY.LabelStyle.Font = new Font("Verdana,Arial,Helvetica,sans-serif", 8F, FontStyle.Regular);
+ //chartArea.AxisY.LabelStyle.Format = "#(万元)";
+ chartArea.AxisY.LineColor = Color.FromArgb(64, 64, 64, 64);
+ chartArea.AxisX.LineColor = Color.FromArgb(64, 64, 64, 64);
+ chartArea.AxisY.MajorGrid.LineColor = Color.FromArgb(64, 64, 64, 64);
+ chartArea.AxisX.MajorGrid.LineColor = Color.FromArgb(64, 64, 64, 64);
+ chartArea.AxisX.Interval = 1;
+ chartArea.Area3DStyle.Enable3D = false;
+ chart1.ChartAreas.Add(chartArea);
+
+ chart1.Series.Add("BCWS工程量");
+ chart1.Series.Add("BCWS产值");
+ chart1.Series.Add("BCWS百分比");
+ chart1.Series.Add("ACWP工程量");
+ chart1.Series.Add("ACWP产值");
+ chart1.Series.Add("ACWP百分比");
+
+ DataView dv = dt.DefaultView;
+
+ chart1.Series["BCWS工程量"].Points.DataBindXY(dv, "月份", dv, "BCWS工程量");
+ chart1.Series["BCWS工程量"].ChartType = SeriesChartType.Column;
+ for (int i = 0; i < chart1.Series["BCWS工程量"].Points.Count; i++)
+ {
+ chart1.Series["BCWS工程量"].Points[i].ToolTip = "BCWS工程量\n#VALX\n#VALY";
+ }
+
+ chart1.Series["BCWS产值"].Points.DataBindXY(dv, "月份", dv, "BCWS产值");
+ chart1.Series["BCWS产值"].ChartType = SeriesChartType.Column;
+ for (int i = 0; i < chart1.Series["BCWS产值"].Points.Count; i++)
+ {
+ chart1.Series["BCWS产值"].Points[i].ToolTip = "BCWS产值\n#VALX\n#VALY";
+ }
+
+ chart1.Series["BCWS百分比"].Points.DataBindXY(dv, "月份", dv, "BCWS百分比");
+ chart1.Series["BCWS百分比"].Color = Color.MediumSeaGreen;
+ chart1.Series["BCWS百分比"].BorderWidth = 2;
+ chart1.Series["BCWS百分比"].ChartType =SeriesChartType.Spline;
+
+ for (int i = 0; i < chart1.Series["BCWS百分比"].Points.Count; i++)
+ {
+ chart1.Series["BCWS百分比"].Points[i].ToolTip = "BCWS百分比\n#VALX\n#VALY";
+ }
+
+
+ chart1.Series["ACWP工程量"].Points.DataBindXY(dv, "月份", dv, "ACWP工程量");
+ chart1.Series["ACWP工程量"].BorderWidth = 2;
+ for (int i = 0; i < chart1.Series["ACWP工程量"].Points.Count; i++)
+ {
+ chart1.Series["ACWP工程量"].Points[i].ToolTip = "ACWP工程量\n#VALX\n#VALY";
+ }
+
+ chart1.Series["ACWP产值"].Points.DataBindXY(dv, "月份", dv, "BCWS工程量");
+ chart1.Series["ACWP产值"].ChartType = SeriesChartType.Column;
+ for (int i = 0; i < chart1.Series["ACWP产值"].Points.Count; i++)
+ {
+ chart1.Series["ACWP产值"].Points[i].ToolTip = "ACWP产值\n#VALX\n#VALY";
+ }
+
+ chart1.Series["ACWP百分比"].Points.DataBindXY(dv, "月份", dv, "BCWS工程量");
+ chart1.Series["ACWP百分比"].ChartType = SeriesChartType.Spline;
+ // chart1.Series["ACWP百分比"].Color = Color.Red;
+ chart1.Series["ACWP百分比"].BorderWidth = 2;
+ for (int i = 0; i < chart1.Series["ACWP百分比"].Points.Count; i++)
+ {
+ chart1.Series["ACWP百分比"].Points[i].ToolTip = "ACWP百分比\n#VALX\n#VALY";
+ }
+
+ Controls.Add(chart1);
+ }
+
+
}
}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj
index d00d86fc..f25e81d7 100644
--- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj
+++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj
@@ -1259,6 +1259,7 @@
+
@@ -12375,6 +12376,13 @@
ContractTrackMatchWBS.aspx
+
+ ContractTrackProgressChart.aspx
+ ASPXCodeBehind
+
+
+ ContractTrackProgressChart.aspx
+
GeneralTermsConditions.aspx
ASPXCodeBehind
diff --git a/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractTrackEdit.aspx.cs b/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractTrackEdit.aspx.cs
index b93222a4..7910fcdc 100644
--- a/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractTrackEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractTrackEdit.aspx.cs
@@ -113,7 +113,7 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
private void SaveGrid1()
{
- PhtglContracttrackprogressService.DeleteModleByContractTrackId(ID);
+ /*PhtglContracttrackprogressService.DeleteModleByContractTrackId(ID);
JArray EditorArr = Grid1.GetMergedData();
if (EditorArr.Count > 0)
{
@@ -133,7 +133,7 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
model.Date = objects["values"]["Date"].ToString();
BLL.PhtglContracttrackprogressService.AddPHTGL_ContractTrackProgress(model);
}
- }
+ }*/
}
private string GetDeleteScript()
diff --git a/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractTrackList.aspx b/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractTrackList.aspx
index 3bc45eff..4128a8ff 100644
--- a/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractTrackList.aspx
+++ b/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractTrackList.aspx
@@ -36,7 +36,7 @@
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true"
ClicksToEdit="1" DataIDField="Id" AllowSorting="true" SortField="Id"
SortDirection="DESC" OnSort="Grid1_Sort" EnableColumnLines="true"
- AllowPaging="False" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
+ AllowPaging="False" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick" OnRowClick="Grid1_OnRowClick" EnableRowClickEvent="True">
@@ -45,8 +45,8 @@
LabelWidth="140px" OnSelectedIndexChanged="DropMainContractCode_SelectedIndexChanged">
-
+
@@ -58,6 +58,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -193,7 +208,7 @@
-
+
@@ -262,7 +277,7 @@
-
+
@@ -318,46 +333,50 @@
-
-
+
+
-
-
+
+
-
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
+
+
@@ -378,12 +397,12 @@
+ Width="1200px" Height="650px">
+ IsModal="true" Target="Parent" EnableMaximize="true" EnableResize="true" OnClose="Window3_OnClose"
+ Title="匹配WBS" EnableIFrame="true" Height="650px"
+ Width="1200px">