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

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
@@ -63,7 +63,7 @@
}
////权限按钮方法
this.GetButtonPower();
this.btnNew.OnClientClick = Window1.GetShowReference("EquipmentManageEdit.aspx?type="+this.Type) + "return false;";
this.btnNew.OnClientClick = Window1.GetShowReference("EquipmentManageEdit.aspx?type=" + this.Type) + "return false;";
Funs.DropDownPageSize(this.ddlPageSize);
// 绑定表格
this.BindGrid();
@@ -167,7 +167,7 @@
var getD = EquipmentService.GetEquipmentByEquipmentId(rowID);
if (getD != null)
{
LogService.AddSys_Log(this.CurrUser, getD.EquipmentName.ToString(), getD.EquipmentId,this.MenuId, BLL.Const.BtnDelete);
LogService.AddSys_Log(this.CurrUser, getD.EquipmentName.ToString(), getD.EquipmentId, this.MenuId, BLL.Const.BtnDelete);
BLL.EquipmentService.DeleteEquipmentById(rowID);
}
}
@@ -1,5 +1,4 @@
using BLL;
using FineUIPro.Web.CQMS.Material;
using System;
using System.Linq;
@@ -62,7 +61,7 @@ namespace FineUIPro.Web.SmartSite
if (!IsPostBack)
{
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
this.EquipmentId = Request.Params["EquipmentId"];
this.Type = Request.Params["type"];
if (this.Type == "D")
@@ -82,7 +81,7 @@ namespace FineUIPro.Web.SmartSite
ProjectService.InitProjectDropDownList(this.drpProject, true);
if (!string.IsNullOrEmpty(this.EquipmentId))
{
{
var Equipment = BLL.EquipmentService.GetEquipmentByEquipmentId(this.EquipmentId);
if (Equipment != null)
{
@@ -90,12 +89,12 @@ namespace FineUIPro.Web.SmartSite
this.drpProject.SelectedValue = Equipment.ProjectId;
this.Type = Equipment.Type;
this.txtEquipmentName.Text = Equipment.EquipmentName;
this.txtEquipmentModel.Text = Equipment.EquipmentModel;
this.txtNumber.Text = Equipment.Number.ToString();
this.txtRunningState.Text = Equipment.RunningState;
this.txtSupplier.Text = Equipment.Supplier;
this.txtSupplierMan.Text = Equipment.SupplierMan;
this.txtSupplierTel.Text = Equipment.SupplierTel;
this.txtEquipmentModel.Text = Equipment.EquipmentModel;
this.txtNumber.Text = Equipment.Number.ToString();
this.txtRunningState.Text = Equipment.RunningState;
this.txtSupplier.Text = Equipment.Supplier;
this.txtSupplierMan.Text = Equipment.SupplierMan;
this.txtSupplierTel.Text = Equipment.SupplierTel;
}
}
}
@@ -113,17 +112,17 @@ namespace FineUIPro.Web.SmartSite
Alert.ShowInParent("请选择项目!", MessageBoxIcon.Warning);
return;
}
Model.SmartSite_Equipment newEquipment = new Model.SmartSite_Equipment
{
EquipmentName = this.txtEquipmentName.Text.Trim(),
Type = this.Type,
EquipmentModel = this.txtEquipmentModel.Text.Trim(),
EquipmentModel = this.txtEquipmentModel.Text.Trim(),
Number = Funs.GetNewIntOrZero(this.txtNumber.Text.Trim()),
RunningState = this.txtRunningState.Text.Trim(),
Supplier = this.txtSupplier.Text.Trim(),
SupplierMan = this.txtSupplierMan.Text.Trim(),
SupplierTel = this.txtSupplierTel.Text.Trim(),
RunningState = this.txtRunningState.Text.Trim(),
Supplier = this.txtSupplier.Text.Trim(),
SupplierMan = this.txtSupplierMan.Text.Trim(),
SupplierTel = this.txtSupplierTel.Text.Trim(),
};
if (this.drpProject.SelectedValue != Const._Null)
@@ -168,7 +168,7 @@
var getD = EquipmentSoftService.GetEquipmentSoftByEquipmentSoftId(rowID);
if (getD != null)
{
LogService.AddSys_Log(this.CurrUser, getD.EquipmentSoftName.ToString(), getD.EquipmentSoftId,this.MenuId, BLL.Const.BtnDelete);
LogService.AddSys_Log(this.CurrUser, getD.EquipmentSoftName.ToString(), getD.EquipmentSoftId, this.MenuId, BLL.Const.BtnDelete);
BLL.EquipmentSoftService.DeleteEquipmentSoftById(rowID);
}
}
@@ -1,5 +1,4 @@
using BLL;
using FineUIPro.Web.CQMS.Material;
using System;
using System.Linq;
@@ -62,7 +61,7 @@ namespace FineUIPro.Web.SmartSite
if (!IsPostBack)
{
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
this.EquipmentSoftId = Request.Params["EquipmentSoftId"];
this.Type = Request.Params["type"];
if (this.Type == "D")
@@ -83,7 +82,7 @@ namespace FineUIPro.Web.SmartSite
ProjectService.InitProjectDropDownList(this.drpProject, true);
EquipmentService.InitEquipmentDropDownList(this.drpEQ, this.drpProject.SelectedValue, this.Type, true);
if (!string.IsNullOrEmpty(this.EquipmentSoftId))
{
{
var Equipment = BLL.EquipmentSoftService.GetEquipmentSoftByEquipmentSoftId(this.EquipmentSoftId);
if (Equipment != null)
{
@@ -93,12 +92,12 @@ namespace FineUIPro.Web.SmartSite
this.drpEQ.SelectedValue = Equipment.EquipmentId;
this.Type = Equipment.Type;
this.txtEquipmentSoftName.Text = Equipment.EquipmentSoftName;
this.txtEquipmentSoftModel.Text = Equipment.EquipmentSoftModel;
this.txtNumber.Text = Equipment.Number.ToString();
this.txtRunningState.Text = Equipment.RunningState;
this.txtSupplier.Text = Equipment.Supplier;
this.txtSupplierMan.Text = Equipment.SupplierMan;
this.txtSupplierTel.Text = Equipment.SupplierTel;
this.txtEquipmentSoftModel.Text = Equipment.EquipmentSoftModel;
this.txtNumber.Text = Equipment.Number.ToString();
this.txtRunningState.Text = Equipment.RunningState;
this.txtSupplier.Text = Equipment.Supplier;
this.txtSupplierMan.Text = Equipment.SupplierMan;
this.txtSupplierTel.Text = Equipment.SupplierTel;
}
}
}
@@ -116,17 +115,17 @@ namespace FineUIPro.Web.SmartSite
Alert.ShowInParent("请选择项目!", MessageBoxIcon.Warning);
return;
}
Model.SmartSite_EquipmentSoft newEquipment = new Model.SmartSite_EquipmentSoft
{
EquipmentSoftName = this.txtEquipmentSoftName.Text.Trim(),
Type = this.Type,
EquipmentSoftModel = this.txtEquipmentSoftModel.Text.Trim(),
EquipmentSoftModel = this.txtEquipmentSoftModel.Text.Trim(),
Number = Funs.GetNewIntOrZero(this.txtNumber.Text.Trim()),
RunningState = this.txtRunningState.Text.Trim(),
Supplier = this.txtSupplier.Text.Trim(),
SupplierMan = this.txtSupplierMan.Text.Trim(),
SupplierTel = this.txtSupplierTel.Text.Trim(),
RunningState = this.txtRunningState.Text.Trim(),
Supplier = this.txtSupplier.Text.Trim(),
SupplierMan = this.txtSupplierMan.Text.Trim(),
SupplierTel = this.txtSupplierTel.Text.Trim(),
};
if (this.drpProject.SelectedValue != Const._Null)
@@ -174,7 +173,7 @@ namespace FineUIPro.Web.SmartSite
protected void drpProject_SelectedIndexChanged(object sender, EventArgs e)
{
EquipmentService.InitEquipmentDropDownList(this.drpEQ, this.drpProject.SelectedValue,this.Type, true);
EquipmentService.InitEquipmentDropDownList(this.drpEQ, this.drpProject.SelectedValue, this.Type, true);
}
}
}