feat: 🎸 课程增加学期和是否允许下载字段
This commit is contained in:
parent
7dda8cae1c
commit
87fbf7c686
@ -22,7 +22,7 @@ import lombok.experimental.Accessors;
|
|||||||
/**
|
/**
|
||||||
* @Description: 课程
|
* @Description: 课程
|
||||||
* @Author: jeecg-boot
|
* @Author: jeecg-boot
|
||||||
* @Date: 2025-09-13
|
* @Date: 2025-09-17
|
||||||
* @Version: V1.0
|
* @Version: V1.0
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@ -141,6 +141,14 @@ public class AiolCourse implements Serializable {
|
|||||||
@Excel(name = "上架状态", width = 15)
|
@Excel(name = "上架状态", width = 15)
|
||||||
@Schema(description = "上架状态")
|
@Schema(description = "上架状态")
|
||||||
private java.lang.Integer publishStatus;
|
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 = "创建人")
|
@Schema(description = "创建人")
|
||||||
private java.lang.String createBy;
|
private java.lang.String createBy;
|
||||||
|
@ -102,7 +102,7 @@ export const columns: BasicColumn[] = [
|
|||||||
dataIndex: 'question',
|
dataIndex: 'question',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '是否ai伴学模式',
|
title: '是否ai伴学模式1',
|
||||||
align:"center",
|
align:"center",
|
||||||
dataIndex: 'izAi'
|
dataIndex: 'izAi'
|
||||||
},
|
},
|
||||||
@ -126,6 +126,16 @@ export const columns: BasicColumn[] = [
|
|||||||
align:"center",
|
align:"center",
|
||||||
dataIndex: 'publishStatus'
|
dataIndex: 'publishStatus'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '学期',
|
||||||
|
align:"center",
|
||||||
|
dataIndex: 'semester'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '是否允许下载',
|
||||||
|
align:"center",
|
||||||
|
dataIndex: 'allowDownload'
|
||||||
|
},
|
||||||
];
|
];
|
||||||
//查询数据
|
//查询数据
|
||||||
export const searchFormSchema: FormSchema[] = [
|
export const searchFormSchema: FormSchema[] = [
|
||||||
@ -255,7 +265,7 @@ export const formSchema: FormSchema[] = [
|
|||||||
component: 'JEditor',
|
component: 'JEditor',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '是否ai伴学模式',
|
label: '是否ai伴学模式1',
|
||||||
field: 'izAi',
|
field: 'izAi',
|
||||||
component: 'InputNumber',
|
component: 'InputNumber',
|
||||||
},
|
},
|
||||||
@ -278,6 +288,16 @@ export const formSchema: FormSchema[] = [
|
|||||||
label: '上架状态',
|
label: '上架状态',
|
||||||
field: 'publishStatus',
|
field: 'publishStatus',
|
||||||
component: 'InputNumber',
|
component: 'InputNumber',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '学期',
|
||||||
|
field: 'semester',
|
||||||
|
component: 'Input',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '是否允许下载',
|
||||||
|
field: 'allowDownload',
|
||||||
|
component: 'InputNumber',
|
||||||
},
|
},
|
||||||
// TODO 主键隐藏字段,目前写死为ID
|
// TODO 主键隐藏字段,目前写死为ID
|
||||||
{
|
{
|
||||||
@ -309,11 +329,13 @@ export const superQuerySchema = {
|
|||||||
maxEnroll: {title: '最大报名人数',order: 16,view: 'number', type: 'number',},
|
maxEnroll: {title: '最大报名人数',order: 16,view: 'number', type: 'number',},
|
||||||
status: {title: '状态',order: 17,view: 'number', type: 'number',dictCode: 'course_status',},
|
status: {title: '状态',order: 17,view: 'number', type: 'number',dictCode: 'course_status',},
|
||||||
question: {title: '常见问题',order: 18,view: 'umeditor', type: 'string',},
|
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',},
|
pauseExit: {title: '离开页面是否暂停视频播放',order: 20,view: 'number', type: 'number',},
|
||||||
allowSpeed: {title: '是否允许倍速播放',order: 21,view: 'number', type: 'number',},
|
allowSpeed: {title: '是否允许倍速播放',order: 21,view: 'number', type: 'number',},
|
||||||
showSubtitle: {title: '是否显示字幕',order: 22,view: 'number', type: 'number',},
|
showSubtitle: {title: '是否显示字幕',order: 22,view: 'number', type: 'number',},
|
||||||
publishStatus: {title: '上架状态',order: 23,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',},
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user