fix: --bug=1006049 --user=陈建星 【github#5495】测试跟踪-测试计划设置定时任务出错 https://www.tapd.cn/55049933/s/1043443
This commit is contained in:
parent
7eba37bc64
commit
7f98018783
|
@ -228,7 +228,12 @@ export default {
|
||||||
this.$refs['from'].validate();
|
this.$refs['from'].validate();
|
||||||
},
|
},
|
||||||
showCronDialog() {
|
showCronDialog() {
|
||||||
this.showCron = true;
|
let tmp = this.schedule.value;
|
||||||
|
this.schedule.value = '';
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.schedule.value = tmp;
|
||||||
|
this.showCron = true;
|
||||||
|
});
|
||||||
},
|
},
|
||||||
saveCron() {
|
saveCron() {
|
||||||
this.$refs['from'].validate((valid) => {
|
this.$refs['from'].validate((valid) => {
|
||||||
|
|
|
@ -226,7 +226,12 @@ export default {
|
||||||
this.$refs['form'].validate();
|
this.$refs['form'].validate();
|
||||||
},
|
},
|
||||||
showCronDialog() {
|
showCronDialog() {
|
||||||
this.showCron = true;
|
let tmp = this.schedule.value;
|
||||||
|
this.schedule.value = '';
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.schedule.value = tmp;
|
||||||
|
this.showCron = true;
|
||||||
|
});
|
||||||
},
|
},
|
||||||
saveCron() {
|
saveCron() {
|
||||||
this.$refs['form'].validate((valid) => {
|
this.$refs['form'].validate((valid) => {
|
||||||
|
|
|
@ -153,7 +153,12 @@ export default {
|
||||||
this.$refs['from'].validate();
|
this.$refs['from'].validate();
|
||||||
},
|
},
|
||||||
showCronDialog() {
|
showCronDialog() {
|
||||||
this.showCron = true;
|
let tmp = this.schedule.value;
|
||||||
|
this.schedule.value = '';
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.schedule.value = tmp;
|
||||||
|
this.showCron = true;
|
||||||
|
});
|
||||||
},
|
},
|
||||||
saveCron() {
|
saveCron() {
|
||||||
this.$refs['from'].validate((valid) => {
|
this.$refs['from'].validate((valid) => {
|
||||||
|
|
|
@ -147,7 +147,12 @@ export default {
|
||||||
this.$refs['from'].validate();
|
this.$refs['from'].validate();
|
||||||
},
|
},
|
||||||
showCronDialog() {
|
showCronDialog() {
|
||||||
this.showCron = true;
|
let tmp = this.schedule.value;
|
||||||
|
this.schedule.value = '';
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.schedule.value = tmp;
|
||||||
|
this.showCron = true;
|
||||||
|
});
|
||||||
},
|
},
|
||||||
saveCron() {
|
saveCron() {
|
||||||
this.$refs['from'].validate((valid) => {
|
this.$refs['from'].validate((valid) => {
|
||||||
|
|
|
@ -58,13 +58,14 @@ export default {
|
||||||
average01: 1,
|
average01: 1,
|
||||||
average02: 1,
|
average02: 1,
|
||||||
checkboxList: [],
|
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_2'),
|
||||||
this.$t('commons.weeks_3'),
|
this.$t('commons.weeks_3'),
|
||||||
this.$t('commons.weeks_4'),
|
this.$t('commons.weeks_4'),
|
||||||
this.$t('commons.weeks_5'),
|
this.$t('commons.weeks_5'),
|
||||||
this.$t('commons.weeks_6'),
|
this.$t('commons.weeks_6'),
|
||||||
this.$t('commons.weeks_0'),
|
|
||||||
],
|
],
|
||||||
checkNum: this.$options.propsData.check
|
checkNum: this.$options.propsData.check
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue