!599 Crontab组件radio的label类型不一致

Merge pull request !599 from 高小牛/master
This commit is contained in:
芋道源码 2023-09-03 10:02:32 +00:00 committed by Gitee
commit 8321d14b0b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
7 changed files with 23 additions and 23 deletions

View File

@ -103,25 +103,25 @@ export default {
}, },
// //
cycleChange() { cycleChange() {
if (this.radioValue === '3') { if (this.radioValue === 3) {
this.$emit('update', 'day', this.cycleTotal); this.$emit('update', 'day', this.cycleTotal);
} }
}, },
// //
averageChange() { averageChange() {
if (this.radioValue === '4') { if (this.radioValue === 4) {
this.$emit('update', 'day', this.averageTotal); this.$emit('update', 'day', this.averageTotal);
} }
}, },
// //
workdayChange() { workdayChange() {
if (this.radioValue === '5') { if (this.radioValue === 5) {
this.$emit('update', 'day', this.workdayCheck + 'W'); this.$emit('update', 'day', this.workdayCheck + 'W');
} }
}, },
// checkbox // checkbox
checkboxChange() { checkboxChange() {
if (this.radioValue === '7') { if (this.radioValue === 7) {
this.$emit('update', 'day', this.checkboxString); this.$emit('update', 'day', this.checkboxString);
} }
} }

View File

@ -68,19 +68,19 @@ export default {
}, },
// //
cycleChange() { cycleChange() {
if (this.radioValue === '2') { if (this.radioValue === 2) {
this.$emit('update', 'hour', this.cycleTotal); this.$emit('update', 'hour', this.cycleTotal);
} }
}, },
// //
averageChange() { averageChange() {
if (this.radioValue === '3') { if (this.radioValue === 3) {
this.$emit('update', 'hour', this.averageTotal); this.$emit('update', 'hour', this.averageTotal);
} }
}, },
// checkbox // checkbox
checkboxChange() { checkboxChange() {
if (this.radioValue === '4') { if (this.radioValue === 4) {
this.$emit('update', 'hour', this.checkboxString); this.$emit('update', 'hour', this.checkboxString);
} }
} }

View File

@ -69,19 +69,19 @@ export default {
}, },
// //
cycleChange() { cycleChange() {
if (this.radioValue === '2') { if (this.radioValue === 2) {
this.$emit('update', 'min', this.cycleTotal, 'min'); this.$emit('update', 'min', this.cycleTotal, 'min');
} }
}, },
// //
averageChange() { averageChange() {
if (this.radioValue === '3') { if (this.radioValue === 3) {
this.$emit('update', 'min', this.averageTotal, 'min'); this.$emit('update', 'min', this.averageTotal, 'min');
} }
}, },
// checkbox // checkbox
checkboxChange() { checkboxChange() {
if (this.radioValue === '4') { if (this.radioValue === 4) {
this.$emit('update', 'min', this.checkboxString, 'min'); this.$emit('update', 'min', this.checkboxString, 'min');
} }
}, },

View File

@ -68,19 +68,19 @@ export default {
}, },
// //
cycleChange() { cycleChange() {
if (this.radioValue === '2') { if (this.radioValue === 2) {
this.$emit('update', 'month', this.cycleTotal); this.$emit('update', 'month', this.cycleTotal);
} }
}, },
// //
averageChange() { averageChange() {
if (this.radioValue === '3') { if (this.radioValue === 3) {
this.$emit('update', 'month', this.averageTotal); this.$emit('update', 'month', this.averageTotal);
} }
}, },
// checkbox // checkbox
checkboxChange() { checkboxChange() {
if (this.radioValue === '4') { if (this.radioValue === 4) {
this.$emit('update', 'month', this.checkboxString); this.$emit('update', 'month', this.checkboxString);
} }
} }

View File

@ -68,19 +68,19 @@ export default {
}, },
// //
cycleChange() { cycleChange() {
if (this.radioValue === '2') { if (this.radioValue === 2) {
this.$emit('update', 'second', this.cycleTotal); this.$emit('update', 'second', this.cycleTotal);
} }
}, },
// //
averageChange() { averageChange() {
if (this.radioValue === '3') { if (this.radioValue === 3) {
this.$emit('update', 'second', this.averageTotal); this.$emit('update', 'second', this.averageTotal);
} }
}, },
// checkbox // checkbox
checkboxChange() { checkboxChange() {
if (this.radioValue === '4') { if (this.radioValue === 4) {
this.$emit('update', 'second', this.checkboxString); this.$emit('update', 'second', this.checkboxString);
} }
} }

View File

@ -144,25 +144,25 @@ export default {
// //
cycleChange() { cycleChange() {
if (this.radioValue === '3') { if (this.radioValue === 3) {
this.$emit('update', 'week', this.cycleTotal); this.$emit('update', 'week', this.cycleTotal);
} }
}, },
// //
averageChange() { averageChange() {
if (this.radioValue === '4') { if (this.radioValue === 4) {
this.$emit('update', 'week', this.averageTotal); this.$emit('update', 'week', this.averageTotal);
} }
}, },
// //
weekdayChange() { weekdayChange() {
if (this.radioValue === '5') { if (this.radioValue === 5) {
this.$emit('update', 'week', this.weekday + 'L'); this.$emit('update', 'week', this.weekday + 'L');
} }
}, },
// checkbox // checkbox
checkboxChange() { checkboxChange() {
if (this.radioValue === '6') { if (this.radioValue === 6) {
this.$emit('update', 'week', this.checkboxString); this.$emit('update', 'week', this.checkboxString);
} }
}, },

View File

@ -79,19 +79,19 @@ export default {
}, },
// //
cycleChange() { cycleChange() {
if (this.radioValue === '3') { if (this.radioValue === 3) {
this.$emit('update', 'year', this.cycleTotal); this.$emit('update', 'year', this.cycleTotal);
} }
}, },
// //
averageChange() { averageChange() {
if (this.radioValue === '4') { if (this.radioValue === 4) {
this.$emit('update', 'year', this.averageTotal); this.$emit('update', 'year', this.averageTotal);
} }
}, },
// checkbox // checkbox
checkboxChange() { checkboxChange() {
if (this.radioValue === '5') { if (this.radioValue === 5) {
this.$emit('update', 'year', this.checkboxString); this.$emit('update', 'year', this.checkboxString);
} }
} }