From aa4c6c1464915974787cb75daf6102597626e3ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=B6=E4=B8=9C?= <1654135867@qq.com> Date: Sat, 11 May 2024 11:11:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BB=BA=E8=AF=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/course/modules/yjjk/TestWay.vue | 199 ++++++++ .../views/course/modules/yjjk/chapterList.vue | 454 ++++++++++++++++++ .../course/modules/yjjk/chapterManage.vue | 82 ++++ .../course/modules/yjjk/knowledgeManage.vue | 359 ++++++++++++++ .../modules/course/entity/SeCoureseType.java | 28 ++ .../course/mapper/SeCourseMethodMapper.java | 9 + .../service/ISecourseMethodService.java | 7 + .../course/service/impl/SeCourseMethod.java | 13 + 8 files changed, 1151 insertions(+) create mode 100644 ant-design-vue-jeecg/src/views/course/modules/yjjk/TestWay.vue create mode 100644 ant-design-vue-jeecg/src/views/course/modules/yjjk/chapterList.vue create mode 100644 ant-design-vue-jeecg/src/views/course/modules/yjjk/chapterManage.vue create mode 100644 ant-design-vue-jeecg/src/views/course/modules/yjjk/knowledgeManage.vue create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/course/entity/SeCoureseType.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/course/mapper/SeCourseMethodMapper.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/course/service/ISecourseMethodService.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/course/service/impl/SeCourseMethod.java diff --git a/ant-design-vue-jeecg/src/views/course/modules/yjjk/TestWay.vue b/ant-design-vue-jeecg/src/views/course/modules/yjjk/TestWay.vue new file mode 100644 index 0000000..86bd72e --- /dev/null +++ b/ant-design-vue-jeecg/src/views/course/modules/yjjk/TestWay.vue @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 上一步 + {{setNum==4?'完成':'下一步'}} + + + + + + + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/course/modules/yjjk/chapterList.vue b/ant-design-vue-jeecg/src/views/course/modules/yjjk/chapterList.vue new file mode 100644 index 0000000..486f600 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/course/modules/yjjk/chapterList.vue @@ -0,0 +1,454 @@ + + + + + + + + + + + + + {{item.name}} + + + + + + + + + + + {{item.totalclasshours}} + + + + + + + + 共{{item.childChapter.length}}小节 已经分配 {{item.showListstudyTime}}学时 未分配{{ (item.totalclasshours-item.showListstudyTime).toFixed(1) }}学时 + + + + + 删除 + 修改 + 确认 + + + + + + + + + + + + + + + {{row.name}} + + + + + + + + + + + + + {{row.totalclasshours}} + + + + + + + + + 已经分配 {{row.totalclasshours}}学时 未分配学时 + + + + + + 删除 + 修改 + 确认 + + + + + + + + + + + + + + + + + 取消 + 确定 + + + + + + 确定 + 新一节 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 确定 + 取消 + + + + + + 新一章 + + + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/course/modules/yjjk/chapterManage.vue b/ant-design-vue-jeecg/src/views/course/modules/yjjk/chapterManage.vue new file mode 100644 index 0000000..1a424bd --- /dev/null +++ b/ant-design-vue-jeecg/src/views/course/modules/yjjk/chapterManage.vue @@ -0,0 +1,82 @@ + + + + + + + + + + 已选择 + 项 + 清空 + + + + + + + + + + + 上一步 + {{setNum==4?'完成':'下一步'}} + + + + + + + diff --git a/ant-design-vue-jeecg/src/views/course/modules/yjjk/knowledgeManage.vue b/ant-design-vue-jeecg/src/views/course/modules/yjjk/knowledgeManage.vue new file mode 100644 index 0000000..7078501 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/course/modules/yjjk/knowledgeManage.vue @@ -0,0 +1,359 @@ + + + + + + + + + 已选择 + 项 + 清空 + + + + + + + + + {{items.name}} + + + {{items.totalclasshours}}学时 + + + {{items.childCount}} + + + + 已分配 {{items.usedKnow}} 学时 剩余 {{items.leaveKnow}} 学时 + + + + + + + + + + {{item.name}} + + + {{item.totalclasshours}} 学时 + + + 已经分配{{item.usedKnow}} 未分配{{item.konwLeave}} + + + 管理知识点 + + + + + + + {{list.know}} + + + 学时 {{list.xs}} + + + + + + + + + 新增 + + + + + + + + {{row.know}} + + + + + + + + + + + + + {{row.xs}} + + + + + + + + + + + + + + + + + + + 编辑 + + + 确定 + + + + + 删除 + + + + + + + + + 取 消 + 确 定 + + + + + + + + 上一步 + {{setNum==4?'完成':'下一步'}} + + + + + + + \ No newline at end of file diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/course/entity/SeCoureseType.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/course/entity/SeCoureseType.java new file mode 100644 index 0000000..0982d0b --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/course/entity/SeCoureseType.java @@ -0,0 +1,28 @@ +package org.jeecg.modules.course.entity; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import org.jeecg.common.aspect.annotation.Dict; + +import java.io.Serializable; + + +@Data +@TableName("assessment_method") +@ApiModel(value="assessment_method", description="课程考核方式") +public class SeCoureseType implements Serializable { + @TableId(type = IdType.ASSIGN_ID) + @ApiModelProperty(value = "主键") + private String id; + @ApiModelProperty(value = "过程阶段百分比") + private String processAssessment; + @ApiModelProperty(value = "期末考试百分比") + private String finalExam; + @ApiModelProperty(value = "课程id") + @Dict(dicCode = "id", dicText = "name", dictTable = "se_course") + private String name; +} diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/course/mapper/SeCourseMethodMapper.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/course/mapper/SeCourseMethodMapper.java new file mode 100644 index 0000000..1e4fa85 --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/course/mapper/SeCourseMethodMapper.java @@ -0,0 +1,9 @@ +package org.jeecg.modules.course.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; +import org.jeecg.modules.course.entity.SeCoureseType; + +@Mapper +public interface SeCourseMethodMapper extends BaseMapper { +} diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/course/service/ISecourseMethodService.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/course/service/ISecourseMethodService.java new file mode 100644 index 0000000..af08d8c --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/course/service/ISecourseMethodService.java @@ -0,0 +1,7 @@ +package org.jeecg.modules.course.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import org.jeecg.modules.course.entity.SeCoureseType; + +public interface ISecourseMethodService extends IService { +} diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/course/service/impl/SeCourseMethod.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/course/service/impl/SeCourseMethod.java new file mode 100644 index 0000000..20c0343 --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/course/service/impl/SeCourseMethod.java @@ -0,0 +1,13 @@ +package org.jeecg.modules.course.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import org.jeecg.modules.course.entity.SeCoureseType; +import org.jeecg.modules.course.entity.SeCourseobjectives; +import org.jeecg.modules.course.mapper.SeCourseMethodMapper; +import org.jeecg.modules.course.mapper.SeCourseobjectivesMapper; +import org.jeecg.modules.course.service.ISecourseMethodService; +import org.springframework.stereotype.Service; + +@Service +public class SeCourseMethod extends ServiceImpl implements ISecourseMethodService { +}