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

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,7 +1,7 @@
using System;
using System.Linq;
using BLL;
using BLL;
using Model;
using System;
using System.Linq;
namespace FineUIPro.Web.PHTGL.BillOfQuantities
{
@@ -1,7 +1,6 @@
using System;
using BLL;
using BLL;
using Model;
using AspNet = System.Web.UI.WebControls;
using System;
namespace FineUIPro.Web.PHTGL.BillOfQuantities
{
@@ -1,6 +1,6 @@
using System;
using BLL;
using BLL;
using Model;
using System;
namespace FineUIPro.Web.PHTGL.BillOfQuantities
{
@@ -136,7 +136,7 @@ namespace FineUIPro.Web.PHTGL.BillOfQuantities
if (string.IsNullOrEmpty(MainProjectQuantityId))
{
return;
}
}
PHTGL_BidProjectQuantityService.ExportByMainProjectQuantityId(MainProjectQuantityId);
}
@@ -1,10 +1,6 @@
using BLL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUIPro.Web.PHTGL.BillOfQuantities
{
@@ -39,7 +35,7 @@ namespace FineUIPro.Web.PHTGL.BillOfQuantities
{
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
////权限按钮方法
// this.GetButtonPower();
// this.GetButtonPower();
this.Id = Request.Params["Id"];
this.Type = Request.Params["Type"];
if (!string.IsNullOrEmpty(this.Id))
@@ -78,7 +74,7 @@ namespace FineUIPro.Web.PHTGL.BillOfQuantities
/// <param name="e"></param>
protected void btnSave_Click(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(this.Id))
{
Model.PHTGL_Quantity table = new Model.PHTGL_Quantity();
@@ -97,7 +93,7 @@ namespace FineUIPro.Web.PHTGL.BillOfQuantities
table.WorkContent = this.txtWorkContent.Text;
table.Remarks = this.txtRemarks.Text;
table.Id = SQLHelper.GetNewID(typeof(Model.PHTGL_Quantity));
table.IsTemplate=true;
table.IsTemplate = true;
BLL.PHTGL_QuantityService.AddPHTGL_Quantity(table);
}
@@ -1,12 +1,9 @@
using System;
using System.Collections.Generic;
using BLL;
using Model;
using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
using BLL;
using MiniExcelLibs;
using Model;
namespace FineUIPro.Web.PHTGL.BillOfQuantities
{
@@ -14,7 +11,8 @@ namespace FineUIPro.Web.PHTGL.BillOfQuantities
{
#region
public string MainProjectQuantityId {
public string MainProjectQuantityId
{
get
{
return (string)ViewState["MainProjectQuantityId"];
@@ -22,7 +20,7 @@ namespace FineUIPro.Web.PHTGL.BillOfQuantities
}
set
{
ViewState["MainProjectQuantityId"]=value;
ViewState["MainProjectQuantityId"] = value;
}
}
/// <summary>
@@ -77,7 +75,7 @@ namespace FineUIPro.Web.PHTGL.BillOfQuantities
//文件上传服务器后的名称
var fileName = rootPath + initPath + hdFileName.Text;
ResponeData responeData=new ResponeData() ;
ResponeData responeData = new ResponeData();
if (string.IsNullOrEmpty(MainProjectQuantityId))
{
responeData = PHTGL_QuantityService.ImportData(fileName, Request.Params["Type"]);
@@ -85,11 +83,11 @@ namespace FineUIPro.Web.PHTGL.BillOfQuantities
}
else
{
responeData = PHTGL_QuantityService.ImportData(fileName, "",MainProjectQuantityId);
responeData = PHTGL_QuantityService.ImportData(fileName, "", MainProjectQuantityId);
}
if (responeData.code==1)
if (responeData.code == 1)
{
ShowNotify("数据导入成功!", MessageBoxIcon.Success);
@@ -100,7 +98,7 @@ namespace FineUIPro.Web.PHTGL.BillOfQuantities
}
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
}
@@ -1,9 +1,9 @@
using System;
using BLL;
using Model;
using System;
using System.Linq;
using System.Text;
using System.Web;
using BLL;
using Model;
namespace FineUIPro.Web.PHTGL.BillOfQuantities
{
@@ -93,7 +93,7 @@ namespace FineUIPro.Web.PHTGL.BillOfQuantities
break;
case "5.1":
menuid = Const.TemQuantityListMenuId5_1;
break;
break;
case "5.2":
menuid = Const.TemQuantityListMenuId5_2;
break;
@@ -122,9 +122,9 @@ namespace FineUIPro.Web.PHTGL.BillOfQuantities
if (buttonList.Contains(Const.BtnDelete)) btnMenuDelete.Hidden = false;
}
if (this.CurrUser.PersonId==Const.hfnbdId)
if (this.CurrUser.PersonId == Const.hfnbdId)
{
btnCheck.Hidden=false;
btnCheck.Hidden = false;
}
}
@@ -193,7 +193,7 @@ namespace FineUIPro.Web.PHTGL.BillOfQuantities
protected void btnNew_Click(object sender, EventArgs e)
{
PageContext.RegisterStartupScript(
Window1.GetShowReference(string.Format("PHTGL_QuantityEdit.aspx?Id={0}&Type={1}", string.Empty,Type, "增加 - ")));
Window1.GetShowReference(string.Format("PHTGL_QuantityEdit.aspx?Id={0}&Type={1}", string.Empty, Type, "增加 - ")));
}
/// <summary>
@@ -305,7 +305,7 @@ namespace FineUIPro.Web.PHTGL.BillOfQuantities
protected void btnSearch_Click(object sender, EventArgs e)
{
BindGrid();
BindGrid();
}
protected void btnCheck_OnClick(object sender, EventArgs e)
@@ -1,11 +1,6 @@
using BLL;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUIPro.Web.PHTGL.BillOfQuantities
{
@@ -47,20 +42,20 @@ namespace FineUIPro.Web.PHTGL.BillOfQuantities
protected void btnSave_Click(object sender, EventArgs e)
{
var CheckIdList = Grid1.SelectedRowIDArray;
if (CheckIdList.Length>0)
if (CheckIdList.Length > 0)
{
foreach (var item in CheckIdList)
{
var model = BLL.PHTGL_QuantityService.GetPHTGL_QuantityById(item);
PHTGL_QuantityService.AddPHTGL_QuantityByTemModel(model, MainProjectQuantityId);
}
ShowNotify("保存成功",MessageBoxIcon.Success);
ShowNotify("保存成功", MessageBoxIcon.Success);
}
}
protected void btnSearch_Click(object sender, EventArgs e)
{
BindGrid();
BindGrid();
}
}
}