教师端1期需求

This commit is contained in:
赵依梦
2025-12-07 11:32:25 +08:00
committed by joshen
parent af7fe81560
commit d8d6bc65b6
2 changed files with 10 additions and 10 deletions

View File

@@ -165,7 +165,7 @@ const appendStudyTime = function(data) {
* name: 学习人的姓名 * name: 学习人的姓名
*/ */
const studyRecords = function(data) { const studyRecords = function(data) {
return ajax.post('/xboe/school/study/course/pagelist',data); return ajax.post('/xboe/school/study/course/pagelistEx',data);
} }
/** /**

View File

@@ -162,17 +162,17 @@ const STATUS_PERMISSIONS = {
// 已发布状态 // 已发布状态
published: { published: {
enabled: { enabled: {
1: ['edit', 'manage', 'auditRecord', 'qrcode', 'viewCurrent'], //'offShelfApply' 1: ['edit', 'manage', 'auditRecord', 'qrcode'], //'offShelfApply', 'viewCurrent'
2: ['manage', 'auditRecord', 'qrcode', 'viewCurrent'], // withdraw 2: ['manage', 'auditRecord', 'qrcode'], // withdraw , 'viewCurrent'
3: ['edit', 'manage', 'auditRecord', 'qrcode', 'viewCurrent'], //'offShelfApply' 3: ['edit', 'manage', 'auditRecord', 'qrcode'], //'offShelfApply', 'viewCurrent'
5: ['edit', 'manage', 'auditRecord', 'qrcode', 'viewCurrent'] //'offShelfApply' 5: ['edit', 'manage', 'auditRecord', 'qrcode'] //'offShelfApply', 'viewCurrent'
}, },
disabled: { disabled: {
// 所有状态在停用时操作一致 // 所有状态在停用时操作一致
1: ['manage', 'auditRecord', 'viewCurrent'], 1: ['manage', 'auditRecord'], //, 'viewCurrent'
2: ['manage', 'auditRecord', 'viewCurrent'], 2: ['manage', 'auditRecord'], //, 'viewCurrent'
3: ['manage', 'auditRecord', 'viewCurrent'], 3: ['manage', 'auditRecord'], //, 'viewCurrent'
5: ['manage', 'auditRecord', 'viewCurrent'] 5: ['manage', 'auditRecord'] //, 'viewCurrent'
} }
} }
} }
@@ -185,7 +185,7 @@ const ACTION_CONFIG = {
auditRecord: { label: '审核记录', handler: 'toExamine', icon: 'edit' }, auditRecord: { label: '审核记录', handler: 'toExamine', icon: 'edit' },
qrcode: { label: '二维码', handler: 'handleQrcode', icon: 'ercode' }, qrcode: { label: '二维码', handler: 'handleQrcode', icon: 'ercode' },
// offShelfApply: { label: '下架申请', handler: 'handleOffShelfApply' }, // offShelfApply: { label: '下架申请', handler: 'handleOffShelfApply' },
viewCurrent: { label: '查看当前版本', handler: 'handleViewCurrent', icon: 'detail' }, // viewCurrent: { label: '查看当前版本', handler: 'handleViewCurrent', icon: 'detail' },
delete: { label: '删除', handler: 'delItem', icon: 'del' }, delete: { label: '删除', handler: 'delItem', icon: 'del' },
} }