import { getSessionStorage } from '@/utils/auth'; import { listPublishMap, getMapListByProjectCode } from '@/api/jmap/map'; import { ProjectCode } from '@/scripts/ConstDic'; export async function getMapListByProject(drawWay) { const project = getSessionStorage('project'); let mapList = []; if (project.endsWith('xty') || project.endsWith('gzb')) { mapList = await getMapListByProjectCode(ProjectCode[project]); } else { mapList = await listPublishMap({'drawWay':drawWay}); } return mapList; } export function getAutoReentryBySignalCode(signalCode, routeList, autoReentryList) { // 根据折返进路的始端信号机去找 routeList.forEach(item => { }); }