Commit 3847a8af authored by 黄奎's avatar 黄奎

页面修改

parent ddd6e110
...@@ -43,6 +43,7 @@ namespace Edu.Common ...@@ -43,6 +43,7 @@ namespace Edu.Common
/// <summary> /// <summary>
/// 获取时间格式 /// 获取时间格式
/// [HH:mm]
/// </summary> /// </summary>
/// <param name="time"></param> /// <param name="time"></param>
/// <returns></returns> /// <returns></returns>
......
...@@ -369,7 +369,7 @@ namespace Edu.WebApi.Controllers.User ...@@ -369,7 +369,7 @@ namespace Edu.WebApi.Controllers.User
{ {
var path = $"/administration/documentApproval"; var path = $"/administration/documentApproval";
path = HttpUtility.UrlEncode(path); path = HttpUtility.UrlEncode(path);
string markdownContent = $"##### 你有新的待审批公告 \n>**概要信息** \n>公告标题:{demodel.Title}</font>\n>发 布 人:{userInfo.AccountName}\n>提审时间:<font color='comment'>{DateTime.Now.ToString("MM-dd HH:mm")}</font>\n>\n>接收对象:<font color='info'>{(demodel.To == "-1" ? "全公司" : "指定部门")}</font>\n>请 点 击:[立即审批]({Config.ErpUrl}/autologin?loginId={modelShenhe.Content}&target={path}#target=out)"; string markdownContent = $"##### 你有新的待审批公告 \n>**概要信息** \n>公告标题:{demodel.Title}</font>\n>发 布 人:{userInfo.AccountName}\n>提审时间:<font color='comment'>{Common.ConvertHelper.FormatTimeStr2(DateTime.Now)}</font>\n>\n>接收对象:<font color='info'>{(demodel.To == "-1" ? "全公司" : "指定部门")}</font>\n>请 点 击:[立即审批]({Config.ErpUrl}/autologin?loginId={modelShenhe.Content}&target={path}#target=out)";
Common.Message.PushMessageModel modelWork = new Common.Message.PushMessageModel() Common.Message.PushMessageModel modelWork = new Common.Message.PushMessageModel()
{ {
CategoryId = PushMessageCategoryEnum.NoticeAuditTips, CategoryId = PushMessageCategoryEnum.NoticeAuditTips,
...@@ -503,7 +503,8 @@ namespace Edu.WebApi.Controllers.User ...@@ -503,7 +503,8 @@ namespace Edu.WebApi.Controllers.User
path = $"/administration/document"; path = $"/administration/document";
} }
path = HttpUtility.UrlEncode(path); path = HttpUtility.UrlEncode(path);
string markdownContent = $"<font color='{(ReviewStatus == 2 ? "warning" : "info")}'>`审批{(ReviewStatus == 1 ? "通过" : "驳回")}`</font> 公告审批结果\n\n>**概要信息** \n>公告标题:{noticeModel.Title}\n>审 核 人:{userInfo.AccountName}\n>审核时间:<font color='comment'>{DateTime.Now.ToString("MM-dd HH:mm")}</font>\n>\n>请 点 击:[查看详情]({Config.ErpUrl}/autologin?loginId={noticeModel.CreateBy}&target={path}#target=out)";
string markdownContent = $"<font color='{(ReviewStatus == 2 ? "warning" : "info")}'>`审批{(ReviewStatus == 1 ? "通过" : "驳回")}`</font> 公告审批结果\n\n>**概要信息** \n>公告标题:{noticeModel.Title}\n>审 核 人:{userInfo.AccountName}\n>审核时间:<font color='comment'>{Common.ConvertHelper.FormatTimeStr2(DateTime.Now)}</font>\n>\n>请 点 击:[查看详情]({Config.ErpUrl}/autologin?loginId={noticeModel.CreateBy}&target={path}#target=out)";
Common.Message.PushMessageModel modelWork = new Common.Message.PushMessageModel() Common.Message.PushMessageModel modelWork = new Common.Message.PushMessageModel()
{ {
CategoryId = PushMessageCategoryEnum.NoticeAuditResult, CategoryId = PushMessageCategoryEnum.NoticeAuditResult,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment