mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
教师端1期需求
This commit is contained in:
@@ -165,7 +165,7 @@ const appendStudyTime = function(data) {
|
||||
* name: 学习人的姓名
|
||||
*/
|
||||
const studyRecords = function(data) {
|
||||
return ajax.post('/xboe/school/study/course/pagelist',data);
|
||||
return ajax.post('/xboe/school/study/course/pagelistEx',data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -162,17 +162,17 @@ const STATUS_PERMISSIONS = {
|
||||
// 已发布状态
|
||||
published: {
|
||||
enabled: {
|
||||
1: ['edit', 'manage', 'auditRecord', 'qrcode', 'viewCurrent'], //'offShelfApply'
|
||||
2: ['manage', 'auditRecord', 'qrcode', 'viewCurrent'], // withdraw
|
||||
3: ['edit', 'manage', 'auditRecord', 'qrcode', 'viewCurrent'], //'offShelfApply'
|
||||
5: ['edit', 'manage', 'auditRecord', 'qrcode', 'viewCurrent'] //'offShelfApply'
|
||||
1: ['edit', 'manage', 'auditRecord', 'qrcode'], //'offShelfApply', 'viewCurrent'
|
||||
2: ['manage', 'auditRecord', 'qrcode'], // withdraw , 'viewCurrent'
|
||||
3: ['edit', 'manage', 'auditRecord', 'qrcode'], //'offShelfApply', 'viewCurrent'
|
||||
5: ['edit', 'manage', 'auditRecord', 'qrcode'] //'offShelfApply', 'viewCurrent'
|
||||
},
|
||||
disabled: {
|
||||
// 所有状态在停用时操作一致
|
||||
1: ['manage', 'auditRecord', 'viewCurrent'],
|
||||
2: ['manage', 'auditRecord', 'viewCurrent'],
|
||||
3: ['manage', 'auditRecord', 'viewCurrent'],
|
||||
5: ['manage', 'auditRecord', 'viewCurrent']
|
||||
1: ['manage', 'auditRecord'], //, 'viewCurrent'
|
||||
2: ['manage', 'auditRecord'], //, 'viewCurrent'
|
||||
3: ['manage', 'auditRecord'], //, 'viewCurrent'
|
||||
5: ['manage', 'auditRecord'] //, 'viewCurrent'
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -185,7 +185,7 @@ const ACTION_CONFIG = {
|
||||
auditRecord: { label: '审核记录', handler: 'toExamine', icon: 'edit' },
|
||||
qrcode: { label: '二维码', handler: 'handleQrcode', icon: 'ercode' },
|
||||
// offShelfApply: { label: '下架申请', handler: 'handleOffShelfApply' },
|
||||
viewCurrent: { label: '查看当前版本', handler: 'handleViewCurrent', icon: 'detail' },
|
||||
// viewCurrent: { label: '查看当前版本', handler: 'handleViewCurrent', icon: 'detail' },
|
||||
delete: { label: '删除', handler: 'delItem', icon: 'del' },
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user