feat: 🎸 课程增加学期和是否允许下载字段

This commit is contained in:
GoCo 2025-09-17 10:10:38 +08:00
parent 7dda8cae1c
commit 87fbf7c686
2 changed files with 34 additions and 4 deletions

View File

@ -22,7 +22,7 @@ import lombok.experimental.Accessors;
/**
* @Description: 课程
* @Author: jeecg-boot
* @Date: 2025-09-13
* @Date: 2025-09-17
* @Version: V1.0
*/
@Data
@ -141,6 +141,14 @@ public class AiolCourse implements Serializable {
@Excel(name = "上架状态", width = 15)
@Schema(description = "上架状态")
private java.lang.Integer publishStatus;
/**学期*/
@Excel(name = "学期", width = 15)
@Schema(description = "学期")
private java.lang.String semester;
/**是否允许下载*/
@Excel(name = "是否允许下载", width = 15)
@Schema(description = "是否允许下载")
private java.lang.Integer allowDownload;
/**创建人*/
@Schema(description = "创建人")
private java.lang.String createBy;

View File

@ -102,7 +102,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'question',
},
{
title: '是否ai伴学模式',
title: '是否ai伴学模式1',
align:"center",
dataIndex: 'izAi'
},
@ -126,6 +126,16 @@ export const columns: BasicColumn[] = [
align:"center",
dataIndex: 'publishStatus'
},
{
title: '学期',
align:"center",
dataIndex: 'semester'
},
{
title: '是否允许下载',
align:"center",
dataIndex: 'allowDownload'
},
];
//
export const searchFormSchema: FormSchema[] = [
@ -255,7 +265,7 @@ export const formSchema: FormSchema[] = [
component: 'JEditor',
},
{
label: '是否ai伴学模式',
label: '是否ai伴学模式1',
field: 'izAi',
component: 'InputNumber',
},
@ -278,6 +288,16 @@ export const formSchema: FormSchema[] = [
label: '上架状态',
field: 'publishStatus',
component: 'InputNumber',
},
{
label: '学期',
field: 'semester',
component: 'Input',
},
{
label: '是否允许下载',
field: 'allowDownload',
component: 'InputNumber',
},
// TODO ID
{
@ -309,11 +329,13 @@ export const superQuerySchema = {
maxEnroll: {title: '最大报名人数',order: 16,view: 'number', type: 'number',},
status: {title: '状态',order: 17,view: 'number', type: 'number',dictCode: 'course_status',},
question: {title: '常见问题',order: 18,view: 'umeditor', type: 'string',},
izAi: {title: '是否ai伴学模式',order: 19,view: 'number', type: 'number',},
izAi: {title: '是否ai伴学模式1',order: 19,view: 'number', type: 'number',},
pauseExit: {title: '离开页面是否暂停视频播放',order: 20,view: 'number', type: 'number',},
allowSpeed: {title: '是否允许倍速播放',order: 21,view: 'number', type: 'number',},
showSubtitle: {title: '是否显示字幕',order: 22,view: 'number', type: 'number',},
publishStatus: {title: '上架状态',order: 23,view: 'number', type: 'number',},
semester: {title: '学期',order: 24,view: 'text', type: 'string',},
allowDownload: {title: '是否允许下载',order: 25,view: 'number', type: 'number',},
};
/**