董国庆
2026-06-22 b71dfebe09db1309329bed33dcad7d642bebf174
隐藏双语--车辆状态修改
3个文件已修改
28 ■■■■■ 已修改文件
src/layouts/index.vue 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/assetManagement/vehicleManagement/operatingVehicle/detail.vue 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/assetManagement/vehicleManagement/operatingVehicle/index.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layouts/index.vue
@@ -114,7 +114,6 @@
          <!-- <Notices /> -->
          <!-- <FullScreen /> -->
          <!-- <DarkModeSwitch /> -->
          <LangsSwitch />
          <!-- <Setting /> -->
          <UserCenter />
        </template>
src/views/assetManagement/vehicleManagement/operatingVehicle/detail.vue
@@ -93,10 +93,19 @@
}
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(() => {
src/views/assetManagement/vehicleManagement/operatingVehicle/index.vue
@@ -245,9 +245,13 @@
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) {