提交课程相关接口
This commit is contained in:
parent
60c7ff577d
commit
0427eebee7
@ -52,6 +52,7 @@ public class CourseController extends JeecgController<Course, ICourseService> {
|
||||
@Autowired
|
||||
private ICourseService courseService;
|
||||
|
||||
|
||||
/**
|
||||
* 分页列表查询
|
||||
*
|
||||
|
@ -33,6 +33,7 @@ import lombok.experimental.Accessors;
|
||||
public class Course implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
/**主键*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@Schema(description = "主键")
|
||||
|
@ -14,4 +14,5 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
*/
|
||||
public interface CourseMapper extends BaseMapper<Course> {
|
||||
|
||||
|
||||
}
|
||||
|
@ -11,4 +11,5 @@ import com.baomidou.mybatisplus.extension.service.IService;
|
||||
*/
|
||||
public interface ICourseService extends IService<Course> {
|
||||
|
||||
|
||||
}
|
||||
|
@ -16,4 +16,5 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
@Service
|
||||
public class CourseServiceImpl extends ServiceImpl<CourseMapper, Course> implements ICourseService {
|
||||
|
||||
|
||||
}
|
||||
|
@ -3,6 +3,7 @@ import { useMessage } from "/@/hooks/web/useMessage";
|
||||
|
||||
const { createConfirm } = useMessage();
|
||||
|
||||
|
||||
enum Api {
|
||||
list = '/gen/course/course/list',
|
||||
save='/gen/course/course/add',
|
||||
|
@ -3,6 +3,7 @@ import {FormSchema} from '/@/components/Table';
|
||||
import { rules} from '/@/utils/helper/validator';
|
||||
import { render } from '/@/utils/common/renderUtils';
|
||||
import { getWeekMonthQuarterYear } from '/@/utils';
|
||||
|
||||
//列表数据
|
||||
export const columns: BasicColumn[] = [
|
||||
{
|
||||
|
@ -1,4 +1,5 @@
|
||||
<template>
|
||||
|
||||
<div>
|
||||
<!--引用表格-->
|
||||
<BasicTable @register="registerTable" :rowSelection="rowSelection">
|
||||
|
@ -7,6 +7,7 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<script lang="ts">
|
||||
import {BasicForm, useForm} from '/@/components/Form/index';
|
||||
import {computed, defineComponent} from 'vue';
|
||||
|
@ -4,6 +4,7 @@
|
||||
</BasicModal>
|
||||
</template>
|
||||
|
||||
|
||||
<script lang="ts" setup>
|
||||
import {ref, computed, unref, reactive} from 'vue';
|
||||
import {BasicModal, useModalInner} from '/@/components/Modal';
|
||||
|
Loading…
x
Reference in New Issue
Block a user