Commit 8d07cc90 authored by 黄奎's avatar 黄奎

页面修改

parent 852d902e
...@@ -690,13 +690,20 @@ ...@@ -690,13 +690,20 @@
if (res.Code == 1) { if (res.Code == 1) {
var newClassId = res.Data.ClassId var newClassId = res.Data.ClassId
var PlanList = res.Data.ClassPlanList; var PlanList = res.Data.ClassPlanList;
//有上课计划 // //有上课计划
if (res.Data && res.Data.ClassPlanList && res.Data.ClassPlanList.length > 0 && this.objOption // if (res.Data && res.Data.ClassPlanList && res.Data.ClassPlanList.length > 0 && this.objOption
.ClassDateList.length < 2) { // .ClassDateList.length < 2) {
this.checkPlan(newClassId, PlanList) // this.checkPlan(newClassId, PlanList)
} else { // } else {
this.refreshForm(); // this.refreshForm();
} // }
this.refreshForm();
} else {
this.$q.notify({
type: 'negative',
position: "top",
message: `操作失败!`
})
} }
}).catch(() => { }).catch(() => {
this.BtnStr = "立即提交" this.BtnStr = "立即提交"
......
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