This commit is contained in:
parent
f312a49b49
commit
ecc8956b3e
|
@ -116,7 +116,8 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
|||
if (personLists.Count() > 0)
|
||||
{
|
||||
var personOut = personLists.Where(x => x.ProjectId == this.CurrUser.LoginProjectId && x.IsUsedType == "0").ToList();
|
||||
rootNode.ToolTip = "当前项目人员总数:" + personLists.Count() + ";在场人员数:" + (personLists.Count() - personOut.Count()) + ";离场人员数:" + personOut.Count();
|
||||
var personIn = personLists.Where(x => x.ProjectId == this.CurrUser.LoginProjectId && x.IsUsedType == "1").ToList();
|
||||
rootNode.ToolTip = "当前项目人员总数:" + personLists.Count() + ";在场人员数:" + personIn.Count() + ";离场人员数:" + personOut.Count();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -171,7 +172,8 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
|||
if (personUnitLists.Count() > 0)
|
||||
{
|
||||
var personOut = personUnitLists.Where(x => x.IsUsedType == "0");
|
||||
newNode.ToolTip = q.UnitName + "人员总数:" + personUnitLists.Count() + ";在场人员数:" + (personUnitLists.Count() - personOut.Count()) + ";离场人员数:" + personOut.Count();
|
||||
var personIn = personUnitLists.Where(x => x.IsUsedType == "1");
|
||||
newNode.ToolTip = q.UnitName + "人员总数:" + personUnitLists.Count() + ";在场人员数:" + personIn.Count() + ";离场人员数:" + personOut.Count();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue