feat(rbac): 为字典种子数据添加列表样式类

This commit is contained in:
wcg
2026-01-04 10:43:19 +08:00
parent 5a212d7949
commit 38463fc477

View File

@@ -32,7 +32,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100,
Remark = "性别男",
IsDeleted = false,
State = true
State = true,
ListClass = "default"
};
entities.Add(dictInfo1);
@@ -46,7 +47,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 99,
Remark = "性别女",
IsDeleted = false,
State = true
State = true,
ListClass = "default"
};
entities.Add(dictInfo2);
@@ -59,7 +61,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 98,
Remark = "性别未知",
IsDeleted = false,
State = true
State = true,
ListClass = "default"
};
entities.Add(dictInfo3);
@@ -74,7 +77,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100,
Remark = "显示菜单",
IsDeleted = false,
State = true
State = true,
ListClass = "success"
};
entities.Add(dictInfo4);
@@ -87,7 +91,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 99,
Remark = "隐藏菜单",
IsDeleted = false,
State = true
State = true,
ListClass = "info"
};
entities.Add(dictInfo5);
@@ -102,7 +107,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100,
Remark = "正常状态",
IsDeleted = false,
State = true
State = true,
ListClass = "success"
};
entities.Add(dictInfo6);
DictionaryEntity dictInfo7 = new DictionaryEntity()
@@ -130,7 +136,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100,
Remark = "正常状态",
IsDeleted = false,
State = true
State = true,
ListClass = "success"
};
entities.Add(dictInfo8);
DictionaryEntity dictInfo9 = new DictionaryEntity()
@@ -159,7 +166,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100,
Remark = "默认分组",
IsDeleted = false,
State = true
State = true,
ListClass = "default"
};
entities.Add(dictInfo10);
DictionaryEntity dictInfo11 = new DictionaryEntity()
@@ -171,7 +179,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 99,
Remark = "系统分组",
IsDeleted = false,
State = true
State = true,
ListClass = "primary"
};
entities.Add(dictInfo11);
@@ -186,7 +195,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100,
Remark = "系统默认是",
IsDeleted = false,
State = true
State = true,
ListClass = "success"
};
entities.Add(dictInfo12);
DictionaryEntity dictInfo13 = new DictionaryEntity()
@@ -214,7 +224,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100,
Remark = "通知",
IsDeleted = false,
State = true
State = true,
ListClass = "info"
};
entities.Add(dictInfo14);
DictionaryEntity dictInfo15 = new DictionaryEntity()
@@ -226,7 +237,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 99,
Remark = "公告",
IsDeleted = false,
State = true
State = true,
ListClass = "primary"
};
entities.Add(dictInfo15);
@@ -239,7 +251,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100,
Remark = "正常状态",
IsDeleted = false,
State = true
State = true,
ListClass = "success"
};
entities.Add(dictInfo16);
DictionaryEntity dictInfo17 = new DictionaryEntity()
@@ -265,7 +278,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100,
Remark = "新增操作",
IsDeleted = false,
State = true
State = true,
ListClass = "success"
};
entities.Add(dictInfo18);
DictionaryEntity dictInfo19 = new DictionaryEntity()
@@ -277,7 +291,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 99,
Remark = "修改操作",
IsDeleted = false,
State = true
State = true,
ListClass = "warning"
};
entities.Add(dictInfo19);
DictionaryEntity dictInfo22 = new DictionaryEntity()
@@ -302,7 +317,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 97,
Remark = "授权操作",
IsDeleted = false,
State = true
State = true,
ListClass = "primary"
};
entities.Add(dictInfo23);
DictionaryEntity dictInfo24 = new DictionaryEntity()
@@ -314,7 +330,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 96,
Remark = "导出操作",
IsDeleted = false,
State = true
State = true,
ListClass = "info"
};
entities.Add(dictInfo24);
DictionaryEntity dictInfo25 = new DictionaryEntity()
@@ -326,7 +343,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 95,
Remark = "导入操作",
IsDeleted = false,
State = true
State = true,
ListClass = "info"
};
entities.Add(dictInfo25);
DictionaryEntity dictInfo26 = new DictionaryEntity()
@@ -338,7 +356,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 94,
Remark = "强退操作",
IsDeleted = false,
State = true
State = true,
ListClass = "warning"
};
entities.Add(dictInfo26);
DictionaryEntity dictInfo27 = new DictionaryEntity()
@@ -350,7 +369,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 93,
Remark = "生成代码操作",
IsDeleted = false,
State = true
State = true,
ListClass = "primary"
};
entities.Add(dictInfo27);
DictionaryEntity dictInfo28 = new DictionaryEntity()
@@ -378,7 +398,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100,
Remark = "正常状态",
IsDeleted = false,
State = true
State = true,
ListClass = "success"
};
entities.Add(dictInfo20);
DictionaryEntity dictInfo21 = new DictionaryEntity()