| | |
| | | |
| | | import host from "./system/host"; |
| | | import config from "./system/config"; |
| | | import aiParam from "./system/aiParam"; |
| | | import tenant from "./system/tenant"; |
| | | import role from "./system/role"; |
| | | import userLogin from "./system/userLogin"; |
| | |
| | | import preparation from "./orders/preparation"; |
| | | import menuPda from './menuPda'; |
| | | import taskPathTemplate from './taskPathTemplate'; |
| | | import taskPathTemplateMerge from './taskPathTemplateMerge'; |
| | | import basStationArea from './basStationArea'; |
| | | |
| | | const ResourceContent = (node) => { |
| | | switch (node.component) { |
| | |
| | | return host; |
| | | case "config": |
| | | return config; |
| | | case "aiParam": |
| | | return aiParam; |
| | | case "tenant": |
| | | return tenant; |
| | | case "role": |
| | |
| | | return menuPda; |
| | | case 'taskPathTemplate': |
| | | return taskPathTemplate; |
| | | case 'taskPathTemplateMerge': |
| | | return taskPathTemplateMerge; |
| | | case 'basStationArea': |
| | | return basStationArea; |
| | | // case "locItem": |
| | | // return locItem; |
| | | default: |
| | |
| | | } |
| | | }; |
| | | |
| | | export default ResourceContent; |
| | | export default ResourceContent; |