ct 2 dagen geleden
bovenliggende
commit
ec89b06739
1 gewijzigde bestanden met toevoegingen van 2 en 180 verwijderingen
  1. 2 180
      src/api/course/userCoursePeriod.js

+ 2 - 180
src/api/course/userCoursePeriod.js

@@ -17,14 +17,7 @@ export function getDays(query) {
   })
 }
 
-// 自定义查询主列表分页
-export function pagePeriod(data) {
-  return request({
-    url: '/course/period/page',
-    method: 'post',
-    data: data
-  })
-}
+
 
 // 查询会员营期详细
 export function getPeriod(periodId) {
@@ -43,14 +36,7 @@ export function addPeriod(data) {
   })
 }
 
-// 新增会员营期
-export function addCourse(data) {
-  return request({
-    url: '/course/period/addCourse',
-    method: 'post',
-    data: data
-  })
-}
+
 
 // 新增会员营期
 export function updateCourseTime(data) {
@@ -68,23 +54,7 @@ export function updateCourseDate(data) {
     data: data
   })
 }
-// 新增会员营期
-export function updateListCourseData(data) {
-  return request({
-    url: '/course/period/updateListCourseData',
-    method: 'post',
-    data: data
-  })
-}
 
-// 修改会员营期
-export function updatePeriod(data) {
-  return request({
-    url: '/course/period',
-    method: 'put',
-    data: data
-  })
-}
 
 // 删除会员营期
 export function delPeriod(periodId) {
@@ -103,14 +73,6 @@ export function exportPeriod(query) {
   })
 }
 
-// 根据营期id获取公司红包金额列表
-export function getPeriodCompanyList(query) {
-  return request({
-    url: '/course/period/companyList',
-    method: 'get',
-    params: query
-  })
-}
 
 // 按照课程批量设置红包金额
 export function batchSaveRedPacket(data) {
@@ -121,14 +83,6 @@ export function batchSaveRedPacket(data) {
   })
 }
 
-// 获取设置红包金额列表展示
-export function getPeriodRedPacketList(query) {
-  return request({
-    url: '/course/period/redPacketList',
-    method: 'get',
-    params: query
-  })
-}
 
 // 按照营期批量设置红包金额
 export function batchSaveRedPacketByPeriod(data) {
@@ -139,23 +93,7 @@ export function batchSaveRedPacketByPeriod(data) {
   })
 }
 
-// 按照营期、按课程统计
-export function periodCountSelect(data) {
-  return request({
-    url: '/course/period/periodCount',
-    method: 'post',
-    data: data
-  })
-}
 
-// 获取营期选项列表
-export function getPeriodListLikeName(query) {
-  return request({
-    url: '/course/period/getPeriodListLikeName',
-    method: 'get',
-    params: query
-  })
-}
 
 // 营期课程上移下移
 export function periodCourseMove(data) {
@@ -200,24 +138,6 @@ export function periodList(data) {
   })
 }
 
-import request from '@/utils/request'
-
-// 查询会员营期列表
-export function listPeriod(query) {
-  return request({
-    url: '/course/period/list',
-    method: 'get',
-    params: query
-  })
-}
-// 查询会员营期列表
-export function getDays(query) {
-  return request({
-    url: '/course/period/getDays',
-    method: 'get',
-    params: query
-  })
-}
 
 // 自定义查询主列表分页
 export function pagePeriod(data) {
@@ -228,22 +148,7 @@ export function pagePeriod(data) {
   })
 }
 
-// 查询会员营期详细
-export function getPeriod(periodId) {
-  return request({
-    url: '/course/period/' + periodId,
-    method: 'get'
-  })
-}
 
-// 新增会员营期
-export function addPeriod(data) {
-  return request({
-    url: '/course/period',
-    method: 'post',
-    data: data
-  })
-}
 
 // 新增会员营期
 export function addCourse(data) {
@@ -254,22 +159,6 @@ export function addCourse(data) {
   })
 }
 
-// 新增会员营期
-export function updateCourseTime(data) {
-  return request({
-    url: '/course/period/updateCourseTime',
-    method: 'post',
-    data: data
-  })
-}
-// 新增会员营期
-export function updateCourseDate(data) {
-  return request({
-    url: '/course/period/updateCourseDate',
-    method: 'post',
-    data: data
-  })
-}
 // 新增会员营期
 export function updateListCourseData(data) {
   return request({
@@ -288,23 +177,6 @@ export function updatePeriod(data) {
   })
 }
 
-// 删除会员营期
-export function delPeriod(periodId) {
-  return request({
-    url: '/course/period/' + periodId,
-    method: 'delete'
-  })
-}
-
-// 导出会员营期
-export function exportPeriod(query) {
-  return request({
-    url: '/course/period/export',
-    method: 'get',
-    params: query
-  })
-}
-
 // 根据营期id获取公司红包金额列表
 export function getPeriodCompanyList(query) {
   return request({
@@ -314,14 +186,6 @@ export function getPeriodCompanyList(query) {
   })
 }
 
-// 按照课程批量设置红包金额
-export function batchSaveRedPacket(data) {
-  return request({
-    url: '/course/period/batchRedPacket',
-    method: 'post',
-    data: data
-  })
-}
 
 // 获取设置红包金额列表展示
 export function getPeriodRedPacketList(query) {
@@ -332,14 +196,6 @@ export function getPeriodRedPacketList(query) {
   })
 }
 
-// 按照营期批量设置红包金额
-export function batchSaveRedPacketByPeriod(data) {
-  return request({
-    url: '/course/period/batchRedPacket/byPeriod',
-    method: 'post',
-    data: data
-  })
-}
 
 // 按照营期、按课程统计
 export function periodCountSelect(data) {
@@ -350,13 +206,6 @@ export function periodCountSelect(data) {
   })
 }
 
-export function periodCourseStatisticCount(data) {
-  return request({
-    url: '/course/period/periodCourseStatisticCount',
-    method: 'post',
-    data: data
-  })
-}
 
 // 获取营期选项列表
 export function getPeriodListLikeName(query) {
@@ -366,30 +215,3 @@ export function getPeriodListLikeName(query) {
     params: query
   })
 }
-
-// 营期课程上移下移
-export function periodCourseMove(data) {
-  return request({
-    url: '/course/period/courseMove',
-    method: 'put',
-    params: data
-  })
-}
-
-// 结束营期
-export function closePeriod(query) {
-  return request({
-    url: '/course/period/closePeriod',
-    method: 'post',
-    params: query
-  })
-}
-
-// 查询该会员下该训练营下操作过的所有营期
-export function periodList(data) {
-  return request({
-    url: '/course/period/periodlist',
-    method: 'post',
-    data: data
-  })
-}