代码无效引用清理,试压包资料界面看板修改

This commit is contained in:
2025-10-10 14:33:21 +08:00
parent 87fb529521
commit 55b798135c
933 changed files with 5897 additions and 7541 deletions
@@ -1,10 +1,8 @@
using Aspose.Words;
using BLL;
using BLL;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
namespace FineUIPro.Web.PHTGL.BiddingManagement
@@ -397,7 +395,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
}
string Id = Grid1.SelectedRowID;
BLL.PHTGL_ActionPlanFormationService.PrintFile( Id);
BLL.PHTGL_ActionPlanFormationService.PrintFile(Id);
}
#endregion
@@ -437,7 +437,7 @@
string ActionPlanID = Act.ActionPlanID;
//ActionPlanFormation actionPlanFormation = new ActionPlanFormation();
//actionPlanFormation.Print(ActionPlanID);
BLL.PHTGL_ActionPlanFormationService.PrintFile( ActionPlanID);
BLL.PHTGL_ActionPlanFormationService.PrintFile(ActionPlanID);
}
#endregion
@@ -1,9 +1,9 @@
using BLL;
using Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using Model;
namespace FineUIPro.Web.PHTGL.BiddingManagement
{
@@ -1,9 +1,9 @@
using BLL;
using Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using Model;
namespace FineUIPro.Web.PHTGL.BiddingManagement
{
@@ -1,10 +1,8 @@
using Aspose.Words;
using BLL;
using BLL;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
namespace FineUIPro.Web.PHTGL.BiddingManagement
@@ -350,7 +348,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
{
if (buttonList.Contains(Const.BtnAdd))
{
btnNew.Hidden = false;
btnNew.Hidden = false;
}
if (buttonList.Contains(Const.BtnModify))
{
@@ -469,7 +467,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
return;
}
string Id = Grid1.SelectedRowID;
BLL.PHTGL_BidApproveUserReviewService.PrintFile( Id);
BLL.PHTGL_BidApproveUserReviewService.PrintFile(Id);
}
#endregion
}
@@ -1,9 +1,9 @@
using BLL;
using Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using Model;
namespace FineUIPro.Web.PHTGL.BiddingManagement
{
@@ -242,14 +242,14 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
}
else
{
/* Model.PHTGL_SetSubReview _SetSubReview = new Model.PHTGL_SetSubReview();
_SetSubReview.SetSubReviewID = SQLHelper.GetNewID(typeof(Model.PHTGL_SetSubReview));
var BidUser = BLL.PHTGL_BidApproveUserReviewService.GetPHTGL_BidApproveUserReviewById(ApproveUserReviewID);
_SetSubReview.ApproveUserReviewID = ApproveUserReviewID;
_SetSubReview.ActionPlanID = BidUser.ActionPlanID;
_SetSubReview.State = Const.ContractCreating;
_SetSubReview.Type = 0;
PHTGL_SetSubReviewService.AddPHTGL_SetSubReview(_SetSubReview);*/
/* Model.PHTGL_SetSubReview _SetSubReview = new Model.PHTGL_SetSubReview();
_SetSubReview.SetSubReviewID = SQLHelper.GetNewID(typeof(Model.PHTGL_SetSubReview));
var BidUser = BLL.PHTGL_BidApproveUserReviewService.GetPHTGL_BidApproveUserReviewById(ApproveUserReviewID);
_SetSubReview.ApproveUserReviewID = ApproveUserReviewID;
_SetSubReview.ActionPlanID = BidUser.ActionPlanID;
_SetSubReview.State = Const.ContractCreating;
_SetSubReview.Type = 0;
PHTGL_SetSubReviewService.AddPHTGL_SetSubReview(_SetSubReview);*/
ChangeState(Const.ContractReview_Complete);
}
@@ -1,11 +1,10 @@
using BLL;
using Model;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Web.DynamicData;
using Model;
namespace FineUIPro.Web.PHTGL.BiddingManagement
{
@@ -43,7 +42,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
ApproveUserReviewID = Request.Params["ApproveUserReviewID"];
BLL.DepartService.InitDepartDropDownList(DropDepart, true);
BLL.PHTGL_BidDocumentsReviewService.InitGetBidCompleteDropDownList(drpBidDocumentCode,this.CurrUser.LoginProjectId, true);
BLL.PHTGL_BidDocumentsReviewService.InitGetBidCompleteDropDownList(drpBidDocumentCode, this.CurrUser.LoginProjectId, true);
Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(DropUser, null, Const.UnitId_SEDIN, null, false);
///绑定施工管理部正副主任
@@ -154,12 +153,12 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
{
var bid=PHTGL_BidDocumentsReviewService.GetPHTGL_BidDocumentsReviewById(drpBidDocumentCode.SelectedValue);
if (bid!= null)
var bid = PHTGL_BidDocumentsReviewService.GetPHTGL_BidDocumentsReviewById(drpBidDocumentCode.SelectedValue);
if (bid != null)
{
txtProjectName.Text = PHTGL_ActionPlanFormationService.GetPHTGL_ActionPlanFormationById(bid.ActionPlanID).ProjectShortName;
txtBidProject.Text = bid.BidDocumentsName ;
}
txtBidProject.Text = bid.BidDocumentsName;
}
}
private bool Save(int state)
@@ -195,12 +194,12 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
return false;
}
/* if (DropDeputyGeneralManager.SelectedValue == Const._Null)
{
ShowNotify("请选择分管副总经理!", MessageBoxIcon.Warning);
return false;
/* if (DropDeputyGeneralManager.SelectedValue == Const._Null)
{
ShowNotify("请选择分管副总经理!", MessageBoxIcon.Warning);
return false;
}*/
}*/
Model.PHTGL_BidApproveUserReview newtable = new Model.PHTGL_BidApproveUserReview();
var Bid = BLL.PHTGL_BidDocumentsReviewService.GetPHTGL_BidDocumentsReviewById(drpBidDocumentCode.SelectedValue);
@@ -230,7 +229,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
BLL.PHTGL_BidApproveUserReview_Sch1Service.DeletePHTGL_BidApproveUserReview_Sch1ByReviewID(newtable.ApproveUserReviewID);
JArray EditorArr = Grid1.GetMergedData();
if (EditorArr.Count > 0)
{
@@ -1,10 +1,8 @@
using Aspose.Words;
using BLL;
using BLL;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
namespace FineUIPro.Web.PHTGL.BiddingManagement
@@ -1,9 +1,9 @@
using BLL;
using Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using Model;
namespace FineUIPro.Web.PHTGL.BiddingManagement
{
@@ -1,9 +1,9 @@
using BLL;
using Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using Model;
namespace FineUIPro.Web.PHTGL.BiddingManagement
{
@@ -113,7 +113,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
}
}
}
#region
/// <summary>
/// 数据绑定
@@ -215,7 +215,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
private bool Save()
{
//if (Approval_Construction.SelectedValue==Const._Null)
//{
// ShowNotify("请选择施工管理部审批人员!", MessageBoxIcon.Warning);
@@ -299,10 +299,10 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
}
PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
}
}
}
protected void btnSubmit_Click(object sender, EventArgs e)
{
if (Save())
@@ -365,7 +365,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
/// <param name="e"></param>
protected void btnAttachUrl_Click(object sender, EventArgs e)
{
if (string .IsNullOrEmpty(BidDocumentsReviewId))
if (string.IsNullOrEmpty(BidDocumentsReviewId))
{
Save();
}
@@ -1,10 +1,8 @@
using Aspose.Words;
using BLL;
using BLL;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
namespace FineUIPro.Web.PHTGL.BiddingManagement
@@ -382,7 +380,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
if (this.judgementDelete(rowID, isShow))
{
var p = BLL.PHTGL_SetSubReviewService.GetPHTGL_SetSubReviewById(rowID);
if (p != null&& p.State==Const.ContractCreating)
if (p != null && p.State == Const.ContractCreating)
{
BLL.LogService.AddSys_Log(this.CurrUser, p.SetSubReviewID, p.ApproveUserReviewID, BLL.Const.SetSubReview, BLL.Const.BtnDelete);
PHTGL_ApproveService.DeletePHTGL_ApproveBycontractId(rowID);
@@ -444,7 +442,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
btnNew.Hidden = false;
btnNew2.Hidden = false;
btnAdd1.Hidden = false;
btnAdd2.Hidden = false;
btnAdd2.Hidden = false;
}
if (buttonList.Contains(Const.BtnModify))
{
@@ -652,6 +650,6 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
}
#endregion
}
}
@@ -1,9 +1,9 @@
using BLL;
using Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using Model;
namespace FineUIPro.Web.PHTGL.BiddingManagement
{
@@ -252,7 +252,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
Model.PHTGL_SetSubReview _SetSubReview = new Model.PHTGL_SetSubReview();
var BidDoc = BLL.PHTGL_BidDocumentsReviewService.GetPHTGL_BidDocumentsReviewById(DropBidCode.SelectedValue);
var BidDoc = BLL.PHTGL_BidDocumentsReviewService.GetPHTGL_BidDocumentsReviewById(DropBidCode.SelectedValue);
_SetSubReview.ActionPlanID = BidDoc.ActionPlanID;
_SetSubReview.BidDocumentsReviewId = DropBidCode.SelectedValue;
_SetSubReview.SetSubReviewCode = txtSetSubReviewCode.Text.Trim().ToString();
@@ -270,7 +270,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
_SetSubReview.SetSubReviewID = SQLHelper.GetNewID(typeof(Model.PHTGL_SetSubReview));
SetSubReviewID = _SetSubReview.SetSubReviewID;
if (state== Const.ContractCreat_Complete)
if (state == Const.ContractCreat_Complete)
{
if (CBIsOwenerApprove.SelectedValueArray[0] == "1")
{
@@ -287,7 +287,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
return false;
}
}
}
PHTGL_SetSubReviewService.AddPHTGL_SetSubReview(_SetSubReview);
}