Commit d00991f4 by zhangxw

fix(venus-usedcar-quality): 群活码修改

1 parent e5d74c70
Pipeline #192 for d00991f4 failed in 0 seconds
......@@ -290,7 +290,7 @@ async function getDetail() {
const carConditionCode = String(route.query.carConditionCode ?? "");
if (!carConditionCode) return;
try {
showLoadingToast({ message: "加载种", forbidClick: true, duration: 0 });
showLoadingToast({ message: "加载中", forbidClick: true, duration: 0 });
const res = await getVehicleBriefData({ carConditionCode } as any);
closeToast();
const { code, data, msg } = res as any;
......@@ -307,12 +307,12 @@ async function getDetail() {
}
}
async function getQrCode(data: any) {
const reportUuidId = String(data.reportInfo?.reportUuidId ?? "");
async function getQrCode(reportData: any) {
const reportUuidId = String(reportData.reportInfo?.reportUuidId ?? "");
if (!reportUuidId) return;
try {
showLoadingToast({ message: "加载种", forbidClick: true, duration: 0 });
const res = await getGroupQrcode({ reportUuidId: "919220012001jjjka" } as any);
showLoadingToast({ message: "加载中", forbidClick: true, duration: 0 });
const res = await getGroupQrcode({ reportUuidId } as any);
closeToast();
const { code, data, msg } = res as any;
if (code !== 0) {
......
......@@ -131,6 +131,11 @@ function fillFormFromDetail(detail: Record<string, any>) {
setSingle((form.media as any).driver, String(detail.driverSeatImgUrl ?? ""));
setSingle((form.media as any).rear, String(detail.rearSeatImgUrl ?? ""));
setSingle((form.media as any).others, String(detail.otherDetailImgUrl ?? ""));
carLicenseOcrResult.value = {
licensePlate: String(detail.licensePlate ?? ""),
vin: String(detail.vin ?? ""),
registrationDate: String(detail.registrationDate ?? "")
};
}
function buildSubmitPayload() {
......@@ -673,7 +678,11 @@ function share() {
}
.vd-page--pad .form {
padding: 12px 16px 120px;
padding: 12px 16px;
}
.vd-page--pad .footer {
padding: 8px 16px;
}
.vd-page--pad .row {
......
......@@ -493,11 +493,15 @@ onUnmounted(() => {
}
.vehicle-page--pad .content {
padding: 16px 12px calc(env(safe-area-inset-bottom) + 96px);
padding: 16px 12px;
background: #FFF;
border-radius: 0 0 12px 12px;
}
.vehicle-oage--pad .footer {
padding: 8px 16px;
}
.vehicle-page--pad .card {
padding: 16px;
}
......
......@@ -17,6 +17,10 @@
"path": "apps/web/venus-agentic/venus-agentic-base",
},
{
"name": "venus-usedcar-livecode",
"path": "apps/web/venus-usedcar-livecode",
},
{
"name": "venus-usedcar-quality",
"path": "apps/web/venus-usedcar-quality",
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!