Commit cab74c0a authored by 黄奎's avatar 黄奎

页面修改

parent 94f07920
...@@ -636,15 +636,24 @@ ...@@ -636,15 +636,24 @@
batchSaveClassPlan(newMsg).then(res => { batchSaveClassPlan(newMsg).then(res => {
this.saveCourseLoading = false this.saveCourseLoading = false
if (res.Code == 1) { if (res.Code == 1) {
this.$q.notify({
icon: 'iconfont icon-chenggong', if (res.Data) {
color: 'accent', this.$q.notify({
timeout: 2000, icon: 'iconfont icon-chenggong',
message: '数据保存成功!', color: 'accent',
position: 'top' timeout: 2000,
}) message: '数据保存成功!但存在上课冲突数据,请调整。',
if(res.Data){ position: 'top'
this.$emit('getClassFlict',this.objOption.ClassId); })
this.$emit('getClassFlict', this.objOption.ClassId);
} else {
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: '数据保存成功!',
position: 'top'
})
} }
this.$emit("success") this.$emit("success")
this.closeCourseForm() this.closeCourseForm()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment