Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 21f5ee0c
authored
Apr 15, 2026
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug修复
1 parent
d6b48e26
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
1 deletions
src/api/request.js
src/api/usedCarManagement.js
src/views/usedCarManagement/vehicleConditionInfo/contant.js
src/views/usedCarManagement/vehicleConditionInfo/vehicleConditionDetail.vue
src/api/request.js
View file @
21f5ee0
...
@@ -30,6 +30,9 @@ function request(params = {}, method = RequestMethods.GET, noSignAttr = [], opti
...
@@ -30,6 +30,9 @@ function request(params = {}, method = RequestMethods.GET, noSignAttr = [], opti
apiName
=
"strategy"
;
apiName
=
"strategy"
;
}
else
if
(
params
.
method
.
includes
(
"dj.api.supervisor"
))
{
}
else
if
(
params
.
method
.
includes
(
"dj.api.supervisor"
))
{
apiName
=
"supervisor"
;
apiName
=
"supervisor"
;
}
else
if
(
params
.
method
.
includes
(
"dj.pad.api"
))
{
// rop-dj-pad 等方法名含 dj.pad,split(".api") 会得到 dj.pad 无 mapping;签名与 appKey 沿用 dj
apiName
=
"dj"
;
}
else
{
}
else
{
// console.log(params.method.split(".api"))
// console.log(params.method.split(".api"))
apiName
=
params
.
method
.
split
(
".api"
)[
0
];
apiName
=
params
.
method
.
split
(
".api"
)[
0
];
...
...
src/api/usedCarManagement.js
View file @
21f5ee0
...
@@ -15,6 +15,27 @@ function scrmCarlifeRopUrl() {
...
@@ -15,6 +15,27 @@ function scrmCarlifeRopUrl() {
return
"https://scrm.glsx.com.cn/rop-scrm-carlife/router"
;
return
"https://scrm.glsx.com.cn/rop-scrm-carlife/router"
;
}
}
function
djPadRopUrl
()
{
const
b
=
baseConfig
||
{};
if
(
b
.
djPadRouter
)
return
b
.
djPadRouter
;
const
ax
=
b
.
axios
&&
b
.
axios
.
baseURL
;
if
(
ax
&&
/rop-dj-smartcarlife/i
.
test
(
ax
))
return
ax
.
replace
(
/rop-dj-smartcarlife/gi
,
"rop-dj-pad"
);
return
"https://dj.glsx.com.cn/rop-dj-pad/router"
;
}
/**
* Pad 网关 — 车架号校验(与小程序 dj.pad.api.vin.validate 一致)
*/
export
function
padVinValidate
(
data
=
{})
{
data
.
method
=
"dj.pad.api.vin.validate"
;
return
request
(
data
,
RequestMethods
.
POST
,
[],
{
url
:
djPadRopUrl
(),
returnAll
:
true
,
});
}
/**
/**
* SCRM 车生活 — 品牌/子品牌/车系(或下级)树,供级联选择(与 axios2 相同 sign,网关 rop-scrm-carlife)
* SCRM 车生活 — 品牌/子品牌/车系(或下级)树,供级联选择(与 axios2 相同 sign,网关 rop-scrm-carlife)
*/
*/
...
...
src/views/usedCarManagement/vehicleConditionInfo/contant.js
View file @
21f5ee0
...
@@ -12,7 +12,7 @@ const AI_REPORT_STATUS_MAP = {
...
@@ -12,7 +12,7 @@ const AI_REPORT_STATUS_MAP = {
0
:
"未生成"
,
0
:
"未生成"
,
1
:
"生成中"
,
1
:
"生成中"
,
2
:
"已生成"
,
2
:
"已生成"
,
3
:
"失败"
,
3
:
"
生成
失败"
,
};
};
const
AI_REPORT_STATUS_COLOR
=
{
const
AI_REPORT_STATUS_COLOR
=
{
...
...
src/views/usedCarManagement/vehicleConditionInfo/vehicleConditionDetail.vue
View file @
21f5ee0
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment