Commit 41ffd5f2 by 张立顺

feat 自动付款字段修改

1 parent b83b5654
......@@ -387,6 +387,46 @@ export function getVehicleConditionInfoPage(data = {}) {
timeout: 30000,
});
}
/**
* 车况信息详情
*/
export function getCarConditionDetail(data = {}) {
return gscPost("/carCondition/detail", data, {
timeout: 30000,
});
}
/**
* 车况一键生成评估单
*/
export function oneClickCreateEvalOrder(data = {}) {
return gscPost("/carCondition/oneClickCreateEvalOrder", data, {
timeout: 60000,
returnAll: true,
});
}
/**
* 车况生成 AI 收车报告
*/
export function generateCarConditionAiReport(data = {}) {
return gscPost("/carCondition/generateAiReport", data, {
timeout: 60000,
returnAll: true,
});
}
/**
* 第三方出险报告校验(勾选「融合高阶第三方出险报告」时调用,路径以后端为准)
*/
export function checkCarConditionThirdPartyReport(data = {}) {
return gscPost("/carCondition/checkThirdPartyReport", data, {
timeout: 30000,
returnAll: true,
});
}
/**
* 一客一码分页列表
*/
......
......@@ -448,6 +448,13 @@ export const routerName = {
parentId: "92009",
label: "详情",
handle: "handleDetail",
addRoutePath: [
{
authId: "9200903",
name: "车况信息详情",
parentId: "92009",
},
],
},
{
authId: "9200902",
......@@ -458,6 +465,20 @@ export const routerName = {
],
component: _import("usedCarManagement/vehicleConditionInfo/index"),
},
9200903: {
path: "/vehicleConditionDetail",
name: "vehicleConditionDetail",
meta: {
title: "车况信息详情",
authId: "9200903",
parentId: "92009",
cache: false,
sideHidden: false,
activePath: "/vehicleConditionInfo",
},
auth: [],
component: _import("usedCarManagement/vehicleConditionInfo/vehicleConditionDetail"),
},
92010: {
path: "/oneCustomerOneGroup",
name: "oneCustomerOneGroup",
......
......@@ -242,7 +242,16 @@ export default {
return params;
},
handleDetail(row) {
this.$message.info(`详情功能待接入,当前记录ID:${row.id || "-"}`);
this.$router.push({
name: "vehicleConditionDetail",
query: {
id: row.id,
ownerName: row.ownerName || "",
licensePlate: row.licensePlate || "",
brandModel: row.brandModel || "",
sellerName: row.sellerName || "",
},
});
},
handleAiReport(row) {
this.$message.info(`AI收车报告功能待接入,当前记录ID:${row.id || "-"}`);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!