修改实施计划
This commit is contained in:
@@ -243,6 +243,11 @@
|
|||||||
function reloadGrid() {
|
function reloadGrid() {
|
||||||
__doPostBack(null, 'reloadGrid');
|
__doPostBack(null, 'reloadGrid');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function removeActiveTab() {
|
||||||
|
debugger;
|
||||||
|
window.parent.parent.removeActiveTab();
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -299,8 +299,21 @@ namespace FineUIPro.Web.ZHGL.Plan
|
|||||||
Alert.ShowInTop("请选择编制人!", MessageBoxIcon.Warning);
|
Alert.ShowInTop("请选择编制人!", MessageBoxIcon.Warning);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Model.ActionPlan_ActionPlanList actionPlanList = ActionPlanListService.GetActionPlanListById(ActionPlanListId);
|
||||||
|
string state = string.Empty;
|
||||||
|
if (actionPlanList != null)
|
||||||
|
{
|
||||||
|
state = actionPlanList.States;
|
||||||
|
}
|
||||||
this.SaveData(BLL.Const.BtnSave);
|
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>
|
/// <summary>
|
||||||
@@ -325,8 +338,21 @@ namespace FineUIPro.Web.ZHGL.Plan
|
|||||||
Alert.ShowInTop("请选择评审人员!", MessageBoxIcon.Warning);
|
Alert.ShowInTop("请选择评审人员!", MessageBoxIcon.Warning);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Model.ActionPlan_ActionPlanList actionPlanList = ActionPlanListService.GetActionPlanListById(ActionPlanListId);
|
||||||
|
string state = string.Empty;
|
||||||
|
if (actionPlanList != null)
|
||||||
|
{
|
||||||
|
state = actionPlanList.States;
|
||||||
|
}
|
||||||
this.SaveData(BLL.Const.BtnSubmit);
|
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>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user