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 ebdc34c2
authored
Apr 02, 2026
by
yancanhua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 检测工单审核驳回的驳回原因必填
1 parent
d95ee8a1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
7 deletions
aus-front/admin/src/views/detection/order/components/reviewDialog.vue
aus-front/admin/src/views/detection/order/components/reviewDialog.vue
View file @
ebdc34c
...
@@ -5,13 +5,16 @@
...
@@ -5,13 +5,16 @@
<InfoCircleOutlined
style=
"font-size: 15px; color: #1956FE;"
/>
<InfoCircleOutlined
style=
"font-size: 15px; color: #1956FE;"
/>
<span
style=
"padding-left: 8px;"
>
请确认是否审核通过该工单
</span>
<span
style=
"padding-left: 8px;"
>
请确认是否审核通过该工单
</span>
</div>
</div>
<a-form
v-else
layout=
"vertical"
:label-col=
"labelCol"
:wrapper-col=
"wrapperCol"
ref=
"formRef"
>
<a-form
v-else
layout=
"vertical"
:model=
"postData"
:label-col=
"labelCol"
:wrapper-col=
"wrapperCol"
ref=
"formRef"
>
<div
class=
"tipBox"
style=
"margin-bottom: 16px;margin-top: 16px;"
>
<div
class=
"tipBox"
style=
"margin-bottom: 16px;margin-top: 16px;"
>
<InfoCircleOutlined
style=
"font-size: 15px; color: #FC8B0A;"
/>
<InfoCircleOutlined
style=
"font-size: 15px; color: #FC8B0A;"
/>
<span
style=
"padding-left: 8px;"
>
请确认是否审核驳回该工单
</span>
<span
style=
"padding-left: 8px;"
>
请确认是否审核驳回该工单
</span>
</div>
</div>
<a-form-item
name=
"cancelReason"
label=
"备注说明"
>
<a-form-item
style=
"width: 100%;"
name=
"auditOpinion"
label=
"驳回原因"
<a-textarea
v-model:value=
"auditOpinion"
show-count
:maxlength=
"200"
style=
"width: 456px;"
/>
:rules=
"[
{ required: true, message: '请输入驳回原因' }]">
<a-textarea
v-model:value=
"postData.auditOpinion"
:rows=
"2"
show-count
:maxlength=
"200"
style=
"width: 456px;"
/>
</a-form-item>
</a-form-item>
</a-form>
</a-form>
</a-modal>
</a-modal>
...
@@ -35,21 +38,34 @@ export default class reviewDialog extends EnhanceFormComponent<User> {
...
@@ -35,21 +38,34 @@ export default class reviewDialog extends EnhanceFormComponent<User> {
dialogVisible
=
false
;
dialogVisible
=
false
;
pageData
:
any
=
{};
pageData
:
any
=
{};
parentStatus
=
''
;
parentStatus
=
''
;
auditOpinion
=
''
;
postData
=
{
auditOpinion
:
''
};
showVisible
(
data
:
any
):
void
{
showVisible
(
data
:
any
):
void
{
this
.
pageData
=
data
;
this
.
pageData
=
data
;
this
.
parentStatus
=
data
.
status
;
this
.
parentStatus
=
data
.
status
;
this
.
auditOpinion
=
''
;
this
.
postData
.
auditOpinion
=
''
;
this
.
dialogVisible
=
true
;
this
.
dialogVisible
=
true
;
}
}
// 确认操作
handleOk
()
{
handleOk
()
{
if
(
this
.
parentStatus
==
'PASS'
)
{
this
.
submitData
();
}
else
{
this
.
$refs
.
formRef
.
validate
().
then
(()
=>
{
this
.
submitData
();
});
}
}
// 确认操作
submitData
()
{
const
postData
=
{
const
postData
=
{
id
:
this
.
pageData
?.
inspectionWORespVO
?.
id
||
''
,
id
:
this
.
pageData
?.
inspectionWORespVO
?.
id
||
''
,
auditResult
:
this
.
parentStatus
==
'PASS'
?
1
:
2
,
auditResult
:
this
.
parentStatus
==
'PASS'
?
1
:
2
,
auditOpinion
:
this
.
auditOpinion
||
''
,
auditOpinion
:
this
.
postData
.
auditOpinion
||
''
,
}
}
DetectionController
.
inspectOrderAudit
(
this
.
axios
,
postData
).
then
(
response
=>
{
DetectionController
.
inspectOrderAudit
(
this
.
axios
,
postData
).
then
(
response
=>
{
const
res
=
response
.
data
||
{};
const
res
=
response
.
data
||
{};
...
...
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