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 757757a2
authored
Mar 26, 2026
by
yancanhua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 自测问题
1 parent
a1abfa2f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
14 deletions
aus-front/admin/src/api/DetectionController.ts
aus-front/admin/src/views/detection/inspector/components/ticketList.vue
aus-front/admin/src/views/detection/order/DetectionOrderPage.vue
aus-front/admin/src/views/detection/order/DetectionOrderView.vue
aus-front/admin/src/views/detection/order/components/OperationLog.vue
aus-front/admin/src/views/detection/report/DetectionReportPage.vue
aus-front/admin/src/api/DetectionController.ts
View file @
757757a
...
@@ -80,8 +80,16 @@ export class DetectionController {
...
@@ -80,8 +80,16 @@ export class DetectionController {
return
axios
.
post
(
'inspect/wo/cancel'
,
params
);
return
axios
.
post
(
'inspect/wo/cancel'
,
params
);
}
}
// static inspectOrderDetail(axios: AxiosStatic, params: any): Promise<AxiosResponse> {
// return axios.get('inspect/wo/detail/' + params.id, params);
// }
static
inspectOrderDetail
(
axios
:
AxiosStatic
,
params
:
any
):
Promise
<
AxiosResponse
>
{
static
inspectOrderDetail
(
axios
:
AxiosStatic
,
params
:
any
):
Promise
<
AxiosResponse
>
{
return
axios
.
get
(
'inspect/wo/detail/'
+
params
.
id
,
params
);
return
axios
.
post
(
'inspect/wo/detail'
,
params
);
}
static
inspectReportDetail
(
axios
:
AxiosStatic
,
params
:
any
):
Promise
<
AxiosResponse
>
{
return
axios
.
get
(
'inspect/report/detail/'
+
params
.
id
,
params
);
}
}
static
inspectOrderAudit
(
axios
:
AxiosStatic
,
params
:
any
):
Promise
<
AxiosResponse
>
{
static
inspectOrderAudit
(
axios
:
AxiosStatic
,
params
:
any
):
Promise
<
AxiosResponse
>
{
...
...
aus-front/admin/src/views/detection/inspector/components/ticketList.vue
View file @
757757a
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
</
template
>
</
template
>
<
template
v-if=
"column.key === 'action'"
>
<
template
v-if=
"column.key === 'action'"
>
<router-link
:to=
"
{ path: '/detection/order/view', query: { id: record.id, action: 'VIEW' } }">
<router-link
:to=
"
{ path: '/detection/order/view', query: { id: record.id,
page: 'report',
action: 'VIEW' } }">
<a-button
type=
"link"
size=
"small"
>
详情
</a-button>
<a-button
type=
"link"
size=
"small"
>
详情
</a-button>
</router-link>
</router-link>
</
template
>
</
template
>
...
...
aus-front/admin/src/views/detection/order/DetectionOrderPage.vue
View file @
757757a
...
@@ -29,12 +29,15 @@
...
@@ -29,12 +29,15 @@
<template
v-if=
"column.key === 'carTypeName'"
>
<template
v-if=
"column.key === 'carTypeName'"
>
<div
class=
"carTypeNameBox"
>
<div
class=
"carTypeNameBox"
>
<div
class=
"carTypeNameBox_image"
>
<div
class=
"carTypeNameBox_image"
>
<a-image
v-if=
"record.vehicle?.cover?.url"
:width=
"60"
<a-image
v-if=
"record.vehicle?.cover?.url"
:width=
"60"
style=
"border-radius: 4px;"
style=
"border-radius: 4px;"
:src=
"record.vehicle?.cover?.url"
/>
:src=
"record.vehicle?.cover?.url"
/>
</div>
</div>
<div
class=
"carTypeNameBox_text"
>
<div
class=
"carTypeNameBox_text"
>
<div
class=
"carTypeNameBox_name"
:title=
"record.vehicle?.baseInfo?.carSeriesName + record.vehicle?.baseInfo?.carTypeName || '-'"
>
<div
class=
"carTypeNameBox_name"
{{
record
.
vehicle
?.
baseInfo
?.
carSeriesName
}}
{{
record
.
vehicle
?.
baseInfo
?.
carTypeName
||
'-'
}}
:title=
"record.vehicle?.baseInfo?.carSeriesName + record.vehicle?.baseInfo?.carTypeName || '-'"
>
{{
record
.
vehicle
?.
baseInfo
?.
carSeriesName
}}
{{
record
.
vehicle
?.
baseInfo
?.
carTypeName
||
'-'
}}
</div>
</div>
<div
class=
"carTypeNameBox_vin"
:title=
"record.vehicle?.baseInfo?.vin || '-'"
>
VIN码:
{{
<div
class=
"carTypeNameBox_vin"
:title=
"record.vehicle?.baseInfo?.vin || '-'"
>
VIN码:
{{
record
.
vehicle
?.
baseInfo
?.
vin
||
'-'
}}
</div>
record
.
vehicle
?.
baseInfo
?.
vin
||
'-'
}}
</div>
...
@@ -82,7 +85,8 @@
...
@@ -82,7 +85,8 @@
<
template
v-if=
"column.key === 'action'"
>
<
template
v-if=
"column.key === 'action'"
>
<router-link
:to=
"
{ path: '/detection/order/view', query: { id: record.id, action: 'VIEW' } }">
<router-link
:to=
"
{ path: '/detection/order/view', query: { id: record.id, page: 'order', action: 'VIEW' } }">
<a-button
type=
"link"
size=
"small"
>
详情
</a-button>
<a-button
type=
"link"
size=
"small"
>
详情
</a-button>
</router-link>
</router-link>
...
@@ -93,12 +97,12 @@
...
@@ -93,12 +97,12 @@
@
click=
"handleCancelOrder(record)"
size=
"small"
>
取消工单
</a-button>
@
click=
"handleCancelOrder(record)"
size=
"small"
>
取消工单
</a-button>
<router-link
v-if=
"record.status == 3 && record.auditStatus == 1"
<router-link
v-if=
"record.status == 3 && record.auditStatus == 1"
:to=
"
{ path: '/detection/order/view', query: { id: record.id, action: 'AUDIT' } }">
:to=
"
{ path: '/detection/order/view', query: { id: record.id,
page: 'order',
action: 'AUDIT' } }">
<a-button
type=
"link"
size=
"small"
>
审核
</a-button>
<a-button
type=
"link"
size=
"small"
>
审核
</a-button>
</router-link>
</router-link>
<router-link
v-if=
"record.auditStatus == 3"
<router-link
v-if=
"record.auditStatus == 3"
:to=
"
{ path: '/detection/order/view', query: { id: record.id, action: 'VIEW' } }">
:to=
"
{ path: '/detection/order/view', query: { id: record.id,
page: 'order',
action: 'VIEW' } }">
<a-button
type=
"link"
size=
"small"
>
检测报告
</a-button>
<a-button
type=
"link"
size=
"small"
>
检测报告
</a-button>
</router-link>
</router-link>
...
...
aus-front/admin/src/views/detection/order/DetectionOrderView.vue
View file @
757757a
...
@@ -97,7 +97,11 @@ export default class DetectionOrderView extends PaginationComponent<Vehicle> {
...
@@ -97,7 +97,11 @@ export default class DetectionOrderView extends PaginationComponent<Vehicle> {
}
}
getDetailData
()
{
getDetailData
()
{
DetectionController
.
inspectOrderDetail
(
this
.
axios
,
{
id
:
this
.
routeData
.
id
}).
then
(
response
=>
{
let
postDat
=
{
workOrderId
:
this
.
routeData
.
id
}
if
(
this
.
routeData
.
page
==
'report'
)
{
postDat
=
{
reportId
:
this
.
routeData
.
id
}
}
DetectionController
.
inspectOrderDetail
(
this
.
axios
,
postDat
).
then
(
response
=>
{
this
.
pageData
=
response
.
data
.
data
||
{};
this
.
pageData
=
response
.
data
.
data
||
{};
});
});
}
}
...
...
aus-front/admin/src/views/detection/order/components/OperationLog.vue
View file @
757757a
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<div
v-if=
"alllist.length !== index + 1"
class=
"progressBox-line"
></div>
<div
v-if=
"alllist.length !== index + 1"
class=
"progressBox-line"
></div>
</div>
</div>
<div
class=
"log-title"
>
<div
class=
"log-title"
>
<div
v-if=
"item.description
"
class=
"logBox-content"
>
{{
item
.
description
}}
</div>
<div
v-if=
"item.description
|| item.operationContent"
class=
"logBox-content"
>
{{
item
.
description
||
item
.
operationContent
}}
</div>
<div
class=
"logBox-time"
>
<div
class=
"logBox-time"
>
<div
class=
"logBox-point"
v-if=
"item.updateNameCnFirst"
>
{{
item
.
updateNameCnFirst
}}
</div>
<div
class=
"logBox-point"
v-if=
"item.updateNameCnFirst"
>
{{
item
.
updateNameCnFirst
}}
</div>
<span
class=
"p-l-4"
>
{{
item
.
operatorName
}}
</span>
<span
class=
"p-l-4"
>
{{
item
.
operatorName
}}
</span>
...
...
aus-front/admin/src/views/detection/report/DetectionReportPage.vue
View file @
757757a
...
@@ -59,13 +59,13 @@
...
@@ -59,13 +59,13 @@
</
template
>
</
template
>
<
template
v-if=
"column.key === 'woId'"
>
<
template
v-if=
"column.key === 'woId'"
>
<router-link
:to=
"
{ path: '/detection/order/view', query: { id: record.id, action: 'VIEW' } }">
<router-link
:to=
"
{ path: '/detection/order/view', query: { id: record.id,
page: 'report',
action: 'VIEW' } }">
<a-button
type=
"link"
size=
"small"
>
{{
record
.
woId
}}
</a-button>
<a-button
type=
"link"
size=
"small"
>
{{
record
.
woId
}}
</a-button>
</router-link>
</router-link>
</
template
>
</
template
>
<
template
v-if=
"column.key === 'action'"
>
<
template
v-if=
"column.key === 'action'"
>
<router-link
:to=
"
{ path: '/detection/order/view', query: { id: record.id, action: 'VIEW' } }">
<router-link
:to=
"
{ path: '/detection/order/view', query: { id: record.id,
page: 'report',
action: 'VIEW' } }">
<a-button
type=
"link"
size=
"small"
>
预览
</a-button>
<a-button
type=
"link"
size=
"small"
>
预览
</a-button>
</router-link>
</router-link>
<a-button
type=
"link"
@
click=
"handleBind(record, 2)"
v-if=
"record.bindStatus == 1"
<a-button
type=
"link"
@
click=
"handleBind(record, 2)"
v-if=
"record.bindStatus == 1"
...
...
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