Commit 6cfdf77e authored by 罗超's avatar 罗超

2

parent 07d59b45
...@@ -130,7 +130,6 @@ ...@@ -130,7 +130,6 @@
:val="item.AppointmentId" :val="item.AppointmentId"
/> />
</div> </div>
{{checkStuType2}}
</div> </div>
<div v-else> <div v-else>
{{ saveObj.GuestList.map(e => e.GuestName).toString() }} {{ saveObj.GuestList.map(e => e.GuestName).toString() }}
......
...@@ -237,6 +237,7 @@ export default { ...@@ -237,6 +237,7 @@ export default {
this.teaClassMsg.chapterList=[] this.teaClassMsg.chapterList=[]
this.teacherTimeList=[] this.teacherTimeList=[]
this.courseCheckList=[] this.courseCheckList=[]
this.stuList=[]
if (this.editType == 2) { if (this.editType == 2) {
this.getStu(); this.getStu();
} }
...@@ -396,6 +397,8 @@ export default { ...@@ -396,6 +397,8 @@ export default {
if (this.checkChapter.CourseRate && this.checkChapter.ChapterNo) { if (this.checkChapter.CourseRate && this.checkChapter.ChapterNo) {
this.getStu(); this.getStu();
} }
this.teaClassMsg.TeacherId=0
this.teacherTimeList=[]
}, },
subscribeCourse() { subscribeCourse() {
if ( if (
...@@ -484,7 +487,8 @@ export default { ...@@ -484,7 +487,8 @@ export default {
if (res.Code == 1) { if (res.Code == 1) {
this.getStu(); this.getStu();
this.stuInfo = ""; this.stuInfo = "";
this.$q if(this.editType==1){
this.$q
.dialog({ .dialog({
title: "预约成功", title: "预约成功",
message: "是否继续预约?", message: "是否继续预约?",
...@@ -496,6 +500,13 @@ export default { ...@@ -496,6 +500,13 @@ export default {
.onCancel(() => { .onCancel(() => {
this.changeDig(false); this.changeDig(false);
}); });
}else if(this.editType==2){
this.$q.notify({
message: "操作成功",
position: "top",
});
}
this.$emit("success"); this.$emit("success");
} }
}); });
......
...@@ -623,7 +623,6 @@ export default { ...@@ -623,7 +623,6 @@ export default {
}); });
}, },
successHandle() { successHandle() {
this.saveObj = {};
this.getData(); this.getData();
} }
} }
......
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