修复课程列表重复问题
This commit is contained in:
@@ -149,16 +149,13 @@ export default {
|
||||
data: this.$http.adornData({
|
||||
page: this.pageIndex,
|
||||
limit: this.pageSize,
|
||||
courseName: this.query.courseName,
|
||||
type:1,
|
||||
medicalId:"",//医学标签id,type为1时生效,空字符串为全部
|
||||
sociologyId:""//国学标签id,type为2时生效,空字符串为全部
|
||||
title: this.query.courseName
|
||||
})
|
||||
}).then(({ data }) => {
|
||||
if(data.code != 0) return this.$message.error(data.msg);
|
||||
if (data && data.code === 0) {
|
||||
this.dataList = data.page.records;
|
||||
this.totalPage = data.page.total;
|
||||
this.dataList = data.courses.records;
|
||||
this.totalPage = data.courses.total;
|
||||
} else {
|
||||
this.dataList = [];
|
||||
this.totalPage = 0;
|
||||
|
||||
@@ -401,7 +401,7 @@ export default {
|
||||
},
|
||||
addLinkPro(){
|
||||
this.showSelectPro = true
|
||||
this.requesturl = '/master/course/getCourseList'
|
||||
this.requesturl = '/common/coupon/getCourseList'
|
||||
},
|
||||
changeCate(e) {
|
||||
console.log("e", e);
|
||||
|
||||
Reference in New Issue
Block a user