Commit fd8f34c1 authored by zhengke's avatar zhengke

修改

parent cab74c0a
...@@ -409,6 +409,13 @@ ...@@ -409,6 +409,13 @@
if (res.Code == 1) { if (res.Code == 1) {
this.$emit('success'); this.$emit('success');
this.$emit('close'); this.$emit('close');
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: res.Message,
position: 'top'
})
} }
}) })
}, },
...@@ -541,7 +548,9 @@ ...@@ -541,7 +548,9 @@
} }
} }
this.postMsg.ClassId = this.ClassId; this.postMsg.ClassId = this.ClassId;
this.saveLoading=true;
BatchUpdateClassPlan(this.postMsg).then(res => { BatchUpdateClassPlan(this.postMsg).then(res => {
this.saveLoading=false;
if (res.Code === 1) { if (res.Code === 1) {
this.getList(); this.getList();
if (res.Data) { if (res.Data) {
...@@ -551,6 +560,13 @@ ...@@ -551,6 +560,13 @@
message: `还存在冲突数据请继续修改!` message: `还存在冲突数据请继续修改!`
}) })
} else { } else {
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: res.Message,
position: 'top'
})
this.$emit('success'); this.$emit('success');
this.$emit('close'); this.$emit('close');
} }
......
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