diff --git a/src/api/course/course.js b/src/api/course/course.js
index 36b2d09..9433ed2 100644
--- a/src/api/course/course.js
+++ b/src/api/course/course.js
@@ -1,7 +1,7 @@
import request from '@/utils/request'
const courseApi = {
-// add: 'sys/menu/add',
+ add: '/courseManagement/course/addOrUpdate',
get: '/courseManagement/course/details',
// update: 'sys/menu/update',
del: 'courseManagement/course/delete',
@@ -12,13 +12,13 @@ const courseApi = {
}
-// export function menuAdd (params) {
-// return request({
-// url: menuApi.add,
-// method: 'post',
-// data: params
-// })
-// }
+export function courseAdd (params) {
+ return request({
+ url: courseApi.add,
+ method: 'post',
+ data: params
+ })
+}
// export function menuGet (params) {
// return request({
// url: menuApi.get,
diff --git a/src/views/course/CourseAdd.vue b/src/views/course/CourseAdd.vue
new file mode 100644
index 0000000..77a7f8d
--- /dev/null
+++ b/src/views/course/CourseAdd.vue
@@ -0,0 +1,153 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 商业
+ 政务
+
+
+
+
+
+
+
+
+ {{ dataValue }}分钟
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 医疗
+ 建筑
+
+
+
+
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+ 保存
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/course/CourseForm.vue b/src/views/course/CourseForm.vue
deleted file mode 100644
index b1df082..0000000
--- a/src/views/course/CourseForm.vue
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/course/CourseList.vue b/src/views/course/CourseList.vue
index 6dcb311..bff806c 100644
--- a/src/views/course/CourseList.vue
+++ b/src/views/course/CourseList.vue
@@ -1,10 +1,10 @@
-
+
{queryParam = {}, handleRefresh()}" >
@@ -68,6 +68,12 @@ export default {
});
},
+ //課程新增
+ courseAdd(){
+ console.log("OK你已經死亡!");
+ this.$router.push({ path : '/course/CourseAdd' , query : {}})
+ },
+
//题库
courseQuestion(record){
this.$router.push({
diff --git a/src/views/course/coursestep/Step1.vue b/src/views/course/coursestep/Step1.vue
deleted file mode 100644
index 3cd40ae..0000000
--- a/src/views/course/coursestep/Step1.vue
+++ /dev/null
@@ -1,164 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 商业
- 政务
-
-
-
-
-
-
-
-
- {{dataValue}}分钟
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 医疗
- 建筑
-
-
-
-
-
-
-
-
- 是
- 否
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 下一步
- 取消
-
-
-
-
-
-
-
diff --git a/src/views/course/coursestep/Step2.vue b/src/views/course/coursestep/Step2.vue
deleted file mode 100644
index dc50a7f..0000000
--- a/src/views/course/coursestep/Step2.vue
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
-
-
- ant-design@alipay.com
-
-
- test@example.com
-
-
- Alex
-
-
- ¥ 5,000.00
-
-
-
-
-
-
- 提交
- 上一步
-
-
-
-
-
-
-
-
diff --git a/src/views/course/question/QuestionList.vue b/src/views/course/question/QuestionList.vue
index 1de02f6..2073d34 100644
--- a/src/views/course/question/QuestionList.vue
+++ b/src/views/course/question/QuestionList.vue
@@ -40,7 +40,6 @@