添加静态路由
This commit is contained in:
parent
48881c563f
commit
1ed1f6efc3
|
@ -3,6 +3,82 @@ export const getPages = (): Promise<any> => {
|
||||||
resolve({
|
resolve({
|
||||||
code: 200,
|
code: 200,
|
||||||
data: [
|
data: [
|
||||||
|
{
|
||||||
|
btnList: [],
|
||||||
|
|
||||||
|
createBy: null,
|
||||||
|
createTime: null,
|
||||||
|
deleteFlag: null,
|
||||||
|
icon: "LineMdAccount",
|
||||||
|
isFull: {
|
||||||
|
extData: {
|
||||||
|
boolVal: false,
|
||||||
|
},
|
||||||
|
label: "否",
|
||||||
|
value: 1,
|
||||||
|
},
|
||||||
|
isKeepAlive: {
|
||||||
|
extData: {
|
||||||
|
boolVal: true,
|
||||||
|
},
|
||||||
|
label: "是",
|
||||||
|
value: 0,
|
||||||
|
},
|
||||||
|
link: "",
|
||||||
|
name: "总览大屏",
|
||||||
|
orderIndex: null,
|
||||||
|
parentId: "0",
|
||||||
|
path: "/overviewLargeScreen",
|
||||||
|
redirect: "",
|
||||||
|
remark: "",
|
||||||
|
snowFlakeId: "overviewLargeScreen",
|
||||||
|
status: null,
|
||||||
|
type: {
|
||||||
|
extData: null,
|
||||||
|
label: "目录",
|
||||||
|
value: "menu",
|
||||||
|
},
|
||||||
|
updateBy: null,
|
||||||
|
updateTime: null,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
btnList: [],
|
||||||
|
|
||||||
|
createBy: null,
|
||||||
|
createTime: null,
|
||||||
|
deleteFlag: null,
|
||||||
|
icon: "LineMdAccount",
|
||||||
|
isFull: {
|
||||||
|
extData: {
|
||||||
|
boolVal: false,
|
||||||
|
},
|
||||||
|
label: "否",
|
||||||
|
value: 1,
|
||||||
|
},
|
||||||
|
isKeepAlive: {
|
||||||
|
extData: {
|
||||||
|
boolVal: true,
|
||||||
|
},
|
||||||
|
label: "是",
|
||||||
|
value: 0,
|
||||||
|
},
|
||||||
|
link: "",
|
||||||
|
name: "共享食谱",
|
||||||
|
orderIndex: null,
|
||||||
|
parentId: "0",
|
||||||
|
path: "/shareRecipes",
|
||||||
|
redirect: "",
|
||||||
|
remark: "",
|
||||||
|
snowFlakeId: "shareRecipes",
|
||||||
|
status: null,
|
||||||
|
type: {
|
||||||
|
extData: null,
|
||||||
|
label: "目录",
|
||||||
|
value: "menu",
|
||||||
|
},
|
||||||
|
updateBy: null,
|
||||||
|
updateTime: null,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
btnList: [],
|
btnList: [],
|
||||||
children: [
|
children: [
|
||||||
|
@ -28,7 +104,7 @@ export const getPages = (): Promise<any> => {
|
||||||
value: 0,
|
value: 0,
|
||||||
},
|
},
|
||||||
link: "",
|
link: "",
|
||||||
name: "部门架构",
|
name: "采购名录",
|
||||||
orderIndex: null,
|
orderIndex: null,
|
||||||
parentId: "1907342465921191936",
|
parentId: "1907342465921191936",
|
||||||
path: "/personnelManagement/departmentStructure",
|
path: "/personnelManagement/departmentStructure",
|
||||||
|
@ -66,7 +142,7 @@ export const getPages = (): Promise<any> => {
|
||||||
value: 0,
|
value: 0,
|
||||||
},
|
},
|
||||||
link: "",
|
link: "",
|
||||||
name: "企业员工",
|
name: "库存盘点",
|
||||||
orderIndex: null,
|
orderIndex: null,
|
||||||
parentId: "1907342465921191936",
|
parentId: "1907342465921191936",
|
||||||
path: "/personnelManagement/enterpriseStaff",
|
path: "/personnelManagement/enterpriseStaff",
|
||||||
|
@ -104,7 +180,7 @@ export const getPages = (): Promise<any> => {
|
||||||
value: 0,
|
value: 0,
|
||||||
},
|
},
|
||||||
link: "",
|
link: "",
|
||||||
name: "安保员工",
|
name: "采购计划",
|
||||||
orderIndex: null,
|
orderIndex: null,
|
||||||
parentId: "1907342465921191936",
|
parentId: "1907342465921191936",
|
||||||
path: "/personnelManagement/securityStaff",
|
path: "/personnelManagement/securityStaff",
|
||||||
|
@ -120,6 +196,44 @@ export const getPages = (): Promise<any> => {
|
||||||
updateBy: null,
|
updateBy: null,
|
||||||
updateTime: null,
|
updateTime: null,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
btnList: [],
|
||||||
|
children: [],
|
||||||
|
createBy: null,
|
||||||
|
createTime: null,
|
||||||
|
deleteFlag: null,
|
||||||
|
icon: "LineMdAccount",
|
||||||
|
isFull: {
|
||||||
|
extData: {
|
||||||
|
boolVal: false,
|
||||||
|
},
|
||||||
|
label: "否",
|
||||||
|
value: 1,
|
||||||
|
},
|
||||||
|
isKeepAlive: {
|
||||||
|
extData: {
|
||||||
|
boolVal: true,
|
||||||
|
},
|
||||||
|
label: "是",
|
||||||
|
value: 0,
|
||||||
|
},
|
||||||
|
link: "",
|
||||||
|
name: "历史采购",
|
||||||
|
orderIndex: null,
|
||||||
|
parentId: "1907342465921191936",
|
||||||
|
path: "/personnelManagement/historicalPurchase",
|
||||||
|
redirect: "",
|
||||||
|
remark: "",
|
||||||
|
snowFlakeId: "1907344307979816962",
|
||||||
|
status: null,
|
||||||
|
type: {
|
||||||
|
extData: null,
|
||||||
|
label: "菜单",
|
||||||
|
value: "menu",
|
||||||
|
},
|
||||||
|
updateBy: null,
|
||||||
|
updateTime: null,
|
||||||
|
}
|
||||||
],
|
],
|
||||||
createBy: null,
|
createBy: null,
|
||||||
createTime: null,
|
createTime: null,
|
||||||
|
@ -140,7 +254,7 @@ export const getPages = (): Promise<any> => {
|
||||||
value: 0,
|
value: 0,
|
||||||
},
|
},
|
||||||
link: "",
|
link: "",
|
||||||
name: "人事管理",
|
name: "采购管理",
|
||||||
orderIndex: null,
|
orderIndex: null,
|
||||||
parentId: "0",
|
parentId: "0",
|
||||||
path: "/personnelManagement",
|
path: "/personnelManagement",
|
||||||
|
@ -205,6 +319,82 @@ export const getPages = (): Promise<any> => {
|
||||||
updateBy: null,
|
updateBy: null,
|
||||||
updateTime: null,
|
updateTime: null,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
btnList: [],
|
||||||
|
children: [],
|
||||||
|
createBy: null,
|
||||||
|
createTime: null,
|
||||||
|
deleteFlag: null,
|
||||||
|
icon: "EosIconsRoleBinding",
|
||||||
|
isFull: {
|
||||||
|
extData: {
|
||||||
|
boolVal: false,
|
||||||
|
},
|
||||||
|
label: "否",
|
||||||
|
value: 1,
|
||||||
|
},
|
||||||
|
isKeepAlive: {
|
||||||
|
extData: {
|
||||||
|
boolVal: false,
|
||||||
|
},
|
||||||
|
label: "否",
|
||||||
|
value: 1,
|
||||||
|
},
|
||||||
|
link: "",
|
||||||
|
name: "用户管理",
|
||||||
|
orderIndex: null,
|
||||||
|
parentId: "1904795567075102720",
|
||||||
|
path: "/system/user",
|
||||||
|
redirect: "",
|
||||||
|
remark: "",
|
||||||
|
snowFlakeId: "1904812573660811546",
|
||||||
|
status: null,
|
||||||
|
type: {
|
||||||
|
extData: null,
|
||||||
|
label: "菜单",
|
||||||
|
value: "menu",
|
||||||
|
},
|
||||||
|
updateBy: null,
|
||||||
|
updateTime: null,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
btnList: [],
|
||||||
|
children: [],
|
||||||
|
createBy: null,
|
||||||
|
createTime: null,
|
||||||
|
deleteFlag: null,
|
||||||
|
icon: "EosIconsRoleBinding",
|
||||||
|
isFull: {
|
||||||
|
extData: {
|
||||||
|
boolVal: false,
|
||||||
|
},
|
||||||
|
label: "否",
|
||||||
|
value: 1,
|
||||||
|
},
|
||||||
|
isKeepAlive: {
|
||||||
|
extData: {
|
||||||
|
boolVal: false,
|
||||||
|
},
|
||||||
|
label: "否",
|
||||||
|
value: 1,
|
||||||
|
},
|
||||||
|
link: "",
|
||||||
|
name: "操作日志",
|
||||||
|
orderIndex: null,
|
||||||
|
parentId: "1904795567075102720",
|
||||||
|
path: "/system/dept",
|
||||||
|
redirect: "",
|
||||||
|
remark: "",
|
||||||
|
snowFlakeId: "1904812573660812154",
|
||||||
|
status: null,
|
||||||
|
type: {
|
||||||
|
extData: null,
|
||||||
|
label: "菜单",
|
||||||
|
value: "menu",
|
||||||
|
},
|
||||||
|
updateBy: null,
|
||||||
|
updateTime: null,
|
||||||
|
}
|
||||||
],
|
],
|
||||||
createBy: null,
|
createBy: null,
|
||||||
createTime: null,
|
createTime: null,
|
||||||
|
@ -229,7 +419,7 @@ export const getPages = (): Promise<any> => {
|
||||||
orderIndex: null,
|
orderIndex: null,
|
||||||
parentId: "0",
|
parentId: "0",
|
||||||
path: "/system",
|
path: "/system",
|
||||||
redirect: "/system/user",
|
redirect: "/system",
|
||||||
remark: "",
|
remark: "",
|
||||||
snowFlakeId: "1904795567075102720",
|
snowFlakeId: "1904795567075102720",
|
||||||
status: null,
|
status: null,
|
||||||
|
@ -266,87 +456,10 @@ export const getPages = (): Promise<any> => {
|
||||||
value: 1,
|
value: 1,
|
||||||
},
|
},
|
||||||
link: "",
|
link: "",
|
||||||
name: "菜单管理",
|
name: "每日食谱",
|
||||||
orderIndex: null,
|
|
||||||
parentId: "1905455414980382720",
|
|
||||||
path: "/development/menu",
|
|
||||||
redirect: "",
|
|
||||||
remark: "",
|
|
||||||
snowFlakeId: "1905455579321602048",
|
|
||||||
status: null,
|
|
||||||
type: {
|
|
||||||
extData: null,
|
|
||||||
label: "菜单",
|
|
||||||
value: "menu",
|
|
||||||
},
|
|
||||||
updateBy: null,
|
|
||||||
updateTime: null,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
createBy: null,
|
|
||||||
createTime: null,
|
|
||||||
deleteFlag: null,
|
|
||||||
icon: "LineMdDocumentCode",
|
|
||||||
isFull: {
|
|
||||||
extData: {
|
|
||||||
boolVal: false,
|
|
||||||
},
|
|
||||||
label: "否",
|
|
||||||
value: 1,
|
|
||||||
},
|
|
||||||
isKeepAlive: {
|
|
||||||
extData: {
|
|
||||||
boolVal: false,
|
|
||||||
},
|
|
||||||
label: "否",
|
|
||||||
value: 1,
|
|
||||||
},
|
|
||||||
link: "",
|
|
||||||
name: "开发管理",
|
|
||||||
orderIndex: null,
|
|
||||||
parentId: "0",
|
|
||||||
path: "/development",
|
|
||||||
redirect: "",
|
|
||||||
remark: "",
|
|
||||||
snowFlakeId: "1905455414980382720",
|
|
||||||
status: null,
|
|
||||||
type: {
|
|
||||||
extData: null,
|
|
||||||
label: "目录",
|
|
||||||
value: "dir",
|
|
||||||
},
|
|
||||||
updateBy: null,
|
|
||||||
updateTime: null,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
btnList: [],
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
btnList: [],
|
|
||||||
children: [],
|
|
||||||
createBy: null,
|
|
||||||
createTime: null,
|
|
||||||
deleteFlag: null,
|
|
||||||
icon: "LineMdList",
|
|
||||||
isFull: {
|
|
||||||
extData: {
|
|
||||||
boolVal: false,
|
|
||||||
},
|
|
||||||
label: "否",
|
|
||||||
value: 1,
|
|
||||||
},
|
|
||||||
isKeepAlive: {
|
|
||||||
extData: {
|
|
||||||
boolVal: false,
|
|
||||||
},
|
|
||||||
label: "否",
|
|
||||||
value: 1,
|
|
||||||
},
|
|
||||||
link: "",
|
|
||||||
name: "测试1菜单2",
|
|
||||||
orderIndex: null,
|
orderIndex: null,
|
||||||
parentId: "1910252674549288960",
|
parentId: "1910252674549288960",
|
||||||
path: "/test1/test1menu2",
|
path: "/smartRecipes/dailyRecipes",
|
||||||
redirect: "",
|
redirect: "",
|
||||||
remark: "",
|
remark: "",
|
||||||
snowFlakeId: "1910253280865292288",
|
snowFlakeId: "1910253280865292288",
|
||||||
|
@ -381,10 +494,10 @@ export const getPages = (): Promise<any> => {
|
||||||
value: 1,
|
value: 1,
|
||||||
},
|
},
|
||||||
link: "",
|
link: "",
|
||||||
name: "测试1菜单1",
|
name: "食材管理",
|
||||||
orderIndex: null,
|
orderIndex: null,
|
||||||
parentId: "1910252674549288960",
|
parentId: "1910252674549288960",
|
||||||
path: "/test1/test1menu1",
|
path: "/smartRecipes/foodManagement",
|
||||||
redirect: "",
|
redirect: "",
|
||||||
remark: "",
|
remark: "",
|
||||||
snowFlakeId: "1910253160014811136",
|
snowFlakeId: "1910253160014811136",
|
||||||
|
@ -399,88 +512,11 @@ export const getPages = (): Promise<any> => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
btnList: [],
|
btnList: [],
|
||||||
children: [
|
children: [],
|
||||||
{
|
|
||||||
btnList: [],
|
|
||||||
children: [],
|
|
||||||
createBy: null,
|
|
||||||
createTime: null,
|
|
||||||
deleteFlag: null,
|
|
||||||
icon: "LineMdList",
|
|
||||||
isFull: {
|
|
||||||
extData: {
|
|
||||||
boolVal: false,
|
|
||||||
},
|
|
||||||
label: "否",
|
|
||||||
value: 1,
|
|
||||||
},
|
|
||||||
isKeepAlive: {
|
|
||||||
extData: {
|
|
||||||
boolVal: false,
|
|
||||||
},
|
|
||||||
label: "否",
|
|
||||||
value: 1,
|
|
||||||
},
|
|
||||||
link: "",
|
|
||||||
name: "测试2菜单2",
|
|
||||||
orderIndex: null,
|
|
||||||
parentId: "1910252952203825152",
|
|
||||||
path: "/test1/test2/test2menu2",
|
|
||||||
redirect: "",
|
|
||||||
remark: "",
|
|
||||||
snowFlakeId: "1910253703755993088",
|
|
||||||
status: null,
|
|
||||||
type: {
|
|
||||||
extData: null,
|
|
||||||
label: "菜单",
|
|
||||||
value: "menu",
|
|
||||||
},
|
|
||||||
updateBy: null,
|
|
||||||
updateTime: null,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
btnList: [],
|
|
||||||
children: [],
|
|
||||||
createBy: null,
|
|
||||||
createTime: null,
|
|
||||||
deleteFlag: null,
|
|
||||||
icon: "LineMdList",
|
|
||||||
isFull: {
|
|
||||||
extData: {
|
|
||||||
boolVal: false,
|
|
||||||
},
|
|
||||||
label: "否",
|
|
||||||
value: 1,
|
|
||||||
},
|
|
||||||
isKeepAlive: {
|
|
||||||
extData: {
|
|
||||||
boolVal: false,
|
|
||||||
},
|
|
||||||
label: "否",
|
|
||||||
value: 1,
|
|
||||||
},
|
|
||||||
link: "",
|
|
||||||
name: "测试2菜单1",
|
|
||||||
orderIndex: null,
|
|
||||||
parentId: "1910252952203825152",
|
|
||||||
path: "/test1/test2/test2menu1",
|
|
||||||
redirect: "",
|
|
||||||
remark: "",
|
|
||||||
snowFlakeId: "1910253563792068608",
|
|
||||||
status: null,
|
|
||||||
type: {
|
|
||||||
extData: null,
|
|
||||||
label: "菜单",
|
|
||||||
value: "menu",
|
|
||||||
},
|
|
||||||
updateBy: null,
|
|
||||||
updateTime: null,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
createBy: null,
|
createBy: null,
|
||||||
createTime: null,
|
createTime: null,
|
||||||
deleteFlag: null,
|
deleteFlag: null,
|
||||||
icon: "CarbonSubtractAlt",
|
icon: "LineMdList",
|
||||||
isFull: {
|
isFull: {
|
||||||
extData: {
|
extData: {
|
||||||
boolVal: false,
|
boolVal: false,
|
||||||
|
@ -490,28 +526,104 @@ export const getPages = (): Promise<any> => {
|
||||||
},
|
},
|
||||||
isKeepAlive: {
|
isKeepAlive: {
|
||||||
extData: {
|
extData: {
|
||||||
boolVal: true,
|
boolVal: false,
|
||||||
},
|
},
|
||||||
label: "是",
|
label: "否",
|
||||||
value: 0,
|
value: 1,
|
||||||
},
|
},
|
||||||
link: "",
|
link: "",
|
||||||
name: "测试2",
|
name: "菜品管理",
|
||||||
orderIndex: null,
|
orderIndex: null,
|
||||||
parentId: "1910252674549288960",
|
parentId: "1910252674549288960",
|
||||||
path: "/test2",
|
path: "/smartRecipes/dishesManagement",
|
||||||
redirect: "",
|
redirect: "",
|
||||||
remark: "",
|
remark: "",
|
||||||
snowFlakeId: "1910252952203825152",
|
snowFlakeId: "1910253160014811137",
|
||||||
status: null,
|
status: null,
|
||||||
type: {
|
type: {
|
||||||
extData: null,
|
extData: null,
|
||||||
label: "目录",
|
label: "菜单",
|
||||||
value: "dir",
|
value: "menu",
|
||||||
},
|
},
|
||||||
updateBy: null,
|
updateBy: null,
|
||||||
updateTime: null,
|
updateTime: null,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
btnList: [],
|
||||||
|
children: [],
|
||||||
|
createBy: null,
|
||||||
|
createTime: null,
|
||||||
|
deleteFlag: null,
|
||||||
|
icon: "LineMdList",
|
||||||
|
isFull: {
|
||||||
|
extData: {
|
||||||
|
boolVal: false,
|
||||||
|
},
|
||||||
|
label: "否",
|
||||||
|
value: 1,
|
||||||
|
},
|
||||||
|
isKeepAlive: {
|
||||||
|
extData: {
|
||||||
|
boolVal: false,
|
||||||
|
},
|
||||||
|
label: "否",
|
||||||
|
value: 1,
|
||||||
|
},
|
||||||
|
link: "",
|
||||||
|
name: "菜单管理",
|
||||||
|
orderIndex: null,
|
||||||
|
parentId: "1910252674549288960",
|
||||||
|
path: "/smartRecipes/menuManagement",
|
||||||
|
redirect: "",
|
||||||
|
remark: "",
|
||||||
|
snowFlakeId: "1910253160014811245",
|
||||||
|
status: null,
|
||||||
|
type: {
|
||||||
|
extData: null,
|
||||||
|
label: "菜单",
|
||||||
|
value: "menu",
|
||||||
|
},
|
||||||
|
updateBy: null,
|
||||||
|
updateTime: null,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
btnList: [],
|
||||||
|
children: [],
|
||||||
|
createBy: null,
|
||||||
|
createTime: null,
|
||||||
|
deleteFlag: null,
|
||||||
|
icon: "LineMdList",
|
||||||
|
isFull: {
|
||||||
|
extData: {
|
||||||
|
boolVal: false,
|
||||||
|
},
|
||||||
|
label: "否",
|
||||||
|
value: 1,
|
||||||
|
},
|
||||||
|
isKeepAlive: {
|
||||||
|
extData: {
|
||||||
|
boolVal: false,
|
||||||
|
},
|
||||||
|
label: "否",
|
||||||
|
value: 1,
|
||||||
|
},
|
||||||
|
link: "",
|
||||||
|
name: "食品留样",
|
||||||
|
orderIndex: null,
|
||||||
|
parentId: "1910252674549288960",
|
||||||
|
path: "/smartRecipes/foodSampleRetention",
|
||||||
|
redirect: "",
|
||||||
|
remark: "",
|
||||||
|
snowFlakeId: "1910253160014811854",
|
||||||
|
status: null,
|
||||||
|
type: {
|
||||||
|
extData: null,
|
||||||
|
label: "菜单",
|
||||||
|
value: "menu",
|
||||||
|
},
|
||||||
|
updateBy: null,
|
||||||
|
updateTime: null,
|
||||||
|
}
|
||||||
],
|
],
|
||||||
createBy: null,
|
createBy: null,
|
||||||
createTime: null,
|
createTime: null,
|
||||||
|
@ -532,10 +644,10 @@ export const getPages = (): Promise<any> => {
|
||||||
value: 0,
|
value: 0,
|
||||||
},
|
},
|
||||||
link: "",
|
link: "",
|
||||||
name: "测试1",
|
name: "智慧菜谱",
|
||||||
orderIndex: null,
|
orderIndex: null,
|
||||||
parentId: "0",
|
parentId: "0",
|
||||||
path: "/test1",
|
path: "/smartRecipes",
|
||||||
redirect: "",
|
redirect: "",
|
||||||
remark: "",
|
remark: "",
|
||||||
snowFlakeId: "1910252674549288960",
|
snowFlakeId: "1910252674549288960",
|
||||||
|
@ -548,6 +660,117 @@ export const getPages = (): Promise<any> => {
|
||||||
updateBy: null,
|
updateBy: null,
|
||||||
updateTime: null,
|
updateTime: null,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
btnList: [],
|
||||||
|
createBy: null,
|
||||||
|
createTime: null,
|
||||||
|
deleteFlag: null,
|
||||||
|
icon: "LineMdAccount",
|
||||||
|
isFull: {
|
||||||
|
extData: {
|
||||||
|
boolVal: false,
|
||||||
|
},
|
||||||
|
label: "否",
|
||||||
|
value: 1,
|
||||||
|
},
|
||||||
|
isKeepAlive: {
|
||||||
|
extData: {
|
||||||
|
boolVal: true,
|
||||||
|
},
|
||||||
|
label: "是",
|
||||||
|
value: 0,
|
||||||
|
},
|
||||||
|
link: "",
|
||||||
|
name: "食安教育",
|
||||||
|
orderIndex: null,
|
||||||
|
parentId: "0",
|
||||||
|
path: "/foodSafetyEducation",
|
||||||
|
redirect: "",
|
||||||
|
remark: "",
|
||||||
|
snowFlakeId: "foodSafetyEducation",
|
||||||
|
status: null,
|
||||||
|
type: {
|
||||||
|
extData: null,
|
||||||
|
label: "目录",
|
||||||
|
value: "menu",
|
||||||
|
},
|
||||||
|
updateBy: null,
|
||||||
|
updateTime: null,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
btnList: [],
|
||||||
|
createBy: null,
|
||||||
|
createTime: null,
|
||||||
|
deleteFlag: null,
|
||||||
|
icon: "LineMdAccount",
|
||||||
|
isFull: {
|
||||||
|
extData: {
|
||||||
|
boolVal: false,
|
||||||
|
},
|
||||||
|
label: "否",
|
||||||
|
value: 1,
|
||||||
|
},
|
||||||
|
isKeepAlive: {
|
||||||
|
extData: {
|
||||||
|
boolVal: true,
|
||||||
|
},
|
||||||
|
label: "是",
|
||||||
|
value: 0,
|
||||||
|
},
|
||||||
|
link: "",
|
||||||
|
name: "硬件数据",
|
||||||
|
orderIndex: null,
|
||||||
|
parentId: "0",
|
||||||
|
path: "/hardwareData",
|
||||||
|
redirect: "",
|
||||||
|
remark: "",
|
||||||
|
snowFlakeId: "hardwareData",
|
||||||
|
status: null,
|
||||||
|
type: {
|
||||||
|
extData: null,
|
||||||
|
label: "目录",
|
||||||
|
value: "menu",
|
||||||
|
},
|
||||||
|
updateBy: null,
|
||||||
|
updateTime: null,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
btnList: [],
|
||||||
|
createBy: null,
|
||||||
|
createTime: null,
|
||||||
|
deleteFlag: null,
|
||||||
|
icon: "LineMdAccount",
|
||||||
|
isFull: {
|
||||||
|
extData: {
|
||||||
|
boolVal: false,
|
||||||
|
},
|
||||||
|
label: "否",
|
||||||
|
value: 1,
|
||||||
|
},
|
||||||
|
isKeepAlive: {
|
||||||
|
extData: {
|
||||||
|
boolVal: true,
|
||||||
|
},
|
||||||
|
label: "是",
|
||||||
|
value: 0,
|
||||||
|
},
|
||||||
|
link: "",
|
||||||
|
name: "工作台账",
|
||||||
|
orderIndex: null,
|
||||||
|
parentId: "0",
|
||||||
|
path: "/workAccounts",
|
||||||
|
redirect: "",
|
||||||
|
remark: "",
|
||||||
|
snowFlakeId: "workAccounts",
|
||||||
|
status: null,
|
||||||
|
type: {
|
||||||
|
extData: null,
|
||||||
|
label: "目录",
|
||||||
|
value: "menu",
|
||||||
|
},
|
||||||
|
updateBy: null,
|
||||||
|
updateTime: null,
|
||||||
|
}
|
||||||
],
|
],
|
||||||
message: "操作成功!",
|
message: "操作成功!",
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
<template>
|
|
||||||
<div>菜单</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script setup lang="ts"></script>
|
|
||||||
|
|
||||||
<style scoped lang="scss"></style>
|
|
|
@ -1,9 +1,11 @@
|
||||||
<template>
|
|
||||||
<div>数据大屏11</div>
|
|
||||||
</template>
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div>食安教育</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|
||||||
</style>
|
</style>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div>硬件数据</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
|
||||||
|
</style>
|
|
@ -0,0 +1,9 @@
|
||||||
|
<template>
|
||||||
|
<div>总览大屏</div>
|
||||||
|
</template>
|
||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<style scoped lang="scss">
|
||||||
|
|
||||||
|
</style>
|
|
@ -0,0 +1,33 @@
|
||||||
|
export interface ModelValue {
|
||||||
|
/**
|
||||||
|
* @snowFlakeId 部门id
|
||||||
|
*/
|
||||||
|
snowFlakeId?: string | number
|
||||||
|
/**
|
||||||
|
* @name 部门名称
|
||||||
|
*/
|
||||||
|
name: string
|
||||||
|
/**
|
||||||
|
* @name 父级部门id
|
||||||
|
*/
|
||||||
|
parentId?: string | number
|
||||||
|
/**
|
||||||
|
* @name 部门负责人id
|
||||||
|
*/
|
||||||
|
leaderUserId?: string | number
|
||||||
|
/**
|
||||||
|
* @name 备注
|
||||||
|
*/
|
||||||
|
remark?: string
|
||||||
|
}
|
||||||
|
export const modelDefaultValue: ModelValue = {
|
||||||
|
snowFlakeId: '',
|
||||||
|
name: '',
|
||||||
|
leaderUserId: '',
|
||||||
|
remark: '',
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface Role {
|
||||||
|
label: string
|
||||||
|
value: string
|
||||||
|
}
|
|
@ -0,0 +1,9 @@
|
||||||
|
<template>
|
||||||
|
<div>采购名录</div>
|
||||||
|
</template>
|
||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<style scoped lang="scss">
|
||||||
|
|
||||||
|
</style>
|
|
@ -0,0 +1,48 @@
|
||||||
|
export interface userInterface {
|
||||||
|
/**
|
||||||
|
* @snowFlakeId 头像
|
||||||
|
*/
|
||||||
|
snowFlakeId?: string
|
||||||
|
/**
|
||||||
|
* @name 头像
|
||||||
|
*/
|
||||||
|
avatar?: string
|
||||||
|
/**
|
||||||
|
* @name 用户名_必传
|
||||||
|
*/
|
||||||
|
name: string
|
||||||
|
/**
|
||||||
|
* @sex 性别_必传
|
||||||
|
*/
|
||||||
|
sex: string
|
||||||
|
/**
|
||||||
|
* @phoneNumber 手机号_必传
|
||||||
|
*/
|
||||||
|
phoneNumber: string
|
||||||
|
/**
|
||||||
|
* @phoneNumber 账号状态_必传
|
||||||
|
*/
|
||||||
|
|
||||||
|
status: string
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @authClient 授权的客户端_必传
|
||||||
|
*/
|
||||||
|
|
||||||
|
authClient: any[]
|
||||||
|
/**
|
||||||
|
* @deptIds 所属部门id_必传
|
||||||
|
*/
|
||||||
|
|
||||||
|
deptIds?: any[]
|
||||||
|
/**
|
||||||
|
* @roleIds 所属角色id_必传
|
||||||
|
*/
|
||||||
|
|
||||||
|
roleIds?: any[]
|
||||||
|
}
|
||||||
|
export interface passwordInterface {
|
||||||
|
oldPassword: string
|
||||||
|
newPassword: string
|
||||||
|
confirmPassword: string
|
||||||
|
}
|
|
@ -0,0 +1,9 @@
|
||||||
|
<template>
|
||||||
|
<div>库存盘点</div>
|
||||||
|
</template>
|
||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<style scoped lang="scss">
|
||||||
|
|
||||||
|
</style>
|
|
@ -0,0 +1,10 @@
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div>历史采购</div>
|
||||||
|
</template>
|
||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<style scoped lang="scss">
|
||||||
|
|
||||||
|
</style>
|
|
@ -0,0 +1,9 @@
|
||||||
|
<template>
|
||||||
|
<div>采购计划</div>
|
||||||
|
</template>
|
||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<style scoped lang="scss">
|
||||||
|
|
||||||
|
</style>
|
|
@ -0,0 +1,10 @@
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div>共享食谱</div>
|
||||||
|
</template>
|
||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<style scoped lang="scss">
|
||||||
|
|
||||||
|
</style>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div>每日菜谱</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
|
||||||
|
</style>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div>菜品管理</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
|
||||||
|
</style>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div>食材管理</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
|
||||||
|
</style>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div>食品留样</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
|
||||||
|
</style>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div>菜单管理</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
|
||||||
|
</style>
|
|
@ -1,4 +1,11 @@
|
||||||
<template>
|
<template>
|
||||||
<div>待开发</div>
|
<div> 操作日志</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
|
||||||
|
</style>
|
|
@ -1,3 +1,11 @@
|
||||||
<template>
|
<template>
|
||||||
<div>待开发</div>
|
<div> 用户管理</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
|
||||||
|
</style>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div>工作台账</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
|
||||||
|
</style>
|
Loading…
Reference in New Issue