From 521a626865ef9e0d606e274441f5bf2374ebeb05 Mon Sep 17 00:00:00 2001 From: xiaju <1784803958@qq.com> Date: Thu, 13 Mar 2025 18:17:12 +0800 Subject: [PATCH] 1 --- .../SGGLDB_WH_V2025-03-13-xiaj(优化看板加载).sql | 11 ----------- .../FineUIPro.Web/PZHGL/GJSX/GJSXListEdit.aspx | 6 +++--- .../PZHGL/GJSX/GJSXListEdit.aspx.cs | 14 +++++++------- SGGL/FineUIPro.Web/common/mainMenu_PGJSX.aspx | 15 ++++++++++----- .../common/mainMenu_PGJSX.aspx.cs | 2 +- .../PublishProfiles/FolderProfile.pubxml.user | 18 +++++++++--------- SGGL/WebAPI/WebAPI.csproj.user | 4 ++-- 7 files changed, 32 insertions(+), 38 deletions(-) delete mode 100644 DataBase/版本日志/SGGLDB_WH_V2025-03-13-xiaj(优化看板加载).sql diff --git a/DataBase/版本日志/SGGLDB_WH_V2025-03-13-xiaj(优化看板加载).sql b/DataBase/版本日志/SGGLDB_WH_V2025-03-13-xiaj(优化看板加载).sql deleted file mode 100644 index c958984d..00000000 --- a/DataBase/版本日志/SGGLDB_WH_V2025-03-13-xiaj(优化看板加载).sql +++ /dev/null @@ -1,11 +0,0 @@ - - ---Ż -create index SitePerson_PersonInOutNow_ChangeTime_ProjectId_index -on dbo.SitePerson_PersonInOutNow (ChangeTime, ProjectId) -go - - - - - diff --git a/SGGL/FineUIPro.Web/PZHGL/GJSX/GJSXListEdit.aspx b/SGGL/FineUIPro.Web/PZHGL/GJSX/GJSXListEdit.aspx index ac5b51e0..1e38ce4c 100644 --- a/SGGL/FineUIPro.Web/PZHGL/GJSX/GJSXListEdit.aspx +++ b/SGGL/FineUIPro.Web/PZHGL/GJSX/GJSXListEdit.aspx @@ -46,7 +46,7 @@ - + @@ -54,13 +54,13 @@ - - diff --git a/SGGL/FineUIPro.Web/PZHGL/GJSX/GJSXListEdit.aspx.cs b/SGGL/FineUIPro.Web/PZHGL/GJSX/GJSXListEdit.aspx.cs index dbb3e75f..46319a18 100644 --- a/SGGL/FineUIPro.Web/PZHGL/GJSX/GJSXListEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/PZHGL/GJSX/GJSXListEdit.aspx.cs @@ -90,12 +90,12 @@ namespace FineUIPro.Web.PZHGL.GJSX Alert.ShowInParent("事项类别!", MessageBoxIcon.Warning); return; } - if (this.DropUser_Acceptance.SelectedValue == Const._Null) + if (this.DropUser_Acceptance.SelectedValue == null || this.DropUser_Acceptance.SelectedValue == Const._Null) { Alert.ShowInParent("请选择责任人!", MessageBoxIcon.Warning); return; } - if (this.DropUser_ReceiveID.SelectedValue == Const._Null) + if (this.DropUser_ReceiveID.SelectedValue == null || this.DropUser_ReceiveID.SelectedValue == Const._Null) { Alert.ShowInParent("请选择跟踪人!", MessageBoxIcon.Warning); return; @@ -818,12 +818,12 @@ namespace FineUIPro.Web.PZHGL.GJSX Alert.ShowInParent("事项类别!", MessageBoxIcon.Warning); return; } - if (this.DropUser_Acceptance.SelectedValue == Const._Null) + if (this.DropUser_Acceptance.SelectedValue == null || this.DropUser_Acceptance.SelectedValue == Const._Null) { Alert.ShowInParent("请选择责任人!", MessageBoxIcon.Warning); return; } - if (this.DropUser_ReceiveID.SelectedValue == Const._Null) + if (this.DropUser_ReceiveID.SelectedValue == null || this.DropUser_ReceiveID.SelectedValue == Const._Null) { Alert.ShowInParent("请选择跟踪人!", MessageBoxIcon.Warning); return; @@ -886,7 +886,7 @@ namespace FineUIPro.Web.PZHGL.GJSX } else { - + var gjsx = BLL.GJSXService.GetGJSXById(txtGJSXID.Text); if (gjsx.User_Acceptance.Contains(this.CurrUser.UserId)) {//责任人的时候保存关键事项 @@ -1014,12 +1014,12 @@ namespace FineUIPro.Web.PZHGL.GJSX Alert.ShowInParent("事项类别!", MessageBoxIcon.Warning); return; } - if (this.DropUser_Acceptance.SelectedValue == Const._Null) + if (this.DropUser_Acceptance.SelectedValue == null || this.DropUser_Acceptance.SelectedValue == Const._Null) { Alert.ShowInParent("请选择责任人!", MessageBoxIcon.Warning); return; } - if (this.DropUser_ReceiveID.SelectedValue == Const._Null) + if (this.DropUser_ReceiveID.SelectedValue == null || this.DropUser_ReceiveID.SelectedValue == Const._Null) { Alert.ShowInParent("请选择跟踪人!", MessageBoxIcon.Warning); return; diff --git a/SGGL/FineUIPro.Web/common/mainMenu_PGJSX.aspx b/SGGL/FineUIPro.Web/common/mainMenu_PGJSX.aspx index 5d5cca19..98ec808f 100644 --- a/SGGL/FineUIPro.Web/common/mainMenu_PGJSX.aspx +++ b/SGGL/FineUIPro.Web/common/mainMenu_PGJSX.aspx @@ -205,7 +205,7 @@
-
+
@@ -746,7 +746,7 @@ var option = { title: { // left:'center', - text: '关键事项超期平均时间', + text: '关键事项超期平均时间统计(单位:天)', textStyle: { color: '#1C1C1C', fontSize: 16, @@ -756,11 +756,12 @@ }, tooltip: {}, legend: { + data: ['关键事项超期平均时间'], left: '3%', show: true, selectedMode: false, textStyle: {//图例文字的样式 - color: '#1C1C1C', + //color: '#1C1C1C', fontSize: 16, fontWeight: 700 } @@ -842,10 +843,11 @@ // 使用刚指定的配置项和数据显示图表。 myChart.setOption(option) } + var four =<%=Four %>; var xArr = four.categories; var series = [{ - name: '关键事项超期平均时间统计(单位:天)', + name: '关键事项超期平均时间', type: 'bar', barWidth: 30, barGap: 0, @@ -858,6 +860,7 @@ label: { show: true, position: "middle" }, lineStyle: { type: "dashed", + width: 2, color: "#3c78d8" } }, @@ -867,10 +870,12 @@ label: { show: true, position: "middle" }, lineStyle: { type: "dashed", + width: 2, color: "#FF0000" } } - ] + ], + symbol: ['none', 'none']//标记线箭头 }, label: { //柱体上显示数值 show: true,//开启显示 diff --git a/SGGL/FineUIPro.Web/common/mainMenu_PGJSX.aspx.cs b/SGGL/FineUIPro.Web/common/mainMenu_PGJSX.aspx.cs index 9b389796..7ecd8f3b 100644 --- a/SGGL/FineUIPro.Web/common/mainMenu_PGJSX.aspx.cs +++ b/SGGL/FineUIPro.Web/common/mainMenu_PGJSX.aspx.cs @@ -481,7 +481,7 @@ namespace FineUIPro.Web double averageTypeDiffDay = 0; if (typelst.Any()) { - averageTypeDiffDay = typelst.Average(p => p.DiffDay); + averageTypeDiffDay = Math.Round(typelst.Average(p => p.DiffDay), 1); } listdata.Add(averageTypeDiffDay); } diff --git a/SGGL/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user b/SGGL/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user index 0b98cab7..57be39e8 100644 --- a/SGGL/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user +++ b/SGGL/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -6,7 +6,7 @@ <_PublishTargetUrl>E:\诺必达合肥\发布\五环WebApi - True|2025-03-13T07:31:10.3223071Z||;True|2025-03-13T10:58:17.1401575+08:00||;True|2025-01-23T23:10:37.9664637+08:00||;True|2024-09-24T09:51:10.8028974+08:00||;True|2024-09-20T17:30:59.6144803+08:00||;True|2024-09-20T15:28:40.2547949+08:00||;True|2024-09-19T16:30:51.3047517+08:00||;True|2024-09-19T15:53:23.2431713+08:00||;True|2024-09-19T15:48:55.0571748+08:00||;True|2024-09-19T15:06:29.5748482+08:00||;True|2024-09-19T14:55:42.1477578+08:00||;True|2024-09-19T10:07:53.8666329+08:00||;True|2024-09-03T16:26:17.4985546+08:00||;True|2024-07-17T10:29:15.9472548+08:00||; + True|2025-03-13T08:44:25.3220313Z||;True|2025-03-13T15:31:10.3223071+08:00||;True|2025-03-13T10:58:17.1401575+08:00||;True|2025-01-23T23:10:37.9664637+08:00||;True|2024-09-24T09:51:10.8028974+08:00||;True|2024-09-20T17:30:59.6144803+08:00||;True|2024-09-20T15:28:40.2547949+08:00||;True|2024-09-19T16:30:51.3047517+08:00||;True|2024-09-19T15:53:23.2431713+08:00||;True|2024-09-19T15:48:55.0571748+08:00||;True|2024-09-19T15:06:29.5748482+08:00||;True|2024-09-19T14:55:42.1477578+08:00||;True|2024-09-19T10:07:53.8666329+08:00||;True|2024-09-03T16:26:17.4985546+08:00||;True|2024-07-17T10:29:15.9472548+08:00||; @@ -86,22 +86,22 @@ 10/28/2024 14:02:50 - 03/13/2025 15:31:08 + 03/13/2025 16:44:23 - 03/13/2025 15:31:08 + 03/13/2025 16:44:23 12/06/2024 20:13:58 - 03/13/2025 15:30:45 + 03/13/2025 16:44:14 12/26/2024 09:46:52 - 03/13/2025 15:30:45 + 03/13/2025 16:44:14 12/18/2020 05:32:28 @@ -389,13 +389,13 @@ 02/09/2013 00:42:28 - 03/13/2025 15:30:49 + 03/13/2025 16:44:14 - 03/13/2025 15:30:49 + 03/13/2025 16:44:14 - 03/13/2025 15:30:49 + 03/13/2025 16:44:14 01/23/2014 21:57:34 @@ -479,7 +479,7 @@ 10/28/2024 14:02:50 - 03/13/2025 15:30:51 + 03/13/2025 16:44:15 10/28/2024 14:02:50 diff --git a/SGGL/WebAPI/WebAPI.csproj.user b/SGGL/WebAPI/WebAPI.csproj.user index bb477cbe..556827c1 100644 --- a/SGGL/WebAPI/WebAPI.csproj.user +++ b/SGGL/WebAPI/WebAPI.csproj.user @@ -1,7 +1,7 @@ - + - Release|Any CPU + Debug|Any CPU true