Crontab组件radio的label类型不一致

This commit is contained in:
gaoxiaoniu 2023-09-01 08:48:07 +08:00
parent 891ed3d055
commit 1ca5dd7e93
7 changed files with 23 additions and 23 deletions

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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');
}
},

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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);
}
},

View File

@ -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);
}
}