feat(tenant): 添加租户编码字段及相关功能

- 在后端模型、schema和前端接口中添加code字段
- 在前端表格和表单中显示和编辑code字段
- 修改租户名称长度限制从50到64字符
- 添加编码字段的验证逻辑
- 更新WangEditor组件返回纯文本格式
This commit is contained in:
zhangtao
2025-11-13 23:47:52 +08:00
parent 196d8e1026
commit 086bce3972
6 changed files with 46 additions and 7 deletions
+2
View File
@@ -98,6 +98,7 @@ export interface ObjTable {
index?: number;
id?: number;
name?: string;
code?: string;
status?: boolean;
description?: string;
created_at?: string;
@@ -108,6 +109,7 @@ export interface ObjTable {
export interface ObjForm {
id?: number;
name?: string;
code?: string;
status?: boolean;
description?: string;
}