修改关键事项

This commit is contained in:
潘鸿锋 2024-12-11 09:52:23 +08:00
parent 8a443d509a
commit 88067caa9c
2 changed files with 37 additions and 8 deletions

View File

@ -19321,7 +19321,7 @@
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v17.0\WebApplications\Microsoft.WebApplication.targets" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v16.0\WebApplications\Microsoft.WebApplication.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">

View File

@ -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());