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 280f6c5e
authored
Apr 15, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(venus-usedcar-quality): bug修复
1 parent
cce785e4
Pipeline
#201
for
280f6c5e
failed
in 0 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
24 deletions
apps/web/venus-usedcar-quality/src/mixins/reportTrackFunMixin.js
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/mixins/reportTrackFunMixin.js
View file @
280f6c5
...
@@ -5,11 +5,10 @@ import { buryingPoint } from "@/api/modules/vehicle-message";
...
@@ -5,11 +5,10 @@ import { buryingPoint } from "@/api/modules/vehicle-message";
import
{
formatDate
}
from
"@/utils/index"
;
import
{
formatDate
}
from
"@/utils/index"
;
export
function
getRouteLoginContext
(
routeQuery
=
{})
{
export
function
getRouteLoginContext
(
routeQuery
=
{})
{
const
loginAccount
=
routeQuery
.
loginAccount
??
routeQuery
.
loginAccout
??
routeQuery
.
operatorId
??
routeQuery
.
openId
??
""
;
const
loginAccount
=
""
;
const
uuid
=
routeQuery
.
uuid
??
routeQuery
.
userId
??
routeQuery
.
openId
??
routeQuery
.
operatorId
??
""
;
const
uuid
=
""
;
const
userType
=
routeQuery
.
userType
??
routeQuery
.
operatorType
??
routeQuery
.
source
??
""
;
const
userType
=
""
;
return
{
return
{
loginAccount
,
loginAccout
:
loginAccount
,
loginAccout
:
loginAccount
,
uuid
,
uuid
,
userType
,
userType
,
...
...
apps/web/venus-usedcar-quality/src/views/report/ai-purchase/index.vue
View file @
280f6c5
...
@@ -5,12 +5,12 @@
...
@@ -5,12 +5,12 @@
<h1
class=
"main-title"
>
<h1
class=
"main-title"
>
车辆深度车况分析报告
车辆深度车况分析报告
</h1>
</h1>
<div
class=
"sub-title"
>
<div
v-if=
"Object.keys(detailInfo).length > 0"
class=
"sub-title"
>
{{
detailInfo
.
reportInfo
&&
detailInfo
.
reportInfo
.
brandModel
}}
{{
detailInfo
.
reportInfo
&&
detailInfo
.
reportInfo
.
brandModel
}}
</div>
</div>
</div>
</div>
<div
v-if=
"Object.keys(detailInfo).length > 0"
>
<div
v-if=
"Object.keys(detailInfo).length > 0"
class=
"report-content"
>
<div
class=
"report-content"
>
<!-- Left Column -->
<!-- Left Column -->
<div
class=
"left-column"
>
<div
class=
"left-column"
>
<!-- 收车指导价 -->
<!-- 收车指导价 -->
...
@@ -147,15 +147,10 @@
...
@@ -147,15 +147,10 @@
:structural-items=
"structuralItems"
/>
:structural-items=
"structuralItems"
/>
</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"
>
报告生成时间:
{{
detailInfo
.
reportDate
}}
| AI车况分析系统
报告生成时间:
{{
reportDate
}}
| AI车况分析系统
</div>
</div>
<van-button
v-if=
"!pageQuery.pushed"
<van-button
v-if=
"!pageQuery.pushed"
class=
"push-btn"
class=
"push-btn"
...
@@ -170,6 +165,12 @@
...
@@ -170,6 +165,12 @@
生成车况简报
生成车况简报
</van-button>
</van-button>
</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"
/>
<van-popup
v-model:show=
"pushConfirmVisible"
<van-popup
v-model:show=
"pushConfirmVisible"
class=
"push-confirm-popup"
class=
"push-confirm-popup"
...
@@ -221,7 +222,7 @@ const { setReportTrackData } = useReportTrackPage({
...
@@ -221,7 +222,7 @@ const { setReportTrackData } = useReportTrackPage({
});
});
const
router
=
useRouter
();
const
router
=
useRouter
();
const
reportDate
=
ref
(
""
);
const
route
=
useRoute
();
const
route
=
useRoute
();
const
isMini
=
computed
(()
=>
{
const
isMini
=
computed
(()
=>
{
return
window
.
matchMedia
(
"(max-width: 768px)"
).
matches
;
return
window
.
matchMedia
(
"(max-width: 768px)"
).
matches
;
...
@@ -262,8 +263,8 @@ function getDetail() {
...
@@ -262,8 +263,8 @@ function getDetail() {
showToast
(
msg
);
showToast
(
msg
);
return
;
return
;
}
}
const
safeDateStr
=
data
.
reportInfo
?.
aiResultGeneratedTime
?
data
.
reportInfo
?.
aiResultGeneratedTime
?.
replace
(
/-/g
,
"/"
)
:
""
;
const
safeDateStr
=
data
?.
reportInfo
?.
aiResultGeneratedTime
?
data
?
.
reportInfo
?.
aiResultGeneratedTime
?.
replace
(
/-/g
,
"/"
)
:
""
;
data
.
reportDat
e
=
safeDateStr
?
formatDate
(
new
Date
(
safeDateStr
),
"YYYY/MM/DD"
)
:
"-"
;
reportDate
.
valu
e
=
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 @
280f6c5
...
@@ -114,20 +114,20 @@
...
@@ -114,20 +114,20 @@
: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"
>
报告生成时间:
{{
detailInfo
.
reportDate
}}
| AI车况分析系统
报告生成时间:
{{
reportDate
}}
| AI车况分析系统
</div>
</div>
<van-button
class=
"share-btn"
@
click=
"share"
>
<van-button
class=
"share-btn"
@
click=
"share"
>
<img
alt=
""
src=
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/share.png"
>
转发
<img
alt=
""
src=
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/share.png"
>
转发
</van-button>
</van-button>
</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"
/>
<van-popup
v-model:show=
"shareGuideVisible"
<van-popup
v-model:show=
"shareGuideVisible"
class=
"share-popup"
class=
"share-popup"
position=
"center"
position=
"center"
...
@@ -182,7 +182,7 @@ const shareGuideVisible = ref(false);
...
@@ -182,7 +182,7 @@ const shareGuideVisible = ref(false);
const
trendChartRef
=
ref
<
HTMLDivElement
|
null
>
(
null
);
const
trendChartRef
=
ref
<
HTMLDivElement
|
null
>
(
null
);
let
trendChart
:
null
|
ReturnType
<
typeof
echarts
.
init
>
=
null
;
let
trendChart
:
null
|
ReturnType
<
typeof
echarts
.
init
>
=
null
;
const
hasTrendData
=
ref
(
true
);
const
hasTrendData
=
ref
(
true
);
const
reportDate
=
ref
(
""
);
const
groupQrUrl
=
ref
(
""
);
const
groupQrUrl
=
ref
(
""
);
const
loadingGroupQr
=
ref
(
false
);
const
loadingGroupQr
=
ref
(
false
);
const
detailInfo
=
ref
<
any
>
({
const
detailInfo
=
ref
<
any
>
({
...
@@ -461,7 +461,7 @@ function setData(data: any) {
...
@@ -461,7 +461,7 @@ function setData(data: any) {
]
]
});
});
const
safeDateStr
=
data
.
reportInfo
?.
aiResultGeneratedTime
?
data
.
reportInfo
?.
aiResultGeneratedTime
?.
replace
(
/-/g
,
"/"
)
:
""
;
const
safeDateStr
=
data
.
reportInfo
?.
aiResultGeneratedTime
?
data
.
reportInfo
?.
aiResultGeneratedTime
?.
replace
(
/-/g
,
"/"
)
:
""
;
data
.
reportDat
e
=
safeDateStr
?
formatDate
(
new
Date
(
safeDateStr
),
"YYYY/MM/DD"
)
:
"-"
;
reportDate
.
valu
e
=
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