修改实施计划
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user