解决课程重复问题
This commit is contained in:
38979
package-lock.json
generated
38979
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -24,7 +24,7 @@
|
||||
"gulp-replace": "1.0.0",
|
||||
"gulp-shell": "0.8.0",
|
||||
"lodash": "4.17.5",
|
||||
"node-sass": "^6.0.1",
|
||||
"node-sass": "^4.0.0",
|
||||
"npm": "^6.9.0",
|
||||
"quill-image-resize-module": "^3.0.0",
|
||||
"sass-loader": "6.0.6",
|
||||
@@ -34,7 +34,9 @@
|
||||
"vue-cookie": "1.1.4",
|
||||
"vue-quill-editor": "^3.0.6",
|
||||
"vue-router": "3.0.1",
|
||||
"vuex": "3.0.1"
|
||||
"vuex": "3.0.1",
|
||||
"vxe-table": "^2.11.0",
|
||||
"xe-utils": "^3.5.30"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "7.1.2",
|
||||
|
||||
@@ -484,6 +484,8 @@ export default {
|
||||
if(percentCompleted == 100){
|
||||
that.$message.success('文件上传成功,正在写入数据')
|
||||
that.loadText = '文件上传成功,正在写入数据'
|
||||
}else{
|
||||
that.loadText = `${percentCompleted}%`
|
||||
}
|
||||
console.log(`Upload Progress: ${percentCompleted}%`);
|
||||
}
|
||||
|
||||
@@ -377,20 +377,21 @@ export default {
|
||||
},
|
||||
getCourseList(query) {
|
||||
this.$http({
|
||||
url: this.$http.adornUrl("/master/course/getCourseList"),
|
||||
url: this.$http.adornUrl("/common/class/getClassModelCourseList"),
|
||||
method: "post",
|
||||
data: this.$http.adornData({
|
||||
page: 1,
|
||||
limit: 10,
|
||||
courseName: query, //关键字
|
||||
type: 1,
|
||||
medicalId: "",
|
||||
sociologyId: ""
|
||||
title:query,
|
||||
// page: 1,
|
||||
// limit: 10,
|
||||
// courseName: query, //关键字
|
||||
// type: 1,
|
||||
// medicalId: "",
|
||||
// sociologyId: ""
|
||||
})
|
||||
})
|
||||
.then(({ data }) => {
|
||||
if (data && data.code === 0) {
|
||||
this.courseList = data.page.records;
|
||||
this.courseList = data.courseList;
|
||||
} else {
|
||||
this.courseList = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user