Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
usedCarAuction
/
aus
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 28ace58b
authored
Apr 02, 2026
by
yancanhua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 测试问题优化
1 parent
ebdc34c2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
9 deletions
aus-front/admin/src/views/detection/order/components/orderDetails.vue
aus-front/app/src/module/auction/InspectionPreview.vue
aus-front/admin/src/views/detection/order/components/orderDetails.vue
View file @
28ace58
...
@@ -30,15 +30,15 @@
...
@@ -30,15 +30,15 @@
<a-tag
v-else-if=
"pageData.auditStatus == 2"
color=
"#E7F2FE"
:style=
"{ color: '#288BFA' }"
<a-tag
v-else-if=
"pageData.auditStatus == 2"
color=
"#E7F2FE"
:style=
"{ color: '#288BFA' }"
:bordered=
"false"
>
审核中
</a-tag>
:bordered=
"false"
>
审核中
</a-tag>
<a-tag
v-else-if=
"pageData.auditStatus == 3"
color=
"#E8F8F2"
:style=
"{ color: '#00AD74' }"
<a-tag
v-else-if=
"pageData.auditStatus == 3"
color=
"#E8F8F2"
:style=
"{ color: '#00AD74' }"
:bordered=
"false"
>
审批
通过
</a-tag>
:bordered=
"false"
>
已
通过
</a-tag>
<a-tag
v-else-if=
"pageData.auditStatus == 4"
color=
"#FFEDED"
:style=
"{ color: '#EB2F2F' }"
<a-tag
v-else-if=
"pageData.auditStatus == 4"
color=
"#FFEDED"
:style=
"{ color: '#EB2F2F' }"
:bordered=
"false"
>
审批
驳回
</a-tag>
:bordered=
"false"
>
已
驳回
</a-tag>
</a-descriptions-item>
</a-descriptions-item>
<a-descriptions-item
label=
"创建时间"
>
{{ pageData.createTime || '-' }}
</a-descriptions-item>
<a-descriptions-item
label=
"创建时间"
>
{{ pageData.createTime || '-' }}
</a-descriptions-item>
<a-descriptions-item
label=
"完成检测时间"
>
{{ pageData.inspectionCompletedTime || '-'
<a-descriptions-item
label=
"完成检测时间"
>
{{ pageData.inspectionCompletedTime || '-'
}}
</a-descriptions-item>
}}
</a-descriptions-item>
</a-descriptions>
</a-descriptions>
<a-descriptions
:column=
"2"
size=
"small"
layout=
"vertical"
>
<a-descriptions
:column=
"2"
size=
"small"
layout=
"vertical"
>
<
template
#
title
>
<
template
#
title
>
<title-tip-icon></title-tip-icon>
<title-tip-icon></title-tip-icon>
...
...
aus-front/app/src/module/auction/InspectionPreview.vue
View file @
28ace58
...
@@ -14,12 +14,14 @@ import { AuctionController } from "@/api/AuctionController";
...
@@ -14,12 +14,14 @@ import { AuctionController } from "@/api/AuctionController";
export
default
class
InspectionPreview
extends
Vue
{
export
default
class
InspectionPreview
extends
Vue
{
h5Url
:
string
=
''
;
h5Url
:
string
=
''
;
vehicleId
:
string
=
''
;
vehicleId
:
string
=
''
;
aucvehId
:
string
=
''
;
imageUrl
:
string
=
''
;
imageUrl
:
string
=
''
;
vehicleData
:
any
=
{};
created
():
void
{
created
():
void
{
onLoad
((
option
)
=>
{
onLoad
((
option
)
=>
{
this
.
vehicleId
=
option
.
vehicleId
;
this
.
vehicleId
=
option
.
vehicleId
;
this
.
aucvehId
=
option
.
aucvehId
;
this
.
getReportVehicleData
(
option
.
vehicleId
);
this
.
getReportVehicleData
(
option
.
vehicleId
);
this
.
getVehicleDetail
(
option
.
aucvehId
);
this
.
getVehicleDetail
(
option
.
aucvehId
);
});
});
...
@@ -29,6 +31,7 @@ export default class InspectionPreview extends Vue {
...
@@ -29,6 +31,7 @@ export default class InspectionPreview extends Vue {
AuctionController
.
getAuctionVehicleDetailById
(
this
.
axios
,
aucvehId
).
then
(
res
=>
{
AuctionController
.
getAuctionVehicleDetailById
(
this
.
axios
,
aucvehId
).
then
(
res
=>
{
const
data
=
res
.
data
||
{};
const
data
=
res
.
data
||
{};
this
.
imageUrl
=
data
?.
vehicle
?.
cover
?.
url
||
''
;
this
.
imageUrl
=
data
?.
vehicle
?.
cover
?.
url
||
''
;
this
.
vehicleData
=
data
?.
vehicle
||
{};
});
});
}
}
...
@@ -42,22 +45,26 @@ export default class InspectionPreview extends Vue {
...
@@ -42,22 +45,26 @@ export default class InspectionPreview extends Vue {
@
Hook
(
'onShareAppMessage'
)
@
Hook
(
'onShareAppMessage'
)
onShareAppMessage
(
res
:
any
)
{
onShareAppMessage
(
res
:
any
)
{
// res.from 可判断分享触发来源:'button'(按钮触发)、'menu'(右上角菜单)
// res.from 可判断分享触发来源:'button'(按钮触发)、'menu'(右上角菜单)
console
.
debug
(
'分享来源:'
,
res
.
from
);
const
name
=
this
.
vehicleData
?.
baseInfo
?.
carSeriesName
+
this
.
vehicleData
?.
baseInfo
?.
carTypeName
;
let
title
=
'优加二手车:专业检测报告['
+
name
+
']'
;
return
{
return
{
title
:
'拍卖车检报告'
,
title
:
title
,
path
:
'/module/auction/InspectionPreview?vehicleId='
+
this
.
vehicleId
,
path
:
'/module/auction/InspectionPreview?vehicleId='
+
this
.
vehicleId
+
'&aucvehId='
+
this
.
aucvehId
,
imageUrl
:
this
.
imageUrl
||
''
,
// 分享图片(建议尺寸 5:4,默认使用页面截图)
imageUrl
:
this
.
imageUrl
||
''
,
// 分享图片(建议尺寸 5:4,默认使用页面截图)
};
};
}
}
@
Hook
(
'onShareTimeline'
)
@
Hook
(
'onShareTimeline'
)
onShareTimeline
()
{
onShareTimeline
()
{
const
name
=
this
.
vehicleData
?.
baseInfo
?.
carSeriesName
+
this
.
vehicleData
?.
baseInfo
?.
carTypeName
;
let
title
=
'优加二手车:专业检测报告['
+
name
+
']'
;
return
{
return
{
title
:
'拍卖车检报告'
,
title
:
title
,
query
:
`id=
${
this
.
vehicleId
}
`
,
// 分享参数
query
:
'vehicleId='
+
this
.
vehicleId
+
'&aucvehId='
+
this
.
aucvehId
,
// 分享参数
imageUrl
:
this
.
imageUrl
||
''
,
imageUrl
:
this
.
imageUrl
||
''
,
};
};
}
}
}
}
</
script
>
</
script
>
...
...
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