教学管理问题调整

This commit is contained in:
fan 2021-03-30 14:49:47 +08:00
parent 0968bcfa9e
commit 51bce2825e
2 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,7 @@ export default {
this.$message.success(this.$t('publish.updateSuccess')); this.$message.success(this.$t('publish.updateSuccess'));
self.doClose(); self.doClose();
}).catch((e) => { }).catch((e) => {
this.$message.error('编辑课程失败:' + e.msg); this.$message.error('编辑课程失败:' + e.message);
self.doClose(); self.doClose();
}); });
}); });

View File

@ -525,6 +525,7 @@ export default {
}).then(() => { }).then(() => {
createRule(model).then(resp => { createRule(model).then(resp => {
this.$message.success( '创建规则成功!'); this.$message.success( '创建规则成功!');
that.back();
that.$refs.form.resetFields(); that.$refs.form.resetFields();
that.scoringDate = []; that.scoringDate = [];
}).catch((e) => { }).catch((e) => {