Commit cab74c0a authored by 黄奎's avatar 黄奎

页面修改

parent 94f07920
...@@ -636,6 +636,17 @@ ...@@ -636,6 +636,17 @@
batchSaveClassPlan(newMsg).then(res => { batchSaveClassPlan(newMsg).then(res => {
this.saveCourseLoading = false this.saveCourseLoading = false
if (res.Code == 1) { if (res.Code == 1) {
if (res.Data) {
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: '数据保存成功!但存在上课冲突数据,请调整。',
position: 'top'
})
this.$emit('getClassFlict', this.objOption.ClassId);
} else {
this.$q.notify({ this.$q.notify({
icon: 'iconfont icon-chenggong', icon: 'iconfont icon-chenggong',
color: 'accent', color: 'accent',
...@@ -643,8 +654,6 @@ ...@@ -643,8 +654,6 @@
message: '数据保存成功!', message: '数据保存成功!',
position: 'top' position: 'top'
}) })
if(res.Data){
this.$emit('getClassFlict',this.objOption.ClassId);
} }
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