20250805 试压管理

This commit is contained in:
2025-08-05 23:34:06 +08:00
parent 151bdde705
commit 4e366b3827
22 changed files with 369 additions and 159 deletions
@@ -93,9 +93,20 @@ namespace FineUIPro.Web.HJGL.TestPackage
where x.ProjectId == this.CurrUser.LoginProjectId
&& x.SuperUnitWork == null && x.UnitId != null && x.ProjectType != null
select x).ToList();
List<Model.PTP_TestPackage> testPackageLists = (from x in Funs.DB.PTP_TestPackage
where x.ProjectId == this.CurrUser.LoginProjectId
select x).ToList();
List<Model.PTP_TestPackage> testPackageLists = new List<Model.PTP_TestPackage>();
if (!string.IsNullOrEmpty(this.txtCode.Text.Trim()))
{
testPackageLists = (from x in Funs.DB.PTP_TestPackage
where x.ProjectId == this.CurrUser.LoginProjectId
&& x.TestPackageNo.Contains(this.txtCode.Text.Trim())
select x).ToList();
}
else
{
testPackageLists = (from x in Funs.DB.PTP_TestPackage
where x.ProjectId == this.CurrUser.LoginProjectId
select x).ToList();
}
List<Model.WBS_UnitWork> unitWork1 = null;
List<Model.WBS_UnitWork> unitWork2 = null;
@@ -585,5 +596,17 @@ namespace FineUIPro.Web.HJGL.TestPackage
ShowNotify("您没有这个权限,请与管理员联系!");
}
}
#region
/// <summary>
/// 查询
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void txtCode_TextChanged(object sender, EventArgs e)
{
InitTreeMenu();
}
#endregion
}
}