|
@@ -145,7 +145,6 @@ export default {
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
async refresh(id, other) {
|
|
async refresh(id, other) {
|
|
|
- this.initDrillTypeOptions();
|
|
|
|
|
if (!id) {
|
|
if (!id) {
|
|
|
this.reset(other);
|
|
this.reset(other);
|
|
|
return;
|
|
return;
|
|
@@ -310,14 +309,9 @@ export default {
|
|
|
console.log("trainingEndDateTime", this.formData.trainingEndDateTime)
|
|
console.log("trainingEndDateTime", this.formData.trainingEndDateTime)
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- initDrillTypeOptions() {
|
|
|
|
|
- initList().then(response => {
|
|
|
|
|
- this.drillTypeOptions = response.data;
|
|
|
|
|
- })
|
|
|
|
|
- }
|
|
|
|
|
},
|
|
},
|
|
|
mounted() {
|
|
mounted() {
|
|
|
- this.initDrillTypeOptions()
|
|
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|