Commit d762ed7f authored by 黄奎's avatar 黄奎

页面修改

parent 89095de1
...@@ -408,7 +408,7 @@ ...@@ -408,7 +408,7 @@
getList() { getList() {
this.loading = true; this.loading = true;
this.dataList = []; this.dataList = [];
this.selectedAll=[]; this.selectedAll = [];
GetRepeatClassPlan({ GetRepeatClassPlan({
ClassId: this.ClassId ClassId: this.ClassId
}).then(res => { }).then(res => {
...@@ -487,6 +487,9 @@ ...@@ -487,6 +487,9 @@
position: "top", position: "top",
message: `还存在冲突数据请继续修改!` message: `还存在冲突数据请继续修改!`
}) })
} else {
this.$emit('success');
this.$emit('close');
} }
} }
}).catch(() => { }).catch(() => {
...@@ -529,19 +532,20 @@ ...@@ -529,19 +532,20 @@
} }
} }
} }
this.postMsg.ClassId = this.ClassId; this.postMsg.ClassId = this.ClassId;
BatchUpdateClassPlan(this.postMsg).then(res => { BatchUpdateClassPlan(this.postMsg).then(res => {
if (res.Code === 1) { if (res.Code === 1) {
this.$q.notify({ this.getList();
icon: 'iconfont icon-chenggong', if (res.Data) {
color: 'accent', this.$q.notify({
timeout: 2000, type: 'negative',
message: res.Message, position: "top",
position: 'top' message: `还存在冲突数据请继续修改!`
}) })
this.$emit('success'); } else {
this.$emit('close'); this.$emit('success');
this.$emit('close');
}
} else { } else {
this.Error(res.Message); this.Error(res.Message);
} }
......
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