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 }}
- 修改
+ 修改
handleDelete(record)">
- 删除
+ 删除
详情
@@ -73,7 +71,6 @@
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 @@
-
- 返回
-
+
+ 新增种类
+
{{ index + 1 }}
- handleDelete(record)">
- handleDetail(record)">删除
+
+ 删除
-
-
+
+
+
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 @@
查询
(queryParam = {})">添加课程
+
{{ index + 1 }}
-
-
+
- 课程预览
- 题库预览
- 必选题设置
+ 课程预览
+ 题库预览
+ 必选题设置
handleDelete(record)">
删除
@@ -53,7 +52,7 @@ export default {
data() {
//这里存放数据
return {
- form: this.$form.createForm(this),
+ form: this.$form.createForm(this, { name: 'project' }),
totalHours: 0, //总课时
totalLearnHours: 0, //总学时
totalTopicNum: 0, //题目数量
diff --git a/src/views/project/form/ProjectForm.vue b/src/views/project/form/ProjectForm.vue
index 076bd45..d8bce82 100644
--- a/src/views/project/form/ProjectForm.vue
+++ b/src/views/project/form/ProjectForm.vue
@@ -1,127 +1,128 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- 参数待替换
-
- 新增种类
-
-
-
-
-
- 必修课
- 选修课
-
-
-
-
-
-
- 培训
- 考试
- 培训-练习
- 培训-练习-考试
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
-
- -
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 参数待替换
+
+
+
+
+
+
+
+ 必修课
+ 选修课
+
+
+
+
+
+
+ 培训
+ 考试
+ 培训-练习
+ 培训-练习-考试
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
- -
-
-
-
+ -
+
+
-
-
-
-
-
-
-
- -
-
-
-
+
+
+
+
+
+
+
-
+ -
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+
-
-
-
-
-
-
- 补考次数:
-
-
-
-
- 随机补考
-
+
+
+
+
+
-
+ 补考次数:
+
+
+
+
+ 随机补考
+
+
+
-
-
-
- 允许
- 不允许
-
-
-
-
-
-
-
-
-
-
- 下一步
- 上一步
-
-
-
-
+
+
+
+ 允许
+ 不允许
+
+
+
+
+
+
+
+
+
+
+ 下一步
+ 上一步
+
+
+
+
+