hookehuyr

feat(车辆认证): 添加认证待付款状态支持

在车辆认证流程中新增'认证待付款'状态(状态码2),并更新相关API文档和前端状态映射
同时修改车辆列表查询接口,包含新状态在筛选条件中
/*
* @Date: 2025-07-09 14:58:51
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-07-29 10:49:36
* @LastEditTime: 2025-08-01 14:58:39
* @FilePath: /jgdl/src/api/car.js
* @Description: 车辆相关API接口
*/
......@@ -84,7 +84,7 @@ export const getRecommendVehicleAPI = (params) => fn(fetch.get(Api.RECOMMEND_VEH
* @param school_id 学校ID
* @param brand 品牌
* @param manufacture_year 出厂年份
* @param verification_status 认证状态(1=不认证, 3=认证待审核, 5=已认证, 7=认证失败)
* @param verification_status 认证状态(1=不认证, 2=认证待付款, 3=认证待审核, 5=已认证, 7=认证失败)
* @param keyword 搜索关键字(品牌/型号/描述)
* @param page 页码
* @param limit 每页数量
......
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-07-18 15:20:04
* @LastEditTime: 2025-08-01 14:59:44
* @FilePath: /jgdl/src/pages/myAuthCar/index.vue
* @Description: 我的认证车页面
-->
......@@ -157,6 +157,7 @@ const scrollStyle = computed(() => {
const getVerificationStatusText = (status) => {
const statusMap = {
1: '未认证',
2: '认证待付款',
3: '认证待审核',
5: '已认证',
7: '认证失败'
......@@ -185,7 +186,7 @@ const initData = async () => {
loading.value = true
try {
const response = await getMyListingVehicleAPI({
verification_status: [3, 5, 7],
verification_status: [2, 3, 5, 7],
page: 0,
limit: pageSize.value
})
......@@ -216,7 +217,7 @@ const loadMore = async () => {
try {
const nextPage = currentPage.value + 1
const response = await getMyListingVehicleAPI({
verification_status: [3, 5, 7],
verification_status: [2, 3, 5, 7],
page: nextPage,
limit: pageSize.value
})
......