Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
中汽测评-信息安全测评系统
web
Commits
ac2be39b
Commit
ac2be39b
authored
Mar 22, 2024
by
mzx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(确认试验方案): 接口对接
parent
95d32c21
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
index.vue
src/views/processing/carTest/confirmation-test/index.vue
+12
-6
index.vue
src/views/processing/unprocessed-review/index.vue
+1
-1
No files found.
src/views/processing/carTest/confirmation-test/index.vue
View file @
ac2be39b
...
...
@@ -212,6 +212,7 @@
返回
</footer-button>
<footer-button
v-if=
"this.isLeader !== false"
type=
"primary"
icon=
"hard-disk-one"
@
click=
"goToProcessedReview"
...
...
@@ -247,7 +248,8 @@ export default {
inspectionLeader
:
''
,
result
:
[]
},
loading
:
false
loading
:
false
,
isLeader
:
''
}
},
mounted
()
{
...
...
@@ -264,15 +266,16 @@ export default {
// this.ruleForm.enterpriseLeader,
// this.ruleForm.inspectionLeader
// ],
imagesUrl
:
[
'1'
,
'2'
],
taskId
:
'1771093631118106626'
imagesUrl
:
[
{}
],
taskId
:
this
.
$route
.
query
.
id
}
console
.
log
(
'formData'
,
formData
)
taskImageSubmit
(
formData
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'确认提交成功'
)
//
this.$router.push({
//
path: '/processing/unprocessed-review'
//
})
this
.
$router
.
push
({
path
:
'/processing/unprocessed-review'
})
}
else
{
this
.
$modal
.
msgError
(
res
.
msg
)
}
...
...
@@ -283,6 +286,9 @@ export default {
getBySubtaskId
({
id
:
this
.
$route
.
query
.
id
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
task
=
res
.
data
const
auditors
=
res
.
data
.
auditors
this
.
isLeader
=
auditors
.
some
(
item
=>
item
.
isLeader
===
1
)
console
.
log
(
'found'
,
this
.
isLeader
)
// 输出: true 如果找到,否则输出: false
}
})
},
...
...
src/views/processing/unprocessed-review/index.vue
View file @
ac2be39b
...
...
@@ -600,7 +600,7 @@ export default {
// 确认测试结果
case
'SIGNED'
:
this
.
$router
.
push
({
ath
:
`/processing/carTest/confirmation-test??id=
${
id
}
`
p
ath
:
`/processing/carTest/confirmation-test??id=
${
id
}
`
})
break
case
'FINISH'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment