import CHGTwo from "./CHGTwo"; import project from "./project"; import nfQuery from "./nfQuery"; // import SJFX from "./SJFX"; import led from "./led"; import IotPc from "./IotPc"; import group from "./group"; import projectSet from "./projectSet"; import serverManage from "./serverManage"; import task from './apiField/scheduler'; import dataSource from './apiField/dataSource'; import model from './apiField/model'; import dataquality from './apiField/dataquality'; let host = "/Api"; let nozzle = { // login: "/sys/login", //登录页 logout: "/logout", //注销 sysMenuList: "/sys/menu/list" ,//获取菜单路由 getProjectName: '/user/getProductName', //平台名称 }; // for (let items in department) { // nozzle[items] = department[items]; // } for (let item in nozzle) { nozzle[item] = host + nozzle[item]; } nozzle = Object.assign(nozzle, project); nozzle = Object.assign(nozzle, CHGTwo); nozzle = Object.assign(nozzle, nfQuery); // nozzle = Object.assign(nozzle, SJFX); nozzle = Object.assign(nozzle, led); nozzle = Object.assign(nozzle, IotPc); nozzle = Object.assign(nozzle, group); nozzle = Object.assign(nozzle, projectSet); nozzle = Object.assign(nozzle, serverManage); nozzle = Object.assign(nozzle, dataSource); nozzle = Object.assign(nozzle, task); nozzle = Object.assign(nozzle, model); nozzle = Object.assign(nozzle, dataquality); export default nozzle;