Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
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 e6930ca7
authored
Apr 14, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(venus-usedcar-quality): bug修复
1 parent
582159d8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
apps/web/venus-usedcar-quality/src/views/report/ai-purchase/index.vue
apps/web/venus-usedcar-quality/src/views/report/vehicle-brief/index.vue
apps/web/venus-usedcar-quality/src/views/report/ai-purchase/index.vue
View file @
e6930ca
...
@@ -262,8 +262,8 @@ function getDetail() {
...
@@ -262,8 +262,8 @@ function getDetail() {
showToast
(
msg
);
showToast
(
msg
);
return
;
return
;
}
}
const
safeDateStr
=
data
.
reportInfo
?.
aiResultGeneratedTime
?.
replace
(
/-/g
,
"/"
)
;
const
safeDateStr
=
data
.
reportInfo
?.
aiResultGeneratedTime
?
data
.
reportInfo
?.
aiResultGeneratedTime
?.
replace
(
/-/g
,
"/"
)
:
""
;
data
.
reportDate
=
formatDate
(
new
Date
(
safeDateStr
),
"YYYY/MM/DD"
)
;
data
.
reportDate
=
safeDateStr
?
formatDate
(
new
Date
(
safeDateStr
),
"YYYY/MM/DD"
)
:
"-"
;
detailInfo
.
value
=
data
||
{};
detailInfo
.
value
=
data
||
{};
});
});
}
}
...
...
apps/web/venus-usedcar-quality/src/views/report/vehicle-brief/index.vue
View file @
e6930ca
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
{{
detailInfo
.
reportInfo
.
brandModel
||
"-"
}}
{{
detailInfo
.
reportInfo
.
brandModel
||
"-"
}}
</div>
</div>
</div>
</div>
<div
v-if=
"Object.keys(detailInfo).length > 0"
>
<div
class=
"report-content"
>
<div
class=
"report-content"
>
<!-- Left Column -->
<!-- Left Column -->
<div
class=
"left-column"
>
<div
class=
"left-column"
>
...
@@ -114,7 +114,11 @@
...
@@ -114,7 +114,11 @@
:structural-items=
"structuralItems"
/>
:structural-items=
"structuralItems"
/>
</div>
</div>
</div>
</div>
</div>
<van-empty
v-else
class=
"custom-empty"
description=
"暂无数据"
image=
"https://img02.glsx.com.cn/weapp/resource/miniprogram/store-assistant/empty_data.png"
/>
<!-- Footer -->
<!-- Footer -->
<div
class=
"report-footer"
>
<div
class=
"report-footer"
>
<div
class=
"footer-text"
>
<div
class=
"footer-text"
>
...
@@ -456,8 +460,8 @@ function setData(data: any) {
...
@@ -456,8 +460,8 @@ function setData(data: any) {
}
}
]
]
});
});
const
safeDateStr
=
data
.
reportInfo
?.
aiResultGeneratedTime
?.
replace
(
/-/g
,
"/"
)
;
const
safeDateStr
=
data
.
reportInfo
?.
aiResultGeneratedTime
?
data
.
reportInfo
?.
aiResultGeneratedTime
?.
replace
(
/-/g
,
"/"
)
:
""
;
data
.
reportDate
=
formatDate
(
new
Date
(
safeDateStr
),
"YYYY/MM/DD"
)
;
data
.
reportDate
=
safeDateStr
?
formatDate
(
new
Date
(
safeDateStr
),
"YYYY/MM/DD"
)
:
"-"
;
detailInfo
.
value
=
data
||
{};
detailInfo
.
value
=
data
||
{};
}
}
...
...
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