修改关键事项
This commit is contained in:
@@ -345,6 +345,10 @@ namespace FineUIPro.Web.PZHGL.GJSX
|
||||
}
|
||||
|
||||
if (state == "0") {
|
||||
Grid2.AllColumns[0].Hidden = true;
|
||||
Grid2.AllColumns[5].Hidden = true;
|
||||
Grid2.AllColumns[6].Hidden = false;
|
||||
Grid2Binging();
|
||||
Button1.Hidden = true;
|
||||
}
|
||||
//rblIsClosed.Visible = false;
|
||||
@@ -792,19 +796,44 @@ namespace FineUIPro.Web.PZHGL.GJSX
|
||||
|
||||
string EditType = Request.Params["EditType"];
|
||||
|
||||
if (EditType == "add")
|
||||
string ID = Request.Params["ID"];
|
||||
if (string.IsNullOrEmpty(ID))
|
||||
{
|
||||
save("2");
|
||||
}
|
||||
else {
|
||||
//责任人的时候保存关键事项
|
||||
var gjsx = BLL.GJSXService.GetGJSXById(txtGJSXID.Text);
|
||||
if (gjsx.User_Acceptance.Contains(this.CurrUser.UserId))
|
||||
else
|
||||
{
|
||||
var model = GJSXService.GetGJSXById(ID);
|
||||
var state = model.State.Trim();
|
||||
if (state == "1")
|
||||
{
|
||||
save("3");
|
||||
OperateComplianceObligationsCSort();
|
||||
save("2");
|
||||
}
|
||||
else {
|
||||
//责任人的时候保存关键事项
|
||||
var gjsx = BLL.GJSXService.GetGJSXById(txtGJSXID.Text);
|
||||
if (gjsx.User_Acceptance.Contains(this.CurrUser.UserId))
|
||||
{
|
||||
save("3");
|
||||
OperateComplianceObligationsCSort();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//if (EditType == "add")
|
||||
//{
|
||||
// save("2");
|
||||
//}
|
||||
//else {
|
||||
|
||||
// //责任人的时候保存关键事项
|
||||
// var gjsx = BLL.GJSXService.GetGJSXById(txtGJSXID.Text);
|
||||
// if (gjsx.User_Acceptance.Contains(this.CurrUser.UserId))
|
||||
// {
|
||||
// save("3");
|
||||
// OperateComplianceObligationsCSort();
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
|
||||
|
||||
Reference in New Issue
Block a user