diff --git a/jeecg-boot/jeecg-boot-module/jeecg-module-aiol/src/main/java/org/jeecg/modules/aiol/entity/AiolCourse.java b/jeecg-boot/jeecg-boot-module/jeecg-module-aiol/src/main/java/org/jeecg/modules/aiol/entity/AiolCourse.java index 09189c07..d5858443 100644 --- a/jeecg-boot/jeecg-boot-module/jeecg-module-aiol/src/main/java/org/jeecg/modules/aiol/entity/AiolCourse.java +++ b/jeecg-boot/jeecg-boot-module/jeecg-module-aiol/src/main/java/org/jeecg/modules/aiol/entity/AiolCourse.java @@ -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; diff --git a/jeecgboot-vue3/src/views/aiol/AiolCourse.data.ts b/jeecgboot-vue3/src/views/aiol/AiolCourse.data.ts index 9eb44bbf..c79188c3 100644 --- a/jeecgboot-vue3/src/views/aiol/AiolCourse.data.ts +++ b/jeecgboot-vue3/src/views/aiol/AiolCourse.data.ts @@ -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',}, }; /**