1提出人可以修改事项紧急程度

This commit is contained in:
夏菊 2025-11-19 20:34:31 +08:00
parent b889ca30ac
commit cf47e78b85
2 changed files with 52 additions and 29 deletions

View File

@ -383,10 +383,26 @@ namespace FineUIPro.Web.PZHGL.GJSX
}
btnSave.Visible = false;
if (gjsx.UserID == this.CurrUser.UserId && state == "1")
if (gjsx.UserID == this.CurrUser.UserId)
{
Date_CreateDate.Readonly = true;
if (state == "1")
{
Date_CreateDate.Readonly = true;
}
else
{
TextIsEnable(false); //使文本不可编辑
if (state != "0")
{
DropQuestionTypeID.Enabled = true;
btnsubmit.Hidden = false;
}
}
}
//if (gjsx.UserID == this.CurrUser.UserId && state == "1")
//{
// Date_CreateDate.Readonly = true;
//}
else
{
TextIsEnable(false); //使文本不可编辑
@ -854,34 +870,41 @@ namespace FineUIPro.Web.PZHGL.GJSX
//else
if (gjsx.UserID.Contains(this.CurrUser.UserId) || gjsx.User_ReceiveID.Contains(this.CurrUser.UserId))
{//提出人、跟踪人审批责任人提出申请关闭请求
//进展状态
string progressResult = this.rblProgressResult.SelectedValue;
if (progressResult == "0")
{//同意申请关闭
save("0");
}
else if (progressResult == "1")
{//驳回申请关闭
save("2");
}
string progressReason = this.txtProgressReason.Text.Trim();
Model.GJSX_detail detail = new Model.GJSX_detail
if (ApproveForm.Hidden == true)
{
Cuid = SQLHelper.GetNewID(typeof(Model.GJSX_detail)),
GJSXID = txtGJSXID.Text,
Progress_user = this.CurrUser.UserId,
Progress_detail = $"{(progressResult == "0" ? "" : "")}申请关闭{(!string.IsNullOrWhiteSpace(progressReason) ? "" : "")}{progressReason}",
Date = DateTime.Now,
//Sort = GJSX_detail.Count,
ProgressStatus = $"{(progressResult == "0" ? "" : "")}申请",
};
GJSXItemService.AddGJSXMX(detail);
//事项申请关闭被驳回,邮箱提醒
if (progressResult == "1")
save(model.State);
}
else
{
GJSXMonitorService.GJSXDisallowApplyCloseNoticeSendEmail(detail.GJSXID, progressReason);
//进展状态
string progressResult = this.rblProgressResult.SelectedValue;
if (progressResult == "0")
{//同意申请关闭
save("0");
}
else if (progressResult == "1")
{//驳回申请关闭
save("2");
}
string progressReason = this.txtProgressReason.Text.Trim();
Model.GJSX_detail detail = new Model.GJSX_detail
{
Cuid = SQLHelper.GetNewID(typeof(Model.GJSX_detail)),
GJSXID = txtGJSXID.Text,
Progress_user = this.CurrUser.UserId,
Progress_detail = $"{(progressResult == "0" ? "" : "")}申请关闭{(!string.IsNullOrWhiteSpace(progressReason) ? "" : "")}{progressReason}",
Date = DateTime.Now,
//Sort = GJSX_detail.Count,
ProgressStatus = $"{(progressResult == "0" ? "" : "")}申请",
};
GJSXItemService.AddGJSXMX(detail);
//事项申请关闭被驳回,邮箱提醒
if (progressResult == "1")
{
GJSXMonitorService.GJSXDisallowApplyCloseNoticeSendEmail(detail.GJSXID, progressReason);
}
}
}
}

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress />
<IISExpressSSLPort />