// 路线相关常量定义 // 1 可选时间 export const times = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23] // 2. 允许通行时间下拉选项 export const timeSelectOptions = [{ value: '0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23', label: '全天(0-23)' }, { value: '8,9,10,11,12,13,14,15,16,17,18', label: '工作时间段(8-18)' }, { value: '8,9,10,11,12', label: '上午工作时间段(8-12)' }, { value: '14,15,16,17,18', label: '下午工作时间段(14-18)' }, { value: '-1', label: '自定义时间段' }] export const startImg = '../../assets/icons/start.png' export const endImg = '../../assets/icons/end.png' export function getConstant() { return { startImg, endImg, timeSelectOptions, times } } export default { startImg, endImg, timeSelectOptions, times }