diff --git a/oms/oms-h5/src/api/venue/lesson.js b/oms/oms-h5/src/api/venue/lesson.js index 78a4e5a..84dc120 100644 --- a/oms/oms-h5/src/api/venue/lesson.js +++ b/oms/oms-h5/src/api/venue/lesson.js @@ -20,3 +20,10 @@ export function remove(ids) { export function save(params) { return http.post('/venue/lesson', params) } + +/** + * 复制课程 + */ +export function copy(params) { + return http.post('/venue/lesson/copy', params) +} diff --git a/oms/oms-h5/src/views/venue/lesson/index.vue b/oms/oms-h5/src/views/venue/lesson/index.vue index c018d6c..9c18153 100644 --- a/oms/oms-h5/src/views/venue/lesson/index.vue +++ b/oms/oms-h5/src/views/venue/lesson/index.vue @@ -84,6 +84,7 @@ 编辑 预约记录 复制 + 按天复制 删除 @@ -124,6 +125,29 @@ 关 闭 + +
+ 选择复制起期: + + +
+
+ 选择复制止期: + + +
+ +
+ @@ -137,7 +161,7 @@