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 1885231a
authored
Mar 20, 2026
by
yancanhua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 车辆检测报告前端页面开发
1 parent
a8173edc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
118 additions
and
3 deletions
aus-front/admin/src/api/DetectionController.ts
aus-front/admin/src/views/detection/report/DetectionReportPage.vue
aus-front/admin/src/views/detection/report/components/bindDialog.vue
aus-front/admin/src/api/DetectionController.ts
View file @
1885231
...
@@ -36,6 +36,16 @@ export class DetectionController {
...
@@ -36,6 +36,16 @@ export class DetectionController {
}
}
static
inspectReportPage
(
axios
:
AxiosStatic
,
params
:
any
):
Promise
<
AxiosResponse
>
{
return
axios
.
post
(
'inspect/report/page'
,
params
);
}
static
PAGE_INSPECTOR_REPORT
=
'inspect/report/page'
;
static
inspectReportExport
(
axios
:
AxiosStatic
,
params
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'inspect/report/export'
,
params
,
config
);
}
static
inspectOrderPage
(
axios
:
AxiosStatic
,
params
:
any
):
Promise
<
AxiosResponse
>
{
static
inspectOrderPage
(
axios
:
AxiosStatic
,
params
:
any
):
Promise
<
AxiosResponse
>
{
return
axios
.
post
(
'inspect/wo/page'
,
params
);
return
axios
.
post
(
'inspect/wo/page'
,
params
);
...
@@ -56,15 +66,15 @@ export class DetectionController {
...
@@ -56,15 +66,15 @@ export class DetectionController {
}
}
static
inspectOrderExport
(
axios
:
AxiosStatic
,
params
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
inspectOrderExport
(
axios
:
AxiosStatic
,
params
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'
/
inspect/wo/export'
,
params
,
config
);
return
axios
.
post
(
'inspect/wo/export'
,
params
,
config
);
}
}
static
inspectOrderCancel
(
axios
:
AxiosStatic
,
params
:
any
):
Promise
<
AxiosResponse
>
{
static
inspectOrderCancel
(
axios
:
AxiosStatic
,
params
:
any
):
Promise
<
AxiosResponse
>
{
return
axios
.
post
(
'
/
inspect/wo/cancel'
,
params
);
return
axios
.
post
(
'inspect/wo/cancel'
,
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
.
get
(
'inspect/wo/detail/'
+
params
.
id
,
params
);
}
}
}
}
aus-front/admin/src/views/detection/report/DetectionReportPage.vue
View file @
1885231
This diff is collapsed.
Click to expand it.
aus-front/admin/src/views/detection/report/components/bindDialog.vue
0 → 100644
View file @
1885231
<
template
>
<div>
<a-modal
v-model:open=
"dialogVisible"
:title=
"titleVisible"
@
ok=
"handleOk"
>
<a-spin
:spinning=
"submitted"
style=
"margin-top: 16px;"
>
<a-form
layout=
"vertical"
:model=
"postData"
:label-col=
"labelCol"
:wrapper-col=
"wrapperCol"
ref=
"formRef"
>
<div
class=
"disabledTip"
v-if=
"bindStatus == 1"
>
<div
class=
"outlinedBox"
>
<InfoCircleOutlined
style=
"font-size: 16px; color: #1956FE;"
/>
</div>
<div
class=
"disabledTxt"
>
<span>
确定将此报告绑定到车辆 (
</span>
<span
v-for=
"item in bindList"
:key=
"item.id"
>
车源号:
{{
item
?.
vehicle
?.
baseInfo
?.
sourceNo
||
'-'
}}
</span>
<span>
) 的前端拍卖页面吗?
</span>
</div>
</div>
<div
class=
"disabledTip"
v-if=
"bindStatus == 2"
>
<div
class=
"outlinedBox"
>
<InfoCircleOutlined
style=
"font-size: 16px; color: #FC8B0A;"
/>
</div>
<div
class=
"disabledTxt"
>
解绑后,该报告将不再于前端展示,是否确认解绑?
</div>
</div>
</a-form>
</a-spin>
</a-modal>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
}
from
'vue-facing-decorator'
;
import
{
EnhanceFormComponent
}
from
"@/core/form/EnhanceFormComponent"
;
import
{
DetectionController
}
from
"@/api/DetectionController"
;
import
{
message
}
from
"ant-design-vue"
;
import
{
User
}
from
"lib/src/entity/security/entity/User"
;
import
{
InfoCircleOutlined
}
from
"@ant-design/icons-vue"
;
@
Component
({
components
:
{
InfoCircleOutlined
}
})
export
default
class
bindDialog
extends
EnhanceFormComponent
<
User
>
{
bindList
=
[];
dialogVisible
=
false
;
titleVisible
=
'绑定提示'
;
bindStatus
=
null
;
init
(
data
):
void
{
this
.
bindStatus
=
data
.
bindStatus
;
if
(
this
.
bindStatus
===
1
)
{
this
.
titleVisible
=
'绑定提示'
;
}
else
{
this
.
titleVisible
=
'解绑提示'
;
}
this
.
bindList
=
data
.
bindList
||
[];
this
.
dialogVisible
=
true
;
}
handleOk
()
{
this
.
$refs
.
formRef
.
validate
().
then
((
valid
)
=>
{
if
(
valid
)
{
this
.
submitted
=
true
;
// const formData = {
// id: this.postData.id,
// cancelType: this.postData.cancelType,
// cancelReason: this.postData.cancelReason,
// }
// DetectionController.inspectOrderCancel(this.axios, formData).then(response => {
// message.success("操作成功");
// this.$emit("emitOk");
// this.dialogVisible = false;
// }).finally(() => this.submitted = false);
}
});
}
}
</
script
>
<
style
scoped
lang=
"less"
>
.disabledTip
{
width
:
100%
;
height
:
68px
;
display
:
flex
;
margin-bottom
:
20px
;
margin-top
:
24px
;
}
.outlinedBox
{
float
:
left
;
margin-left
:
16px
;
margin-top
:
16px
;
}
.disabledTxt
{
padding-top
:
14px
;
padding-bottom
:
14px
;
padding-right
:
16px
;
padding-left
:
8px
;
}
</
style
>
\ No newline at end of file
\ No newline at end of file
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