Commit 4ebf1888 by chenwq1

fix(venus-usedcar-quality): update status tags and refactor address field to inspectionAddress

1 parent 8a2258fb
Pipeline #175 for 4ebf1888 failed in 0 seconds
......@@ -3,7 +3,7 @@
* @Date: 2026-03-26 10:52:58
* @Description:
* @FilePath: /venus-usedcar-h5/apps/web/venus-usedcar-quality/src/components/WorkOrderStatusTags.vue
* @LastEditTime: 2026-03-27 16:04:23
* @LastEditTime: 2026-04-02 16:20:57
* @LastEditors: cenchengwei@foreverht.com
* 可以输入预定的版权声明、个性签名、空行等
-->
......@@ -46,10 +46,10 @@ const auditTag = computed(() => {
return { text: "待审核", bg: "#f0eefd", color: "#6A56F0", icon: "clock" as const };
}
if (props.auditStatus === 3) {
return { text: "审核通过", bg: "#e9f9f1", color: "#27CD5A", icon: "checked" as const };
return { text: "已通过", bg: "#e9f9f1", color: "#27CD5A", icon: "checked" as const };
}
if (props.auditStatus === 4) {
return { text: "审核失败", bg: "#fdeded", color: "#EE3140", icon: "warning" as const };
return { text: "已驳回", bg: "#fdeded", color: "#EE3140", icon: "warning" as const };
}
return null;
});
......
/*
* @Author: cen
* @Date: 2026-03-27 17:17:10
* @Description:
* @FilePath: /venus-usedcar-h5/apps/web/venus-usedcar-quality/src/types/views/car-list.ts
* @LastEditTime: 2026-04-02 16:25:09
* @LastEditors: cenchengwei@foreverht.com
* 可以输入预定的版权声明、个性签名、空行等
*/
export interface ReportItem {
address: string;
inspectionAddress: string;
carTitle: string;
coverImage: string;
/** 列表接口返回的报告 H5 链接 */
......
......@@ -69,7 +69,7 @@ function mapReportItem(item: Record<string, unknown>): ReportItem {
.join(" "),
plateNo: String(baseInfo.licensePlate ?? "-"),
vin: String(baseInfo.vin ?? "-"),
address: String(addressCandidate || "-"),
inspectionAddress: String(item.inspectionAddress || "-"),
updateTime: String(item.updateTime ?? ""),
coverImage:
(cover.thumbUrl as string | undefined) ||
......@@ -188,7 +188,7 @@ void onRefresh();
</div>
<div class="meta ellipsis">
<span class="k">所在地</span>
<span class="v">{{ item.address }}</span>
<span class="v">{{ item.inspectionAddress }}</span>
</div>
</div>
</div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!