refactor: ♻️ 字典调整按需加载,api、store和枚举文件命名优化
This commit is contained in:
@@ -99,11 +99,11 @@ export default defineMock([
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "dict-data",
|
||||
component: "system/dict/data",
|
||||
name: "DictData",
|
||||
path: "dict-item",
|
||||
component: "system/dict/dict-item",
|
||||
name: "DictItem",
|
||||
meta: {
|
||||
title: "字典数据",
|
||||
title: "字典项",
|
||||
icon: "",
|
||||
hidden: true,
|
||||
keepAlive: true,
|
||||
@@ -880,11 +880,11 @@ export default defineMock([
|
||||
{
|
||||
id: 135,
|
||||
parentId: 1,
|
||||
name: "字典数据",
|
||||
name: "字典项",
|
||||
type: "MENU",
|
||||
routeName: "DictData",
|
||||
routePath: "dict-data",
|
||||
component: "system/dict/data",
|
||||
routePath: "dict-item",
|
||||
component: "system/dict/dict-item",
|
||||
sort: 6,
|
||||
visible: 0,
|
||||
icon: "",
|
||||
@@ -894,7 +894,7 @@ export default defineMock([
|
||||
{
|
||||
id: 136,
|
||||
parentId: 135,
|
||||
name: "字典数据新增",
|
||||
name: "字典项新增",
|
||||
type: "BUTTON",
|
||||
routeName: null,
|
||||
routePath: "",
|
||||
@@ -903,13 +903,13 @@ export default defineMock([
|
||||
visible: 1,
|
||||
icon: "",
|
||||
redirect: null,
|
||||
perm: "sys:dict-data:add",
|
||||
perm: "sys:dict-item:add",
|
||||
children: [],
|
||||
},
|
||||
{
|
||||
id: 137,
|
||||
parentId: 135,
|
||||
name: "字典数据编辑",
|
||||
name: "字典项编辑",
|
||||
type: "BUTTON",
|
||||
routeName: null,
|
||||
routePath: "",
|
||||
@@ -918,13 +918,13 @@ export default defineMock([
|
||||
visible: 1,
|
||||
icon: "",
|
||||
redirect: null,
|
||||
perm: "sys:dict-data:edit",
|
||||
perm: "sys:dict-item:edit",
|
||||
children: [],
|
||||
},
|
||||
{
|
||||
id: 138,
|
||||
parentId: 135,
|
||||
name: "字典数据删除",
|
||||
name: "字典项删除",
|
||||
type: "BUTTON",
|
||||
routeName: null,
|
||||
routePath: "",
|
||||
@@ -933,7 +933,7 @@ export default defineMock([
|
||||
visible: 1,
|
||||
icon: "",
|
||||
redirect: null,
|
||||
perm: "sys:dict-data:delete",
|
||||
perm: "sys:dict-item:delete",
|
||||
children: [],
|
||||
},
|
||||
],
|
||||
@@ -1695,23 +1695,23 @@ export default defineMock([
|
||||
},
|
||||
{
|
||||
value: "135",
|
||||
label: "字典数据",
|
||||
label: "字典项",
|
||||
children: [
|
||||
{
|
||||
value: "143",
|
||||
label: "字典数据查询",
|
||||
label: "字典项查询",
|
||||
},
|
||||
{
|
||||
value: "136",
|
||||
label: "字典数据新增",
|
||||
label: "字典项新增",
|
||||
},
|
||||
{
|
||||
value: "137",
|
||||
label: "字典数据编辑",
|
||||
label: "字典项编辑",
|
||||
},
|
||||
{
|
||||
value: "138",
|
||||
label: "字典数据删除",
|
||||
label: "字典项删除",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user