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 c9f285e5
authored
Mar 27, 2026
by
yancanhua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 测试问题修改
1 parent
296d31f0
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
92 additions
and
31 deletions
aus-front/admin/src/views/detection/inspector/DetectionInspectorPage.vue
aus-front/admin/src/views/detection/inspector/DetectionInspectorView.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/OrderAddForm.vue
aus-front/admin/src/views/detection/report/DetectionReportPage.vue
aus-front/admin/src/views/detection/inspector/DetectionInspectorPage.vue
View file @
c9f285e
...
@@ -66,19 +66,22 @@
...
@@ -66,19 +66,22 @@
</
template
>
</
template
>
<
template
v-if=
"column.key === 'dispatchedCount'"
>
<
template
v-if=
"column.key === 'dispatchedCount'"
>
<router-link
:to=
"
{ path: '/detection/order', query: {phone: record.phone, tabKey: 'DISPATCHED' } }">
<router-link
:to=
"
{ path: '/detection/order', query: { phone: record.phone, tabKey: 'DISPATCHED' } }">
<a-button
type=
"link"
size=
"small"
>
{{
record
.
dispatchedCount
}}
</a-button>
<a-button
type=
"link"
size=
"small"
>
{{
record
.
dispatchedCount
}}
</a-button>
</router-link>
</router-link>
</
template
>
</
template
>
<
template
v-if=
"column.key === 'inProgressCount'"
>
<
template
v-if=
"column.key === 'inProgressCount'"
>
<router-link
:to=
"
{ path: '/detection/order', query: {phone: record.phone, tabKey: 'IN_PROGRESS' } }">
<router-link
:to=
"
{ path: '/detection/order', query: { phone: record.phone, tabKey: 'IN_PROGRESS' } }">
<a-button
type=
"link"
size=
"small"
>
{{
record
.
inProgressCount
}}
</a-button>
<a-button
type=
"link"
size=
"small"
>
{{
record
.
inProgressCount
}}
</a-button>
</router-link>
</router-link>
</
template
>
</
template
>
<
template
v-if=
"column.key === 'completedCount'"
>
<
template
v-if=
"column.key === 'completedCount'"
>
<router-link
:to=
"
{ path: '/detection/order', query: {phone: record.phone, tabKey: 'COMPLETED' } }">
<router-link
:to=
"
{ path: '/detection/order', query: { phone: record.phone, tabKey: 'COMPLETED' } }">
<a-button
type=
"link"
size=
"small"
>
{{
record
.
completedCount
}}
</a-button>
<a-button
type=
"link"
size=
"small"
>
{{
record
.
completedCount
}}
</a-button>
</router-link>
</router-link>
</
template
>
</
template
>
...
@@ -248,7 +251,7 @@ export default class DetectionInspectorPage extends PaginationComponent<Vehicle>
...
@@ -248,7 +251,7 @@ export default class DetectionInspectorPage extends PaginationComponent<Vehicle>
}
}
DetectionController
.
inspectExport
(
this
.
axios
,
paramsData
,
{
responseType
:
'blob'
}).
then
(
response
=>
{
DetectionController
.
inspectExport
(
this
.
axios
,
paramsData
,
{
responseType
:
'blob'
}).
then
(
response
=>
{
message
.
success
(
'导出任务已创建,请稍后在浏览器下载列表中查看'
);
message
.
success
(
'导出任务已创建,请稍后在浏览器下载列表中查看'
);
ExportUtil
.
downloadExcelFile
(
response
.
data
,
'检测师列表'
+
this
.
getNewTime
()
);
ExportUtil
.
downloadExcelFile
(
response
.
data
,
this
.
getNewTime
()
+
'-检测师管理'
);
}).
catch
(
error
=>
{
}).
catch
(
error
=>
{
console
.
error
(
'Error downloading Word file:'
,
error
);
console
.
error
(
'Error downloading Word file:'
,
error
);
}).
finally
(()
=>
{
}).
finally
(()
=>
{
...
...
aus-front/admin/src/views/detection/inspector/DetectionInspectorView.vue
View file @
c9f285e
...
@@ -63,11 +63,21 @@
...
@@ -63,11 +63,21 @@
<div
style=
"width: 100%;float: left;"
>
<div
style=
"width: 100%;float: left;"
>
<a-descriptions
:column=
"1"
size=
"small"
layout=
"vertical"
>
<a-descriptions
:column=
"1"
size=
"small"
layout=
"vertical"
>
<
template
#
title
>
<
template
#
title
>
<title-tip-icon></title-tip-icon>
<div>
操作日志
<div>
<title-tip-icon></title-tip-icon>
操作日志
</div>
<div
@
click=
"handleFold(false)"
v-if=
"isShowFold"
class=
"foldBox"
>
收起
<DoubleLeftOutlined
color=
"#666666"
font-size=
"13px;"
style=
"transform: rotate(90deg);"
/>
</div>
<div
@
click=
"handleFold(true)"
v-else
class=
"foldBox"
>
展开
<DoubleLeftOutlined
color=
"#666666"
font-size=
"13px;"
style=
"transform: rotate(270deg);"
/>
</div>
</div>
<div
class=
"title-line"
></div>
<div
class=
"title-line"
></div>
</
template
>
</
template
>
<a-descriptions-item
label=
""
>
<a-descriptions-item
v-if=
"isShowFold"
label=
""
>
<OperationLog
ref=
"operationLogRef"
:operationLogData=
"pageData"
/>
<OperationLog
ref=
"operationLogRef"
:operationLogData=
"pageData"
/>
</a-descriptions-item>
</a-descriptions-item>
</a-descriptions>
</a-descriptions>
...
@@ -91,9 +101,11 @@ import TitleTipIcon from "@/components/icons/TitleTipIcon.vue";
...
@@ -91,9 +101,11 @@ import TitleTipIcon from "@/components/icons/TitleTipIcon.vue";
import
InspectorAddForm
from
"@/views/detection/inspector/components/InspectorAddForm.vue"
;
import
InspectorAddForm
from
"@/views/detection/inspector/components/InspectorAddForm.vue"
;
import
OperationLog
from
"@/views/detection/inspector/components/OperationLog.vue"
;
import
OperationLog
from
"@/views/detection/inspector/components/OperationLog.vue"
;
import
TicketList
from
"@/views/detection/inspector/components/ticketList.vue"
;
import
TicketList
from
"@/views/detection/inspector/components/ticketList.vue"
;
import
{
DoubleLeftOutlined
}
from
'@ant-design/icons-vue'
;
@
Component
({
@
Component
({
components
:
{
TitleDivider
,
TitleTipIcon
,
InspectorAddForm
,
OperationLog
,
TicketList
}
components
:
{
TitleDivider
,
TitleTipIcon
,
InspectorAddForm
,
OperationLog
,
TicketList
,
DoubleLeftOutlined
}
})
})
...
@@ -106,6 +118,8 @@ export default class DetectionInspectorView extends PaginationComponent<Vehicle>
...
@@ -106,6 +118,8 @@ export default class DetectionInspectorView extends PaginationComponent<Vehicle>
pageData
:
any
=
{};
pageData
:
any
=
{};
isShowFold
:
boolean
=
true
;
created
():
void
{
created
():
void
{
this
.
routeData
=
this
.
$route
.
query
;
this
.
routeData
=
this
.
$route
.
query
;
this
.
getDetailData
();
this
.
getDetailData
();
...
@@ -125,6 +139,10 @@ export default class DetectionInspectorView extends PaginationComponent<Vehicle>
...
@@ -125,6 +139,10 @@ export default class DetectionInspectorView extends PaginationComponent<Vehicle>
this
.
$router
.
back
();
this
.
$router
.
back
();
}
}
handleFold
(
isFold
:
boolean
)
{
this
.
isShowFold
=
isFold
;
}
//秒转换为时分秒
//秒转换为时分秒
convertToHourMinuteSecond
(
seconds
:
number
)
{
convertToHourMinuteSecond
(
seconds
:
number
)
{
const
hours
=
Math
.
floor
(
seconds
/
3600
);
const
hours
=
Math
.
floor
(
seconds
/
3600
);
...
@@ -189,4 +207,14 @@ export default class DetectionInspectorView extends PaginationComponent<Vehicle>
...
@@ -189,4 +207,14 @@ export default class DetectionInspectorView extends PaginationComponent<Vehicle>
background-color
:
#F2F4F7
;
background-color
:
#F2F4F7
;
margin-top
:
10px
;
margin-top
:
10px
;
}
}
.foldBox
{
float
:
right
;
color
:
#666666
;
font-size
:
13px
;
font-weight
:
400
;
margin-top
:
-16px
;
cursor
:
pointer
;
}
</
style
>
</
style
>
aus-front/admin/src/views/detection/order/DetectionOrderPage.vue
View file @
c9f285e
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
:title=
"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
{{
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>
...
@@ -78,9 +78,9 @@
...
@@ -78,9 +78,9 @@
<a-tag
v-else-if=
"record.auditStatus == 2"
color=
"#E7F2FE"
:style=
"
{ color: '#288BFA' }"
<a-tag
v-else-if=
"record.auditStatus == 2"
color=
"#E7F2FE"
:style=
"
{ color: '#288BFA' }"
:bordered="false">审核中
</a-tag>
:bordered="false">审核中
</a-tag>
<a-tag
v-else-if=
"record.auditStatus == 3"
color=
"#E8F8F2"
:style=
"
{ color: '#00AD74' }"
<a-tag
v-else-if=
"record.auditStatus == 3"
color=
"#E8F8F2"
:style=
"
{ color: '#00AD74' }"
:bordered="false">
审批
通过
</a-tag>
:bordered="false">
已
通过
</a-tag>
<a-tag
v-else-if=
"record.auditStatus == 4"
color=
"#FFEDED"
:style=
"
{ color: '#EB2F2F' }"
<a-tag
v-else-if=
"record.auditStatus == 4"
color=
"#FFEDED"
:style=
"
{ color: '#EB2F2F' }"
:bordered="false">
审批
驳回
</a-tag>
:bordered="false">
已
驳回
</a-tag>
</
template
>
</
template
>
<
template
v-if=
"column.key === 'action'"
>
<
template
v-if=
"column.key === 'action'"
>
...
@@ -152,8 +152,8 @@ export default class DetectionOrderPage extends PaginationComponent<Vehicle> {
...
@@ -152,8 +152,8 @@ export default class DetectionOrderPage extends PaginationComponent<Vehicle> {
auditStatusList
=
[
auditStatusList
=
[
{
label
:
'待审核'
,
value
:
1
},
{
label
:
'待审核'
,
value
:
1
},
// { label: '审核中', value: 2 },
// { label: '审核中', value: 2 },
{
label
:
'
审批
通过'
,
value
:
3
},
{
label
:
'
已
通过'
,
value
:
3
},
{
label
:
'
审批
驳回'
,
value
:
4
},
{
label
:
'
已
驳回'
,
value
:
4
},
];
];
tabKey
=
""
;
tabKey
=
""
;
...
@@ -162,14 +162,14 @@ export default class DetectionOrderPage extends PaginationComponent<Vehicle> {
...
@@ -162,14 +162,14 @@ export default class DetectionOrderPage extends PaginationComponent<Vehicle> {
*/
*/
columns
:
TableColumnsType
=
[
columns
:
TableColumnsType
=
[
{
{
title
:
'序号'
,
key
:
'index'
,
width
:
70
,
align
:
'center'
,
sorter
:
false
,
title
:
'序号'
,
key
:
'index'
,
width
:
70
,
align
:
'center'
,
fixed
:
'left'
,
sorter
:
false
,
customRender
:
({
index
})
=>
{
customRender
:
({
index
})
=>
{
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'
,
fixed
:
'left'
,
width
:
170
,
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'
,
fixed
:
'left'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'车型名称'
,
dataIndex
:
[
'vehicle'
,
'baseInfo'
,
"carTypeName"
],
key
:
'carTypeName'
,
align
:
'left'
,
width
:
286
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'车型名称'
,
dataIndex
:
[
'vehicle'
,
'baseInfo'
,
"carTypeName"
],
key
:
'carTypeName'
,
align
:
'left'
,
fixed
:
'left'
,
width
:
286
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'车牌号'
,
dataIndex
:
[
'vehicle'
,
'baseInfo'
,
"licensePlate"
],
key
:
'licensePlate'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'车牌号'
,
dataIndex
:
[
'vehicle'
,
'baseInfo'
,
"licensePlate"
],
key
:
'licensePlate'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'所属门店'
,
dataIndex
:
[
'vehicle'
,
'venue'
,
'venueName'
],
key
:
'venueName'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'所属门店'
,
dataIndex
:
[
'vehicle'
,
'venue'
,
'venueName'
],
key
:
'venueName'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'车辆所在地址'
,
dataIndex
:
[
'vehicle'
,
'custodianInfo'
,
"handoverAddress"
],
key
:
'handoverAddress'
,
width
:
240
,
resizable
:
true
,
ellipsis
:
true
},
{
title
:
'车辆所在地址'
,
dataIndex
:
[
'vehicle'
,
'custodianInfo'
,
"handoverAddress"
],
key
:
'handoverAddress'
,
width
:
240
,
resizable
:
true
,
ellipsis
:
true
},
...
@@ -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
},
...
@@ -301,7 +301,7 @@ export default class DetectionOrderPage extends PaginationComponent<Vehicle> {
...
@@ -301,7 +301,7 @@ export default class DetectionOrderPage extends PaginationComponent<Vehicle> {
}
}
DetectionController
.
inspectOrderExport
(
this
.
axios
,
paramsData
,
{
responseType
:
'blob'
}).
then
(
response
=>
{
DetectionController
.
inspectOrderExport
(
this
.
axios
,
paramsData
,
{
responseType
:
'blob'
}).
then
(
response
=>
{
message
.
success
(
'导出任务已创建,请在下载中心查看'
);
message
.
success
(
'导出任务已创建,请在下载中心查看'
);
ExportUtil
.
downloadExcelFile
(
response
.
data
,
'检测订单管理列表'
+
this
.
getNewTime
()
);
ExportUtil
.
downloadExcelFile
(
response
.
data
,
+
this
.
getNewTime
()
+
'-检测工单管理'
);
}).
catch
(
error
=>
{
}).
catch
(
error
=>
{
console
.
error
(
'Error downloading Word file:'
,
error
);
console
.
error
(
'Error downloading Word file:'
,
error
);
}).
finally
(()
=>
{
}).
finally
(()
=>
{
...
...
aus-front/admin/src/views/detection/order/DetectionOrderView.vue
View file @
c9f285e
...
@@ -29,11 +29,23 @@
...
@@ -29,11 +29,23 @@
<div
style=
"width: 100%;float: left;margin-top: 16px;"
>
<div
style=
"width: 100%;float: left;margin-top: 16px;"
>
<a-descriptions
:column=
"1"
size=
"small"
layout=
"vertical"
>
<a-descriptions
:column=
"1"
size=
"small"
layout=
"vertical"
>
<template
#
title
>
<template
#
title
>
<title-tip-icon></title-tip-icon>
<div>
操作日志
<div>
<title-tip-icon></title-tip-icon>
操作日志
</div>
<div
@
click=
"handleFold(false)"
v-if=
"isShowFold"
class=
"foldBox"
>
收起
<DoubleLeftOutlined
color=
"#666666"
font-size=
"13px;"
style=
"transform: rotate(90deg);"
/>
</div>
<div
@
click=
"handleFold(true)"
v-else
class=
"foldBox"
>
展开
<DoubleLeftOutlined
color=
"#666666"
font-size=
"13px;"
style=
"transform: rotate(270deg);"
/>
</div>
</div>
<div
class=
"title-line"
></div>
<div
class=
"title-line"
></div>
</
template
>
</
template
>
<a-descriptions-item
label=
""
>
<a-descriptions-item
v-if=
"isShowFold"
label=
""
>
<OperationLog
ref=
"operationLogRef"
:operationLogData=
"pageData"
/>
<OperationLog
ref=
"operationLogRef"
:operationLogData=
"pageData"
/>
</a-descriptions-item>
</a-descriptions-item>
</a-descriptions>
</a-descriptions>
...
@@ -49,19 +61,18 @@
...
@@ -49,19 +61,18 @@
import
{
Component
}
from
'vue-facing-decorator'
;
import
{
Component
}
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
{
DetectionController
}
from
"@/api/DetectionController"
;
import
{
DetectionController
}
from
"@/api/DetectionController"
;
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
OperationLog
from
"@/views/detection/order/components/OperationLog.vue"
;
import
OperationLog
from
"@/views/detection/order/components/OperationLog.vue"
;
import
orderReport
from
"@/views/detection/order/components/orderReport.vue"
;
import
orderReport
from
"@/views/detection/order/components/orderReport.vue"
;
import
orderDetails
from
"@/views/detection/order/components/orderDetails.vue"
;
import
orderDetails
from
"@/views/detection/order/components/orderDetails.vue"
;
import
reviewDialog
from
"@/views/detection/order/components/reviewDialog.vue"
;
import
reviewDialog
from
"@/views/detection/order/components/reviewDialog.vue"
;
import
{
DoubleLeftOutlined
}
from
'@ant-design/icons-vue'
;
@
Component
({
@
Component
({
components
:
{
TitleDivider
,
TitleTipIcon
,
OperationLog
,
orderReport
,
orderDetails
,
reviewDialog
}
components
:
{
TitleDivider
,
TitleTipIcon
,
OperationLog
,
orderReport
,
orderDetails
,
reviewDialog
,
DoubleLeftOutlined
}
})
})
...
@@ -78,6 +89,8 @@ export default class DetectionOrderView extends PaginationComponent<Vehicle> {
...
@@ -78,6 +89,8 @@ export default class DetectionOrderView extends PaginationComponent<Vehicle> {
pageData
:
any
=
{};
pageData
:
any
=
{};
isShowFold
:
boolean
=
true
;
get
tabs
()
{
get
tabs
()
{
let
tabs
=
[
let
tabs
=
[
{
key
:
"REPORT"
,
tab
:
"检测报告"
},
{
key
:
"REPORT"
,
tab
:
"检测报告"
},
...
@@ -110,6 +123,10 @@ export default class DetectionOrderView extends PaginationComponent<Vehicle> {
...
@@ -110,6 +123,10 @@ export default class DetectionOrderView extends PaginationComponent<Vehicle> {
this
.
$refs
.
reviewDialogRef
.
showVisible
({
...
this
.
pageData
,
status
});
this
.
$refs
.
reviewDialogRef
.
showVisible
({
...
this
.
pageData
,
status
});
}
}
handleFold
(
isFold
:
boolean
)
{
this
.
isShowFold
=
isFold
;
}
handleBack
()
{
handleBack
()
{
this
.
$router
.
back
();
this
.
$router
.
back
();
}
}
...
@@ -137,4 +154,13 @@ export default class DetectionOrderView extends PaginationComponent<Vehicle> {
...
@@ -137,4 +154,13 @@ export default class DetectionOrderView extends PaginationComponent<Vehicle> {
margin-top
:
16px
;
margin-top
:
16px
;
margin-bottom
:
16px
;
margin-bottom
:
16px
;
}
}
.foldBox
{
float
:
right
;
color
:
#666666
;
font-size
:
13px
;
font-weight
:
400
;
margin-top
:
-16px
;
cursor
:
pointer
;
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
aus-front/admin/src/views/detection/order/components/OrderAddForm.vue
View file @
c9f285e
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<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=
"vehicleId"
style=
"width: 100%;"
label=
"车辆信息"
<a-form-item
name=
"vehicleId"
style=
"width: 100%;"
label=
"车辆信息"
:rules=
"[{ required: true, message: '请选择车辆' }
,
]"
>
:rules=
"[{ required: true, message: '请选择车辆' }]"
>
<a-button
v-if=
"!postData.vehicleId"
@
click=
"addVehicle()"
>
选择车辆
</a-button>
<a-button
v-if=
"!postData.vehicleId"
@
click=
"addVehicle()"
>
选择车辆
</a-button>
<div
v-if=
"postData.vehicleId"
class=
"vehicleData"
>
<div
v-if=
"postData.vehicleId"
class=
"vehicleData"
>
<div
v-if=
"!postData.id"
class=
"vehicleDelete"
>
<div
v-if=
"!postData.id"
class=
"vehicleDelete"
>
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<a-descriptions-item
label=
"车源号"
>
{{ vehicleData.sourceNo || '-' }}
</a-descriptions-item>
<a-descriptions-item
label=
"车源号"
>
{{ vehicleData.sourceNo || '-' }}
</a-descriptions-item>
<a-descriptions-item
label=
"VIN码"
>
{{ vehicleData.vin || '-' }}
</a-descriptions-item>
<a-descriptions-item
label=
"VIN码"
>
{{ vehicleData.vin || '-' }}
</a-descriptions-item>
<a-descriptions-item
label=
"车牌号"
>
{{ vehicleData.licensePlate || '-'
<a-descriptions-item
label=
"车牌号"
>
{{ vehicleData.licensePlate || '-'
}}
</a-descriptions-item>
}}
</a-descriptions-item>
</a-descriptions>
</a-descriptions>
</div>
</div>
</a-form-item>
</a-form-item>
...
@@ -47,7 +47,8 @@
...
@@ -47,7 +47,8 @@
<a-form-item
name=
"inspectorId"
label=
"检测人员"
:rules=
"[{ required: true, message: '请选择检测人员' }]"
>
<a-form-item
name=
"inspectorId"
label=
"检测人员"
:rules=
"[{ required: true, message: '请选择检测人员' }]"
>
<a-select
ref=
"select"
v-model:value=
"postData.inspectorId"
placeholder=
"请选择检测人员"
<a-select
ref=
"select"
v-model:value=
"postData.inspectorId"
placeholder=
"请选择检测人员"
style=
"width: 376px;"
show-search
option-filter-prop=
"label"
>
style=
"width: 376px;"
show-search
option-filter-prop=
"label"
>
<a-select-option
v-for=
"item in inspectPageList"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
<a-select-option
v-for=
"item in inspectPageList"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
{{ item.name }}
{{ item.name }}
</a-select-option>
</a-select-option>
</a-select>
</a-select>
...
@@ -127,7 +128,10 @@ export default class OrderAddForm extends EnhanceFormComponent<User> {
...
@@ -127,7 +128,10 @@ export default class OrderAddForm extends EnhanceFormComponent<User> {
this
.
inspectorData
.
custodianName
=
data
?.
vehicle
?.
custodianInfo
?.
custodianName
||
""
;
this
.
inspectorData
.
custodianName
=
data
?.
vehicle
?.
custodianInfo
?.
custodianName
||
""
;
this
.
inspectorData
.
custodianPhone
=
data
?.
vehicle
?.
custodianInfo
?.
custodianPhone
||
""
;
this
.
inspectorData
.
custodianPhone
=
data
?.
vehicle
?.
custodianInfo
?.
custodianPhone
||
""
;
this
.
inspectorData
.
handoverAddress
=
data
?.
vehicle
?.
custodianInfo
?.
handoverAddress
||
""
;
this
.
inspectorData
.
handoverAddress
=
data
?.
vehicle
?.
custodianInfo
?.
handoverAddress
||
""
;
//重置表单
setTimeout
(()
=>
{
this
.
$refs
.
formRef
.
resetFields
()
},
500
);
this
.
dialogVisible
=
true
;
this
.
dialogVisible
=
true
;
}
}
...
...
aus-front/admin/src/views/detection/report/DetectionReportPage.vue
View file @
c9f285e
...
@@ -220,7 +220,7 @@ export default class DetectionReportPage extends PaginationComponent<Vehicle> {
...
@@ -220,7 +220,7 @@ export default class DetectionReportPage extends PaginationComponent<Vehicle> {
this
.
exporting
=
true
;
this
.
exporting
=
true
;
DetectionController
.
inspectReportExport
(
this
.
axios
,
this
.
pagination
.
requestParams
,
{
responseType
:
'blob'
}).
then
(
response
=>
{
DetectionController
.
inspectReportExport
(
this
.
axios
,
this
.
pagination
.
requestParams
,
{
responseType
:
'blob'
}).
then
(
response
=>
{
message
.
success
(
'导出任务已创建,请稍后在浏览器下载列表中查看'
);
message
.
success
(
'导出任务已创建,请稍后在浏览器下载列表中查看'
);
ExportUtil
.
downloadExcelFile
(
response
.
data
,
'检测报告管理列表'
+
this
.
getNewTime
()
);
ExportUtil
.
downloadExcelFile
(
response
.
data
,
this
.
getNewTime
()
+
'-检测报告管理'
);
}).
catch
(
error
=>
{
}).
catch
(
error
=>
{
console
.
error
(
'Error downloading Word file:'
,
error
);
console
.
error
(
'Error downloading Word file:'
,
error
);
}).
finally
(()
=>
{
}).
finally
(()
=>
{
...
...
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