This commit is contained in:
赵旭 2024-09-01 22:27:35 +08:00
parent b2036cf68d
commit d4edbd321a
3 changed files with 7 additions and 6 deletions

View File

@ -373,7 +373,7 @@
url: "/drivingSchool/system/schoolCoach/list?deptId=" + id, url: "/drivingSchool/system/schoolCoach/list?deptId=" + id,
method: 'get', method: 'get',
}) })
this.jlInfoList = res.rows this.jlInfoList = res.data
console.log("明星教练", this.jlInfoList) console.log("明星教练", this.jlInfoList)
}, },
goNavigationClick(lat, lgt) { goNavigationClick(lat, lgt) {

View File

@ -254,7 +254,7 @@
async getListAll() { async getListAll() {
this.columnjl = [] this.columnjl = []
let res = await request({ let res = await request({
url: '/drivingSchool/applet/schoolCoach/ListAll?deptId=' + this.jxId, url: '/drivingSchool/applet/schoolCoach/listAll?deptId=' + this.jxId,
method: 'get', method: 'get',
}) })
@ -461,7 +461,7 @@
url: '/drivingSchool/system/driveSchoolCourse/list?id=' + this.courseId, url: '/drivingSchool/system/driveSchoolCourse/list?id=' + this.courseId,
method: 'get', method: 'get',
}) })
this.rightInfoList = res.rows[0], this.rightInfoList = res.data.records[0],
console.log("报名班类型", this.rightInfoList) console.log("报名班类型", this.rightInfoList)
}, },
async xxgetRightInfoList() { async xxgetRightInfoList() {
@ -470,7 +470,7 @@
this.id, this.id,
method: 'get', method: 'get',
}) })
this.rightInfoList = res.rows[0], this.rightInfoList = res.data.records[0],
console.log("报名班类型", this.rightInfoList) console.log("报名班类型", this.rightInfoList)
}, },
// //

View File

@ -135,8 +135,9 @@
let res = await request({ let res = await request({
url: `/drivingSchool/system/driveSchoolCourse/list?id=` + this.courseId, url: `/drivingSchool/system/driveSchoolCourse/list?id=` + this.courseId,
}) })
this.content = res.rows[0].describ, console.log("138:",res);
this.kcInfo = res.rows[0], this.content = res.data.records[0].describ,
this.kcInfo = res.data.records[0],
console.log("课程详情", this.kcInfo) console.log("课程详情", this.kcInfo)
}, },
goBmPage() { goBmPage() {