| | |
| | | <!-- <Notices /> --> |
| | | <!-- <FullScreen /> --> |
| | | <!-- <DarkModeSwitch /> --> |
| | | <LangsSwitch /> |
| | | <!-- <Setting /> --> |
| | | <UserCenter /> |
| | | </template> |
| | |
| | | } |
| | | |
| | | const operatingStatusMap: Record<number, { type: 'default' | 'success' | 'info' | 'warning' | 'error', text: string }> = { |
| | | 1: { type: 'success', text: '运营中' }, |
| | | 2: { type: 'warning', text: '维修中' }, |
| | | 3: { type: 'info', text: '已收车' }, |
| | | 4: { type: 'error', text: '车辆异常' }, |
| | | // 1: { type: 'success', text: '运营中' }, |
| | | // 2: { type: 'warning', text: '维修中' }, |
| | | // 3: { type: 'info', text: '已收车' }, |
| | | // 4: { type: 'error', text: '车辆异常' }, |
| | | |
| | | 1: { type: 'success', text: '运营中' }, |
| | | 2: { type: 'success', text: '出车中' }, |
| | | 3: { type: 'success', text: '接单中' }, |
| | | 4: { type: 'success', text: '停止接单' }, |
| | | 5: { type: 'info', text: '已收车' }, |
| | | 6: { type: 'warning', text: '车辆异常' }, |
| | | 7: { type: 'error', text: '维修中' }, |
| | | 8: { type: 'success', text: '充电中' }, |
| | | } |
| | | |
| | | const vehicleTag = computed(() => { |
| | |
| | | |
| | | const statusMap: Record<number, { type: 'default' | 'success' | 'info' | 'warning' | 'error', text: string }> = { |
| | | 1: { type: 'info', text: '运营中' }, |
| | | 2: { type: 'error', text: '维修中' }, |
| | | 3: { type: 'success', text: '已收车' }, |
| | | 4: { type: 'warning', text: '车辆异常' }, |
| | | 2: { type: 'info', text: '出车中' }, |
| | | 3: { type: 'info', text: '接单中' }, |
| | | 4: { type: 'info', text: '停止接单' }, |
| | | 5: { type: 'success', text: '已收车' }, |
| | | 6: { type: 'warning', text: '车辆异常' }, |
| | | 7: { type: 'error', text: '维修中' }, |
| | | 8: { type: 'info', text: '充电中' }, |
| | | } |
| | | |
| | | function formatDateTime(value: any) { |