| | |
| | | defaultContextMenuList: { |
| | | //产品 |
| | | product: [ |
| | | { show: true, label: '添加产品', code: 'product_add', icon: 'plus', isCommonMethod: false }, |
| | | { show: true, label: '添加部件', code: 'product_add_child', icon: 'plus', isCommonMethod: false }, |
| | | { show: true, label: '编辑产品信息', code: 'product_edit', icon: 'edit', isCommonMethod: false }, |
| | | { show: false, label: '导出文档', code: 'product_export', icon: 'export', isCommonMethod: true }, |
| | | { show: true, label: '导入其他文档', code: 'product_import', icon: 'import', isCommonMethod: true }, |
| | | { show: true, label: '删除', code: 'product_delete', icon: 'delete', isCommonMethod: true }, |
| | | { show: true, label: '权限配置', code: 'public_assign_permission', icon: 'idcard', isCommonMethod: true } |
| | | { label: '添加产品', code: 'product_add', icon: 'plus', isCommonMethod: false }, |
| | | { label: '添加部件', code: 'product_add_child', icon: 'plus', isCommonMethod: false }, |
| | | { label: '编辑产品信息', code: 'product_edit', icon: 'edit', isCommonMethod: false }, |
| | | // { label: '导出文档', code: 'product_export', icon: 'export', isCommonMethod: true }, |
| | | { label: '导入其他文档', code: 'product_import', icon: 'import', isCommonMethod: true }, |
| | | { label: '删除', code: 'product_delete', icon: 'delete', isCommonMethod: true }, |
| | | { label: '权限配置', code: 'public_assign_permission', icon: 'idcard', isCommonMethod: true } |
| | | ], |
| | | //部件 |
| | | component: [ |
| | | { show: true, label: '添加子部件', code: 'component_add', icon: 'plus', isCommonMethod: false }, |
| | | { show: true, label: '添加零件', code: 'component_add_child', icon: 'plus', isCommonMethod: false }, |
| | | { show: true, label: '创建工序', code: 'component_add_relative', icon: 'plus', isCommonMethod: false }, |
| | | { show: true, label: '编辑部件信息', code: 'component_edit', icon: 'edit', isCommonMethod: false }, |
| | | { show: false, label: '导出文档', code: 'component_export', icon: 'export', isCommonMethod: true }, |
| | | { show: true, label: '导入其他文档', code: 'component_import', icon: 'import', isCommonMethod: true }, |
| | | { show: true, label: '删除', code: 'component_delete', icon: 'delete', isCommonMethod: true }, |
| | | { show: true, label: '权限配置', code: 'public_assign_permission', icon: 'idcard', isCommonMethod: true } |
| | | { label: '添加子部件', code: 'component_add', icon: 'plus', isCommonMethod: false }, |
| | | { label: '添加零件', code: 'component_add_child', icon: 'plus', isCommonMethod: false }, |
| | | { label: '创建工序', code: 'component_add_relative', icon: 'plus', isCommonMethod: false }, |
| | | { label: '编辑部件信息', code: 'component_edit', icon: 'edit', isCommonMethod: false }, |
| | | // { label: '导出文档', code: 'component_export', icon: 'export', isCommonMethod: true }, |
| | | { label: '导入其他文档', code: 'component_import', icon: 'import', isCommonMethod: true }, |
| | | { label: '删除', code: 'component_delete', icon: 'delete', isCommonMethod: true }, |
| | | { label: '权限配置', code: 'public_assign_permission', icon: 'idcard', isCommonMethod: true } |
| | | ], |
| | | //零件 |
| | | part: [ |
| | | { show: true, label: '添加零件', code: 'parts_add', icon: 'plus', isCommonMethod: false }, |
| | | { show: true, label: '创建工序', code: 'parts_add_relative', icon: 'plus', isCommonMethod: false }, |
| | | { show: true, label: '编辑零件信息', code: 'parts_edit', icon: 'edit', isCommonMethod: false }, |
| | | { show: false, label: '导出文档', code: 'parts_export', icon: 'export', isCommonMethod: true }, |
| | | { show: true, label: '导入其他文档', code: 'parts_import', icon: 'import', isCommonMethod: true }, |
| | | { show: true, label: '删除', code: 'parts_delete', icon: 'delete', isCommonMethod: true }, |
| | | { show: true, label: '权限配置', code: 'public_assign_permission', icon: 'idcard', isCommonMethod: true } |
| | | { label: '添加零件', code: 'parts_add', icon: 'plus', isCommonMethod: false }, |
| | | { label: '创建工序', code: 'parts_add_relative', icon: 'plus', isCommonMethod: false }, |
| | | { label: '编辑零件信息', code: 'parts_edit', icon: 'edit', isCommonMethod: false }, |
| | | // { label: '导出文档', code: 'parts_export', icon: 'export', isCommonMethod: true }, |
| | | { label: '导入其他文档', code: 'parts_import', icon: 'import', isCommonMethod: true }, |
| | | { label: '删除', code: 'parts_delete', icon: 'delete', isCommonMethod: true }, |
| | | { label: '权限配置', code: 'public_assign_permission', icon: 'idcard', isCommonMethod: true } |
| | | ], |
| | | //工序 |
| | | process: [ |
| | | { show: true, label: '创建工序', code: 'process_add', icon: 'plus', isCommonMethod: false }, |
| | | { show: true, label: '创建工步', code: 'process_add_child', icon: 'plus', isCommonMethod: false }, |
| | | { show: true, label: '编辑工序信息', code: 'process_edit', icon: 'edit', isCommonMethod: false }, |
| | | { show: true, label: '删除', code: 'process_delete', icon: 'delete', isCommonMethod: true }, |
| | | { show: false, label: '导出NC程序', code: 'process_export', icon: 'import', isCommonMethod: true }, |
| | | { show: true, label: '导入NC程序', code: 'process_import', icon: 'export', isCommonMethod: true } |
| | | { label: '创建工序', code: 'process_add', icon: 'plus', isCommonMethod: false }, |
| | | { label: '创建工步', code: 'process_add_child', icon: 'plus', isCommonMethod: false }, |
| | | { label: '编辑工序信息', code: 'process_edit', icon: 'edit', isCommonMethod: false }, |
| | | { label: '删除', code: 'process_delete', icon: 'delete', isCommonMethod: true }, |
| | | // { label: '导出NC程序', code: 'process_export', icon: 'import', isCommonMethod: true }, |
| | | { label: '导入NC程序', code: 'process_import', icon: 'export', isCommonMethod: true } |
| | | ], |
| | | //工步 |
| | | processStep: [ |
| | | { show: true, label: '创建工步', code: 'processStep_add', icon: 'plus', isCommonMethod: false }, |
| | | { show: true, label: '编辑工步信息', code: 'processStep_edit', icon: 'edit', isCommonMethod: false }, |
| | | { show: true, label: '删除', code: 'processStep_delete', icon: 'delete', isCommonMethod: true }, |
| | | { show: false, label: '导出NC程序', code: 'processStep_export', icon: 'import', isCommonMethod: true }, |
| | | { show: true, label: '导入NC程序', code: 'processStep_import', icon: 'export', isCommonMethod: true } |
| | | { label: '创建工步', code: 'processStep_add', icon: 'plus', isCommonMethod: false }, |
| | | { label: '编辑工步信息', code: 'processStep_edit', icon: 'edit', isCommonMethod: false }, |
| | | { label: '删除', code: 'processStep_delete', icon: 'delete', isCommonMethod: true }, |
| | | // { label: '导出NC程序', code: 'processStep_export', icon: 'import', isCommonMethod: true }, |
| | | { label: '导入NC程序', code: 'processStep_import', icon: 'export', isCommonMethod: true } |
| | | ] |
| | | } |
| | | } |