待办显示关键事项申请关闭后
This commit is contained in:
@@ -405,6 +405,7 @@ namespace FineUIPro.Web.PZHGL.GJSX
|
||||
txtUserID.Enabled = isStart;
|
||||
Date_CreateDate.Enabled = isStart;
|
||||
DropQuestionTypeID.Enabled = isStart;
|
||||
rblNotice.Enabled = isStart;
|
||||
DropGJSXTypeID.Enabled = isStart;
|
||||
DropUser_Acceptance.Enabled = isStart;
|
||||
Date_CompleteDate.Enabled = isStart;
|
||||
@@ -996,7 +997,7 @@ namespace FineUIPro.Web.PZHGL.GJSX
|
||||
string sortField = Grid4.SortField;
|
||||
string sortDirection = Grid4.SortDirection;
|
||||
|
||||
var userList = (from x in Funs.DB.Sys_User
|
||||
/* var userList = (from x in Funs.DB.Sys_User
|
||||
join y in Funs.DB.Project_ProjectUnit
|
||||
on x.UnitId equals y.UnitId
|
||||
join p in Funs.DB.Project_ProjectUser
|
||||
@@ -1004,9 +1005,14 @@ namespace FineUIPro.Web.PZHGL.GJSX
|
||||
where p.ProjectId == CurrUser.LoginProjectId &&
|
||||
y.ProjectId == CurrUser.LoginProjectId
|
||||
orderby x.UserCode
|
||||
select x);
|
||||
|
||||
select x);*/
|
||||
var userList = (from x in Funs.DB.Project_ProjectUser
|
||||
join y in Funs.DB.Sys_User on x.UserId equals y.UserId
|
||||
where x.ProjectId == CurrUser.LoginProjectId
|
||||
orderby y.UserCode
|
||||
select y);
|
||||
DataTable table2 = LINQToDataTable(userList);
|
||||
if (table2 == null|| table2.Rows.Count==0) return table2;
|
||||
DataView view2 = table2.DefaultView;
|
||||
view2.Sort = String.Format("{0} {1}", sortField, sortDirection);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user