|
@@ -233,11 +233,11 @@ function getDateForApi(journalList, period) {
|
|
|
// 没匹配到月度数据,去匹配季度
|
|
|
const month = period.split('-')[1];
|
|
|
let quaterDate;
|
|
|
- if (['1', '2', '3'].includes(month)) {
|
|
|
+ if (['1', '01', '2', '02', '3', '03'].includes(month)) {
|
|
|
quaterDate = '03-15';
|
|
|
- } else if (['4', '5', '6'].includes(month)) {
|
|
|
+ } else if (['4', '04', '5', '05', '6', '06'].includes(month)) {
|
|
|
quaterDate = '06-15';
|
|
|
- } else if (['7', '8', '9'].includes(month)) {
|
|
|
+ } else if (['7', '07', '8', '08', '9', '09'].includes(month)) {
|
|
|
quaterDate = '09-15';
|
|
|
} else if (['10', '11', '12'].includes(month)) {
|
|
|
quaterDate = '12-15';
|