holidays-map.js 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. /* *
  2. @Author: drfu*
  3. @Description: 数据来源于国务院办公厅关于2020年部分节假日安排的通知(国办发明电〔2019〕16号)_政府信息公开专栏,http://www.gov.cn/zhengce/content/2019-11/21/content_5454164.htm
  4. @Date: 2020-10-12 14:29:45*
  5. * @Last Modified by: drfu
  6. * @Last Modified time: 2020-10-16 17:38:08
  7. */
  8. // 节日列表
  9. export const festival = {
  10. // 农历固定日期节日
  11. lunar: {
  12. 1: {
  13. 1: {
  14. type: 'festival',
  15. name: '春节',
  16. label: '春节'
  17. },
  18. 8: {
  19. type: 'festival',
  20. name: '腊八节',
  21. label: '腊八'
  22. },
  23. 15: {
  24. type: 'festival',
  25. name: '元宵节',
  26. label: '元宵'
  27. }
  28. },
  29. 7: {
  30. 7: {
  31. type: 'festival',
  32. name: '七夕节',
  33. label: '七夕'
  34. },
  35. 15: {
  36. type: 'festival',
  37. name: '中元节',
  38. label: '中元节'
  39. }
  40. },
  41. 9: {
  42. 9: {
  43. type: 'festival',
  44. name: '重阳节',
  45. label: '重阳节'
  46. }
  47. }
  48. },
  49. // 阳历固定日期节日
  50. solar: {
  51. 2: {
  52. 14: {
  53. type: 'festival',
  54. name: '情人节',
  55. label: '情人节'
  56. }
  57. },
  58. 3: {
  59. 12: {
  60. type: 'festival',
  61. name: '植树节',
  62. label: '植树节'
  63. }
  64. },
  65. 4: {
  66. 1: {
  67. type: 'festival',
  68. name: '愚人节',
  69. label: '愚人节'
  70. },
  71. 5: {
  72. type: 'festival',
  73. name: '清明节',
  74. label: '清明节'
  75. }
  76. },
  77. 5: {
  78. 1: {
  79. type: 'festival',
  80. name: '劳动节',
  81. label: '劳动节'
  82. }
  83. },
  84. 6: {
  85. 1: {
  86. type: 'festival',
  87. name: '儿童节',
  88. label: '儿童节'
  89. }
  90. },
  91. 7: {
  92. 1: {
  93. type: 'festival',
  94. name: '建党节',
  95. label: '建党节'
  96. }
  97. },
  98. 8: {
  99. 1: {
  100. type: 'festival',
  101. name: '建军节',
  102. label: '建军节'
  103. }
  104. },
  105. 9: {
  106. 10: {
  107. type: 'festival',
  108. name: '教师节',
  109. label: '教师节'
  110. }
  111. },
  112. 10: {
  113. 1: {
  114. type: 'festival',
  115. name: '国庆节',
  116. label: '国庆节'
  117. }
  118. },
  119. 12: {
  120. 25: {
  121. type: 'festival',
  122. name: '圣诞节',
  123. label: '圣诞节'
  124. }
  125. }
  126. }
  127. }
  128. export const holidays = {
  129. 2020: {
  130. 1: {
  131. 1: {
  132. type: 'holiday',
  133. name: '元旦',
  134. label: '休'
  135. },
  136. 19: {
  137. type: 'work',
  138. name: '调班',
  139. label: '班'
  140. },
  141. '24-30': {
  142. type: 'holiday',
  143. name: '春节',
  144. label: '休'
  145. }
  146. },
  147. 2: {
  148. 1: {
  149. type: 'work',
  150. name: '调班',
  151. label: '班'
  152. }
  153. },
  154. 4: {
  155. '4-6': {
  156. type: 'holiday',
  157. name: '清明节',
  158. label: '休'
  159. },
  160. 26: {
  161. type: 'work',
  162. name: '调班',
  163. label: '班'
  164. }
  165. },
  166. 5: {
  167. '1-5': {
  168. type: 'holiday',
  169. name: '劳动节',
  170. label: '休'
  171. },
  172. 9: {
  173. type: 'work',
  174. name: '调班',
  175. label: '班'
  176. }
  177. },
  178. 6: {
  179. '25-27': {
  180. type: 'holiday',
  181. name: '端午节',
  182. label: '休'
  183. },
  184. 28: {
  185. type: 'work',
  186. name: '调班',
  187. label: '班'
  188. }
  189. },
  190. 9: {
  191. 27: {
  192. type: 'work',
  193. name: '调班',
  194. label: '班'
  195. }
  196. },
  197. 10: {
  198. '1-8': {
  199. type: 'holiday',
  200. name: '国庆节/中秋节',
  201. label: '休'
  202. },
  203. 10: {
  204. type: 'work',
  205. name: '调班',
  206. label: '班'
  207. }
  208. }
  209. }
  210. }