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
34479792
Commit
34479792
authored
May 09, 2024
by
mengzixuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'mengzixuan' of
http://gitlab.91isoft.com:90/car-test/web
into develop
parents
93782b31
63938118
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
27 deletions
+39
-27
index.vue
src/views/processing/carTest/confirmation-test/index.vue
+38
-26
index.vue
src/views/processing/carTest/review-form/index.vue
+1
-1
No files found.
src/views/processing/carTest/confirmation-test/index.vue
View file @
34479792
...
...
@@ -150,18 +150,18 @@
<collapse-item
v-for=
"(item, key) in tableData"
:key=
"key"
:name=
"item.
chapt
er"
:name=
"item.
serial_numb
er"
>
<span
slot=
"title"
style=
"width: 100%"
>
<div
class=
"standard-box"
>
<div
class=
"standard-left"
>
<div
class=
"standard-title"
>
<div
class=
"standard"
>
标准:
</div>
{{
item
.
chapter
+
item
.
text
}}
{{
item
.
serial_number
+
item
.
requirements
}}
</div>
</div>
<div
class=
"standard-result"
>
<el-button
type=
"text"
@
click=
"testmMthod"
<el-button
type=
"text"
@
click=
"testmMthod
(item)
"
>
标准测试方法
</el-button
>
</div>
...
...
@@ -174,23 +174,29 @@
<th>
用例编号
</th>
<th>
用例名称
</th>
<th>
对应输入
</th>
<th>
测试结果
</th>
</tr>
<template
v-for=
"(keyPoint, keyPointKey) in item.testCaseList"
>
<template
v-for=
"(keyPoint, keyPointKey) in item.case_result_list"
>
<tr
:key=
"keyPointKey"
>
<td
rowspan=
"1"
>
{{
keyPoint
.
testS
cenario
}}
{{
keyPoint
.
s
cenario
}}
</td>
<td
rowspan=
"1"
>
{{
keyPoint
.
test
Method
}}
{{
keyPoint
.
test
_type
}}
</td>
<td
rowspan=
"1"
>
{{
keyPoint
.
usecaseNo
}}
{{
keyPoint
.
serial_number
}}
</td>
<td
rowspan=
"1"
>
{{
keyPoint
.
name
}}
</td>
<td
rowspan=
"1"
>
{{
keyPoint
.
input
}}
{{
keyPoint
.
requirements
}}
</td>
<td
rowspan=
"1"
>
{{
keyPoint
.
status
}}
</td>
</tr>
</
template
>
...
...
@@ -241,6 +247,7 @@
</div>
</div>
<el-dialog
title=
"标准测试方法"
:visible
.
sync=
"open"
append-to-body
>
<div>
{{ activeValue }}
</div>
</el-dialog>
</task-standard>
</template>
...
...
@@ -261,6 +268,7 @@ export default {
mixins
:
[
routerMixins
],
data
()
{
return
{
activeValue
:
''
,
open
:
false
,
activeNames
:
[],
tableData
:
[],
...
...
@@ -272,7 +280,7 @@ export default {
},
taskDetail
:
{},
ruleForm
:
{
enterpriseLeader
:
''
,
//
enterpriseLeader: '',
inspectionLeader
:
''
,
result
:
[]
},
...
...
@@ -290,13 +298,14 @@ export default {
},
methods
:
{
getRows3
,
testmMthod
()
{
testmMthod
(
i
)
{
this
.
open
=
true
this
.
activeValue
=
i
.
test_method
},
/** 全部展开 */
openAll
()
{
this
.
activeNames
=
this
.
tableData
.
map
(
i
=>
{
return
i
.
chapt
er
return
i
.
serial_numb
er
})
},
/** 全部收起 */
...
...
@@ -307,14 +316,15 @@ export default {
goToProcessedReview
()
{
// this.ruleForm.taskId = '1771093631118106626'
const
formData
=
{
//
imagesUrl: [
imagesUrl
:
[
// this.ruleForm.enterpriseLeader,
//
this.ruleForm.inspectionLeader
//
],
imagesUrl
:
[{}],
this
.
ruleForm
.
inspectionLeader
],
//
imagesUrl: [{}],
taskId
:
this
.
$route
.
query
.
id
}
console
.
log
(
'formData'
,
formData
)
if
(
formData
.
imagesUrl
.
length
>
0
)
{
taskImageSubmit
(
formData
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'确认提交成功'
)
...
...
@@ -325,6 +335,7 @@ export default {
this
.
$modal
.
msgError
(
res
.
msg
)
}
})
}
},
/** 获取任务详情 */
getTest
()
{
...
...
@@ -343,6 +354,7 @@ export default {
testDetail
({
taskId
:
this
.
$route
.
query
.
id
}).
then
(
res
=>
{
this
.
taskDetail
=
res
.
data
this
.
tableData
=
res
.
data
.
modelTestTaskViewResponseList
this
.
ruleForm
.
inspectionLeader
=
res
.
data
.
imgUrl
this
.
loading
=
false
this
.
openAll
()
})
...
...
src/views/processing/carTest/review-form/index.vue
View file @
34479792
...
...
@@ -171,7 +171,7 @@
</div>
</div>
<el-dialog
title=
"标准测试方法"
:visible
.
sync=
"open"
append-to-body
>
{{ activeValue }}
<div>
{{ activeValue }}
</div>
</el-dialog>
</task-standard>
</template>
...
...
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