diff --git a/src/api/project/projectCourse.js b/src/api/project/projectCourse.js
index 1321eab..c42057d 100644
--- a/src/api/project/projectCourse.js
+++ b/src/api/project/projectCourse.js
@@ -8,14 +8,23 @@ const projectCourseApi = {
// del: 'sys/menu/delete',
// // updateStatus: 'sys/menu/updateStatus',
// list: 'project/pageList',
- projectCourseList: '/project/course/list'
+ projectCourseList: '/project/course/list',
+ courseList: '/project/course/listByCourseIds'
}
+/** 通过项目id查询 */
export function getCourseList (params) {
- // console.log("------------{}",params)
return request({
url: projectCourseApi.projectCourseList,
method: 'get',
params: params
})
+}
+/** 通过课程列表查询 */
+export function getCourseListByCourseIds (params) {
+ return request({
+ url: projectCourseApi.courseList,
+ method: 'Post',
+ params: params
+ })
}
\ No newline at end of file
diff --git a/src/views/project/form/ProjectCourseList.vue b/src/views/project/form/ProjectCourseList.vue
index ba687f7..e12d395 100644
--- a/src/views/project/form/ProjectCourseList.vue
+++ b/src/views/project/form/ProjectCourseList.vue
@@ -1,36 +1,50 @@
-
-
-
- 总课时:{{ totalHours }}, 总学时要求:{{ totalLearnHours }}, 总题目数量:{{ totalTopicNum }}
- 课程名:
-
- 查询
- 添加课程
-
-
-
-
- {{ index + 1 }}
-
-
-
- 课程预览
- 题库预览
- 必选题设置
- handleDelete(record)">
- 删除
-
-
-
-
-
- 下一步
- 上一步
-
+
+
+ 总课时:{{ totalHours }}, 总学时要求:{{ totalLearnHours }}, 总题目数量:{{ totalTopicNum }}
+ 课程名:
+
+ 查询
+ 添加课程
+
+
+
+ {{ index + 1 }}
+
+
+
+
+ 操作
+
+
+
+
+ 课程预览
+
+
+ 题库预览
+
+
+ 必选题设置
+
+
+ handleDelete(record)">
+ 删除
+
+
+
+
+
+
+
+
+ 下一步
+ 上一步
+
-
+