123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- using MathNet.Numerics.Statistics;
- using System.ComponentModel;
- namespace OASystem.API.OAMethodLib.QiYeWeChatAPI.AppNotice
- {
- public enum QiyeWeChatEnum
- {
- /// <summary>
- /// 测试用
- /// </summary>
- [Description("groupstatuschat01")]
- TestChat = 0,
- /// <summary>
- /// 团组通知-公司客户群(总经理;国交部经理、主管),发送条件(1.确认出团)
- /// </summary>
- [Description("CompanyCRMChat01")]
- CompanyCRMChat = 1,
- /// <summary>
- /// 团组通知-市场客户群(市场部经理、主管;国交部经理、主管)发送条件(1.确认出团)
- /// </summary>
- [Description("MarketCRMChat01")]
- MarketCRMChat,
- /// <summary>
- /// 团组通知-财务群(财务部全员),发送条件(1.费用审核-通过;2,团组出访时间出发-7 天,结束-3 天,通知财务三人签合同、收尾款)
- /// </summary>
- [Description("CaiWuChat01")]
- CaiWuChat,
- /// <summary>
- /// 团组通知-国交管理群(国交部经理、主管),发送条件(1.费用审核-提交)
- /// </summary>
- [Description("GuoJiaoLeader01")]
- GuoJiaoLeaderChat,
- }
- public class MarkdownLib
- {
- /// <summary>
- /// 通知文本-确认出团
- /// </summary>
- /// <param name="info"></param>
- /// <returns></returns>
- public static string GroupStatus_Create(GroupStatus_CreateModel info)
- {
- string result = string.Format(@" `确认出团`
- >**团组基本信息**
- >团组名称:<font color='info'>{0}</font>
- >团组类型:{1}
- >出访日期:<font color='comment'>{2}</font>
- >出访人数/天数:{3}人/{4}天
- >客户单位:{5}
- >客户名称:{6}
- [详细信息请前往OA系统查看](http://oa.pan-american-intl.com:4399/)
- ", info.TeamName, info.TeamDid_Text, info.VisitDateRange, info.VisitPNumber, info.VisitDays, info.ClientUnit, info.ClientName);
- return result;
- }
- /// <summary>
- /// 通知文本-费用申请
- /// </summary>
- /// <returns></returns>
- public static string GroupStatus_ApplyFee()
- {
- string result = string.Format(@" `费用审核`
- >团组:<font color='info'>雅安市经合和外事局赴美国 6日</font>
- <font color='comment'>- </font>新增一笔需要审核的费用
- >费用模块:签证
- >费用名称:<font color='warning'>于冀川等6人</font>
- >此次付款金额:<font color='warning'>8850.00 CNY</font>
- >申请人:李敏
- >申请时间:<font color='comment'>2024-05-06 17:21</font>
- <font color='comment'>- </font>当前团组费用待审核数量: 1
- [详细信息请前往OA系统查看](http://oa.pan-american-intl.com:4399/) ");
- return result;
- }
- }
- #region 实体类
- public class GroupStatus_ApplyFeeModel { }
- public class GroupStatus_CreateModel
- {
- public string TeamName { get; set; }
- public string TeamDid_Text { get; set; }
- public string VisitDateRange { get; set; }
- public int VisitPNumber { get; set; }
- public int VisitDays { get; set; }
- public string ClientUnit { get; set; }
- public string ClientName { get; set; }
- }
- #endregion
- }
|