|
@@ -72,7 +72,7 @@ Page({
|
|
|
const acc = await app.$get(`/dict`, { code: "lesson_type" });
|
|
|
if (acc.errcode == '0' && aee.total > 0) that.setData({ typeList: acc.data[0].list });
|
|
|
if (that.data.id) {
|
|
|
- const aee = await app.$get(`/lessonStudent/${that.data.id}`);
|
|
|
+ const aee = await app.$get(`/tempLessonApply/${that.data.id}`);
|
|
|
if (aee.errcode == '0') {
|
|
|
that.setData({ student_id: aee.data.student_id })
|
|
|
that.setData({ lesson_id: aee.data.lesson_id })
|
|
@@ -94,6 +94,7 @@ Page({
|
|
|
let type = that.data.typeList.find(i => i.value == abb.data.type)
|
|
|
if (type) abb.data.zhtype = type.label;
|
|
|
that.setData({ lesInfo: abb.data });
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
},
|