feat(fix):cron设置增加week说明;cron数字修复

This commit is contained in:
junjie 2021-06-18 11:07:12 +08:00
parent 54057d5dab
commit d77d6197ca
5 changed files with 10 additions and 4 deletions

View File

@ -39,6 +39,9 @@
<el-checkbox v-for="i in 7" :key="i" :label="i+''" @change="type = '4'" />
</el-checkbox-group>
</div>
<div>
<span style="font-size: 12px;">{{ $t('cron.week_tips') }}</span>
</div>
</div>
</template>

View File

@ -1099,6 +1099,7 @@ export default {
every_week: 'Every week',
week_start: 'From week',
week_end: 'to week',
every_year: 'Every year'
every_year: 'Every year',
week_tips: 'Tips1-7 mapping SUN-SAT'
}
}

View File

@ -1099,6 +1099,7 @@ export default {
every_week: '每周',
week_start: '從星期',
week_end: '至星期',
every_year: '每年'
every_year: '每年',
week_tips: '說明1-7 分別對應 周日-周六'
}
}

View File

@ -1100,6 +1100,7 @@ export default {
every_week: '每周',
week_start: '从星期',
week_end: '至星期',
every_year: '每年'
every_year: '每年',
week_tips: '说明1-7 分别对应 周日-周六'
}
}

View File

@ -547,7 +547,7 @@ export default {
this.taskForm.endTime = ''
this.taskForm.cron = ''
} else {
this.taskForm.cron = '0 0 * ? * * *'
this.taskForm.cron = '00 00 * ? * * *'
}
},
listTaskLog(loading = true) {