mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-14 18:21:53 +08:00
代码生成:主子表的部分实现
This commit is contained in:
@@ -24,6 +24,9 @@ public class SystemUserBaseVO {
|
||||
@Schema(description = "头像", example = "https://www.iocoder.cn/1.png")
|
||||
private String avatar;
|
||||
|
||||
@Schema(description = "视频", example = "https://www.iocoder.cn/1.mp4")
|
||||
private String video;
|
||||
|
||||
@Schema(description = "个人简介", example = "我是介绍")
|
||||
private String description;
|
||||
|
||||
|
@@ -35,6 +35,10 @@ public class SystemUserDO extends BaseDO {
|
||||
* 头像
|
||||
*/
|
||||
private String avatar;
|
||||
/**
|
||||
* 视频
|
||||
*/
|
||||
private String video;
|
||||
/**
|
||||
* 个人简介
|
||||
*/
|
||||
|
@@ -28,6 +28,9 @@ public class SystemUserExcelVO {
|
||||
@ExcelProperty("头像")
|
||||
private String avatar;
|
||||
|
||||
@ExcelProperty("视频")
|
||||
private String video;
|
||||
|
||||
@ExcelProperty("个人简介")
|
||||
private String description;
|
||||
|
||||
|
@@ -3,6 +3,7 @@ CREATE TABLE IF NOT EXISTS "system_user" (
|
||||
"id" bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY,
|
||||
"name" varchar NOT NULL,
|
||||
"avatar" varchar,
|
||||
"video" varchar,
|
||||
"description" varchar,
|
||||
"sex1" varchar,
|
||||
"sex2" int,
|
||||
|
@@ -4,6 +4,7 @@ export interface UserVO {
|
||||
id: number
|
||||
name: string
|
||||
avatar: string
|
||||
video: string
|
||||
description: string
|
||||
sex1: string
|
||||
sex2: number
|
||||
|
@@ -86,6 +86,7 @@ const formData = ref({
|
||||
id: undefined,
|
||||
name: undefined,
|
||||
avatar: undefined,
|
||||
video: undefined,
|
||||
description: undefined,
|
||||
sex1: undefined,
|
||||
sex2: [],
|
||||
@@ -149,6 +150,7 @@ const resetForm = () => {
|
||||
id: undefined,
|
||||
name: undefined,
|
||||
avatar: undefined,
|
||||
video: undefined,
|
||||
description: undefined,
|
||||
sex1: undefined,
|
||||
sex2: [],
|
||||
|
@@ -95,6 +95,11 @@
|
||||
<dict-tag :type="DICT_TYPE.$dictType.toUpperCase()" :value="scope.row.avatar" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="视频" align="center" prop="video">
|
||||
<template #default="scope">
|
||||
<dict-tag :type="DICT_TYPE.$dictType.toUpperCase()" :value="scope.row.video" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="个人简介" align="center" prop="description">
|
||||
<template #default="scope">
|
||||
<dict-tag :type="DICT_TYPE.$dictType.toUpperCase()" :value="scope.row.description" />
|
||||
|
Reference in New Issue
Block a user