20230626 调整本部检查及单位类单位下拉框
This commit is contained in:
@@ -28,7 +28,7 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.ProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.ProjectId, true);
|
||||
btnNew.OnClientClick = Window1.GetShowReference("ConstructionTestEdit.aspx") + "return false;";
|
||||
GetButtonPower();
|
||||
BindGrid();
|
||||
|
||||
@@ -46,8 +46,8 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.UnitService.GetUnit(this.drpCheckUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpCheckUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.ConstructionTestTypeService.InitConstructionTestType(this.drpConstructionTestType, true);
|
||||
BLL.Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.drpWitness, this.CurrUser.LoginProjectId, string.Empty, string.Empty, true);
|
||||
ConstructionTestId = Request.Params["ConstructionTestId"];
|
||||
|
||||
@@ -46,8 +46,8 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.UnitService.GetUnit(this.drpCheckUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpCheckUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.ConstructionTestTypeService.InitConstructionTestType(this.drpConstructionTestType, true);
|
||||
BLL.Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.drpWitness, this.CurrUser.LoginProjectId, string.Empty, string.Empty, true);
|
||||
ConstructionTestId = Request.Params["ConstructionTestId"];
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.ProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.ProjectId, true);
|
||||
BLL.MainItemService.InitMainItemDownList(drpMainItem, this.ProjectId, true);
|
||||
btnNew.OnClientClick = Window1.GetShowReference("EquipmentEdit.aspx") + "return false;";
|
||||
GetButtonPower();
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.ProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.ProjectId, true);
|
||||
BLL.MainItemService.InitMainItemDownList(drpMainItem, this.ProjectId, true);
|
||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||
string EquipmentId = Request.Params["EquipmentId"];
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
{
|
||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||
list = new List<string>();
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.ProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.ProjectId, true);
|
||||
BLL.MainItemService.InitMainItemDownList(drpMainItem, this.ProjectId, true);
|
||||
if (!string.IsNullOrEmpty(this.CurrUser.UnitId))
|
||||
{
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.ProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.ProjectId, true);
|
||||
BLL.MainItemService.InitMainItemDownList(drpMainItem, this.ProjectId, true);
|
||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||
string EquipmentId = Request.Params["EquipmentId"];
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||
//权限按钮方法
|
||||
GetButtonPower();
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.ProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.ProjectId, true);
|
||||
Funs.FineUIPleaseSelect(this.drpState);
|
||||
ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
|
||||
// 绑定表格
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.CurrUser.LoginProjectId, true);
|
||||
InspectionId = Request.Params["InspectionId"];
|
||||
this.HideOptions.Hidden = true;
|
||||
this.rblIsAgree.Hidden = true;
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.CurrUser.LoginProjectId, true);
|
||||
InspectionId = Request.Params["InspectionId"];
|
||||
if (!string.IsNullOrEmpty(InspectionId))
|
||||
{
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.ProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.ProjectId, true);
|
||||
BLL.MainItemService.InitMainItemDownList(drpMainItem, this.ProjectId, true);
|
||||
btnNew.OnClientClick = Window1.GetShowReference("MaterialEdit.aspx") + "return false;";
|
||||
GetButtonPower();
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.ProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.ProjectId, true);
|
||||
BLL.MainItemService.InitMainItemDownList(drpMainItem, this.ProjectId, true);
|
||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||
string MaterialId = Request.Params["MaterialId"];
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
{
|
||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||
list = new List<string>();
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.ProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.ProjectId, true);
|
||||
BLL.MainItemService.InitMainItemDownList(drpMainItem, this.ProjectId, true);
|
||||
if (!string.IsNullOrEmpty(this.CurrUser.UnitId))
|
||||
{
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.ProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.ProjectId, true);
|
||||
btnNew.OnClientClick = Window1.GetShowReference("MaterialTestEdit.aspx") + "return false;";
|
||||
GetButtonPower();
|
||||
BindGrid();
|
||||
|
||||
@@ -46,8 +46,8 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.UnitService.GetUnit(this.drpCheckUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpCheckUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.MaterialTypeService.InitMaterialType(this.drpMaterialType, true);
|
||||
BLL.Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.drpWitness, this.CurrUser.LoginProjectId, string.Empty, string.Empty, true);
|
||||
MaterialTestId = Request.Params["MaterialTestId"];
|
||||
|
||||
@@ -46,8 +46,8 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.UnitService.GetUnit(this.drpCheckUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpCheckUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.MaterialTypeService.InitMaterialType(this.drpMaterialType, true);
|
||||
BLL.Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.drpWitness, this.CurrUser.LoginProjectId, string.Empty, string.Empty, true);
|
||||
MaterialTestId = Request.Params["MaterialTestId"];
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.ProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.ProjectId, true);
|
||||
BLL.MainItemService.InitMainItemDownList(drpMainItem, this.ProjectId, true);
|
||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||
string MaterialId = Request.Params["MaterialId"];
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.ProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.ProjectId, true);
|
||||
BLL.MainItemService.InitMainItemDownList(drpMainItem, this.ProjectId, true);
|
||||
btnNew.OnClientClick = Window1.GetShowReference("NoticeAndSupervisionEdit.aspx") + "return false;";
|
||||
GetButtonPower();
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.MainItemService.InitMainItemDownList(drpMainItem, this.CurrUser.LoginProjectId, true);
|
||||
BLL.NoticeAndSupervisionTypeService.InitNoticeAndSupervisionType(this.drpNoticeAndSupervisionType, true);
|
||||
NoticeAndSupervisionId = Request.Params["NoticeAndSupervisionId"];
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BLL.UnitService.GetUnit(this.drpUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.CurrUser.LoginProjectId, true);
|
||||
BLL.MainItemService.InitMainItemDownList(drpMainItem, this.CurrUser.LoginProjectId, true);
|
||||
BLL.NoticeAndSupervisionTypeService.InitNoticeAndSupervisionType(this.drpNoticeAndSupervisionType, true);
|
||||
NoticeAndSupervisionId = Request.Params["NoticeAndSupervisionId"];
|
||||
|
||||
Reference in New Issue
Block a user