2022-09-08 合同基本修改,焊接数据分析修改
This commit is contained in:
@@ -73,16 +73,16 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
|
||||
Session["pHTGL_Approve"] = value;
|
||||
}
|
||||
}
|
||||
public string UserId
|
||||
public string PersonId
|
||||
{
|
||||
get
|
||||
{
|
||||
UserId = Request.Params["UserId"];
|
||||
return (string)ViewState["UserId"];
|
||||
PersonId = Request.Params["PersonId"];
|
||||
return (string)ViewState["PersonId"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["UserId"] = value;
|
||||
ViewState["PersonId"] = value;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
@@ -106,22 +106,22 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
|
||||
ApproveManModels = PHTGL_BidDocumentsReviewService.GetApproveManModels(_Bid.ProjectId, _Bid.BidDocumentsReviewId);
|
||||
|
||||
//获取当前登录人审批信息
|
||||
pHTGL_Approve = BLL.PHTGL_ApproveService.GetPHTGL_ApproveByUserId(BidDocumentsReviewId, UserId);
|
||||
pHTGL_Approve = BLL.PHTGL_ApproveService.GetPHTGL_ApproveByUserId(BidDocumentsReviewId, PersonId);
|
||||
|
||||
this.txtProjectCode.Text = _ActionPlanFormation.EPCCode;
|
||||
this.txtProjectName.Text = _ActionPlanFormation.ProjectShortName;
|
||||
this.txtCreateUser.Text = BLL.Person_PersonsService.GetPersonsNameById(_Bid.CreateUser);
|
||||
if (PHTGL_ApproveService.IsApproveMan(BidDocumentsReviewId, UserId))
|
||||
if (PHTGL_ApproveService.IsApproveMan(BidDocumentsReviewId, PersonId))
|
||||
{
|
||||
BindGrid();
|
||||
|
||||
}
|
||||
else if (UserId == Const.sysglyId || UserId == Const.hfnbdId)
|
||||
else if (PersonId == Const.sysglyId || PersonId == Const.hfnbdId)
|
||||
{
|
||||
BindGrid();
|
||||
|
||||
}
|
||||
else if (_Bid.CreateUser == UserId)
|
||||
else if (_Bid.CreateUser == PersonId)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
@@ -146,7 +146,7 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
string strSql = @" select u.UserName as ApproveMan,
|
||||
string strSql = @" select u.PersonName as ApproveMan,
|
||||
App.ApproveDate,
|
||||
(CASE App.IsAgree WHEN '1' THEN '不同意'
|
||||
WHEN '2' THEN '同意' END) AS IsAgree,
|
||||
@@ -154,7 +154,7 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
|
||||
App.ApproveId,
|
||||
App.ApproveType
|
||||
from PHTGL_Approve as App"
|
||||
+ @" left join Sys_User AS U ON U.UserId = App.ApproveMan WHERE 1=1 and App.IsAgree <>0 and app.ContractId= @ContractId order by convert(datetime ,App.ApproveDate) ";
|
||||
+ @" left join SitePerson_Person AS U ON U.PersonId = App.ApproveMan WHERE 1=1 and App.IsAgree <>0 and app.ContractId= @ContractId order by convert(datetime ,App.ApproveDate) ";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@ContractId", BidDocumentsReviewId));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user