20240813 单位工程修改
This commit is contained in:
parent
80e4a4097b
commit
1c756418a2
|
@ -87,7 +87,11 @@ namespace FineUIPro.Web.CQMS.WBS
|
|||
this.trWBS.AutoScroll = true;
|
||||
this.trWBS.EnableSingleClickExpand = true;
|
||||
|
||||
var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId orderby x.UnitWorkCode select x;
|
||||
var unitWorks = from x in Funs.DB.WBS_UnitWork
|
||||
where x.ProjectId == this.CurrUser.LoginProjectId
|
||||
&& (x.SuperUnitWork == null || x.SuperUnitWork == "0")
|
||||
orderby x.UnitWorkCode
|
||||
select x;
|
||||
foreach (var q in unitWorks)
|
||||
{
|
||||
TreeNode newNode = new TreeNode();
|
||||
|
|
|
@ -79,7 +79,11 @@ namespace FineUIPro.Web.CQMS.WBS
|
|||
this.trWBS.EnableIcons = true;
|
||||
this.trWBS.AutoScroll = true;
|
||||
this.trWBS.EnableSingleClickExpand = true;
|
||||
var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId orderby x.UnitWorkCode select x;
|
||||
var unitWorks = from x in Funs.DB.WBS_UnitWork
|
||||
where x.ProjectId == this.CurrUser.LoginProjectId
|
||||
&& (x.SuperUnitWork == null || x.SuperUnitWork == "0")
|
||||
orderby x.UnitWorkCode
|
||||
select x;
|
||||
foreach (var q in unitWorks)
|
||||
{
|
||||
TreeNode newNode = new TreeNode();
|
||||
|
|
Loading…
Reference in New Issue