补充公司级别树
This commit is contained in:
@@ -44,7 +44,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
|
||||
{
|
||||
this.ProjectId = Request.Params["projectId"];
|
||||
}
|
||||
|
||||
this.InitDownList();
|
||||
this.ucTree.UnitId = this.CurrUser.UnitId;
|
||||
this.ucTree.ProjectId = this.ProjectId;
|
||||
if (!string.IsNullOrEmpty(this.CurrUser.LoginProjectId))
|
||||
@@ -54,11 +54,10 @@ namespace FineUIPro.Web.CQMS.ProcessControl
|
||||
////权限按钮方法
|
||||
this.GetButtonPower();
|
||||
}
|
||||
GetList();
|
||||
BindGrid();
|
||||
}
|
||||
}
|
||||
private void GetList()
|
||||
private void InitDownList()
|
||||
{
|
||||
BLL.CNProfessionalService.InitCNProfessionalDownList(this.drpCNProfessional, true);//专业
|
||||
UnitWorkService.InitUnitWorkDownList(drpUnitWork, this.ProjectId, true);
|
||||
@@ -66,16 +65,14 @@ namespace FineUIPro.Web.CQMS.ProcessControl
|
||||
}
|
||||
protected void changeTree(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
this.ProjectId = this.ucTree.ProjectId;
|
||||
GetList();
|
||||
this.BindGrid();
|
||||
|
||||
this.InitDownList();
|
||||
this.GetButtonPower();
|
||||
if (string.IsNullOrEmpty(this.CurrUser.LoginProjectId))
|
||||
{
|
||||
btnNew.Hidden = true;
|
||||
}
|
||||
this.BindGrid();
|
||||
}
|
||||
/// <summary>
|
||||
/// 数据绑定
|
||||
@@ -297,7 +294,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
|
||||
BLL.InspectionManagementService.DeleteInspectionManagement(rowID);
|
||||
}
|
||||
}
|
||||
//Project_CQMSDataService.StatisticalData(this.CurrUser.LoginProjectId, Project_CQMSDataService.CQMSDateType.QualityAcceptance);
|
||||
//Project_CQMSDataService.StatisticalData(this.ProjectId, Project_CQMSDataService.CQMSDateType.QualityAcceptance);
|
||||
BindGrid();
|
||||
ShowNotify("删除数据成功!", MessageBoxIcon.Success);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user