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
beed826a
Commit
beed826a
authored
May 08, 2024
by
mengzixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(查看试验方案): table列表字段修改
parent
b158a0fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
index.vue
src/views/processing/carTest/review-form/index.vue
+12
-9
No files found.
src/views/processing/carTest/review-form/index.vue
View file @
beed826a
...
...
@@ -105,14 +105,14 @@
<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"
>
标准要求:
</div>
<div
class=
"standard-title"
>
{{
item
.
chapter
+
item
.
text
}}
{{
item
.
serial_number
+
item
.
requirements
}}
</div>
</div>
<div
class=
"standard-result"
>
...
...
@@ -130,22 +130,24 @@
<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>
</tr>
</
template
>
...
...
@@ -218,8 +220,9 @@ export default {
getRows3
,
/** 全部展开 */
openAll
()
{
console
.
log
(
'tablkessss'
,
this
.
tableData
)
this
.
activeNames
=
this
.
tableData
.
map
(
i
=>
{
return
i
.
chapt
er
return
i
.
serial_numb
er
})
},
/** 全部收起 */
...
...
@@ -228,7 +231,7 @@ export default {
},
testmMthod
(
i
)
{
this
.
open
=
true
this
.
activeValue
=
i
.
test
M
ethod
this
.
activeValue
=
i
.
test
_m
ethod
},
getTest
()
{
getBySubtaskId
({
id
:
this
.
$route
.
query
.
id
}).
then
(
res
=>
{
...
...
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