diff --git a/yudao-ui-admin/src/components/Crontab/day.vue b/yudao-ui-admin/src/components/Crontab/day.vue index d6c74fade..133847369 100644 --- a/yudao-ui-admin/src/components/Crontab/day.vue +++ b/yudao-ui-admin/src/components/Crontab/day.vue @@ -103,25 +103,25 @@ export default { }, // 周期两个值变化时 cycleChange() { - if (this.radioValue === '3') { + if (this.radioValue === 3) { this.$emit('update', 'day', this.cycleTotal); } }, // 平均两个值变化时 averageChange() { - if (this.radioValue === '4') { + if (this.radioValue === 4) { this.$emit('update', 'day', this.averageTotal); } }, // 最近工作日值变化时 workdayChange() { - if (this.radioValue === '5') { + if (this.radioValue === 5) { this.$emit('update', 'day', this.workdayCheck + 'W'); } }, // checkbox值变化时 checkboxChange() { - if (this.radioValue === '7') { + if (this.radioValue === 7) { this.$emit('update', 'day', this.checkboxString); } } diff --git a/yudao-ui-admin/src/components/Crontab/hour.vue b/yudao-ui-admin/src/components/Crontab/hour.vue index 3b890273b..2f5dcd7ad 100644 --- a/yudao-ui-admin/src/components/Crontab/hour.vue +++ b/yudao-ui-admin/src/components/Crontab/hour.vue @@ -68,19 +68,19 @@ export default { }, // 周期两个值变化时 cycleChange() { - if (this.radioValue === '2') { + if (this.radioValue === 2) { this.$emit('update', 'hour', this.cycleTotal); } }, // 平均两个值变化时 averageChange() { - if (this.radioValue === '3') { + if (this.radioValue === 3) { this.$emit('update', 'hour', this.averageTotal); } }, // checkbox值变化时 checkboxChange() { - if (this.radioValue === '4') { + if (this.radioValue === 4) { this.$emit('update', 'hour', this.checkboxString); } } diff --git a/yudao-ui-admin/src/components/Crontab/min.vue b/yudao-ui-admin/src/components/Crontab/min.vue index 71a1fc17b..6e8f5ae5f 100644 --- a/yudao-ui-admin/src/components/Crontab/min.vue +++ b/yudao-ui-admin/src/components/Crontab/min.vue @@ -69,19 +69,19 @@ export default { }, // 周期两个值变化时 cycleChange() { - if (this.radioValue === '2') { + if (this.radioValue === 2) { this.$emit('update', 'min', this.cycleTotal, 'min'); } }, // 平均两个值变化时 averageChange() { - if (this.radioValue === '3') { + if (this.radioValue === 3) { this.$emit('update', 'min', this.averageTotal, 'min'); } }, // checkbox值变化时 checkboxChange() { - if (this.radioValue === '4') { + if (this.radioValue === 4) { this.$emit('update', 'min', this.checkboxString, 'min'); } }, diff --git a/yudao-ui-admin/src/components/Crontab/month.vue b/yudao-ui-admin/src/components/Crontab/month.vue index 2539935e0..e976ee507 100644 --- a/yudao-ui-admin/src/components/Crontab/month.vue +++ b/yudao-ui-admin/src/components/Crontab/month.vue @@ -68,19 +68,19 @@ export default { }, // 周期两个值变化时 cycleChange() { - if (this.radioValue === '2') { + if (this.radioValue === 2) { this.$emit('update', 'month', this.cycleTotal); } }, // 平均两个值变化时 averageChange() { - if (this.radioValue === '3') { + if (this.radioValue === 3) { this.$emit('update', 'month', this.averageTotal); } }, // checkbox值变化时 checkboxChange() { - if (this.radioValue === '4') { + if (this.radioValue === 4) { this.$emit('update', 'month', this.checkboxString); } } diff --git a/yudao-ui-admin/src/components/Crontab/second.vue b/yudao-ui-admin/src/components/Crontab/second.vue index 0b5df29c7..36f4eab2a 100644 --- a/yudao-ui-admin/src/components/Crontab/second.vue +++ b/yudao-ui-admin/src/components/Crontab/second.vue @@ -68,19 +68,19 @@ export default { }, // 周期两个值变化时 cycleChange() { - if (this.radioValue === '2') { + if (this.radioValue === 2) { this.$emit('update', 'second', this.cycleTotal); } }, // 平均两个值变化时 averageChange() { - if (this.radioValue === '3') { + if (this.radioValue === 3) { this.$emit('update', 'second', this.averageTotal); } }, // checkbox值变化时 checkboxChange() { - if (this.radioValue === '4') { + if (this.radioValue === 4) { this.$emit('update', 'second', this.checkboxString); } } diff --git a/yudao-ui-admin/src/components/Crontab/week.vue b/yudao-ui-admin/src/components/Crontab/week.vue index 5ebf0de5d..a62390ca9 100644 --- a/yudao-ui-admin/src/components/Crontab/week.vue +++ b/yudao-ui-admin/src/components/Crontab/week.vue @@ -144,25 +144,25 @@ export default { // 周期两个值变化时 cycleChange() { - if (this.radioValue === '3') { + if (this.radioValue === 3) { this.$emit('update', 'week', this.cycleTotal); } }, // 平均两个值变化时 averageChange() { - if (this.radioValue === '4') { + if (this.radioValue === 4) { this.$emit('update', 'week', this.averageTotal); } }, // 最近工作日值变化时 weekdayChange() { - if (this.radioValue === '5') { + if (this.radioValue === 5) { this.$emit('update', 'week', this.weekday + 'L'); } }, // checkbox值变化时 checkboxChange() { - if (this.radioValue === '6') { + if (this.radioValue === 6) { this.$emit('update', 'week', this.checkboxString); } }, diff --git a/yudao-ui-admin/src/components/Crontab/year.vue b/yudao-ui-admin/src/components/Crontab/year.vue index 2c8eec327..5111b9f69 100644 --- a/yudao-ui-admin/src/components/Crontab/year.vue +++ b/yudao-ui-admin/src/components/Crontab/year.vue @@ -79,19 +79,19 @@ export default { }, // 周期两个值变化时 cycleChange() { - if (this.radioValue === '3') { + if (this.radioValue === 3) { this.$emit('update', 'year', this.cycleTotal); } }, // 平均两个值变化时 averageChange() { - if (this.radioValue === '4') { + if (this.radioValue === 4) { this.$emit('update', 'year', this.averageTotal); } }, // checkbox值变化时 checkboxChange() { - if (this.radioValue === '5') { + if (this.radioValue === 5) { this.$emit('update', 'year', this.checkboxString); } }