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