import CHGTwo from './CHGTwo'; import project from './project'; import NF from './NF'; import SJFX from './SJFX'; import led from './led'; import IotPc from './IotPc'; import group from './group'; import projectSet from './projectSet'; // import task from './apiField/task'; // import dataSource from './apiField/dataSource'; let host = "/Api"; let nozzle = { login: "/sys/login", //登录页 logout: "/logout", //注销 sysMenuList: "/sys/menu/list", //获取菜单路由 userGroupRelaGetGroups: "/userGroupRela/getGroups", //新烽查询系统分组信息查询 siteGetHeads: "/site/getHeads", //新烽查询系统 根据站点编号查询表头 dataSelectSitePropertyList: "/site/selectSitePropertyList", //获取站点分配的因子 dataSiteDataEchat: "/data/siteDataEchat" //获取站点历史图表 }; // 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, NF); 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, dataSource); export default nozzle;