From 074fc70d96570829c81c76007baf42635fe0783e Mon Sep 17 00:00:00 2001
From: xiaju <1784803958@qq.com>
Date: Tue, 25 Mar 2025 10:47:40 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9C=88=E8=BF=9B=E5=BA=A6=E4=BA=94=E7=8E=AF?=
=?UTF-8?q?=E8=B4=A3=E4=BB=BB=E4=BA=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../JDGL/Check/MonthPlanEditNew.aspx | 2 +-
.../JDGL/Check/MonthPlanEditNew.aspx.cs | 25 ++-----------------
2 files changed, 3 insertions(+), 24 deletions(-)
diff --git a/SGGL/FineUIPro.Web/JDGL/Check/MonthPlanEditNew.aspx b/SGGL/FineUIPro.Web/JDGL/Check/MonthPlanEditNew.aspx
index f4f909b1..51034b65 100644
--- a/SGGL/FineUIPro.Web/JDGL/Check/MonthPlanEditNew.aspx
+++ b/SGGL/FineUIPro.Web/JDGL/Check/MonthPlanEditNew.aspx
@@ -22,7 +22,7 @@
-
+
diff --git a/SGGL/FineUIPro.Web/JDGL/Check/MonthPlanEditNew.aspx.cs b/SGGL/FineUIPro.Web/JDGL/Check/MonthPlanEditNew.aspx.cs
index 807284f9..e95f40e8 100644
--- a/SGGL/FineUIPro.Web/JDGL/Check/MonthPlanEditNew.aspx.cs
+++ b/SGGL/FineUIPro.Web/JDGL/Check/MonthPlanEditNew.aspx.cs
@@ -68,7 +68,8 @@ namespace FineUIPro.Web.JDGL.Check
this.Id = Request.Params["Id"];
this.ProjectId = this.CurrUser.LoginProjectId;
BLL.ProjectUnitService.InitUnitDropDownList(drpUnit, this.CurrUser.LoginProjectId, BLL.Const.ProjectUnitType_2, false);
-
+ //五环责任人
+ UserService.Init2(drpDutyPerson, this.CurrUser.LoginProjectId, false);
if (!string.IsNullOrEmpty(Id))
{
var model = Funs.DB.JDGL_MonthPlan.FirstOrDefault(x => x.MonthPlanId == Id);
@@ -78,10 +79,6 @@ namespace FineUIPro.Web.JDGL.Check
txtMonths.Readonly = true;
drpUnit.SelectedValue = model.UnitId;
- //责任人
- //UserService.InitUserDropDownList(drpDutyPerson, this.CurrUser.LoginProjectId, false, model.UnitId);
- //五环责任人
- UserService.Init2(drpDutyPerson, this.CurrUser.LoginProjectId, false);
if (!string.IsNullOrEmpty(model.DutyPerson))
{
List listPersonId = model.DutyPerson.Split(',').ToList();
@@ -103,24 +100,6 @@ namespace FineUIPro.Web.JDGL.Check
}
}
- ///
- /// 责任单位下拉同步改变责任人
- ///
- ///
- ///
- protected void drpUnit_SelectedIndexChanged(object sender, EventArgs e)
- {
- drpDutyPerson.Items.Clear();
- var dropUnitId = this.drpUnit.SelectedValue;
- if (!string.IsNullOrWhiteSpace(dropUnitId))
- {
- //责任人
- //UserService.InitUserDropDownList(drpDutyPerson, this.CurrUser.LoginProjectId, false, dropUnitId);
- //五环责任人
- UserService.Init2(drpDutyPerson, this.CurrUser.LoginProjectId, false);
- }
- }
-
///
/// 保存
///