From ae229cb24ecd691339b7a4c49f27671dd9cf6f77 Mon Sep 17 00:00:00 2001
From: gaofei1985 <181547018@qq.com>
Date: Fri, 19 Apr 2024 15:48:37 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Comprehensive/InspectionPersonEdit.aspx | 2 +-
SGGL/FineUIPro.Web/DataShow/GJSX.aspx | 116 +++++++++
SGGL/FineUIPro.Web/DataShow/GJSX.aspx.cs | 234 ++++++++++++++++++
.../DataShow/GJSX.aspx.designer.cs | 177 +++++++++++++
SGGL/FineUIPro.Web/DataShow/GJSXItem.aspx | 118 +++++++++
SGGL/FineUIPro.Web/DataShow/GJSXItem.aspx.cs | 132 ++++++++++
.../DataShow/GJSXItem.aspx.designer.cs | 114 +++++++++
.../DataShow/InspectionManagementItem.aspx.cs | 78 +-----
SGGL/FineUIPro.Web/DataShow/WeldOneOK.aspx | 68 +++--
SGGL/FineUIPro.Web/DataShow/WeldOneOK.aspx.cs | 132 ++++++----
.../DataShow/WeldOneOK.aspx.designer.cs | 63 +++--
.../FineUIPro.Web/DataShow/WeldOneOKItem.aspx | 101 ++++++++
.../DataShow/WeldOneOKItem.aspx.cs | 106 ++++++++
.../DataShow/WeldOneOKItem.aspx.designer.cs | 150 +++++++++++
SGGL/FineUIPro.Web/FineUIPro.Web.csproj | 24 ++
SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user | 2 +-
SGGL/FineUIPro.Web/Web.config | 2 +-
SGGL/FineUIPro.Web/common/main_new.aspx | 10 +-
SGGL/FineUIPro.Web/common/main_new.aspx.cs | 55 ++--
SGGL/FineUIPro.Web/common/main_new1.aspx | 6 +-
SGGL/FineUIPro.Web/common/main_new1.aspx.cs | 98 +++++---
SGGL/WebAPI/WebAPI.csproj.user | 2 +-
22 files changed, 1565 insertions(+), 225 deletions(-)
create mode 100644 SGGL/FineUIPro.Web/DataShow/GJSX.aspx
create mode 100644 SGGL/FineUIPro.Web/DataShow/GJSX.aspx.cs
create mode 100644 SGGL/FineUIPro.Web/DataShow/GJSX.aspx.designer.cs
create mode 100644 SGGL/FineUIPro.Web/DataShow/GJSXItem.aspx
create mode 100644 SGGL/FineUIPro.Web/DataShow/GJSXItem.aspx.cs
create mode 100644 SGGL/FineUIPro.Web/DataShow/GJSXItem.aspx.designer.cs
create mode 100644 SGGL/FineUIPro.Web/DataShow/WeldOneOKItem.aspx
create mode 100644 SGGL/FineUIPro.Web/DataShow/WeldOneOKItem.aspx.cs
create mode 100644 SGGL/FineUIPro.Web/DataShow/WeldOneOKItem.aspx.designer.cs
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonEdit.aspx b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonEdit.aspx
index 5e08b175..fa368162 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonEdit.aspx
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonEdit.aspx
@@ -27,7 +27,7 @@
-
+
diff --git a/SGGL/FineUIPro.Web/DataShow/GJSX.aspx b/SGGL/FineUIPro.Web/DataShow/GJSX.aspx
new file mode 100644
index 00000000..f2e79433
--- /dev/null
+++ b/SGGL/FineUIPro.Web/DataShow/GJSX.aspx
@@ -0,0 +1,116 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GJSX.aspx.cs" Inherits="FineUIPro.Web.DataShow.GJSX" %>
+
+
+
+
+
+
+
+
+ 关键事项数据
+
+
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/DataShow/GJSX.aspx.cs b/SGGL/FineUIPro.Web/DataShow/GJSX.aspx.cs
new file mode 100644
index 00000000..6cb52bff
--- /dev/null
+++ b/SGGL/FineUIPro.Web/DataShow/GJSX.aspx.cs
@@ -0,0 +1,234 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Data.SqlClient;
+using System.Linq;
+
+namespace FineUIPro.Web.DataShow
+{
+ public partial class GJSX : PageBase
+ {
+ #region 加载页面
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ Funs.DropDownPageSize(this.ddlPageSize);
+ ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
+ BLL.ProjectService.InitProjectDropDownList(this.drpProject, true);
+ // 绑定表格t
+ BindGrid();
+ this.Panel1.Title = "关键事项数据(" + BLL.UnitService.GetUnitNameByUnitId(BLL.Const.UnitId_CWCEC) + ")";
+ }
+ }
+
+ ///
+ /// 绑定数据
+ ///
+ private void BindGrid()
+ {
+ string strSql = @"select ProjectId,ProjectCode, ProjectName from Base_Project where ProjectState =1 ";
+ List listStr = new List();
+ string cpara = string.Empty;
+ if (this.drpProject.SelectedValue != Const._Null)
+ {
+ strSql += " AND projectId = @projectId"; ///状态为已完成
+ listStr.Add(new SqlParameter("@projectId", this.drpProject.SelectedValue));
+ }
+
+ //if (!string.IsNullOrEmpty(this.txtStartTime.Text))
+ //{
+ // strSql += " AND h.RegisterDate >=@StartTime";
+ // listStr.Add(new SqlParameter("@StartTime", this.txtStartTime.Text));
+
+ // cpara += " AND c.RegisterDate >=" + this.txtStartTime.Text;
+ //}
+ //if (!string.IsNullOrEmpty(this.txtEndTime.Text))
+ //{
+ // strSql += " AND h.RegisterDate <=@EndTime";
+ // listStr.Add(new SqlParameter("@EndTime", this.txtEndTime.Text));
+
+ // cpara += " AND c.RegisterDate <=" + this.txtEndTime.Text;
+ //}
+
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
+ Grid1.RecordCount = tb.Rows.Count;
+ var table = this.GetPagedDataTable(Grid1, tb);
+ Grid1.DataSource = table;
+ Grid1.DataBind();
+ }
+ #endregion
+
+ #region 查询
+ ///
+ /// 查询
+ ///
+ ///
+ ///
+ protected void TextBox_TextChanged(object sender, EventArgs e)
+ {
+ this.BindGrid();
+ }
+ #endregion
+
+ #region 表排序、分页、关闭窗口
+ ///
+ /// 分页
+ ///
+ ///
+ ///
+ protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
+ {
+ BindGrid();
+ }
+
+ ///
+ /// 排序
+ ///
+ ///
+ ///
+ protected void Grid1_Sort(object sender, GridSortEventArgs e)
+ {
+ BindGrid();
+ }
+
+ ///
+ /// 分页显示条数下拉框
+ ///
+ ///
+ ///
+ protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
+ BindGrid();
+ }
+
+ ///
+ /// 关闭弹出窗
+ ///
+ ///
+ ///
+ protected void Window1_Close(object sender, WindowCloseEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region Grid双击事件 编辑
+ ///
+ /// Grid行双击事件
+ ///
+ ///
+ ///
+ protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
+ {
+ EditData();
+ }
+
+
+ ///
+ ///
+ ///
+ private void EditData()
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
+ return;
+ }
+
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("GJSXItem.aspx?projectId={0}", Grid1.SelectedRowID, "查看 - ")));
+ }
+ #endregion
+
+
+ protected void btnView_Click(object sender, EventArgs e)
+ {
+ EditData();
+ }
+
+ ///
+ /// 数量
+ ///
+ ///
+ ///
+ protected int Count1(object projectId)
+ {
+ int cout1 = 0;
+ if (projectId != null)
+ {
+ var datetime1 = Funs.GetNewDateTime(this.txtStartTime.Text);
+ var datetime2 = Funs.GetNewDateTime(this.txtStartTime.Text);
+ var getT = Funs.DB.GJSX.Where(x => x.ProjectId == projectId.ToString());
+ if (datetime1.HasValue)
+ {
+ getT = getT.Where(x => x.CreateDate >= datetime1);
+ }
+ if (datetime2.HasValue)
+ {
+ getT = getT.Where(x => x.CreateDate <= datetime2);
+ }
+
+ cout1 = getT.Count();
+ }
+ return cout1;
+ }
+
+ protected int Count2(object projectId)
+ {
+ int cout1 = 0;
+ if (projectId != null)
+ {
+ var datetime1 = Funs.GetNewDateTime(this.txtStartTime.Text);
+ var datetime2 = Funs.GetNewDateTime(this.txtStartTime.Text);
+ var getT = Funs.DB.ProcessControl_InspectionManagement.Where(x => x.ProjectId == projectId.ToString() && x.IsOnceQualified == true);
+ if (datetime1.HasValue)
+ {
+ getT = getT.Where(x => x.InspectionDate >= datetime1);
+ }
+ if (datetime2.HasValue)
+ {
+ getT = getT.Where(x => x.InspectionDate <= datetime2);
+ }
+
+ cout1 = getT.Count();
+ }
+ return cout1;
+ }
+
+ protected string Count4(object projectId)
+ {
+ string rate = string.Empty;
+ if (projectId != null)
+ {
+ var datetime1 = Funs.GetNewDateTime(this.txtStartTime.Text);
+ var datetime2 = Funs.GetNewDateTime(this.txtStartTime.Text);
+ var getALL = Funs.DB.ProcessControl_InspectionManagement.Where(x => x.ProjectId == projectId.ToString());
+
+ if (datetime1.HasValue)
+ {
+ getALL = getALL.Where(x => x.CheckDate >= datetime1);
+ }
+ if (datetime2.HasValue)
+ {
+ getALL = getALL.Where(x => x.CheckDate >= datetime1);
+ }
+ var getT = getALL.Where(x => x.ProjectId == projectId.ToString() && x.IsOnceQualified == true);
+ int coutall = getALL.Count();
+ int cout0 = getT.Count();
+ if (coutall > 0)
+ {
+ rate = Math.Round(cout0 * 1.0 / coutall * 100, 2).ToString();
+ }
+ }
+ return rate;
+ }
+ }
+}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/DataShow/GJSX.aspx.designer.cs b/SGGL/FineUIPro.Web/DataShow/GJSX.aspx.designer.cs
new file mode 100644
index 00000000..6624542d
--- /dev/null
+++ b/SGGL/FineUIPro.Web/DataShow/GJSX.aspx.designer.cs
@@ -0,0 +1,177 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.DataShow {
+
+
+ public partial class GJSX {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// Toolbar2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar2;
+
+ ///
+ /// drpProject 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpProject;
+
+ ///
+ /// txtStartTime 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DatePicker txtStartTime;
+
+ ///
+ /// Label3 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Label Label3;
+
+ ///
+ /// txtEndTime 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DatePicker txtEndTime;
+
+ ///
+ /// btnClose 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnClose;
+
+ ///
+ /// labNumber 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.WebControls.Label labNumber;
+
+ ///
+ /// Label2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.WebControls.Label Label2;
+
+ ///
+ /// ToolbarSeparator1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
+
+ ///
+ /// ToolbarText1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarText ToolbarText1;
+
+ ///
+ /// ddlPageSize 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList ddlPageSize;
+
+ ///
+ /// Window1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window1;
+
+ ///
+ /// Menu1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Menu Menu1;
+
+ ///
+ /// btnView 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnView;
+ }
+}
diff --git a/SGGL/FineUIPro.Web/DataShow/GJSXItem.aspx b/SGGL/FineUIPro.Web/DataShow/GJSXItem.aspx
new file mode 100644
index 00000000..f7c82221
--- /dev/null
+++ b/SGGL/FineUIPro.Web/DataShow/GJSXItem.aspx
@@ -0,0 +1,118 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GJSXItem.aspx.cs" Inherits="FineUIPro.Web.DataShow.GJSXItem" %>
+
+
+
+
+
+
+
+
+ 关键事项详细
+
+
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/DataShow/GJSXItem.aspx.cs b/SGGL/FineUIPro.Web/DataShow/GJSXItem.aspx.cs
new file mode 100644
index 00000000..6e6d7ba2
--- /dev/null
+++ b/SGGL/FineUIPro.Web/DataShow/GJSXItem.aspx.cs
@@ -0,0 +1,132 @@
+using Aspose.Words;
+using BLL;
+using Org.BouncyCastle.Asn1.Ocsp;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Data.SqlClient;
+using System.IO;
+using System.Linq;
+using System.Text;
+
+namespace FineUIPro.Web.DataShow
+{
+ public partial class GJSXItem : PageBase
+ {
+ #region 加载页面
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ string projectId = Request.Params["projectId"];
+ this.txtProject.Text = ProjectService.GetProjectNameByProjectId(projectId);
+ Funs.DropDownPageSize(this.ddlPageSize);
+ btnClose.OnClientClick = ActiveWindow.GetHideReference();
+ ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
+ // 绑定表格t
+ BindGrid();
+ this.Panel1.Title = "关键事项数据(" + BLL.UnitService.GetUnitNameByUnitId(BLL.Const.UnitId_CWCEC) + ")";
+ }
+ }
+
+ ///
+ /// 绑定数据
+ ///
+ private void BindGrid()
+ {
+ string strSql = "";
+ List listStr = new List();
+ listStr.Add(new SqlParameter("@ProjectId", Request.Params["projectId"]));
+
+ listStr.Add(new SqlParameter("@sql_where", strSql));
+
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunProc("Sp_GJSX_getlist", parameter);
+ Grid1.RecordCount = tb.Rows.Count;
+ var table = this.GetPagedDataTable(Grid1, tb);
+ Grid1.DataSource = table;
+ Grid1.DataBind();
+ }
+ #endregion
+
+ #region 查询
+ ///
+ /// 查询
+ ///
+ ///
+ ///
+ protected void TextBox_TextChanged(object sender, EventArgs e)
+ {
+ this.BindGrid();
+ }
+ #endregion
+
+ #region 表排序、分页、关闭窗口
+ ///
+ /// 分页
+ ///
+ ///
+ ///
+ protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
+ {
+ BindGrid();
+ }
+
+ ///
+ /// 排序
+ ///
+ ///
+ ///
+ protected void Grid1_Sort(object sender, GridSortEventArgs e)
+ {
+ BindGrid();
+ }
+
+ ///
+ /// 分页显示条数下拉框
+ ///
+ ///
+ ///
+ protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
+ BindGrid();
+ }
+ #endregion
+
+ ///
+ /// 获取检查人名称
+ ///
+ ///
+ ///
+ protected string ConvertCheckMan(object CarryUnitIds)
+ {
+ var uname = BLL.UserService.getUserNamesUserIds(CarryUnitIds);
+ if (string.IsNullOrEmpty(uname))
+ {
+ uname = CarryUnitIds.ToString();
+ }
+ return uname;
+
+ }
+
+ protected string ConvertProgressDetail(object GJSXID)
+ {
+ string detailStr = string.Empty;
+ if (!string.IsNullOrEmpty(GJSXID.ToString()))
+ {
+ Model.GJSX_detail detail = (from x in Funs.DB.GJSX_detail where x.GJSXID == GJSXID.ToString() && x.Progress_detail != null && x.Progress_detail != "" orderby x.Date descending select x).FirstOrDefault();
+ if (detail != null)
+ {
+ detailStr = detail.Progress_detail;
+ }
+ }
+ return detailStr;
+ }
+ }
+}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/DataShow/GJSXItem.aspx.designer.cs b/SGGL/FineUIPro.Web/DataShow/GJSXItem.aspx.designer.cs
new file mode 100644
index 00000000..7fd82545
--- /dev/null
+++ b/SGGL/FineUIPro.Web/DataShow/GJSXItem.aspx.designer.cs
@@ -0,0 +1,114 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.DataShow {
+
+
+ public partial class GJSXItem {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// Toolbar2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar2;
+
+ ///
+ /// txtProject 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtProject;
+
+ ///
+ /// btnClose 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnClose;
+
+ ///
+ /// Label2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.WebControls.Label Label2;
+
+ ///
+ /// ToolbarSeparator1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
+
+ ///
+ /// ToolbarText1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarText ToolbarText1;
+
+ ///
+ /// ddlPageSize 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList ddlPageSize;
+ }
+}
diff --git a/SGGL/FineUIPro.Web/DataShow/InspectionManagementItem.aspx.cs b/SGGL/FineUIPro.Web/DataShow/InspectionManagementItem.aspx.cs
index e0ea345e..d4e89de6 100644
--- a/SGGL/FineUIPro.Web/DataShow/InspectionManagementItem.aspx.cs
+++ b/SGGL/FineUIPro.Web/DataShow/InspectionManagementItem.aspx.cs
@@ -123,83 +123,7 @@ namespace FineUIPro.Web.DataShow
BindGrid();
}
#endregion
- protected string ConvertImageUrlByImage(object registrationId)
- {
- string url = string.Empty;
- string httpUrl = string.Empty;
- var sysSet6 = (from x in Funs.DB.Sys_Set where x.SetName == "程序访问地址" select x).ToList().FirstOrDefault();
- if (sysSet6 != null)
- {
- httpUrl = sysSet6.SetValue;
- }
- if (registrationId != null)
- {
- IList sourlist = AttachFileService.GetBeforeFileList(registrationId.ToString(), BLL.Const.CheckListMenuId);
-
- if (sourlist != null && sourlist.Count > 0)
- {
- string AttachUrl = "";
- foreach (var item in sourlist)
- {
- if (!string.IsNullOrEmpty(item.AttachUrl) && item.AttachUrl.ToLower().EndsWith(".jpg") || item.AttachUrl.ToLower().EndsWith(".jpeg") || item.AttachUrl.ToLower().EndsWith(".png"))
- AttachUrl += item.AttachUrl.TrimEnd(',') + ",";
- }
- url = BLL.UploadAttachmentService.ShowImage("../", AttachUrl.TrimEnd(','));
- }
- }
- return url;
- }
- protected string ConvertImgUrlByImage(object registrationId)
- {
- string url = string.Empty;
- string httpUrl = string.Empty;
- var sysSet6 = (from x in Funs.DB.Sys_Set where x.SetName == "程序访问地址" select x).ToList().FirstOrDefault();
- if (sysSet6 != null)
- {
- httpUrl = sysSet6.SetValue;
- }
- if (registrationId != null)
- {
- IList sourlist = AttachFileService.Getfilelist(registrationId.ToString() + "r", BLL.Const.CheckListMenuId);
-
- if (sourlist != null && sourlist.Count > 0)
- {
- string AttachUrl = "";
- foreach (var item in sourlist)
- {
- if (!string.IsNullOrEmpty(item.AttachUrl) && item.AttachUrl.ToLower().EndsWith(".jpg") || item.AttachUrl.ToLower().EndsWith(".jpeg") || item.AttachUrl.ToLower().EndsWith(".png"))
- AttachUrl += item.AttachUrl.TrimEnd(',') + ",";
- }
- url = BLL.UploadAttachmentService.ShowImage("../", AttachUrl.TrimEnd(','));
- }
- }
- return url;
- }
-
- public string Convertstatus(Object code)
- {
- Model.Check_CheckControl checkControl = BLL.CheckControlService.GetCheckControl(code.ToString());
- if (checkControl.State.Equals("5") || checkControl.State.Equals("6"))
- {
- return "未确认";
- }
- else if (checkControl.State == Const.CheckControl_Complete)
- { //闭环
- return "已闭环";
- }
- //else if( checkControl.LimitDate> )
- else if (Convert.ToDateTime(checkControl.LimitDate).AddDays(1) < DateTime.Now) //延期未整改
- {
- return "超期未整改";
-
- }
- else //期内未整改
- {
- return "未整改";
-
- }
- }
-
+
///
/// 获取检查人名称
///
diff --git a/SGGL/FineUIPro.Web/DataShow/WeldOneOK.aspx b/SGGL/FineUIPro.Web/DataShow/WeldOneOK.aspx
index e6a14ddb..33747fec 100644
--- a/SGGL/FineUIPro.Web/DataShow/WeldOneOK.aspx
+++ b/SGGL/FineUIPro.Web/DataShow/WeldOneOK.aspx
@@ -26,16 +26,8 @@
-
-
-
-
-
-
-
-
+
+
@@ -52,17 +44,49 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -81,7 +105,7 @@
+ Width="1200px" Height="620px" Maximized="true">