修改公司级看板只显示在建的项目

This commit is contained in:
2024-09-23 10:31:03 +08:00
parent 95d6e9c862
commit b6b6c69a17
6 changed files with 60 additions and 2 deletions
@@ -24,6 +24,14 @@ namespace FineUIPro.Web.common
{
pids = CurrUser.CompanyProjectId.Split(',');
}
else {
//加载所有在建项目的数据
var pidArray = Funs.DB.Base_Project.Where(x => x.ProjectState == "1").Select(x=>x.ProjectId).ToArray();
if (pidArray.Length>0)
{
pids = pidArray;
}
}
//未遂事故