1提出人可以修改事项紧急程度
This commit is contained in:
parent
b889ca30ac
commit
cf47e78b85
|
|
@ -383,10 +383,26 @@ namespace FineUIPro.Web.PZHGL.GJSX
|
||||||
}
|
}
|
||||||
|
|
||||||
btnSave.Visible = false;
|
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
|
else
|
||||||
{
|
{
|
||||||
TextIsEnable(false); //使文本不可编辑
|
TextIsEnable(false); //使文本不可编辑
|
||||||
|
|
@ -854,34 +870,41 @@ namespace FineUIPro.Web.PZHGL.GJSX
|
||||||
//else
|
//else
|
||||||
if (gjsx.UserID.Contains(this.CurrUser.UserId) || gjsx.User_ReceiveID.Contains(this.CurrUser.UserId))
|
if (gjsx.UserID.Contains(this.CurrUser.UserId) || gjsx.User_ReceiveID.Contains(this.CurrUser.UserId))
|
||||||
{//提出人、跟踪人审批责任人提出申请关闭请求
|
{//提出人、跟踪人审批责任人提出申请关闭请求
|
||||||
//进展状态
|
if (ApproveForm.Hidden == true)
|
||||||
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)),
|
save(model.State);
|
||||||
GJSXID = txtGJSXID.Text,
|
}
|
||||||
Progress_user = this.CurrUser.UserId,
|
else
|
||||||
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);
|
//进展状态
|
||||||
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||||
<UseIISExpress>true</UseIISExpress>
|
<UseIISExpress>true</UseIISExpress>
|
||||||
<Use64BitIISExpress />
|
<Use64BitIISExpress />
|
||||||
<IISExpressSSLPort />
|
<IISExpressSSLPort />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue