diff --git a/src/api/project/class.js b/src/api/project/class.js index cac2709..f13d54f 100644 --- a/src/api/project/class.js +++ b/src/api/project/class.js @@ -23,9 +23,9 @@ export function classGet(params) { } export function classDel (params) { return request({ - url: classApi.get, + url: classApi.del, method: 'delete', - data: params + params: params }) } export function classList(params) { diff --git a/src/views/project/ProjectList.vue b/src/views/project/ProjectList.vue index 414113b..239cf85 100644 --- a/src/views/project/ProjectList.vue +++ b/src/views/project/ProjectList.vue @@ -39,8 +39,7 @@ - 新增项目 - 删除项目 + 新增项目 {{ index + 1 }} diff --git a/src/views/project/ProjectStepForm.vue b/src/views/project/ProjectStepForm.vue index 89ee36e..7596177 100644 --- a/src/views/project/ProjectStepForm.vue +++ b/src/views/project/ProjectStepForm.vue @@ -2,7 +2,7 @@ { - // this.setMenuItem(record) - // // 默认加载菜单树 - // this.getMenuTree() - // }, 100) - this.formLoading = false }, diff --git a/src/views/project/classAdd/ClassForm.vue b/src/views/project/classAdd/ClassForm.vue new file mode 100644 index 0000000..5778689 --- /dev/null +++ b/src/views/project/classAdd/ClassForm.vue @@ -0,0 +1,111 @@ + + + + \ No newline at end of file diff --git a/src/views/project/classAdd/ClassList.vue b/src/views/project/classAdd/ClassList.vue index 8c7e439..494ea1b 100644 --- a/src/views/project/classAdd/ClassList.vue +++ b/src/views/project/classAdd/ClassList.vue @@ -1,37 +1,39 @@ diff --git a/src/views/project/form/ProjectCourseSelect.vue b/src/views/project/form/ProjectCourseSelect.vue index 08aee42..3f8a5d0 100644 --- a/src/views/project/form/ProjectCourseSelect.vue +++ b/src/views/project/form/ProjectCourseSelect.vue @@ -8,23 +8,22 @@ 查询 添加课程 + {{ index + 1 }} - - +