123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 |
- /* *
- @Author: drfu*
- @Description: 数据来源于国务院办公厅关于2020年部分节假日安排的通知(国办发明电〔2019〕16号)_政府信息公开专栏,http://www.gov.cn/zhengce/content/2019-11/21/content_5454164.htm
- @Date: 2020-10-12 14:29:45*
- * @Last Modified by: drfu
- * @Last Modified time: 2020-10-16 17:38:08
- */
- // 节日列表
- export const festival = {
- // 农历固定日期节日
- lunar: {
- 1: {
- 1: {
- type: 'festival',
- name: '春节',
- label: '春节'
- },
- 8: {
- type: 'festival',
- name: '腊八节',
- label: '腊八'
- },
- 15: {
- type: 'festival',
- name: '元宵节',
- label: '元宵'
- }
- },
- 7: {
- 7: {
- type: 'festival',
- name: '七夕节',
- label: '七夕'
- },
- 15: {
- type: 'festival',
- name: '中元节',
- label: '中元节'
- }
- },
- 9: {
- 9: {
- type: 'festival',
- name: '重阳节',
- label: '重阳节'
- }
- }
- },
- // 阳历固定日期节日
- solar: {
- 2: {
- 14: {
- type: 'festival',
- name: '情人节',
- label: '情人节'
- }
- },
- 3: {
- 12: {
- type: 'festival',
- name: '植树节',
- label: '植树节'
- }
- },
- 4: {
- 1: {
- type: 'festival',
- name: '愚人节',
- label: '愚人节'
- },
- 5: {
- type: 'festival',
- name: '清明节',
- label: '清明节'
- }
- },
- 5: {
- 1: {
- type: 'festival',
- name: '劳动节',
- label: '劳动节'
- }
- },
- 6: {
- 1: {
- type: 'festival',
- name: '儿童节',
- label: '儿童节'
- }
- },
- 7: {
- 1: {
- type: 'festival',
- name: '建党节',
- label: '建党节'
- }
- },
- 8: {
- 1: {
- type: 'festival',
- name: '建军节',
- label: '建军节'
- }
- },
- 9: {
- 10: {
- type: 'festival',
- name: '教师节',
- label: '教师节'
- }
- },
- 10: {
- 1: {
- type: 'festival',
- name: '国庆节',
- label: '国庆节'
- }
- },
- 12: {
- 25: {
- type: 'festival',
- name: '圣诞节',
- label: '圣诞节'
- }
- }
- }
- }
- export const holidays = {
- 2020: {
- 1: {
- 1: {
- type: 'holiday',
- name: '元旦',
- label: '休'
- },
- 19: {
- type: 'work',
- name: '调班',
- label: '班'
- },
- '24-30': {
- type: 'holiday',
- name: '春节',
- label: '休'
- }
- },
- 2: {
- 1: {
- type: 'work',
- name: '调班',
- label: '班'
- }
- },
- 4: {
- '4-6': {
- type: 'holiday',
- name: '清明节',
- label: '休'
- },
- 26: {
- type: 'work',
- name: '调班',
- label: '班'
- }
- },
- 5: {
- '1-5': {
- type: 'holiday',
- name: '劳动节',
- label: '休'
- },
- 9: {
- type: 'work',
- name: '调班',
- label: '班'
- }
- },
- 6: {
- '25-27': {
- type: 'holiday',
- name: '端午节',
- label: '休'
- },
- 28: {
- type: 'work',
- name: '调班',
- label: '班'
- }
- },
- 9: {
- 27: {
- type: 'work',
- name: '调班',
- label: '班'
- }
- },
- 10: {
- '1-8': {
- type: 'holiday',
- name: '国庆节/中秋节',
- label: '休'
- },
- 10: {
- type: 'work',
- name: '调班',
- label: '班'
- }
- }
- }
- }
|