forked from erp-dev/erp
187 lines
5.9 KiB
JSON
187 lines
5.9 KiB
JSON
{
|
|
"menus": [
|
|
{
|
|
"key": "plate-opening",
|
|
"label": "开版管理",
|
|
"children": [
|
|
{ "key": "plate-order-kanban", "label": "开版看板" },
|
|
{ "key": "plate-order", "label": "开版订单" },
|
|
{ "key": "plate-order-staging", "label": "开版暂存" },
|
|
{ "key": "process-node-view", "label": "流程查看" },
|
|
{ "key": "plate-order-statistics", "label": "开版数据" }
|
|
]
|
|
},
|
|
{
|
|
"key": "production",
|
|
"label": "生产管理",
|
|
"children": [
|
|
{ "key": "production-kanban", "label": "生产看板" },
|
|
{ "key": "printing-order-list", "label": "生产订单" },
|
|
{ "key": "printing-job-list", "label": "生产订单明细" },
|
|
{ "key": "production-statistics", "label": "生产数据" }
|
|
]
|
|
},
|
|
{
|
|
"key": "business",
|
|
"label": "业务管理",
|
|
"children": [
|
|
{ "key": "production-order", "label": "生产订单" },
|
|
{ "key": "process-management", "label": "流程编排" },
|
|
{ "key": "state-management", "label": "工序状态管理" },
|
|
{ "key": "parameter-management", "label": "工艺参数管理" },
|
|
{ "key": "business-object", "label": "业务对象管理" },
|
|
{ "key": "workflow-testing", "label": "工作流测试" },
|
|
{ "key": "kanban-demo", "label": "看板组件" },
|
|
{ "key": "vehicle-record-list", "label": "车次记录" }
|
|
]
|
|
},
|
|
{
|
|
"key": "procurement",
|
|
"label": "采购管理",
|
|
"children": [
|
|
{ "key": "purchase-order", "label": "采购订单" },
|
|
{ "key": "purchase-return-order", "label": "采购退货单" }
|
|
]
|
|
},
|
|
{
|
|
"key": "sales",
|
|
"label": "销售管理",
|
|
"children": [
|
|
{ "key": "sales-order-list", "label": "销售单" },
|
|
{ "key": "sales-return-order", "label": "销售退货单" }
|
|
]
|
|
},
|
|
{
|
|
"key": "inventory",
|
|
"label": "库存管理",
|
|
"children": [
|
|
{ "key": "inbound-list", "label": "入库单列表" },
|
|
{ "key": "outbound-list", "label": "出库单列表" },
|
|
{ "key": "stock-transfer", "label": "库存调拨" },
|
|
{ "key": "stock-summary", "label": "库存合计" },
|
|
{ "key": "stock-realtime", "label": "库存实时清单" }
|
|
]
|
|
},
|
|
{
|
|
"key": "finance",
|
|
"label": "财务管理",
|
|
"children": [
|
|
{ "key": "payment-order", "label": "付款单" },
|
|
{ "key": "receipt-order", "label": "收款单" },
|
|
{ "key": "customer-statement", "label": "客户对账单" },
|
|
{ "key": "supplier-statement", "label": "供应商对账单" }
|
|
]
|
|
},
|
|
{
|
|
"key": "report",
|
|
"label": "报表中心",
|
|
"children": [
|
|
{ "key": "report-center", "label": "报表中心" }
|
|
]
|
|
},
|
|
{
|
|
"key": "basic-data",
|
|
"label": "基础资料",
|
|
"children": [
|
|
{ "key": "customer-management", "label": "客户资料" },
|
|
{ "key": "supplier-management", "label": "供应商资料" },
|
|
{ "key": "warehouse-list", "label": "仓库资料" },
|
|
{ "key": "product-category-list", "label": "产品类别" },
|
|
{ "key": "product-list", "label": "产品资料" },
|
|
{ "key": "employee-management", "label": "员工资料" },
|
|
{ "key": "user-create", "label": "新建用户" },
|
|
{ "key": "employee-type-management", "label": "职位类型" },
|
|
{ "key": "device-list", "label": "设备资料" },
|
|
{ "key": "bank-account-list", "label": "银行账户" },
|
|
{ "key": "quick-input-list", "label": "字典管理" },
|
|
{ "key": "vehicle-type-list", "label": "车辆类型" }
|
|
]
|
|
}
|
|
],
|
|
"all_keys": {
|
|
"main_menus": [
|
|
"plate-opening",
|
|
"production",
|
|
"business",
|
|
"procurement",
|
|
"sales",
|
|
"inventory",
|
|
"finance",
|
|
"report",
|
|
"basic-data"
|
|
],
|
|
"sub_menus": [
|
|
"plate-order-kanban",
|
|
"plate-order",
|
|
"plate-order-staging",
|
|
"process-node-view",
|
|
"plate-order-statistics",
|
|
"production-kanban",
|
|
"printing-order-list",
|
|
"printing-job-list",
|
|
"production-statistics",
|
|
"production-order",
|
|
"process-management",
|
|
"state-management",
|
|
"parameter-management",
|
|
"business-object",
|
|
"workflow-testing",
|
|
"kanban-demo",
|
|
"vehicle-record-list",
|
|
"purchase-order",
|
|
"purchase-return-order",
|
|
"sales-order-list",
|
|
"sales-return-order",
|
|
"inbound-list",
|
|
"outbound-list",
|
|
"stock-transfer",
|
|
"stock-summary",
|
|
"stock-realtime",
|
|
"payment-order",
|
|
"receipt-order",
|
|
"customer-statement",
|
|
"supplier-statement",
|
|
"report-center",
|
|
"customer-management",
|
|
"supplier-management",
|
|
"warehouse-list",
|
|
"product-category-list",
|
|
"product-list",
|
|
"employee-management",
|
|
"user-create",
|
|
"employee-type-management",
|
|
"device-list",
|
|
"bank-account-list",
|
|
"quick-input-list",
|
|
"vehicle-type-list"
|
|
]
|
|
},
|
|
"examples": {
|
|
"admin": {
|
|
"description": "管理员 - 全部权限",
|
|
"allowed_menus": ["*"]
|
|
},
|
|
"production_manager": {
|
|
"description": "生产主管 - 开版+生产+基础资料",
|
|
"allowed_menus": ["plate-opening", "production", "basic-data"]
|
|
},
|
|
"salesman": {
|
|
"description": "销售员 - 销售+部分基础资料",
|
|
"allowed_menus": ["sales", "customer-management", "product-list"]
|
|
},
|
|
"warehouse_keeper": {
|
|
"description": "仓管员 - 库存+部分基础资料",
|
|
"allowed_menus": ["inventory", "warehouse-list", "product-list"]
|
|
},
|
|
"finance_staff": {
|
|
"description": "财务人员 - 财务+报表+对账相关",
|
|
"allowed_menus": ["finance", "report", "customer-management", "supplier-management"]
|
|
},
|
|
"normal_staff": {
|
|
"description": "普通员工 - 只看看板",
|
|
"allowed_menus": ["production-kanban", "plate-order-kanban"]
|
|
}
|
|
}
|
|
}
|
|
|