You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
212 lines
3.8 KiB
212 lines
3.8 KiB
/* * |
|
@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: '班' |
|
} |
|
} |
|
} |
|
}
|
|
|