update
This commit is contained in:
parent
c1a8805ca7
commit
a75bc5d821
@ -229,6 +229,7 @@ export default {
|
|||||||
}else{
|
}else{
|
||||||
this.howDayNumber = 5
|
this.howDayNumber = 5
|
||||||
this.currentScroll = 'item'+ '2024-04-07'
|
this.currentScroll = 'item'+ '2024-04-07'
|
||||||
|
this.allDateDay = '2024-04-07'
|
||||||
}
|
}
|
||||||
}else if (this.selectFestival===2){
|
}else if (this.selectFestival===2){
|
||||||
dayNumber = moment().diff("2024-04-30", "days")// 劳动
|
dayNumber = moment().diff("2024-04-30", "days")// 劳动
|
||||||
@ -236,8 +237,9 @@ export default {
|
|||||||
this.howDayNumber = dayNumber
|
this.howDayNumber = dayNumber
|
||||||
}else{
|
}else{
|
||||||
this.howDayNumber = 7
|
this.howDayNumber = 7
|
||||||
this.currentScroll = 'item'+ '2024-05-05'
|
this.currentScroll = 'item'+ '2024-05-06'
|
||||||
this.lastDay = '2024-05-05'
|
this.lastDay = '2024-05-06'
|
||||||
|
this.allDateDay = '2024-05-06'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let dateList = []
|
let dateList = []
|
||||||
|
|||||||
@ -280,6 +280,7 @@ export default {
|
|||||||
}else{
|
}else{
|
||||||
this.howDayNumber = 5
|
this.howDayNumber = 5
|
||||||
this.currentScroll = 'item'+ '2024-04-07'
|
this.currentScroll = 'item'+ '2024-04-07'
|
||||||
|
this.allDateDay = '2024-04-07'
|
||||||
}
|
}
|
||||||
}else if(this.selectFestival===2){
|
}else if(this.selectFestival===2){
|
||||||
dayNumber = moment().diff("2024-04-30", "days")
|
dayNumber = moment().diff("2024-04-30", "days")
|
||||||
@ -287,8 +288,9 @@ export default {
|
|||||||
this.howDayNumber = dayNumber
|
this.howDayNumber = dayNumber
|
||||||
}else{
|
}else{
|
||||||
this.howDayNumber = 7
|
this.howDayNumber = 7
|
||||||
this.currentScroll = 'item'+ '2024-05-05'
|
this.currentScroll = 'item'+ '2024-05-06'
|
||||||
this.lastDay = '2024-05-05'
|
this.lastDay = '2024-05-06'
|
||||||
|
this.allDateDay = '2024-05-06'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let dateList = []
|
let dateList = []
|
||||||
|
|||||||
@ -1045,14 +1045,16 @@ export default {
|
|||||||
this.howDayNumber = 5
|
this.howDayNumber = 5
|
||||||
this.currentScroll = 'item'+ '2024-04-07'
|
this.currentScroll = 'item'+ '2024-04-07'
|
||||||
this.lastDay = '2024-04-07'
|
this.lastDay = '2024-04-07'
|
||||||
|
this.allDateDay = '2024-04-07'
|
||||||
}
|
}
|
||||||
}else if (this.selectFestival===2){
|
}else if (this.selectFestival===2){
|
||||||
if (dayNumber<=7){
|
if (dayNumber<=7){
|
||||||
this.howDayNumber = dayNumber
|
this.howDayNumber = dayNumber
|
||||||
}else{
|
}else{
|
||||||
this.howDayNumber = 7
|
this.howDayNumber = 7
|
||||||
this.currentScroll = 'item'+ '2024-05-05'
|
this.currentScroll = 'item'+ '2024-05-06'
|
||||||
this.lastDay = '2024-05-05'
|
this.lastDay = '2024-05-06'
|
||||||
|
this.allDateDay = '2024-05-06'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1143,6 +1145,7 @@ export default {
|
|||||||
}else{
|
}else{
|
||||||
this.howDayNumber = 40
|
this.howDayNumber = 40
|
||||||
this.lastDay = '2024-03-05'
|
this.lastDay = '2024-03-05'
|
||||||
|
this.allDateDay = '2024-03-05'
|
||||||
}
|
}
|
||||||
}else if (this.selectFestival===1){
|
}else if (this.selectFestival===1){
|
||||||
// this.howDayNumber = dayNumber<=3?dayNumber:3
|
// this.howDayNumber = dayNumber<=3?dayNumber:3
|
||||||
@ -1152,6 +1155,7 @@ export default {
|
|||||||
this.howDayNumber = 3
|
this.howDayNumber = 3
|
||||||
this.currentScroll = 'item'+ '2024-04-05'
|
this.currentScroll = 'item'+ '2024-04-05'
|
||||||
this.lastDay = '2024-04-07'
|
this.lastDay = '2024-04-07'
|
||||||
|
this.allDateDay = '2024-04-07'
|
||||||
}
|
}
|
||||||
}else if (this.selectFestival===2){
|
}else if (this.selectFestival===2){
|
||||||
// this.howDayNumber = dayNumber<=3?dayNumber:3
|
// this.howDayNumber = dayNumber<=3?dayNumber:3
|
||||||
@ -1159,8 +1163,9 @@ export default {
|
|||||||
this.howDayNumber = dayNumber
|
this.howDayNumber = dayNumber
|
||||||
}else{
|
}else{
|
||||||
this.howDayNumber = 7
|
this.howDayNumber = 7
|
||||||
this.currentScroll = 'item'+ '2024-05-05'
|
this.currentScroll = 'item'+ '2024-05-06'
|
||||||
this.lastDay = '2024-05-05'
|
this.lastDay = '2024-05-06'
|
||||||
|
this.allDateDay = '2024-05-06'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let dateList = []
|
let dateList = []
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user