feat(车辆认证): 添加认证待付款状态支持
在车辆认证流程中新增'认证待付款'状态(状态码2),并更新相关API文档和前端状态映射 同时修改车辆列表查询接口,包含新状态在筛选条件中
Showing
2 changed files
with
6 additions
and
5 deletions
| 1 | /* | 1 | /* |
| 2 | * @Date: 2025-07-09 14:58:51 | 2 | * @Date: 2025-07-09 14:58:51 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-07-29 10:49:36 | 4 | + * @LastEditTime: 2025-08-01 14:58:39 |
| 5 | * @FilePath: /jgdl/src/api/car.js | 5 | * @FilePath: /jgdl/src/api/car.js |
| 6 | * @Description: 车辆相关API接口 | 6 | * @Description: 车辆相关API接口 |
| 7 | */ | 7 | */ |
| ... | @@ -84,7 +84,7 @@ export const getRecommendVehicleAPI = (params) => fn(fetch.get(Api.RECOMMEND_VEH | ... | @@ -84,7 +84,7 @@ export const getRecommendVehicleAPI = (params) => fn(fetch.get(Api.RECOMMEND_VEH |
| 84 | * @param school_id 学校ID | 84 | * @param school_id 学校ID |
| 85 | * @param brand 品牌 | 85 | * @param brand 品牌 |
| 86 | * @param manufacture_year 出厂年份 | 86 | * @param manufacture_year 出厂年份 |
| 87 | - * @param verification_status 认证状态(1=不认证, 3=认证待审核, 5=已认证, 7=认证失败) | 87 | + * @param verification_status 认证状态(1=不认证, 2=认证待付款, 3=认证待审核, 5=已认证, 7=认证失败) |
| 88 | * @param keyword 搜索关键字(品牌/型号/描述) | 88 | * @param keyword 搜索关键字(品牌/型号/描述) |
| 89 | * @param page 页码 | 89 | * @param page 页码 |
| 90 | * @param limit 每页数量 | 90 | * @param limit 每页数量 | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-09-19 14:11:06 | 2 | * @Date: 2022-09-19 14:11:06 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-07-18 15:20:04 | 4 | + * @LastEditTime: 2025-08-01 14:59:44 |
| 5 | * @FilePath: /jgdl/src/pages/myAuthCar/index.vue | 5 | * @FilePath: /jgdl/src/pages/myAuthCar/index.vue |
| 6 | * @Description: 我的认证车页面 | 6 | * @Description: 我的认证车页面 |
| 7 | --> | 7 | --> |
| ... | @@ -157,6 +157,7 @@ const scrollStyle = computed(() => { | ... | @@ -157,6 +157,7 @@ const scrollStyle = computed(() => { |
| 157 | const getVerificationStatusText = (status) => { | 157 | const getVerificationStatusText = (status) => { |
| 158 | const statusMap = { | 158 | const statusMap = { |
| 159 | 1: '未认证', | 159 | 1: '未认证', |
| 160 | + 2: '认证待付款', | ||
| 160 | 3: '认证待审核', | 161 | 3: '认证待审核', |
| 161 | 5: '已认证', | 162 | 5: '已认证', |
| 162 | 7: '认证失败' | 163 | 7: '认证失败' |
| ... | @@ -185,7 +186,7 @@ const initData = async () => { | ... | @@ -185,7 +186,7 @@ const initData = async () => { |
| 185 | loading.value = true | 186 | loading.value = true |
| 186 | try { | 187 | try { |
| 187 | const response = await getMyListingVehicleAPI({ | 188 | const response = await getMyListingVehicleAPI({ |
| 188 | - verification_status: [3, 5, 7], | 189 | + verification_status: [2, 3, 5, 7], |
| 189 | page: 0, | 190 | page: 0, |
| 190 | limit: pageSize.value | 191 | limit: pageSize.value |
| 191 | }) | 192 | }) |
| ... | @@ -216,7 +217,7 @@ const loadMore = async () => { | ... | @@ -216,7 +217,7 @@ const loadMore = async () => { |
| 216 | try { | 217 | try { |
| 217 | const nextPage = currentPage.value + 1 | 218 | const nextPage = currentPage.value + 1 |
| 218 | const response = await getMyListingVehicleAPI({ | 219 | const response = await getMyListingVehicleAPI({ |
| 219 | - verification_status: [3, 5, 7], | 220 | + verification_status: [2, 3, 5, 7], |
| 220 | page: nextPage, | 221 | page: nextPage, |
| 221 | limit: pageSize.value | 222 | limit: pageSize.value |
| 222 | }) | 223 | }) | ... | ... |
-
Please register or login to post a comment