|
|
@ -130,7 +130,7 @@ function VacationConf() { |
|
|
|
}; |
|
|
|
|
|
|
|
const onPanelChange = (e,a)=>{ |
|
|
|
console.log(e,a , 'aaaa',e.years(), e.months()) |
|
|
|
// console.log(e,a , 'aaaa',e.years(), e.months()) |
|
|
|
let tempdate = { |
|
|
|
year: e.years() + '', |
|
|
|
month: e.months() + 1 + '' |
|
|
@ -140,7 +140,7 @@ function VacationConf() { |
|
|
|
} |
|
|
|
|
|
|
|
const dateFullCellRender = (date)=>{ |
|
|
|
let temp = date.format('MM-DD'),highlight = false,temp_vc_name = ''; |
|
|
|
let temp = date.format('YYYY-MM-DD'),highlight = false,temp_vc_name = ''; |
|
|
|
if(vacationData.length){ |
|
|
|
let one = vacationData.find(item=> item.day == temp) |
|
|
|
if(one){ |
|
|
|