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 6a4175ca
authored
Mar 30, 2026
by
yancanhua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 前端测试问题修改
1 parent
27173328
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
50 additions
and
18 deletions
aus-front/admin/src/views/detection/inspector/DetectionInspectorPage.vue
aus-front/admin/src/views/detection/inspector/components/InspectorAddForm.vue
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/components/orderDetails.vue
aus-front/admin/src/views/detection/report/DetectionReportPage.vue
aus-front/admin/src/views/detection/inspector/DetectionInspectorPage.vue
View file @
6a4175c
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
</
template
>
</
template
>
<
template
v-if=
"column.key === 'avgInspectCost'"
>
<
template
v-if=
"column.key === 'avgInspectCost'"
>
{{
convertToHourMinuteSecond
(
record
.
avgInspect
Sec
||
0
)
}}
{{
convertToHourMinuteSecond
(
record
.
avgInspect
Cost
||
0
)
}}
</
template
>
</
template
>
<
template
v-if=
"column.key === 'action'"
>
<
template
v-if=
"column.key === 'action'"
>
...
...
aus-front/admin/src/views/detection/inspector/components/InspectorAddForm.vue
View file @
6a4175c
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<a-form
layout=
"vertical"
:model=
"postData"
:label-col=
"labelCol"
:wrapper-col=
"wrapperCol"
<a-form
layout=
"vertical"
:model=
"postData"
:label-col=
"labelCol"
:wrapper-col=
"wrapperCol"
ref=
"formRef"
>
ref=
"formRef"
>
<a-form-item
name=
"name"
label=
"姓名"
<a-form-item
name=
"name"
label=
"姓名"
:rules=
"[
{ required: true, message: '请输入检测
室
真实姓名' }, { pattern: /^(?:[\u4e00-\u9fa5]{1,10}|[a-zA-Z]{2,20})$/, message: '请输入1-10个中文字符或2-20个英文字符' }]">
:rules=
"[
{ required: true, message: '请输入检测
师
真实姓名' }, { pattern: /^(?:[\u4e00-\u9fa5]{1,10}|[a-zA-Z]{2,20})$/, message: '请输入1-10个中文字符或2-20个英文字符' }]">
<a-input
v-model:value=
"postData.name"
placeholder=
"请输入检测
室
真实姓名"
:maxlength=
"20"
<a-input
v-model:value=
"postData.name"
placeholder=
"请输入检测
师
真实姓名"
:maxlength=
"20"
style=
"width: 376px;"
/>
style=
"width: 376px;"
/>
</a-form-item>
</a-form-item>
<a-form-item
name=
"phone"
label=
"手机号码"
<a-form-item
name=
"phone"
label=
"手机号码"
...
...
aus-front/admin/src/views/detection/inspector/components/ticketList.vue
View file @
6a4175c
...
@@ -67,7 +67,7 @@ export default class DetectionOrderPage extends PaginationComponent<Vehicle> {
...
@@ -67,7 +67,7 @@ export default class DetectionOrderPage extends PaginationComponent<Vehicle> {
return
(
this
.
getPagination
().
pageIndex
-
1
)
*
this
.
getPagination
().
pageSize
+
index
+
1
;
return
(
this
.
getPagination
().
pageIndex
-
1
)
*
this
.
getPagination
().
pageSize
+
index
+
1
;
},
},
},
},
{
title
:
'工单'
,
dataIndex
:
'woId'
,
key
:
'woId'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'工单
单号
'
,
dataIndex
:
'woId'
,
key
:
'woId'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'车辆名称'
,
dataIndex
:
[
'vehicle'
,
'baseInfo'
,
"carTypeName"
],
key
:
'carTypeName'
,
align
:
'center'
,
width
:
240
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'车辆名称'
,
dataIndex
:
[
'vehicle'
,
'baseInfo'
,
"carTypeName"
],
key
:
'carTypeName'
,
align
:
'center'
,
width
:
240
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'车源号'
,
dataIndex
:
[
'vehicle'
,
'baseInfo'
,
"sourceNo"
],
key
:
'sourceNo'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'车源号'
,
dataIndex
:
[
'vehicle'
,
'baseInfo'
,
"sourceNo"
],
key
:
'sourceNo'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'派单时间'
,
dataIndex
:
'woTime'
,
key
:
'woTime'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'派单时间'
,
dataIndex
:
'woTime'
,
key
:
'woTime'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
},
...
...
aus-front/admin/src/views/detection/order/DetectionOrderPage.vue
View file @
6a4175c
...
@@ -177,7 +177,7 @@ export default class DetectionOrderPage extends PaginationComponent<Vehicle> {
...
@@ -177,7 +177,7 @@ export default class DetectionOrderPage extends PaginationComponent<Vehicle> {
{
title
:
'车辆状态'
,
dataIndex
:
[
'vehicle'
,
"vehicleState"
],
key
:
'vehicleState'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'车辆状态'
,
dataIndex
:
[
'vehicle'
,
"vehicleState"
],
key
:
'vehicleState'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'检测师'
,
dataIndex
:
[
'inspector'
,
"name"
],
key
:
'name'
,
align
:
'left'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'检测师'
,
dataIndex
:
[
'inspector'
,
"name"
],
key
:
'name'
,
align
:
'left'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'检测地址'
,
dataIndex
:
'inspectionAddress'
,
key
:
'inspectionAddress'
,
align
:
'center'
,
width
:
240
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'检测地址'
,
dataIndex
:
'inspectionAddress'
,
key
:
'inspectionAddress'
,
align
:
'center'
,
width
:
240
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'检测状态'
,
dataIndex
:
'status'
,
key
:
'status'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'检测
单
状态'
,
dataIndex
:
'status'
,
key
:
'status'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'审核状态'
,
dataIndex
:
'auditStatus'
,
key
:
'auditStatus'
,
width
:
170
,
align
:
'center'
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'审核状态'
,
dataIndex
:
'auditStatus'
,
key
:
'auditStatus'
,
width
:
170
,
align
:
'center'
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'创建时间'
,
dataIndex
:
'createTime'
,
key
:
'createTime'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
{
title
:
'创建时间'
,
dataIndex
:
'createTime'
,
key
:
'createTime'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
{
title
:
'完成检测时间'
,
dataIndex
:
'inspectionCompletedTime'
,
key
:
'inspectionCompletedTime'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
{
title
:
'完成检测时间'
,
dataIndex
:
'inspectionCompletedTime'
,
key
:
'inspectionCompletedTime'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
...
...
aus-front/admin/src/views/detection/order/components/orderDetails.vue
View file @
6a4175c
...
@@ -101,7 +101,6 @@
...
@@ -101,7 +101,6 @@
</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>
...
@@ -136,7 +135,15 @@
...
@@ -136,7 +135,15 @@
<div
class=
"title-line"
></div>
<div
class=
"title-line"
></div>
</
template
>
</
template
>
<a-descriptions-item
label=
""
>
<a-descriptions-item
label=
""
>
<div
class=
"linkBox"
>
{{ inspectionReportResp?.h5Url || '-' }}
</div>
<div
class=
"linkBox"
>
{{ inspectionReportResp?.h5Url || '-' }}
<div
v-if=
"inspectionReportResp?.h5Url"
@
click=
"copyCustomText(inspectionReportResp?.h5Url)"
style=
"color: #1956FE;font-size: 12px; cursor: pointer;float: right;margin-right: 12px;"
>
<CopyOutlined
style=
"color: #1956FE;font-size: 12px;"
/>
复制
</div>
</div>
</a-descriptions-item>
</a-descriptions-item>
</a-descriptions>
</a-descriptions>
</a-card>
</a-card>
...
@@ -149,13 +156,14 @@
...
@@ -149,13 +156,14 @@
import
{
Component
,
Prop
,
Vue
,
Watch
}
from
"vue-facing-decorator"
;
import
{
Component
,
Prop
,
Vue
,
Watch
}
from
"vue-facing-decorator"
;
import
{
PaginationComponent
}
from
"@/components/PaginationComponent"
;
import
{
PaginationComponent
}
from
"@/components/PaginationComponent"
;
import
{
Vehicle
}
from
"lib/src/entity/vehicle/entity/Vehicle"
;
import
{
Vehicle
}
from
"lib/src/entity/vehicle/entity/Vehicle"
;
import
TitleDivider
from
"@/components/TitleDivider.vue"
;
import
TitleDivider
from
"@/components/TitleDivider.vue"
;
import
TitleTipIcon
from
"@/components/icons/TitleTipIcon.vue"
;
import
TitleTipIcon
from
"@/components/icons/TitleTipIcon.vue"
;
import
VehicleStateTag
from
"@/views/vehicle/inventory/VehicleStateTag.vue"
;
import
VehicleStateTag
from
"@/views/vehicle/inventory/VehicleStateTag.vue"
;
import
{
CopyOutlined
}
from
"@ant-design/icons-vue"
;
import
{
message
}
from
"ant-design-vue"
;
@
Component
({
@
Component
({
components
:
{
TitleDivider
,
TitleTipIcon
,
VehicleStateTag
}
components
:
{
TitleDivider
,
TitleTipIcon
,
VehicleStateTag
,
CopyOutlined
}
})
})
...
@@ -166,7 +174,14 @@ export default class DetectionOrderView extends PaginationComponent<Vehicle> {
...
@@ -166,7 +174,14 @@ export default class DetectionOrderView extends PaginationComponent<Vehicle> {
@
Prop
({
type
:
Object
,
required
:
true
})
@
Prop
({
type
:
Object
,
required
:
true
})
inspectionReportResp
:
any
;
inspectionReportResp
:
any
;
async
copyCustomText
(
text
)
{
try
{
await
navigator
.
clipboard
.
writeText
(
text
);
message
.
success
(
'复制成功'
);
}
catch
(
err
)
{
message
.
error
(
'复制失败'
);
}
}
}
}
</
script
>
</
script
>
...
...
aus-front/admin/src/views/detection/report/DetectionReportPage.vue
View file @
6a4175c
...
@@ -3,7 +3,17 @@
...
@@ -3,7 +3,17 @@
<!--查询栏-->
<!--查询栏-->
<m-pagination-query-render
:fields=
"pagination.filterFields"
:form=
"pagination.queryForm"
<m-pagination-query-render
:fields=
"pagination.filterFields"
:form=
"pagination.queryForm"
@
onSearch=
"handlePageReload"
@
onReset=
"handleReset"
:simpleFieldNum=
"4"
/>
@
onSearch=
"handlePageReload"
@
onReset=
"handleReset"
:simpleFieldNum=
"4"
>
<template
#
keyword=
"
{ record }">
<a-popover>
<template
#
content
>
<p>
搜索报告编号、工单号、车源号、VIN码、车牌
</p>
</
template
>
<a-input
v-model:value=
"pagination.queryForm.keyword"
placeholder=
"搜索报告编号、工单号、车源号、VIN码、车牌"
/>
</a-popover>
</template>
</m-pagination-query-render>
<!--查询栏end-->
<!--查询栏end-->
<!--库存车辆列表start-->
<!--库存车辆列表start-->
...
@@ -31,12 +41,15 @@
...
@@ -31,12 +41,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>
...
@@ -59,13 +72,15 @@
...
@@ -59,13 +72,15 @@
</
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, page: 'report', 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, page: 'report', 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"
...
@@ -159,7 +174,9 @@ export default class DetectionReportPage extends PaginationComponent<Vehicle> {
...
@@ -159,7 +174,9 @@ export default class DetectionReportPage extends PaginationComponent<Vehicle> {
this
.
init
(
this
.
axios
,
DetectionController
.
PAGE_INSPECTOR_REPORT
);
this
.
init
(
this
.
axios
,
DetectionController
.
PAGE_INSPECTOR_REPORT
);
this
.
buildQueryForm
({
this
.
buildQueryForm
({
keyword
:
[
null
,
{
label
:
'关键字'
,
field
:
'keyword'
,
placeholder
:
'搜索报告编号、工单号、车源号、VIN码、车牌'
,
operator
:
Operator
.
like
}],
keyword
:
[
null
,
{
name
:
'keyword'
,
label
:
'关键字'
,
field
:
'keyword'
,
type
:
'slot'
,
placeholder
:
'搜索报告编号、工单号、车源号、VIN码、车牌'
,
operator
:
Operator
.
eq
}],
bindStatus
:
[
null
,
{
bindStatus
:
[
null
,
{
label
:
'绑定状态'
,
field
:
'bindStatus'
,
type
:
'select'
,
allowClear
:
true
,
optionItems
:
this
.
bindStatusList
,
operator
:
Operator
.
eq
label
:
'绑定状态'
,
field
:
'bindStatus'
,
type
:
'select'
,
allowClear
:
true
,
optionItems
:
this
.
bindStatusList
,
operator
:
Operator
.
eq
}],
}],
...
...
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