fix: --bug=1006049 --user=陈建星 【github#5495】测试跟踪-测试计划设置定时任务出错 https://www.tapd.cn/55049933/s/1043443

This commit is contained in:
chenjianxing 2021-09-03 13:50:07 +08:00 committed by jianxing
parent 7eba37bc64
commit 7f98018783
5 changed files with 27 additions and 6 deletions

View File

@ -228,7 +228,12 @@ export default {
this.$refs['from'].validate();
},
showCronDialog() {
this.showCron = true;
let tmp = this.schedule.value;
this.schedule.value = '';
this.$nextTick(() => {
this.schedule.value = tmp;
this.showCron = true;
});
},
saveCron() {
this.$refs['from'].validate((valid) => {

View File

@ -226,7 +226,12 @@ export default {
this.$refs['form'].validate();
},
showCronDialog() {
this.showCron = true;
let tmp = this.schedule.value;
this.schedule.value = '';
this.$nextTick(() => {
this.schedule.value = tmp;
this.showCron = true;
});
},
saveCron() {
this.$refs['form'].validate((valid) => {

View File

@ -153,7 +153,12 @@ export default {
this.$refs['from'].validate();
},
showCronDialog() {
this.showCron = true;
let tmp = this.schedule.value;
this.schedule.value = '';
this.$nextTick(() => {
this.schedule.value = tmp;
this.showCron = true;
});
},
saveCron() {
this.$refs['from'].validate((valid) => {

View File

@ -147,7 +147,12 @@ export default {
this.$refs['from'].validate();
},
showCronDialog() {
this.showCron = true;
let tmp = this.schedule.value;
this.schedule.value = '';
this.$nextTick(() => {
this.schedule.value = tmp;
this.showCron = true;
});
},
saveCron() {
this.$refs['from'].validate((valid) => {

View File

@ -58,13 +58,14 @@ export default {
average01: 1,
average02: 1,
checkboxList: [],
weekList: [this.$t('commons.weeks_1'),
weekList: [
this.$t('commons.weeks_0'),
this.$t('commons.weeks_1'),
this.$t('commons.weeks_2'),
this.$t('commons.weeks_3'),
this.$t('commons.weeks_4'),
this.$t('commons.weeks_5'),
this.$t('commons.weeks_6'),
this.$t('commons.weeks_0'),
],
checkNum: this.$options.propsData.check
}