diff --git a/src/api/system/playRecord.js b/src/api/system/playRecord.js new file mode 100644 index 0000000..82d9840 --- /dev/null +++ b/src/api/system/playRecord.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询学习培训项目播放日志记录列表 +export function listPlayRecord(query) { + return request({ + url: '/system/playRecord/trainingItemPlayRecordList', + method: 'get', + params: query + }) +} + +// 查询学习培训项目播放日志记录详细 +export function getPlayRecord(id) { + return request({ + url: '/system/playRecord/' + id, + method: 'get' + }) +} + +// 新增学习培训项目播放日志记录 +export function addPlayRecord(data) { + return request({ + url: '/system/playRecord', + method: 'post', + data: data + }) +} + +// 修改学习培训项目播放日志记录 +export function updatePlayRecord(data) { + return request({ + url: '/system/playRecord', + method: 'put', + data: data + }) +} + +// 删除学习培训项目播放日志记录 +export function delPlayRecord(id) { + return request({ + url: '/system/playRecord/' + id, + method: 'delete' + }) +} diff --git a/src/views/system/playRecordStatistics/index.vue b/src/views/system/playRecordStatistics/index.vue new file mode 100644 index 0000000..cff9487 --- /dev/null +++ b/src/views/system/playRecordStatistics/index.vue @@ -0,0 +1,381 @@ + + +