const vehicleClass = [ '轿车', '微型普通客车', '微型普通货车', '小型越野客车', '小型普通客车', '小型客车', '中型客车', '大型客车', '大型专用客车', '中型专用客车', '微型货车', '轻型货车', '中型货车', '重型普通货车', '重型货车', '重型集装厢车', '三轮汽车', '其它', '叉车', ]; export const bodyColor = [ { label: '红色', value: 'red', color: '#F2555F', }, { label: '橙色', value: 'orange', color: '#F2944B', }, { label: '黄色', value: 'yellow', color: '#FFD469', }, { label: '绿色', value: 'green', color: '#41D9C5', }, { label: '蓝色', value: 'blue', color: '#5591F2', }, { label: '紫色', value: 'purple', color: '#9955F2', }, { label: '棕色', value: 'brown', color: '#995900', }, { label: '粉色', value: 'pink', color: '#FFABAB', }, { label: '白色', value: 'white', color: '#FFFFFF', colorStyle: { border: '1px solid rgba(31,33,38,0.10)', }, tickStyle: { color: '#BFBFBF', }, }, { label: '灰色', value: 'gray', color: '#BFBFBF', }, { label: '黑色', value: 'black', color: '#000000', }, { label: '花色', value: 'colorful', color: 'white', }, ]; export const vehicleColor = [ { label: '红色', value: 'red', color: '#F2555F', }, { label: '橙色', value: 'orange', color: '#F2944B', }, { label: '黄色', value: 'yellow', color: '#FFD469', }, { label: '绿色', value: 'green', color: '#41D9C5', }, { label: '蓝色', value: 'blue', color: '#5591F2', }, { label: '紫色', value: 'purple', color: '#9955F2', }, { label: '棕色', value: 'brown', color: '#995900', }, { label: '粉色', value: 'pink', color: '#FFABAB', }, { label: '白色', value: 'white', color: '#FFFFFF', colorStyle: { border: '1px solid rgba(31,33,38,0.10)', }, tickStyle: { color: '#BFBFBF', }, }, { label: '灰色', value: 'gray', color: '#BFBFBF', }, { label: '黑色', value: 'black', color: '#000000', }, { label: '银色', value: 'silver', color: 'white', }, ]; export const vehicleColorMap = vehicleColor.reduce((prev, c) => { prev[c.value] = c; return prev; }, {}); // 白色/黑色/橙色/蓝色/绿色/黄绿色/其他 export const vehiclePlateColor = [ { label: '黄色', value: 'yellow', color: '#FFC240', }, { label: '黄绿色', value: 'yellowGreen', color: '#C5E685', plateStyle: { backgroundImage: 'linear-gradient(to right, #FFC240 40%, #52CC7A 40%)', }, }, { label: '绿色', value: 'green', color: '#41D9C5', plateStyle: { backgroundImage: 'linear-gradient(to bottom, #ffffff, #52CC7A)', }, }, { label: '蓝色', value: 'blue', color: '#5591F2', }, { label: '白色', value: 'white', color: '#FFFFFF', }, { label: '黑色', value: 'black', color: '#000000', borderColor: 'white', }, { label: '未知', value: 'unKnown', color: 'rgba(0, 0, 0, 0.15)', borderColor: 'white', }, ]; export const vehiclePlateColorMap = vehiclePlateColor.reduce((prev, c) => { prev[c.value] = c; return prev; }, {}); export const filterMap = { // 图库相关 // 性别 gender: [ { label: '男', value: 'male', }, { label: '女', value: 'female', }, { label: '其他', value: 'other', }, ], headFeature: [ { label: '眼镜', value: 'glass', }, { label: '帽子', value: 'hat', }, // { // label: '安全帽', // value: 'helmet' // }, { label: '戴口罩', value: 'mask', }, { label: '未戴口罩', value: 'noMask', }, ], ageRange: [ { label: '小孩', value: 'child', }, { label: '青年', value: 'youth', }, { label: '中年', value: 'middleAge', }, { label: '老年', value: 'oldAge', }, { label: '其他', value: 'other', }, ], upperTexture: [ { label: '格子', value: 'lattice', }, { label: '花纹', value: 'pattern', }, { label: '纯色', value: 'solid', }, { label: '条纹', value: 'stripe', }, ], lowerType: [ { label: '短裤', value: 'shorts', }, { label: '裙子', value: 'skirt', }, { label: '长裤', value: 'trousers', }, { label: '其他', value: 'other', }, ], appendix: [ { label: '双肩包', value: 'backpack', }, { label: '手提包', value: 'handbag', }, { label: '拎物品', value: 'portable', }, { label: '单肩包', value: 'shoulderbag', }, { label: '婴儿车', value: 'stroller', }, { label: '行李箱', value: 'trunk', }, ], // brand: brand.map((i) => ({ // label: i, // value: i // })), vehicleClass: vehicleClass.map(i => ({ label: i, value: i, })), nonVehicleClass: [ { label: '自行车', value: 'bicycle', }, { label: '三轮车(有顶篷)', value: 'tricycleWithRoof', }, { label: '摩托车/电瓶车', value: 'motorcycle', }, { label: '三轮车(封闭驾驶舱)', value: 'tricycleWithSeal', }, { label: '三轮车(无顶篷/无封闭)', value: 'tricycleWithNoRoof', }, ], illegalPassenger: [ { label: '自行车违法载人', value: 'bicycle', }, { label: '摩托车违法载人', value: 'motorcycle', }, { label: '三轮车违法载人', value: 'tricycle', }, ], plateState: [ { label: '部分遮挡', value: 'partCover', }, { label: '全部遮挡', value: 'allCover', }, { label: '未遮挡', value: 'noCover', }, { label: '没有车牌', value: 'noPlate', }, { label: '状态未知', value: 'unKonwn', }, { label: '车牌污损', value: 'defile', }, { label: '车牌模糊', value: 'fuzzy', }, { label: '车牌反光', value: 'reflectedLight', }, { label: '其他类型遮挡', value: 'otherCover', }, ], specialVehicle: [ { label: '危化品车', value: 'dangerousArticlesVehicle', }, { label: '黄标车', value: 'heavyPollutionVehicle', }, { label: '渣土车', value: 'muckVehicle', }, ], hasPlateText: [ { label: '有', value: 1, }, { label: '无', value: 0, }, ], // 房屋相关 // 面积 area: [ { label: '男', value: 'male', }, { label: '女', value: 'female', }, { label: '其他', value: 'other', }, ], }; export const menus = [ { label: '人脸检索', icon: 'icon-face-search', value: 0, }, // { // label: '人形检索', // icon: 'icon-body-search', // value: 1 // }, { label: '人员档案', icon: 'icon-face-lib', value: 2, }, ]; export const archivesMenus = [ { label: '人脸检索', icon: 'icon-face-search', value: 0, }, ]; export const vehicleMenu = [ { label: '机动车检索', icon: 'icon-vehicle-search', value: 0, }, { label: '车辆档案', icon: 'icon-cheliangdangan', value: 1, }, ]; export const nonVehicleMenu = [ { label: '非机动车检索', icon: 'icon-feivehicle-search', value: 0, }, ];