Browse Source

[Feature-3878][UI]Repair the last Sunday of each month

lgcareer 4 years ago
parent
commit
b99d2468b6
  1. 4
      dolphinscheduler-ui/src/js/module/components/crontab/source/_times/day.vue
  2. 2
      dolphinscheduler-ui/src/js/module/components/crontab/source/util/index.js

4
dolphinscheduler-ui/src/js/module/components/crontab/source/_times/day.vue

@ -161,7 +161,7 @@
selectSpecificDayList: selectList['day'], selectSpecificDayList: selectList['day'],
monthLastDaysVal: 'L', monthLastDaysVal: 'L',
monthLastWorkingDays: 'LW', monthLastWorkingDays: 'LW',
monthLastWeeksVal: '1L', monthLastWeeksVal: '?',
monthLastWeeksList: _.map(_.cloneDeep(selectList['lastWeeks']), v => { monthLastWeeksList: _.map(_.cloneDeep(selectList['lastWeeks']), v => {
return { return {
value: v.value, value: v.value,
@ -313,7 +313,7 @@
this.monthLastWorkingDaysReset() this.monthLastWorkingDaysReset()
break break
case 'monthLastWeeks': case 'monthLastWeeks':
this.weekValue = '?' this.weekValue = '1L'
this.monthLastWeeksReset() this.monthLastWeeksReset()
break break
case 'monthTailBefore': case 'monthTailBefore':

2
dolphinscheduler-ui/src/js/module/components/crontab/source/util/index.js

@ -121,7 +121,7 @@ const selectList = {
}), }),
lastWeeks: [ lastWeeks: [
{ {
value: '1L', value: '?',
label: '星期天' label: '星期天'
}, },
{ {

Loading…
Cancel
Save