加载实训时清除实训分数
This commit is contained in:
parent
fc9f284ee1
commit
41d8635b73
@ -182,6 +182,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.$store.dispatch('trainingNew/setTrainingDetail', detailResp.data);
|
this.$store.dispatch('trainingNew/setTrainingDetail', detailResp.data);
|
||||||
|
this.$store.dispatch('trainingNew/setTrainingScore', '');
|
||||||
await loadPublishTraining(this.group, data.id, {mode: this.teachMode});
|
await loadPublishTraining(this.group, data.id, {mode: this.teachMode});
|
||||||
this.$message.success('加载实训成功!');
|
this.$message.success('加载实训成功!');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
@ -293,6 +293,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.$emit('closeAllDialog');
|
this.$emit('closeAllDialog');
|
||||||
this.$store.dispatch('trainingNew/setTrainingDetail', detailResp.data);
|
this.$store.dispatch('trainingNew/setTrainingDetail', detailResp.data);
|
||||||
|
this.$store.dispatch('trainingNew/setTrainingScore', '');
|
||||||
await loadDraftTraining(this.group, data.id, {mode: this.teachMode});
|
await loadDraftTraining(this.group, data.id, {mode: this.teachMode});
|
||||||
this.$message.success('加载实训成功!');
|
this.$message.success('加载实训成功!');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user