| | |
| | | ShowGuesser, |
| | | } from "react-admin"; |
| | | |
| | | import host from "./host"; |
| | | import config from './config'; |
| | | import tenant from './tenant'; |
| | | import role from './role'; |
| | | import userLogin from './userLogin'; |
| | | import dept from "./dept"; |
| | | import menu from './menu' |
| | | import user from './user'; |
| | | import operationRecord from './operationRecord'; |
| | | import host from "./system/host"; |
| | | import config from './system/config'; |
| | | import tenant from './system/tenant'; |
| | | import role from './system/role'; |
| | | import userLogin from './system/userLogin'; |
| | | import dept from "./system/dept"; |
| | | import menu from './system/menu' |
| | | import user from './system/user'; |
| | | import operationRecord from './system/operationRecord'; |
| | | import customer from './customer'; |
| | | import shipper from './shipper'; |
| | | import matnr from './matnr'; |
| | | import matnrGroup from './matnrGroup'; |
| | | |
| | | |
| | | const ResourceContent = (node) => { |
| | | switch (node.component) { |
| | |
| | | return user; |
| | | case 'operationRecord': |
| | | return operationRecord; |
| | | case 'customer': |
| | | return customer; |
| | | case 'shipper': |
| | | return shipper; |
| | | case 'matnr': |
| | | return matnr; |
| | | case 'matnrGroup': |
| | | return matnrGroup; |
| | | default: |
| | | return { |
| | | list: ListGuesser, |