修改实施计划

This commit is contained in:
2023-07-07 11:22:17 +08:00
parent 8d785cef99
commit 1aeb58e84f
2 changed files with 33 additions and 2 deletions
@@ -243,6 +243,11 @@
function reloadGrid() {
__doPostBack(null, 'reloadGrid');
}
function removeActiveTab() {
debugger;
window.parent.parent.removeActiveTab();
}
</script>
</body>
</html>
@@ -299,8 +299,21 @@ namespace FineUIPro.Web.ZHGL.Plan
Alert.ShowInTop("请选择编制人!", MessageBoxIcon.Warning);
return;
}
Model.ActionPlan_ActionPlanList actionPlanList = ActionPlanListService.GetActionPlanListById(ActionPlanListId);
string state = string.Empty;
if (actionPlanList != null)
{
state = actionPlanList.States;
}
this.SaveData(BLL.Const.BtnSave);
PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
if (state == Const.ActionPlanList_DepartReview)
{
PageContext.RegisterStartupScript(String.Format("removeActiveTab();"));
}
else
{
PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
}
}
/// <summary>
@@ -325,8 +338,21 @@ namespace FineUIPro.Web.ZHGL.Plan
Alert.ShowInTop("请选择评审人员!", MessageBoxIcon.Warning);
return;
}
Model.ActionPlan_ActionPlanList actionPlanList = ActionPlanListService.GetActionPlanListById(ActionPlanListId);
string state = string.Empty;
if (actionPlanList != null)
{
state = actionPlanList.States;
}
this.SaveData(BLL.Const.BtnSubmit);
PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
if (state == Const.ActionPlanList_DepartReview)
{
PageContext.RegisterStartupScript(String.Format("removeActiveTab();"));
}
else
{
PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
}
}
/// <summary>