diff --git a/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionManagementStatistics.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionManagementStatistics.aspx.cs
index dd91818a..5044cf3c 100644
--- a/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionManagementStatistics.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionManagementStatistics.aspx.cs
@@ -29,7 +29,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
BLL.CNProfessionalService.InitCNProfessionalDownList(this.drpCNProfessional, false);//专业
drpCNProfessional.Items.Insert(0, new FineUIPro.ListItem("- 请选择专业 -", BLL.Const._Null));
}
- else
+ else if(drpZhType.SelectedValue.Equals("2"))
{
BLL.UnitService.InitUnitDownList(this.drpCNProfessional, this.CurrUser.LoginProjectId, false);//施工分包商
drpCNProfessional.Items.Insert(0, new FineUIPro.ListItem("- 请选择单位名称 -", BLL.Const._Null));
@@ -73,14 +73,20 @@ namespace FineUIPro.Web.CQMS.ProcessControl
//统计所给时间段的合格数量
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, true);
}
- else
+ else if (ZyType == "2")
{
//统计所给时间段的全部数量
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, false);
//统计所给时间段的合格数量
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, true);
}
-
+ else
+ {
+ //统计所给事件段的全部数量
+ managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(this.CurrUser.LoginProjectId, StartDate, NewDate, false);
+ //统计所给事件段的合格数量
+ managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(this.CurrUser.LoginProjectId, StartDate, NewDate, true);
+ }
Statistics.CheckDate += string.Format("{0:yyyy-MM-dd}", DateTime.Now);
Statistics.SunNumber = managementListSunNumber.Count();
Statistics.OneStatisticsSunNumber = managementListOneNumber.Count();
@@ -108,13 +114,20 @@ namespace FineUIPro.Web.CQMS.ProcessControl
//统计所给事件段的合格数量
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NextDate, true);
}
- else
+ else if (ZyType == "2")
{
//统计所给事件段的全部数量
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NextDate, false);
//统计所给事件段的合格数量
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NextDate, true);
}
+ else
+ {
+ //统计所给事件段的全部数量
+ managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(this.CurrUser.LoginProjectId, StartDate, NewDate, false);
+ //统计所给事件段的合格数量
+ managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(this.CurrUser.LoginProjectId, StartDate, NewDate, true);
+ }
Statistics.CheckDate += string.Format("{0:yyyy-MM-dd}", NextDate);
Statistics.SunNumber = managementListSunNumber.Count();
Statistics.OneStatisticsSunNumber = managementListOneNumber.Count();
@@ -142,7 +155,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, true);
}
- else
+ else if(ZyType=="2")
{
//统计所给事件段的全部数量
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, false);
@@ -150,6 +163,13 @@ namespace FineUIPro.Web.CQMS.ProcessControl
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, true);
}
+ else
+ {
+ //统计所给事件段的全部数量
+ managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(this.CurrUser.LoginProjectId, StartDate, NewDate, false);
+ //统计所给事件段的合格数量
+ managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(this.CurrUser.LoginProjectId, StartDate, NewDate, true);
+ }
Statistics.CheckDate += string.Format("{0:yyyy-MM-dd}", DateTime.Now);
@@ -178,13 +198,20 @@ namespace FineUIPro.Web.CQMS.ProcessControl
//统计所给事件段的合格数量
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, true);
}
- else
+ else if (ZyType == "2")
{
//统计所给事件段的全部数量
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, false);
//统计所给事件段的合格数量
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, true);
}
+ else
+ {
+ //统计所给事件段的全部数量
+ managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(this.CurrUser.LoginProjectId, StartDate, NewDate, false);
+ //统计所给事件段的合格数量
+ managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(this.CurrUser.LoginProjectId, StartDate, NewDate, true);
+ }
Statistics.CheckDate += string.Format("{0:yyyy-MM-dd}", NewDate);
Statistics.SunNumber = managementListSunNumber.Count();
Statistics.OneStatisticsSunNumber = managementListOneNumber.Count();
@@ -226,7 +253,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
//统计所给事件段的合格数量
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, true);
}
- else
+ else if(ZyType=="2")
{
//统计所给事件段的全部数量
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, false);
@@ -234,6 +261,13 @@ namespace FineUIPro.Web.CQMS.ProcessControl
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, true);
}
+ else
+ {
+ //统计所给事件段的全部数量
+ managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(this.CurrUser.LoginProjectId, StartDate, NewDate, false);
+ //统计所给事件段的合格数量
+ managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(this.CurrUser.LoginProjectId, StartDate, NewDate, true);
+ }
Statistics.CheckDate += string.Format("{0:yyyy-MM-dd}", DateTime.Now);
Statistics.SunNumber = managementListSunNumber.Count();
Statistics.OneStatisticsSunNumber = managementListOneNumber.Count();
@@ -260,12 +294,19 @@ namespace FineUIPro.Web.CQMS.ProcessControl
//统计所给事件段的合格数量
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, true);
}
- else
+ else if(ZyType=="2")
{ //统计所给事件段的全部数量
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, false);
//统计所给事件段的合格数量
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, true);
}
+ else
+ {
+ //统计所给事件段的全部数量
+ managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(this.CurrUser.LoginProjectId, StartDate, NewDate, false);
+ //统计所给事件段的合格数量
+ managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(this.CurrUser.LoginProjectId, StartDate, NewDate, true);
+ }
Statistics.CheckDate += string.Format("{0:yyyy-MM-dd}", NewDate);
Statistics.SunNumber = managementListSunNumber.Count();
Statistics.OneStatisticsSunNumber = managementListOneNumber.Count();
@@ -333,13 +374,20 @@ namespace FineUIPro.Web.CQMS.ProcessControl
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, EndDate, true);
}
- else
+ else if(ZyType=="2")
{
//统计所给时间段的全部数量
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, EndDate, false);
//统计所给时间段的合格数量
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, EndDate, true);
}
+ else
+ {
+ //统计所给事件段的全部数量
+ managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(this.CurrUser.LoginProjectId, StartDate, NewDate, false);
+ //统计所给事件段的合格数量
+ managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(this.CurrUser.LoginProjectId, StartDate, NewDate, true);
+ }
Statistics.CheckDate = string.Format("{0:yyyy-MM-dd}", StartDate) + " 至 " + string.Format("{0:yyyy-MM-dd}", EndDate);
Statistics.SunNumber = managementListSunNumber.Count();
Statistics.OneStatisticsSunNumber = managementListOneNumber.Count();
@@ -515,7 +563,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
BLL.CNProfessionalService.InitCNProfessionalDownList(this.drpCNProfessional, false);//专业
drpCNProfessional.Items.Insert(0, new FineUIPro.ListItem("- 请选择专业 -", BLL.Const._Null));
}
- else
+ else if(drpZhType.SelectedValue.Equals("2"))
{
BLL.UnitService.InitUnitDownList(this.drpCNProfessional, this.CurrUser.LoginProjectId, false);//施工分包商
drpCNProfessional.Items.Insert(0, new FineUIPro.ListItem("- 请选择单位 -", BLL.Const._Null));
diff --git a/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx b/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx
index 14cd79aa..ae285275 100644
--- a/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx
+++ b/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx
@@ -105,11 +105,13 @@
diff --git a/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx.cs
index 421e60bf..a5c44d64 100644
--- a/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx.cs
@@ -8,6 +8,7 @@ using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Text;
+using System.Text.RegularExpressions;
namespace FineUIPro.Web.CQMS.ProcessControl
{
@@ -185,7 +186,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
}
//合格的情况下不允许修改
var model = Funs.DB.ProcessControl_InspectionManagement.FirstOrDefault(x => x.InspectionId == Grid1.SelectedRowID);
- if (model.IsOnceQualified==true)
+ if (model.IsOnceQualified == true)
{
Alert.ShowInTop("该共检通知单已合格,不允许修改!", MessageBoxIcon.Warning);
return;
@@ -253,6 +254,10 @@ namespace FineUIPro.Web.CQMS.ProcessControl
{
this.btnMenuDel.Hidden = false;
}
+ if (buttonList.Contains(BLL.Const.BtnSave))
+ {
+ this.btnMenuCopy.Hidden = false;
+ }
}
}
#endregion
@@ -311,20 +316,10 @@ namespace FineUIPro.Web.CQMS.ProcessControl
cellStyle.BorderLeft = NPOI.SS.UserModel.BorderStyle.Thin;
cellStyle.Alignment = NPOI.SS.UserModel.HorizontalAlignment.Center;
cellStyle.VerticalAlignment = NPOI.SS.UserModel.VerticalAlignment.Center;
+ cellStyle.WrapText = true;//自动换行
var font = workbook.CreateFont();
font.FontHeightInPoints = 11;
cellStyle.SetFont(font);
- NPOI.SS.UserModel.ICellStyle cellStyle0 = workbook.CreateCellStyle();
- cellStyle0.BorderTop = NPOI.SS.UserModel.BorderStyle.Thin;
- cellStyle0.BorderRight = NPOI.SS.UserModel.BorderStyle.Thin;
- cellStyle0.BorderBottom = NPOI.SS.UserModel.BorderStyle.Thin;
- cellStyle0.BorderLeft = NPOI.SS.UserModel.BorderStyle.Thin;
- cellStyle0.Alignment = NPOI.SS.UserModel.HorizontalAlignment.Center;
- cellStyle0.VerticalAlignment = NPOI.SS.UserModel.VerticalAlignment.Center;
- var font0 = workbook.CreateFont();
- font0.FontHeightInPoints = 12;
- font0.IsBold = true;
- cellStyle0.SetFont(font0);
// 第二步:创建新数据行
NPOI.SS.UserModel.ISheet sheet = workbook.GetSheetAt(0);
NPOI.SS.UserModel.IRow row = sheet.GetRow(0);
@@ -435,17 +430,17 @@ namespace FineUIPro.Web.CQMS.ProcessControl
var units = (from x in db.Base_Unit
join y in db.Project_ProjectUnit
on x.UnitId equals y.UnitId
- where y.ProjectId==this.CurrUser.LoginProjectId && y.UnitType== BLL.Const.ProjectUnitType_4
+ where y.ProjectId == this.CurrUser.LoginProjectId && y.UnitType == BLL.Const.ProjectUnitType_4
orderby x.UnitName
select x).FirstOrDefault();
- if (units!=null)
+ if (units != null)
{
bookmarkUnitName.Text = units.UnitName;
}
}
var projectModel = db.Base_Project.Where(x => x.ProjectId == this.CurrUser.LoginProjectId).FirstOrDefault();
var inspectionModel = db.ProcessControl_InspectionManagement.Where(x => x.InspectionId == Id).FirstOrDefault();
-
+
//项目编号
Bookmark bookmarkProjectCode = doc.Range.Bookmarks["projectCode"];
if (bookmarkProjectCode != null)
@@ -575,7 +570,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
builder.StartTable();
builder.CellFormat.Borders.LineStyle = Aspose.Words.LineStyle.Single;
builder.CellFormat.Borders.Color = System.Drawing.Color.Black;
-
+
builder.Bold = false;
builder.RowFormat.Height = 20;
builder.Font.Size = 10;
@@ -591,7 +586,8 @@ namespace FineUIPro.Web.CQMS.ProcessControl
{
builder.RowFormat.Height = 200 / ManagementDetaillList.Count;
}
- else {
+ else
+ {
builder.RowFormat.Height = 20;
}
builder.CellFormat.Borders.Left.LineWidth = 1;
@@ -602,7 +598,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
builder.CellFormat.Width = 156;
builder.Write(ConvertControlPointType(item.ControlPointType));
builder.CellFormat.Borders.Left.LineWidth = 0;
- // 控制点等级
+ // 控制点等级
builder.InsertCell();
builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
@@ -612,11 +608,12 @@ namespace FineUIPro.Web.CQMS.ProcessControl
var ControlPointType = ConvertClass(item.ControlPointType);
#region 控制点等级
- if (ControlPointType.Contains("A") )
+ if (ControlPointType.Contains("A"))
{
builder.Write("■A ");
}
- else {
+ else
+ {
builder.Write("□A ");
}
if (ControlPointType.Contains("B"))
@@ -838,8 +835,8 @@ namespace FineUIPro.Web.CQMS.ProcessControl
builder.Write("注:如果业主有规定,执行业主的规定。 ");
#endregion
-
- doc.Save(newUrl);
+
+ doc.Save(newUrl);
string fileName = Path.GetFileName(newUrl);
FileInfo info = new FileInfo(newUrl);
long fileSize = info.Length;
@@ -860,7 +857,8 @@ namespace FineUIPro.Web.CQMS.ProcessControl
}
}
- public class WorkBranchList {
+ public class WorkBranchList
+ {
public string UnitWorkId { get; set; }
public string Branch { get; set; }
}
@@ -974,9 +972,84 @@ namespace FineUIPro.Web.CQMS.ProcessControl
uname = CarryUnitIds.ToString();
}
return uname;
-
+
}
#endregion
+
#endregion
+
+ ///
+ /// 复制
+ ///
+ ///
+ ///
+ protected void btnMenuCopy_Click(object sender, EventArgs e)
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请至少选择一条记录", MessageBoxIcon.Warning);
+ return;
+ }
+ var inspection = BLL.InspectionManagementService.GetInspectionManagementById(this.Grid1.SelectedRowID);
+ if (inspection != null)
+ {
+ Model.ProcessControl_InspectionManagement newInspection = new Model.ProcessControl_InspectionManagement();
+ newInspection.InspectionId = SQLHelper.GetNewID(typeof(Model.ProcessControl_InspectionManagement));
+ newInspection.ProjectId = this.CurrUser.LoginProjectId;
+ newInspection.UnitId = inspection.UnitId;
+ newInspection.CNProfessionalId = inspection.CNProfessionalId;
+ newInspection.InspectionCode = inspection.InspectionCode;
+ newInspection.UnitWorkId = inspection.UnitWorkId;
+ newInspection.Branch = inspection.Branch;
+ newInspection.ControlPointType = inspection.ControlPointType;
+ newInspection.AcceptanceSite = inspection.AcceptanceSite;
+ newInspection.IsOnceQualified = inspection.IsOnceQualified;
+ newInspection.InspectionDate = inspection.InspectionDate;
+ newInspection.AttachUrl = inspection.AttachUrl;
+ newInspection.CheckDate = inspection.CheckDate;
+ newInspection.CheckMan = inspection.CheckMan;
+ newInspection.UnqualifiedReason = inspection.UnqualifiedReason;
+
+ //通知单编号后有字母递增,无则加“a”
+ string fisrtE = inspection.NoticeCode.Substring(0,inspection.NoticeCode.Length - 1);
+ string lastE = inspection.NoticeCode.Substring(inspection.NoticeCode.Length - 1, 1);
+ bool b = Regex.IsMatch(lastE, "[a-zA-Z]");
+ if (b)
+ {
+ int x = (int)Convert.ToByte(Convert.ToChar(lastE));
+ newInspection.NoticeCode = fisrtE + Convert.ToChar(x + 1);
+ }
+ else
+ {
+ newInspection.NoticeCode = inspection.NoticeCode + "a";
+ }
+
+ newInspection.AcceptanceCheckMan = inspection.AcceptanceCheckMan;
+ newInspection.ParentDivisionProjectId = inspection.ParentDivisionProjectId;
+ newInspection.CompileMan = this.CurrUser.UserId;
+ newInspection.CompileDate = DateTime.Now;
+ newInspection.FileType = inspection.FileType;
+ newInspection.AttachUrl2 = inspection.AttachUrl2;
+ BLL.InspectionManagementService.AddInspectionManagement(newInspection);
+
+ var details = InspectionManagementDetailService.GetInspectionDetails(inspection.InspectionId);
+ if (details.Count > 0)
+ {
+ foreach (var item in details)
+ {
+ Model.ProcessControl_InspectionManagementDetail newDetail = new Model.ProcessControl_InspectionManagementDetail();
+ newDetail.InspectionDetailId = SQLHelper.GetNewID(typeof(Model.ProcessControl_InspectionManagementDetail));
+ newDetail.InspectionId = newInspection.InspectionId;
+ newDetail.UnitWorkId = item.UnitWorkId;
+ newDetail.Branch = item.Branch;
+ newDetail.ControlPointType = item.ControlPointType;
+ newDetail.CreateDate = DateTime.Now;
+ BLL.InspectionManagementDetailService.AddInspectionDetail(newDetail);
+ }
+ }
+ ShowNotify("复制成功!");
+ BindGrid();
+ }
+ }
}
}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx.designer.cs b/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx.designer.cs
index 9f1a0b58..6aa89952 100644
--- a/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx.designer.cs
+++ b/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx.designer.cs
@@ -7,13 +7,11 @@
// 自动生成>
//------------------------------------------------------------------------------
-namespace FineUIPro.Web.CQMS.ProcessControl
-{
-
-
- public partial class InspectionNotice
- {
-
+namespace FineUIPro.Web.CQMS.ProcessControl {
+
+
+ public partial class InspectionNotice {
+
///
/// form1 控件。
///
@@ -22,7 +20,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
-
+
///
/// PageManager1 控件。
///
@@ -31,7 +29,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.PageManager PageManager1;
-
+
///
/// Panel1 控件。
///
@@ -40,7 +38,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Panel Panel1;
-
+
///
/// Grid1 控件。
///
@@ -49,7 +47,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Grid Grid1;
-
+
///
/// ToolSearch 控件。
///
@@ -58,7 +56,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Toolbar ToolSearch;
-
+
///
/// drpUnitWork 控件。
///
@@ -67,7 +65,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DropDownList drpUnitWork;
-
+
///
/// drpCNProfessional 控件。
///
@@ -76,7 +74,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DropDownList drpCNProfessional;
-
+
///
/// txtStarTime 控件。
///
@@ -85,7 +83,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtStarTime;
-
+
///
/// Label1 控件。
///
@@ -94,7 +92,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Label Label1;
-
+
///
/// txtEndTime 控件。
///
@@ -103,7 +101,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtEndTime;
-
+
///
/// btnSearch 控件。
///
@@ -112,7 +110,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Button btnSearch;
-
+
///
/// btnNew 控件。
///
@@ -121,7 +119,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Button btnNew;
-
+
///
/// btnOut 控件。
///
@@ -130,7 +128,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Button btnOut;
-
+
///
/// lblPageIndex 控件。
///
@@ -139,7 +137,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::System.Web.UI.WebControls.Label lblPageIndex;
-
+
///
/// Label3 控件。
///
@@ -148,7 +146,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::System.Web.UI.WebControls.Label Label3;
-
+
///
/// lbtnFileUrl 控件。
///
@@ -157,7 +155,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::System.Web.UI.WebControls.LinkButton lbtnFileUrl;
-
+
///
/// ToolbarText1 控件。
///
@@ -166,7 +164,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.ToolbarText ToolbarText1;
-
+
///
/// ddlPageSize 控件。
///
@@ -175,7 +173,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DropDownList ddlPageSize;
-
+
///
/// Window1 控件。
///
@@ -184,7 +182,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Window Window1;
-
+
///
/// Menu1 控件。
///
@@ -193,7 +191,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Menu Menu1;
-
+
///
/// btnMenuModify 控件。
///
@@ -202,16 +200,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.MenuButton btnMenuModify;
-
- ///
- /// btnPrinter 控件。
- ///
- ///
- /// 自动生成的字段。
- /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
- ///
- protected global::FineUIPro.MenuButton btnPrinter;
-
+
///
/// btnMenuDel 控件。
///
@@ -220,5 +209,23 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.MenuButton btnMenuDel;
+
+ ///
+ /// btnPrinter 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnPrinter;
+
+ ///
+ /// btnMenuCopy 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuCopy;
}
}
diff --git a/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNoticeEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNoticeEdit.aspx.cs
index 7f16cf78..dbaec460 100644
--- a/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNoticeEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNoticeEdit.aspx.cs
@@ -22,6 +22,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
BLL.UnitService.InitUnitByProjectIdUnitTypeDropDownList(drpUnit, this.CurrUser.LoginProjectId, BLL.Const.ProjectUnitType_2, true);//施工分包商
BLL.CNProfessionalService.InitCNProfessionalDownList(this.drpCNProfessionalId, true);//专业
UserService.InitUserProjectIdUnitTypeDropDownList(this.drpAcceptanceCheckMan, this.CurrUser.LoginProjectId, string.Empty, false);
+ //UserService.InitUserNameProjectIdUnitTypeDropDownList(this.drpAcceptanceCheckMan, this.CurrUser.LoginProjectId, string.Empty, false);
this.hdInspectionNoticeId.Text = Request.Params["inspectionId"];
if (!string.IsNullOrEmpty(Request.Params["View"]))
{
diff --git a/SGGL/FineUIPro.Web/CQMS/ProcessControl/NondestructiveTest_New.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ProcessControl/NondestructiveTest_New.aspx.cs
index 15f2fd7a..9bf5f2ac 100644
--- a/SGGL/FineUIPro.Web/CQMS/ProcessControl/NondestructiveTest_New.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/ProcessControl/NondestructiveTest_New.aspx.cs
@@ -272,20 +272,10 @@ namespace FineUIPro.Web.CQMS.ProcessControl
cellStyle.BorderLeft = NPOI.SS.UserModel.BorderStyle.Thin;
cellStyle.Alignment = NPOI.SS.UserModel.HorizontalAlignment.Center;
cellStyle.VerticalAlignment = NPOI.SS.UserModel.VerticalAlignment.Center;
+ cellStyle.WrapText = true;//自动换行
var font = workbook.CreateFont();
font.FontHeightInPoints = 11;
cellStyle.SetFont(font);
- NPOI.SS.UserModel.ICellStyle cellStyle0 = workbook.CreateCellStyle();
- cellStyle0.BorderTop = NPOI.SS.UserModel.BorderStyle.Thin;
- cellStyle0.BorderRight = NPOI.SS.UserModel.BorderStyle.Thin;
- cellStyle0.BorderBottom = NPOI.SS.UserModel.BorderStyle.Thin;
- cellStyle0.BorderLeft = NPOI.SS.UserModel.BorderStyle.Thin;
- cellStyle0.Alignment = NPOI.SS.UserModel.HorizontalAlignment.Center;
- cellStyle0.VerticalAlignment = NPOI.SS.UserModel.VerticalAlignment.Center;
- var font0 = workbook.CreateFont();
- font0.FontHeightInPoints = 12;
- font0.IsBold = true;
- cellStyle0.SetFont(font0);
// 第二步:创建新数据行
NPOI.SS.UserModel.ISheet sheet = workbook.GetSheetAt(0);
NPOI.SS.UserModel.IRow row = sheet.GetRow(0);
diff --git a/SGGL/FineUIPro.Web/CQMS/ProcessControl/TestPackageManagement.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ProcessControl/TestPackageManagement.aspx.cs
index ba811d35..08fa8539 100644
--- a/SGGL/FineUIPro.Web/CQMS/ProcessControl/TestPackageManagement.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/ProcessControl/TestPackageManagement.aspx.cs
@@ -259,20 +259,10 @@ namespace FineUIPro.Web.CQMS.ProcessControl
cellStyle.BorderLeft = NPOI.SS.UserModel.BorderStyle.Thin;
cellStyle.Alignment = NPOI.SS.UserModel.HorizontalAlignment.Center;
cellStyle.VerticalAlignment = NPOI.SS.UserModel.VerticalAlignment.Center;
+ cellStyle.WrapText = true;//自动换行
var font = workbook.CreateFont();
font.FontHeightInPoints = 11;
cellStyle.SetFont(font);
- NPOI.SS.UserModel.ICellStyle cellStyle0 = workbook.CreateCellStyle();
- cellStyle0.BorderTop = NPOI.SS.UserModel.BorderStyle.Thin;
- cellStyle0.BorderRight = NPOI.SS.UserModel.BorderStyle.Thin;
- cellStyle0.BorderBottom = NPOI.SS.UserModel.BorderStyle.Thin;
- cellStyle0.BorderLeft = NPOI.SS.UserModel.BorderStyle.Thin;
- cellStyle0.Alignment = NPOI.SS.UserModel.HorizontalAlignment.Center;
- cellStyle0.VerticalAlignment = NPOI.SS.UserModel.VerticalAlignment.Center;
- var font0 = workbook.CreateFont();
- font0.FontHeightInPoints = 12;
- font0.IsBold = true;
- cellStyle0.SetFont(font0);
// 第二步:创建新数据行
NPOI.SS.UserModel.ISheet sheet = workbook.GetSheetAt(0);
NPOI.SS.UserModel.IRow row = sheet.GetRow(0);
diff --git a/SGGL/FineUIPro.Web/File/Excel/CQMS/NCR统计模板.xls b/SGGL/FineUIPro.Web/File/Excel/CQMS/NCR统计模板.xls
index 2b2ee259039d6c6b6017759fa3afc16d0189a8b0..ee483fc8cd98212625653d739d1218b8cba09a32 100644
GIT binary patch
delta 235
zcmZoz!q~8caYGIZn}g~v@6ZL4i&)wi=WqVWqGe*V-;x0c*cgKuG8j^Uu!O;op_M^|
zq1_f;+z2c#Y(F{F(nWtKD?bCnhmEXYMIRJE6b}OfGmv5eVn!%t1JYoy`G92(tAaBF
z_Xi0ezmd_Afq`Q`qX2^d!vRJIAp1Wf2LlJgWC#0r#)QcW?2VaTTThdp6$=1xSvEod
delta 237
zcmZoz!q~8caYGIZ+ksDsA=~FoE@Ek8?B4v7Ma#r!wIu@(urUTRWH6)xVF`mFLo0&_
zL$NKoxDiDavp}sjm|QYui6VSUALaR*7?)s+YTm-j4YD{oV+$o*&42z1O2r*%y$(F0I!KS761SM
diff --git a/SGGL/FineUIPro.Web/File/Excel/CQMS/共检通知单模板.xls b/SGGL/FineUIPro.Web/File/Excel/CQMS/共检通知单模板.xls
index 09e863ef1efb9cbd1c2c8287eb82dc9f91d1f9d2..8af57e880c8ae4a1c7341f4449efc47e925c4381 100644
GIT binary patch
delta 210
zcmZoDXeii_!@`!Za(77Rg2_cJZHzxQ|71y$GPF=&00K6~V1^8aR3I#2Fl1f)P$H^lqUbv{507|T~knpAE<|gp%y6341})~C%38JVpN)(sNoGH*J{jW
aRNCyRxt?W{ULY&$^<1FyH-{OoVgUfrGc%O{
delta 201
zcmZoDXeii_!@?F|%DMdbyvao@ZHyl_|71y$GBi+N00K6~V1^8aR3I#2Fl18f(@RF7B!em`F
zV@8|JiE1*8f_D5sWh@M}3_J|XK)A|ya-aGwMuo|l8s0#1tHx|bh0TGQ>sclnuyAbB
S3uI;e)UfRMyv8t5^Uu)-Rd>
diff --git a/SGGL/FineUIPro.Web/File/Excel/CQMS/控制点检查检测合格率统计模板.xls b/SGGL/FineUIPro.Web/File/Excel/CQMS/控制点检查检测合格率统计模板.xls
index 076a94adfafdcbdb04a6e8995c91c054d4e4a19f..8939a178bc6ac1cc3f984d8395f984d97dc3975d 100644
GIT binary patch
delta 192
zcmZoz!q~8caYGIZ+l1ITNudiS7qPT47H|H^qGe)u*^&VW*cgKuG8j^Uu!O;op_M^|
zA=(yQ+z2fGd~%4TtNKA!eg=jQJ6XYMK4^d_0R{#ZAjJg4j8M!qS&>C}^J&X3tc)3x
z57-+s?YEv>>HKN(bB8aCoRjZ3dIL!fr`bUAh?C#sH7>l2%$pUQZ?J6g2w-Jnh*btU
Kb#s{SDi#3JEHUH&
delta 210
zcmZoz!q~8caYGIZTR;e(#GHAPi&)wivp4@_(K0bSZOH%xY>dGS84RgFSi)e)(8?gf
z5NwMsZUh#;KRLwGRedKbKLf*ujjUib9~3|o4+8@;kYWO2Mkwaoe8TcSD_a843Lb{Z
z4_#y?zqA)(+HO6$(fQNl_YPkeIVL}G^ahd!PP2jJ87DtJcBp1{1|W-Zvxf5xmdOSz
W9Gg4>SlJpjtP-CyZ*!RMDi#15g);yE
diff --git a/SGGL/FineUIPro.Web/File/Excel/CQMS/控制点检查检测模板.xls b/SGGL/FineUIPro.Web/File/Excel/CQMS/控制点检查检测模板.xls
index 394f8d82c74663d6ebe387785797d6e9e2d2652c..e49cb770a7778bbc0442d87c04cf24d86c30d5e4 100644
GIT binary patch
delta 202
zcmZoDXeii_!@_pK#xW;!!Q>*AHpalsKUvbG7!4;U$csx_sxSZn8)Gm-2168D%%GSLb46dHb&3QKUvbG7&Rv+$csxFsxSZn8)Gm-216v~azr{u_wr}42R(6SA0E7q&D
zJ@jpv?^C_0fAVI2^HyxBOY3RcHo84Z_mI<0cgLpgxFhq&oh;6_&F2L4!8RzyUaF+xbkMN9XqcINox18Y6J$N99v6?>^kyKQJgy&0uHYGF+r~
z6Ar^&y81`Q{*L#nxSz*sxzfIuI^BEynXX9n{c@n^Lkj_oI@|1>*vH-AbMBkYUg5i;
z0rn+GW`PtR~vYjJ|Q=8hdw0F!Ut+j2^(5fBMg7#IsVK$ctm$dAL==dCv^{>>Utpy0Nc9;
zzy?&sa1dbKjbH$B_(A6+7qcXfEu9zignVV1YsIx9(0)l8s2jXscGX&~t)7yqg_Ar?{rEALmJ~-pQTVlGQ8ssALzccJ3w1!6l0kjxCGJ$~#q&5qx0{;U8<}
zV*Kj_EU`eQ>ASw0tWqjY_ldhc-OJ;;eV9$dyUp6yaMON&bnLqqPsYd`T!(9--Gfnh
zEVg@Y;{W)VjJGCn)hi$SqKe($T2Upm<;F%FoQyDv=%mxNaQO7DO77#ZKTckUSNt7P
z2;eUq5JUz7$rFVMk3xXAr}*VE#C|+SMRJPJDiEiMzfwf20PA|0ltxpUn$j4Y!D#BZ
zIQiM&oOsU%ZwU*32U&{Ih3dzdK}DNTzHRp{Oou~fi^?H@azhh&_FAmXUc%;V#OnQ?
LxMAU&^Ec=}{!PCe
diff --git a/SGGL/FineUIPro.Web/File/Excel/CQMS/问题统计模板.xls b/SGGL/FineUIPro.Web/File/Excel/CQMS/问题统计模板.xls
index bc5207106c3bf7f716ce86eea6be42652ed3d315..7f7d2ca0113fd4d00761e0d000534dcbf0e2f1a9 100644
GIT binary patch
delta 212
zcmZoDXeii_!@~BVr?)9|!Q>*AHpb4)KUtEb3^f%PfPjrLm?4896$nch3>jJ(L>LNH
z(8Z0w;(sUi$h)c^WaVdI_^^`|tmcCTh!S96U;$E0K+FimT$2@9gf}xQ2(hs(kY`}v
zVVL}0TV}Gknh?`frOEwTpC;R?R|s8|=Lc$HVWhyvao@ZH$eZf3hS=87e9;00A3gFhd4IDiD@17&5dnh%jWT
zpo<%U#lKGOk#|+!$;!{b@L?k>Sj`6o5XHm5zzn3AfS3`AIX5ZDvN6t>ET?A7bXIBd
zbgfU5UDYdu8bbJi%2*g`fqFQA@POs!^XgiRj2x4HX?O!kH_h3M9Gf3$%CSr~VBy%L
S7s$$L^h^2lyv8t5^WR8ZK`D
diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/NCR管理导入模板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{2)M@Z-mq>hk0+Uxo>*i!Kb-yxLp-{a
diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/人员报验导入模板.xls b/SGGL/FineUIPro.Web/File/Excel/DataIn/人员报验导入模板.xls
index ebd30f0592e7e19847c8286ebc8d16618f3e2078..6bea5e18658cd6cd417b39e9b63aeee35ba6d9cf 100644
GIT binary patch
delta 292
zcmZoDX(-u{!@{<}*hn{Y!Q>*AHb%3}KUqroCeIU=n4BkUuz8!XERSKBA_EYxF$Oba
zFr)%u34BGMlNGvI8D%ERs|5*)Gcbk*`}#kP<*wol`B2HlFu6hP0HeWVM|ESSCY8xnI-e$I
zXh<-1>r8Ia&|?x;oV-cn1EbsI#hT8Hu9Kf@nlrjjme-QzcV*xP+VGcw3uqHJgX?5Z
ztzbsc$#b>5f#gfA*^Hu_TeS;WHW^4Tv9!sl8f}&_GGLmlVPr5n4Bjpv3Z-YERUg&A_EYxF$Oba
zFr)%u34lGU+5tw5$=>S5j1`;f)wvmqL1
zXy`HN8BgA$@qy8G@>)%2MwiJSHO(2_CTnU*^Sd)}1I_-+zy-8}o56i@uvRdm$mHc(
z-azuR)@(+R&HdViERzjbxHcI`FtIdlJ)XW<#>jwavWbb*<}?!_MmC0X;lSY7TxZ(E
F0sx}5NRa>l
diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/图纸收发记录导入模板.xls b/SGGL/FineUIPro.Web/File/Excel/DataIn/图纸收发记录导入模板.xls
index ed68a7f4c88b71a1bdd98eb82920bad7fa3f8a12..7bb81f379dc36ecf184cf936810294bc4b858d25 100644
GIT binary patch
delta 218
zcmZoDX(-u{!@`!J&9@|E!Q>*AHpZo!f3n$i%U*sQE*j1$;!{b@ZlgUSj`6m5GBIE0OB$MF(VX$te5{U4q33d&a{aI0N*(b&LEG@YJ
diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/培训记录导入模板.xls b/SGGL/FineUIPro.Web/File/Excel/DataIn/培训记录导入模板.xls
index 969e47a4da30f3d32b7228267b5d1865d736987b..f861c908f03d6105cb6a0a9e78b6d15f8d85ad88 100644
GIT binary patch
delta 199
zcmZoDXeii_!@?$DXCxE4U~&;l8{_iLKUr2u8MZ4h00A3gFhd4IDiD@17&5dnh%of4
zpo<%U#ib`-k#|);$;!{b@ZlgUSj`6m5GBIE0OB$MF(VXarfAM)6r7~x$HxfP3exufKMTv|7_BADlMPrnHtEH(vPv}p
LUA#HTcpeJ?D9SB_
diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/机具报验导入模板.xls b/SGGL/FineUIPro.Web/File/Excel/DataIn/机具报验导入模板.xls
index 57d5dc569d1ffd158db37e28753d110a50fecd5e..3ba4c985f1ffbbf6c2408c98b0c55d193d2cb65b 100644
GIT binary patch
delta 214
zcmZpez}PT>aYGIZn?avzL&$>3MJ#QM0h@oaT+?6-n0!H3T++gX0SMR_gBdayQh~69
z!HA)iL4@JRBt2L4o2>i{3?DACf|Y!508ugw4D3LP35Xe?SZ4A>7VXXLdTZI(bo3Y)
zco-(nvzD10W-7!q$7r&h)u+iZW)earI{ZLQEDW_kc_tuqRhisorpM$eGkKd?6&o)D
vFT+Ky&1&XVjEvHg7g~4&$+s4>8KpOOT86W1va4WaYv{EBdSG*%a}x^yl5I4?
delta 211
zcmZpez}PT>aYGIZn}YE99bB^}7qPT48f^Z_a!rHLVe$oCaY+di1|VQ#3}(n+NCm*AHpalsKUuh>4Gk3;fPjrLm?4896$nch3>jJ(L>Mep
z(Z!9x;zuW&D7dO$WaVdI_;8XHtmcCSh>`%B0;HILm=TJ_Cr@Ni-n?5OiH$L0vYfgx
z(_H1r;o6@jyJ|=>>P(K;uw!D-*gRiDijh%l@-9tpAjziHEEx^d{Tqk{KL81aSOzr)
rQ3fFf4hFHwi?q}k87F_xHQxMJ>o?0LgNdxHzDJot7i^wpn#BSD&j2%;
delta 238
zcmZoDX(-u{!@_nTE5CEutjR?zZH%6qf3k2%8)_;t00A3gFhd4IDiD@17&5dnh%gwc
zqKg}W#rIA&QE*j1$;!{b@ZlgUSj`6m5GBIE0OB$MF(VX=gUUBiw^%VhI%4Jk%O(aDE2y@4d3Ro-5PF|&@J~>;*WHYPwZ}|_P2`Je%!1Q-}tfD{uDGeWVzWJMO?&Btw*vN5Ji
z&UG?z0*BHwStwXWryf!OGU~cOlSCo9hCb
FSO9K7EwKOq
delta 185
zcmZoz!`QHfaYGIZTfv$6`R=nO7qPT4{czp}4ah%NO`DyYTR|}>WoSUz?&SGTbnOx}Z4J7xv&t~M=9O5H0sxlwFx3D6
diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/资料收发文登记记录导入模板.xls b/SGGL/FineUIPro.Web/File/Excel/DataIn/资料收发文登记记录导入模板.xls
index b8ab3ffe66463956887d54cdfb03ca180b76522f..da32b34d143fb6a1852a878b3dd52cd64f4ab125 100644
GIT binary patch
delta 194
zcmZpuXsFnb!@?$DINKt0!Q>*AHpU&Bf3h5sGF+g@00eA|!3-G;sX$o5V93zQAi}Uf
z9bMcAEUq*8jl8S+NmhOah7Si>!D>DjfG80L1`wACh#8?+Zn7ea^yX{@MRrDx$-U~v
zjITByRF`ICiZ$JQPeY5DQFbz?jyI4D)tL<>KkE2Rt~KCg6yEHsyP9Q_Q4A{^gIN~P
Lxto*B=dl0)5{oUN
delta 207
zcmZpuXsFnb!@{=UZxPSWnUjlH+88%%{>gGk%5a7v0}!w=1~X(Zqyk|HgCRpJg9yV6
zb#!qfu(-0ipyL7+8Q56A&{(vCL#e7U9js3X1HE43np-
z8#6xId{SMSkxATT^D_-CW=84Bf;!$nGFE3cko>9R$HxrR3DVCDgbWOuLv>fPOg3QQ
U*klyL%GO{b3v~PDB=dPJ01me=ApigX
diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/超过一定规模的危大施工方案导入模板.xls b/SGGL/FineUIPro.Web/File/Excel/DataIn/超过一定规模的危大施工方案导入模板.xls
index 8ca36be61f1225507d3df8b971700b195d193f89..1731459bac68f7a21a66d1501a62dad42e0bdb4d 100644
GIT binary patch
delta 418
zcmZoz!Pu~ZaYGIZ+k!=&pF$Q)E@Ek8ygT_POFiSH&6TXbd3mH57%T(@9TXf`7#JpJ
z2*!lNUPeVsx7vl|e*o5T?5tS!-aOqDv5jM2G02hxB5H>JU8$
zGQvX_Pf^V&gEaaDo;nwFsSb;mh$tE(c82#JAIzJ1Fr^wP)yU-rm70fbxn997x=U{H
zlNQMy%Zpzs9(Wg|6!bk^U9e}bPbEpLh62nJ{^$)XPXb>O$-+9U@x2YBPzE2IV@T^E
zBRHWML-(Q^z`7CtPFj&p@c>X>1Rmr+Bn(q8YiRo-31T|7>h=R!%FbtAR+NIeXyx%P
z#-uR~pbM~J^dnAp3yvv#Gun6(j|jOaKE&(9z@0>*s6*$mZ*cM3MbJUAC2=`yIk;q7
zGMCeqlgnkx1qo1WDUjr206g;UA6|Vh4DZkeHwe}%0LFBch-m6*o-6t(&*O%P11Xg#
r?8w-pXw3{>&-(fNLbc^Dr&w?
-
+
From def6fc4422ab20ad21c097868fe77617bbb2fd44 Mon Sep 17 00:00:00 2001
From: gaofei1985 <181547018@qq.com>
Date: Thu, 9 May 2024 08:45:07 +0800
Subject: [PATCH 2/8] =?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
---
SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user | 2 +-
SGGL/WebAPI/WebAPI.csproj.user | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user
index 9e91deff..63ca13cc 100644
--- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user
+++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user
@@ -1,7 +1,7 @@
- Debug|Any CPU
+ Release|Any CPU
true
false
diff --git a/SGGL/WebAPI/WebAPI.csproj.user b/SGGL/WebAPI/WebAPI.csproj.user
index 5fe155da..bd497c6b 100644
--- a/SGGL/WebAPI/WebAPI.csproj.user
+++ b/SGGL/WebAPI/WebAPI.csproj.user
@@ -1,7 +1,7 @@
- Debug|Any CPU
+ Release|Any CPU
true
From c4e495aacb279c5cf56a4c1f9f36dc204ba937d4 Mon Sep 17 00:00:00 2001
From: wendy <408182087@qq.com>
Date: Thu, 9 May 2024 15:18:08 +0800
Subject: [PATCH 3/8] =?UTF-8?q?20240509=20=E7=BB=BC=E5=90=88=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E6=A0=87=E5=BF=97=E5=8F=B7=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../CQMS/Comprehensive/ConTechnologyDisclosureEdit.aspx.cs | 2 +-
.../CQMS/Comprehensive/DataReceivingDocEdit.aspx.cs | 2 +-
.../CQMS/Comprehensive/DesignChangeOrderEdit.aspx.cs | 4 ++--
.../CQMS/Comprehensive/DesignDetailsEdit.aspx.cs | 4 ++--
.../CQMS/Comprehensive/DesignDrawingsEdit.aspx.cs | 4 ++--
.../CQMS/Comprehensive/GeneralPlanApprovalEdit.aspx.cs | 2 +-
.../CQMS/Comprehensive/InspectionEquipmentEdit.aspx.cs | 2 +-
.../CQMS/Comprehensive/InspectionMachineEdit.aspx.cs | 4 ++--
.../CQMS/Comprehensive/InspectionPersonEdit.aspx.cs | 4 ++--
.../CQMS/Comprehensive/InspectionTestPlanEdit.aspx.cs | 2 +-
.../CQMS/Comprehensive/MajorPlanApprovalEdit.aspx.cs | 2 +-
.../CQMS/Comprehensive/NCRManagementEdit.aspx.cs | 4 ++--
.../FineUIPro.Web/CQMS/Comprehensive/PressurePipeEdit.aspx.cs | 4 ++--
.../CQMS/Comprehensive/QualityAccidentEdit.aspx.cs | 4 ++--
.../CQMS/Comprehensive/ReviewDrawingsEdit.aspx.cs | 4 ++--
.../CQMS/Comprehensive/SiteVisaManagementEdit.aspx.cs | 4 ++--
.../CQMS/Comprehensive/SpecialEquipmentEdit.aspx.cs | 4 ++--
.../CQMS/Comprehensive/TrainingRecordsEdit.aspx.cs | 2 +-
SGGL/FineUIPro.Web/Web.config | 2 +-
19 files changed, 30 insertions(+), 30 deletions(-)
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureEdit.aspx.cs
index de6eb01f..30e346f3 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureEdit.aspx.cs
@@ -93,7 +93,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
return;
}
- var q = Funs.DB.Comprehensive_ConTechnologyDisclosure.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.ConTechnologyDisclosureId != this.ConTechnologyDisclosureId || (this.ConTechnologyDisclosureId == null && x.ConTechnologyDisclosureId != null)));
+ var q = Funs.DB.Comprehensive_ConTechnologyDisclosure.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.ConTechnologyDisclosureId != this.ConTechnologyDisclosureId || (this.ConTechnologyDisclosureId == null && x.ConTechnologyDisclosureId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocEdit.aspx.cs
index d7b57600..d7159bba 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocEdit.aspx.cs
@@ -212,7 +212,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择专业!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_DataReceivingDoc.FirstOrDefault(x => x.RemarkCode ==Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.DataReceivingDocId != this.DataReceivingDocId || (this.DataReceivingDocId == null && x.DataReceivingDocId != null)));
+ var q = Funs.DB.Comprehensive_DataReceivingDoc.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode ==Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.DataReceivingDocId != this.DataReceivingDocId || (this.DataReceivingDocId == null && x.DataReceivingDocId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignChangeOrderEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignChangeOrderEdit.aspx.cs
index 8782ad1e..971fdfe0 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignChangeOrderEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignChangeOrderEdit.aspx.cs
@@ -181,7 +181,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择专业!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_DesignChangeOrder.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.DesignChangeOrderId != this.DesignChangeOrderId || (this.DesignChangeOrderId == null && x.DesignChangeOrderId != null)));
+ var q = Funs.DB.Comprehensive_DesignChangeOrder.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.DesignChangeOrderId != this.DesignChangeOrderId || (this.DesignChangeOrderId == null && x.DesignChangeOrderId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
@@ -269,7 +269,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择专业!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_DesignChangeOrder.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.DesignChangeOrderId != this.DesignChangeOrderId || (this.DesignChangeOrderId == null && x.DesignChangeOrderId != null)));
+ var q = Funs.DB.Comprehensive_DesignChangeOrder.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.DesignChangeOrderId != this.DesignChangeOrderId || (this.DesignChangeOrderId == null && x.DesignChangeOrderId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignDetailsEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignDetailsEdit.aspx.cs
index 32679055..b508159b 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignDetailsEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignDetailsEdit.aspx.cs
@@ -176,7 +176,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择专业!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_DesignDetails.FirstOrDefault(x => x.RemarCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.DesignDetailsId != this.DesignDetailsId || (this.DesignDetailsId == null && x.DesignDetailsId != null)));
+ var q = Funs.DB.Comprehensive_DesignDetails.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.DesignDetailsId != this.DesignDetailsId || (this.DesignDetailsId == null && x.DesignDetailsId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
@@ -263,7 +263,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择专业!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_DesignDetails.FirstOrDefault(x => x.RemarCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.DesignDetailsId != this.DesignDetailsId || (this.DesignDetailsId == null && x.DesignDetailsId != null)));
+ var q = Funs.DB.Comprehensive_DesignDetails.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.DesignDetailsId != this.DesignDetailsId || (this.DesignDetailsId == null && x.DesignDetailsId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignDrawingsEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignDrawingsEdit.aspx.cs
index 5d203926..7167b13b 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignDrawingsEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignDrawingsEdit.aspx.cs
@@ -171,7 +171,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择专业!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_DesignDrawings.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.DesignDrawingsId != this.DesignDrawingsId || (this.DesignDrawingsId == null && x.DesignDrawingsId != null)));
+ var q = Funs.DB.Comprehensive_DesignDrawings.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.DesignDrawingsId != this.DesignDrawingsId || (this.DesignDrawingsId == null && x.DesignDrawingsId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
@@ -257,7 +257,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择专业!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_DesignDrawings.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.DesignDrawingsId != this.DesignDrawingsId || (this.DesignDrawingsId == null && x.DesignDrawingsId != null)));
+ var q = Funs.DB.Comprehensive_DesignDrawings.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.DesignDrawingsId != this.DesignDrawingsId || (this.DesignDrawingsId == null && x.DesignDrawingsId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/GeneralPlanApprovalEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/GeneralPlanApprovalEdit.aspx.cs
index b39dbdef..12819210 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/GeneralPlanApprovalEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/GeneralPlanApprovalEdit.aspx.cs
@@ -91,7 +91,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择专业!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_GeneralPlanApproval.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.GeneralPlanApprovalId != this.GeneralPlanApprovalId || (this.GeneralPlanApprovalId == null && x.GeneralPlanApprovalId != null)));
+ var q = Funs.DB.Comprehensive_GeneralPlanApproval.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.GeneralPlanApprovalId != this.GeneralPlanApprovalId || (this.GeneralPlanApprovalId == null && x.GeneralPlanApprovalId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionEquipmentEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionEquipmentEdit.aspx.cs
index 4da28c17..0ab3bba4 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionEquipmentEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionEquipmentEdit.aspx.cs
@@ -243,7 +243,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择报验单位!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_InspectionEquipment.FirstOrDefault(x => x.RemarkCode ==Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.InspectionEquipmentId != this.InspectionEquipmentId || (this.InspectionEquipmentId == null && x.InspectionEquipmentId != null)));
+ var q = Funs.DB.Comprehensive_InspectionEquipment.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.InspectionEquipmentId != this.InspectionEquipmentId || (this.InspectionEquipmentId == null && x.InspectionEquipmentId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionMachineEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionMachineEdit.aspx.cs
index b747c313..775f42c2 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionMachineEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionMachineEdit.aspx.cs
@@ -193,7 +193,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择报验单位!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_InspectionMachine.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.InspectionMachineId != this.InspectionMachineId || (this.InspectionMachineId == null && x.InspectionMachineId != null)));
+ var q = Funs.DB.Comprehensive_InspectionMachine.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.InspectionMachineId != this.InspectionMachineId || (this.InspectionMachineId == null && x.InspectionMachineId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
@@ -268,7 +268,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择报验单位!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_InspectionMachine.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.InspectionMachineId != this.InspectionMachineId || (this.InspectionMachineId == null && x.InspectionMachineId != null)));
+ var q = Funs.DB.Comprehensive_InspectionMachine.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.InspectionMachineId != this.InspectionMachineId || (this.InspectionMachineId == null && x.InspectionMachineId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonEdit.aspx.cs
index 68154aa6..45a6ea71 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonEdit.aspx.cs
@@ -225,7 +225,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
return;
}
}
- var q = Funs.DB.Comprehensive_InspectionPerson.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.InspectionPersonId != this.InspectionPersonId || (this.InspectionPersonId == null && x.InspectionPersonId != null)));
+ var q = Funs.DB.Comprehensive_InspectionPerson.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.InspectionPersonId != this.InspectionPersonId || (this.InspectionPersonId == null && x.InspectionPersonId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
@@ -410,7 +410,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
return;
}
}
- var q = Funs.DB.Comprehensive_InspectionPerson.FirstOrDefault(x => x.RemarkCode ==Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.InspectionPersonId != this.InspectionPersonId || (this.InspectionPersonId == null && x.InspectionPersonId != null)));
+ var q = Funs.DB.Comprehensive_InspectionPerson.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode ==Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.InspectionPersonId != this.InspectionPersonId || (this.InspectionPersonId == null && x.InspectionPersonId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionTestPlanEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionTestPlanEdit.aspx.cs
index 5acb22a7..19c4dc18 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionTestPlanEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionTestPlanEdit.aspx.cs
@@ -105,7 +105,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择专业!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Inspection_Test_Plan.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.Id != this.Id || (this.Id == null && x.Id != null)));
+ var q = Funs.DB.Inspection_Test_Plan.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.Id != this.Id || (this.Id == null && x.Id != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/MajorPlanApprovalEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/MajorPlanApprovalEdit.aspx.cs
index cd64a4e1..2f927704 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/MajorPlanApprovalEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/MajorPlanApprovalEdit.aspx.cs
@@ -90,7 +90,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择专业!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_MajorPlanApproval.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.MajorPlanApprovalId != this.MajorPlanApprovalId || (this.MajorPlanApprovalId == null && x.MajorPlanApprovalId != null)));
+ var q = Funs.DB.Comprehensive_MajorPlanApproval.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.MajorPlanApprovalId != this.MajorPlanApprovalId || (this.MajorPlanApprovalId == null && x.MajorPlanApprovalId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementEdit.aspx.cs
index b6763aba..d17a66e0 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementEdit.aspx.cs
@@ -201,7 +201,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
return;
}
- var q = Funs.DB.Comprehensive_NCRManagement.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.NCRManagementId != this.NCRManagementId || (this.NCRManagementId == null && x.NCRManagementId != null)));
+ var q = Funs.DB.Comprehensive_NCRManagement.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.NCRManagementId != this.NCRManagementId || (this.NCRManagementId == null && x.NCRManagementId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
@@ -327,7 +327,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择专业!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_NCRManagement.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.NCRManagementId != this.NCRManagementId || (this.NCRManagementId == null && x.NCRManagementId != null)));
+ var q = Funs.DB.Comprehensive_NCRManagement.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.NCRManagementId != this.NCRManagementId || (this.NCRManagementId == null && x.NCRManagementId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/PressurePipeEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/PressurePipeEdit.aspx.cs
index 65d06056..6d75c0fe 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/PressurePipeEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/PressurePipeEdit.aspx.cs
@@ -164,7 +164,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择所属单位!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_PressurePipe.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.PressurePipeId != this.PressurePipeId || (this.PressurePipeId == null && x.PressurePipeId != null)));
+ var q = Funs.DB.Comprehensive_PressurePipe.FirstOrDefault(x => x.Projctid == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.PressurePipeId != this.PressurePipeId || (this.PressurePipeId == null && x.PressurePipeId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
@@ -250,7 +250,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择所属单位!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_PressurePipe.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.PressurePipeId != this.PressurePipeId || (this.PressurePipeId == null && x.PressurePipeId != null)));
+ var q = Funs.DB.Comprehensive_PressurePipe.FirstOrDefault(x => x.Projctid == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.PressurePipeId != this.PressurePipeId || (this.PressurePipeId == null && x.PressurePipeId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/QualityAccidentEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/QualityAccidentEdit.aspx.cs
index 7c08b396..350d6554 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/QualityAccidentEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/QualityAccidentEdit.aspx.cs
@@ -152,7 +152,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
{
if (drpUnit.SelectedValue != BLL.Const._Null)
{
- var q = Funs.DB.Comprehensive_QualityAccident.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.QualityAccidentId != this.QualityAccidentId || (this.QualityAccidentId == null && x.QualityAccidentId != null)));
+ var q = Funs.DB.Comprehensive_QualityAccident.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.QualityAccidentId != this.QualityAccidentId || (this.QualityAccidentId == null && x.QualityAccidentId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
@@ -232,7 +232,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
{
if (drpUnit.SelectedValue != BLL.Const._Null)
{
- var q = Funs.DB.Comprehensive_QualityAccident.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.QualityAccidentId != this.QualityAccidentId || (this.QualityAccidentId == null && x.QualityAccidentId != null)));
+ var q = Funs.DB.Comprehensive_QualityAccident.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.QualityAccidentId != this.QualityAccidentId || (this.QualityAccidentId == null && x.QualityAccidentId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/ReviewDrawingsEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ReviewDrawingsEdit.aspx.cs
index f63213ef..78007deb 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/ReviewDrawingsEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ReviewDrawingsEdit.aspx.cs
@@ -212,7 +212,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择专业!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_ReviewDrawings.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.Id != this.Id || (this.Id == null && x.Id != null)));
+ var q = Funs.DB.Comprehensive_ReviewDrawings.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.Id != this.Id || (this.Id == null && x.Id != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
@@ -293,7 +293,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择专业!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_ReviewDrawings.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.Id != this.Id || (this.Id == null && x.Id != null)));
+ var q = Funs.DB.Comprehensive_ReviewDrawings.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.Id != this.Id || (this.Id == null && x.Id != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/SiteVisaManagementEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/SiteVisaManagementEdit.aspx.cs
index 35cdefa5..fe9f9d7c 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/SiteVisaManagementEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/SiteVisaManagementEdit.aspx.cs
@@ -174,7 +174,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择专业!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_SiteVisaManagement.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.VisaId != this.VisaId || (this.VisaId == null && x.VisaId != null)));
+ var q = Funs.DB.Comprehensive_SiteVisaManagement.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.VisaId != this.VisaId || (this.VisaId == null && x.VisaId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
@@ -247,7 +247,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择专业!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_SiteVisaManagement.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.VisaId != this.VisaId || (this.VisaId == null && x.VisaId != null)));
+ var q = Funs.DB.Comprehensive_SiteVisaManagement.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.VisaId != this.VisaId || (this.VisaId == null && x.VisaId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/SpecialEquipmentEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/SpecialEquipmentEdit.aspx.cs
index 4c14e70a..136ff62f 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/SpecialEquipmentEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/SpecialEquipmentEdit.aspx.cs
@@ -169,7 +169,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择所属单位!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_SpecialEquipment.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.SpecialEquipmentId != this.SpecialEquipmentId || (this.SpecialEquipmentId == null && x.SpecialEquipmentId != null)));
+ var q = Funs.DB.Comprehensive_SpecialEquipment.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.SpecialEquipmentId != this.SpecialEquipmentId || (this.SpecialEquipmentId == null && x.SpecialEquipmentId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
@@ -250,7 +250,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择所属单位!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_SpecialEquipment.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.SpecialEquipmentId != this.SpecialEquipmentId || (this.SpecialEquipmentId == null && x.SpecialEquipmentId != null)));
+ var q = Funs.DB.Comprehensive_SpecialEquipment.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.SpecialEquipmentId != this.SpecialEquipmentId || (this.SpecialEquipmentId == null && x.SpecialEquipmentId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/TrainingRecordsEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/TrainingRecordsEdit.aspx.cs
index 39e9e0dc..2d1c9f27 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/TrainingRecordsEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/TrainingRecordsEdit.aspx.cs
@@ -69,7 +69,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
Alert.ShowInTop("请选择专业!", MessageBoxIcon.Warning);
return;
}
- var q = Funs.DB.Comprehensive_TrainingRecords.FirstOrDefault(x => x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.TrainingRecordsId != this.TrainingRecordsId || (this.TrainingRecordsId == null && x.TrainingRecordsId != null)));
+ var q = Funs.DB.Comprehensive_TrainingRecords.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RemarkCode == Funs.GetNewInt(this.txtRemarkCode.Text.Trim()) && (x.TrainingRecordsId != this.TrainingRecordsId || (this.TrainingRecordsId == null && x.TrainingRecordsId != null)));
if (q != null)
{
Alert.ShowInTop("标志编号已存在!", MessageBoxIcon.Warning);
diff --git a/SGGL/FineUIPro.Web/Web.config b/SGGL/FineUIPro.Web/Web.config
index 7c94e245..6223f868 100644
--- a/SGGL/FineUIPro.Web/Web.config
+++ b/SGGL/FineUIPro.Web/Web.config
@@ -12,7 +12,7 @@
-
+
From 563d401af65a65beaa0767d4864163005dfb0c67 Mon Sep 17 00:00:00 2001
From: gaofei1985 <181547018@qq.com>
Date: Fri, 10 May 2024 15:46:52 +0800
Subject: [PATCH 4/8] =?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
---
.../版本日志/SGGLDB_WH_2024-05-09-gaofei.sql | 2 +
SGGL/BLL/Common/Const.cs | 4 +
SGGL/BLL/JDGL/Check/MonthPlanService.cs | 29 +-
SGGL/BLL/ProjectData/ProjectUnitService.cs | 26 +
.../Excel/DataIn/月度计划情况导入模板.xls | Bin 0 -> 25088 bytes
SGGL/FineUIPro.Web/FineUIPro.Web.csproj | 24 +
SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user | 2 +-
SGGL/FineUIPro.Web/JDGL/Check/MonthPlan.aspx | 8 +-
.../JDGL/Check/MonthPlan.aspx.cs | 48 +-
.../JDGL/Check/MonthPlan.aspx.designer.cs | 9 +
.../JDGL/Check/MonthPlanEdit.aspx | 104 +++
.../JDGL/Check/MonthPlanEdit.aspx.cs | 188 ++++++
.../JDGL/Check/MonthPlanEdit.aspx.designer.cs | 168 +++++
.../FineUIPro.Web/JDGL/Check/MonthPlanIn.aspx | 105 +++
.../JDGL/Check/MonthPlanIn.aspx.cs | 615 ++++++++++++++++++
.../JDGL/Check/MonthPlanIn.aspx.designer.cs | 159 +++++
.../JDGL/Check/MonthPlanStatisc.aspx | 83 +++
.../JDGL/Check/MonthPlanStatisc.aspx.cs | 280 ++++++++
.../Check/MonthPlanStatisc.aspx.designer.cs | 132 ++++
.../JDGL/Check/QuantityCompletion.aspx.cs | 2 +-
.../JDGL/Check/QuantityCompletionEdit.aspx | 55 --
.../JDGL/Check/QuantityCompletionIn.aspx | 2 +-
SGGL/FineUIPro.Web/Web.config | 2 +-
SGGL/FineUIPro.Web/common/Menu_JDGL.xml | 1 +
SGGL/FineUIPro.Web/common/Menu_Personal.xml | 3 +
SGGL/FineUIPro.Web/common/Menu_TestRun.xml | 13 +-
SGGL/FineUIPro.Web/common/Menu_Transfer.xml | 18 +
SGGL/FineUIPro.Web/common/Menu_ZHGL.xml | 4 +
SGGL/Model/Model.cs | 24 +
SGGL/WebAPI/WebAPI.csproj.user | 2 +-
30 files changed, 2014 insertions(+), 98 deletions(-)
create mode 100644 DataBase/版本日志/SGGLDB_WH_2024-05-09-gaofei.sql
create mode 100644 SGGL/FineUIPro.Web/File/Excel/DataIn/月度计划情况导入模板.xls
create mode 100644 SGGL/FineUIPro.Web/JDGL/Check/MonthPlanEdit.aspx
create mode 100644 SGGL/FineUIPro.Web/JDGL/Check/MonthPlanEdit.aspx.cs
create mode 100644 SGGL/FineUIPro.Web/JDGL/Check/MonthPlanEdit.aspx.designer.cs
create mode 100644 SGGL/FineUIPro.Web/JDGL/Check/MonthPlanIn.aspx
create mode 100644 SGGL/FineUIPro.Web/JDGL/Check/MonthPlanIn.aspx.cs
create mode 100644 SGGL/FineUIPro.Web/JDGL/Check/MonthPlanIn.aspx.designer.cs
create mode 100644 SGGL/FineUIPro.Web/JDGL/Check/MonthPlanStatisc.aspx
create mode 100644 SGGL/FineUIPro.Web/JDGL/Check/MonthPlanStatisc.aspx.cs
create mode 100644 SGGL/FineUIPro.Web/JDGL/Check/MonthPlanStatisc.aspx.designer.cs
diff --git a/DataBase/版本日志/SGGLDB_WH_2024-05-09-gaofei.sql b/DataBase/版本日志/SGGLDB_WH_2024-05-09-gaofei.sql
new file mode 100644
index 00000000..9b651638
--- /dev/null
+++ b/DataBase/版本日志/SGGLDB_WH_2024-05-09-gaofei.sql
@@ -0,0 +1,2 @@
+alter table [dbo].[JDGL_MonthPlan] add SortIndex int null
+GO
\ No newline at end of file
diff --git a/SGGL/BLL/Common/Const.cs b/SGGL/BLL/Common/Const.cs
index fefebab6..1aa5cf7a 100644
--- a/SGGL/BLL/Common/Const.cs
+++ b/SGGL/BLL/Common/Const.cs
@@ -3148,6 +3148,10 @@ namespace BLL
///
public const string QuantityCompletionTemplateUrl = "File\\Excel\\DataIn\\项目进度完成情况导入模板.xls";
///
+ /// 月度计划情况导入模版文件原始的虚拟路径
+ ///
+ public const string MonthPlanTemplateUrl = "File\\Excel\\DataIn\\月度计划情况导入模板.xls";
+ ///
/// 仪表索引
///
public const string InstrumentUrl = "File\\Excel\\TestRun\\仪表索引模板.xlsx";
diff --git a/SGGL/BLL/JDGL/Check/MonthPlanService.cs b/SGGL/BLL/JDGL/Check/MonthPlanService.cs
index 9b21c6f6..e4977356 100644
--- a/SGGL/BLL/JDGL/Check/MonthPlanService.cs
+++ b/SGGL/BLL/JDGL/Check/MonthPlanService.cs
@@ -22,6 +22,16 @@ namespace BLL
return Funs.DB.JDGL_MonthPlan.FirstOrDefault(e => e.MonthPlanId == MonthPlanId);
}
+ ///
+ /// 根据主键获取月度计划情况
+ ///
+ ///
+ ///
+ public static List GetMonthPlansByMonths(string projectId, DateTime months)
+ {
+ return (from x in Funs.DB.JDGL_MonthPlan where x.ProjectId == projectId && x.Months == months select x).ToList();
+ }
+
///
/// 添加月度计划情况
///
@@ -42,6 +52,7 @@ namespace BLL
Remark = MonthPlan.Remark,
CompileMan = MonthPlan.CompileMan,
CompileDate = MonthPlan.CompileDate,
+ SortIndex = MonthPlan.SortIndex,
};
db.JDGL_MonthPlan.InsertOnSubmit(newMonthPlan);
db.SubmitChanges();
@@ -65,7 +76,8 @@ namespace BLL
newMonthPlan.Remark = MonthPlan.Remark;
newMonthPlan.CompileMan = MonthPlan.CompileMan;
newMonthPlan.CompileDate = MonthPlan.CompileDate;
-
+ newMonthPlan.SortIndex = MonthPlan.SortIndex;
+
db.SubmitChanges();
}
}
@@ -84,5 +96,20 @@ namespace BLL
db.SubmitChanges();
}
}
+
+ ///
+ /// 根据主键删除月度计划情况
+ ///
+ ///
+ public static void DeleteAllMonthPlan(string projectId, DateTime months)
+ {
+ Model.SGGLDB db = Funs.DB;
+ var q = from x in db.JDGL_MonthPlan where x.ProjectId == projectId && x.Months == months select x;
+ if (q != null)
+ {
+ db.JDGL_MonthPlan.DeleteAllOnSubmit(q);
+ db.SubmitChanges();
+ }
+ }
}
}
diff --git a/SGGL/BLL/ProjectData/ProjectUnitService.cs b/SGGL/BLL/ProjectData/ProjectUnitService.cs
index b923eeee..64850236 100644
--- a/SGGL/BLL/ProjectData/ProjectUnitService.cs
+++ b/SGGL/BLL/ProjectData/ProjectUnitService.cs
@@ -169,6 +169,32 @@
}
}
}
+
+ ///
+ /// 项目类型单位表下拉框
+ ///
+ /// 下拉框名字
+ /// 是否显示请选择
+ public static void InitUnitDropDownList2(FineUIPro.DropDownList dropName, string projectId, string unitType, bool isShowPlease)
+ {
+ using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
+ {
+ var pUnit = (from x in db.Project_ProjectUnit
+ join y in db.Base_Unit on x.UnitId equals y.UnitId
+ where x.ProjectId == projectId && x.UnitType == unitType
+ orderby y.UnitCode
+ select y).ToList();
+
+ dropName.DataValueField = "UnitName";
+ dropName.DataTextField = "UnitName";
+ dropName.DataSource = pUnit;
+ dropName.DataBind();
+ if (isShowPlease)
+ {
+ Funs.FineUIPleaseSelect(dropName);
+ }
+ }
+ }
#endregion
///
diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/月度计划情况导入模板.xls b/SGGL/FineUIPro.Web/File/Excel/DataIn/月度计划情况导入模板.xls
new file mode 100644
index 0000000000000000000000000000000000000000..53b08121b5e68ea2e6c221bbaee9fda4da314a96
GIT binary patch
literal 25088
zcmeG^2UJwavOU89gNlFzQ9ywYf{2)4MUmB2Tv5!+vPR5#
zjp&LISb(TE(<7zv|uzcj9CJ-}BFV@6dDl-rLpHRn^ti)#3Ks>fa6O*6eOy
zPvk;RqCpykIz)>BXTdW@D(Dl!h6hYH3WY)%NC-SOhyNfAd<9uuL~Y1{yDLO&b8U!R
zh&m8kKx_%I6+~T#ts&|`1QQ?z5ZgdBglGiO7@`Tpwh&Drwu9Inq8UVUh!zk#K(vI&
zgJ=cO8lnwETZkPY+Cl6D(H^1$L`R67Av!^HhKTkij{iZb{@L$+)=I!)2TygE9Kk2Ie0d!r={7vII@
z6w)Fqx^pVtnykTuyu!!~bpWv>rnmX*-bKEh)PQG1o?gkq>$}H_#!+{Rx>3(+Tu2
zO$(?PEw;!RGKyfc*5&{F_ET80{?3>H>XtDnzVPCPdT)>IVHZ_J5+KNj6)a*RITE5iL+kJ!okc=QyRS
zyMPl*(g}ZHnaC!;}ZxToIlOvk@P11XV-6W8gcffOAy9Z-Q==(YXn9jg;`c3B9Qm
z1!u|dMSKIL_$;WGqMXRrQw3Z{DVz;80Qw6-cQaFqFD&kZa6PBu1f-QXeCnR@KNv4Fk>Dz}HvGvCi3KUi2L6(1BwK`i3>BG?!AA35$>!4
z?x+Ipq5^KF0`95;?xX^4p#t7g1zeRps_646Iyn20)lUZ%a9SQkd|DnwxUC90?keD(
z6kHR=HmbjTq*@CubUWfKN0~k2e3OFLP!k}Sq|^8~^I^atN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onthPlanStatisc.aspx
+
PipelineCompletion.aspx
ASPXCodeBehind
diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user
index 63ca13cc..9e91deff 100644
--- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user
+++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user
@@ -1,7 +1,7 @@
- Release|Any CPU
+ Debug|Any CPU
true
false
diff --git a/SGGL/FineUIPro.Web/JDGL/Check/MonthPlan.aspx b/SGGL/FineUIPro.Web/JDGL/Check/MonthPlan.aspx
index 82708f7a..921a15fd 100644
--- a/SGGL/FineUIPro.Web/JDGL/Check/MonthPlan.aspx
+++ b/SGGL/FineUIPro.Web/JDGL/Check/MonthPlan.aspx
@@ -16,7 +16,7 @@
@@ -30,6 +30,8 @@
OnClick="btnSave_Click">
+
+
@@ -53,7 +55,7 @@
SortField="UnitName" FieldType="String" HeaderText="责任单位" TextAlign="center"
HeaderTextAlign="Center">
-
@@ -78,7 +80,7 @@