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/api/system/trainingItem.js b/src/api/system/trainingItem.js index 137ea15..e2e7ad3 100644 --- a/src/api/system/trainingItem.js +++ b/src/api/system/trainingItem.js @@ -58,6 +58,12 @@ export function updateTrainingItem(data) { data: data }) } +export function selectSubordinateItem(trainingParentId) { + return request({ + url: `/system/trainingItem/selectSubordinateItem?trainingParentId=${trainingParentId}`, + method: 'get', + }) +} // 删除学习培训项目信息 export function delTrainingItem(id) { diff --git a/src/views/system/InformationCategory/index.vue b/src/views/system/InformationCategory/index.vue index 09c87bc..2996346 100644 --- a/src/views/system/InformationCategory/index.vue +++ b/src/views/system/InformationCategory/index.vue @@ -25,6 +25,21 @@ @keyup.enter.native="handleQuery" /> + + + + + + + {{ + scope.row.informationCategoryType == "NURSING_NEWS" + ? "护理新闻" + : "" + }} @@ -203,6 +222,7 @@ @@ -263,6 +283,7 @@ +
+ + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + diff --git a/src/views/system/trainingAvatar/index.vue b/src/views/system/trainingAvatar/index.vue index 2f45da2..028bed5 100644 --- a/src/views/system/trainingAvatar/index.vue +++ b/src/views/system/trainingAvatar/index.vue @@ -1,65 +1,32 @@