20230626 调整本部检查及单位类单位下拉框

This commit is contained in:
2023-06-26 15:42:26 +08:00
parent c35272be84
commit 1acdf08555
43 changed files with 68 additions and 85 deletions
@@ -69,7 +69,7 @@ namespace FineUIPro.Web.CQMS.Check
if (!IsPostBack)
{
UnitService.GetUnit(drpProposeUnit, CurrUser.LoginProjectId, false);
UnitService.InitUnitDropDownList(drpProposeUnit, CurrUser.LoginProjectId, false);
var unitWork = UnitWorkService.GetUnitWorkLists(CurrUser.LoginProjectId);
var unitWorks = from x in unitWork
select
@@ -57,7 +57,7 @@ namespace FineUIPro.Web.CQMS.Check
{
if (!IsPostBack)
{
UnitService.GetUnit(drpUnit, CurrUser.LoginProjectId, true);
UnitService.InitUnitDropDownList(drpUnit, CurrUser.LoginProjectId, true);
ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
btnNew.OnClientClick = Window1.GetShowReference("EditSpotCheck.aspx") + "return false;";
GetButtonPower();
@@ -30,7 +30,7 @@ namespace FineUIPro.Web.CQMS.Check
{
if (!IsPostBack)
{
UnitService.GetUnit(drpUnit, CurrUser.LoginProjectId, true);
UnitService.InitUnitDropDownList(drpUnit, CurrUser.LoginProjectId, true);
ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
BindData();
@@ -49,7 +49,7 @@ namespace FineUIPro.Web.CQMS.Check
{
if (!IsPostBack)
{
UnitService.GetUnit(drpUnit, CurrUser.LoginProjectId, true);
UnitService.InitUnitDropDownList(drpUnit, CurrUser.LoginProjectId, true);
ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
GetButtonPower();
BindData();
@@ -58,7 +58,7 @@ namespace FineUIPro.Web.CQMS.Check
{
if (!IsPostBack)
{
UnitService.GetUnit(drpProposeUnit, CurrUser.LoginProjectId, true);
UnitService.InitUnitDropDownList(drpProposeUnit, CurrUser.LoginProjectId, true);
Funs.FineUIPleaseSelect(this.drpContactListType);
Funs.FineUIPleaseSelect(this.drpIsReply);
Funs.FineUIPleaseSelect(this.drpState);
@@ -29,7 +29,7 @@ namespace FineUIPro.Web.CQMS.Check
{
if (!IsPostBack)
{
UnitService.GetUnit(drpProposeUnit, CurrUser.LoginProjectId, true);
UnitService.InitUnitDropDownList(drpProposeUnit, CurrUser.LoginProjectId, true);
Funs.FineUIPleaseSelect(this.drpContactListType);
Funs.FineUIPleaseSelect(this.drpIsReply);
UnitWorkService.InitUnitWorkDownList(drpUnitWork, this.CurrUser.LoginProjectId, true);
@@ -30,7 +30,7 @@ namespace FineUIPro.Web.CQMS.Check
{
if (!IsPostBack)
{
UnitService.GetUnit(drpProposeUnit, CurrUser.LoginProjectId, true);
UnitService.InitUnitDropDownList(drpProposeUnit, CurrUser.LoginProjectId, true);
Funs.FineUIPleaseSelect(this.drpIsReply);
ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
BindGrid();