Config.cs 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. using MathNet.Numerics.Statistics;
  2. using System.ComponentModel;
  3. namespace OASystem.API.OAMethodLib.QiYeWeChatAPI.AppNotice
  4. {
  5. public enum QiyeWeChatEnum
  6. {
  7. /// <summary>
  8. /// 测试用
  9. /// </summary>
  10. [Description("groupstatuschat01")]
  11. TestChat = 0,
  12. /// <summary>
  13. /// 团组通知-公司客户群(总经理;国交部经理、主管),发送条件(1.确认出团)
  14. /// </summary>
  15. [Description("CompanyCRMChat01")]
  16. CompanyCRMChat = 1,
  17. /// <summary>
  18. /// 团组通知-市场客户群(市场部经理、主管;国交部经理、主管)发送条件(1.确认出团)
  19. /// </summary>
  20. [Description("MarketCRMChat01")]
  21. MarketCRMChat,
  22. /// <summary>
  23. /// 团组通知-财务群(财务部全员),发送条件(1.费用审核-通过;2,团组出访时间出发-7 天,结束-3 天,通知财务三人签合同、收尾款)
  24. /// </summary>
  25. [Description("CaiWuChat01")]
  26. CaiWuChat,
  27. /// <summary>
  28. /// 团组通知-国交管理群(国交部经理、主管),发送条件(1.费用审核-提交)
  29. /// </summary>
  30. [Description("GuoJiaoLeader01")]
  31. GuoJiaoLeaderChat,
  32. }
  33. public class MarkdownLib
  34. {
  35. /// <summary>
  36. /// 通知文本-确认出团
  37. /// </summary>
  38. /// <param name="info"></param>
  39. /// <returns></returns>
  40. public static string GroupStatus_Create(GroupStatus_CreateModel info)
  41. {
  42. string result = string.Format(@" `确认出团`
  43. >**团组基本信息**
  44. >团组名称:<font color='info'>{0}</font>
  45. >团组类型:{1}
  46. >出访日期:<font color='comment'>{2}</font>
  47. >出访人数/天数:{3}人/{4}天
  48. >客户单位:{5}
  49. >客户名称:{6}
  50. [详细信息请前往OA系统查看](http://oa.pan-american-intl.com:4399/)
  51. ", info.TeamName, info.TeamDid_Text, info.VisitDateRange, info.VisitPNumber, info.VisitDays, info.ClientUnit, info.ClientName);
  52. return result;
  53. }
  54. /// <summary>
  55. /// 通知文本-费用申请
  56. /// </summary>
  57. /// <returns></returns>
  58. public static string GroupStatus_ApplyFee()
  59. {
  60. string result = string.Format(@" `费用审核`
  61. >团组:<font color='info'>雅安市经合和外事局赴美国 6日</font>
  62. <font color='comment'>- </font>新增一笔需要审核的费用
  63. >费用模块:签证
  64. >费用名称:<font color='warning'>于冀川等6人</font>
  65. >此次付款金额:<font color='warning'>8850.00 CNY</font>
  66. >申请人:李敏
  67. >申请时间:<font color='comment'>2024-05-06 17:21</font>
  68. <font color='comment'>- </font>当前团组费用待审核数量: 1
  69. [详细信息请前往OA系统查看](http://oa.pan-american-intl.com:4399/) ");
  70. return result;
  71. }
  72. }
  73. #region 实体类
  74. public class GroupStatus_ApplyFeeModel { }
  75. public class GroupStatus_CreateModel
  76. {
  77. public string TeamName { get; set; }
  78. public string TeamDid_Text { get; set; }
  79. public string VisitDateRange { get; set; }
  80. public int VisitPNumber { get; set; }
  81. public int VisitDays { get; set; }
  82. public string ClientUnit { get; set; }
  83. public string ClientName { get; set; }
  84. }
  85. #endregion
  86. }