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
edb23bcd
Commit
edb23bcd
authored
Feb 21, 2024
by
mzx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试矩阵图标替换
parent
878225e2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
3 deletions
+33
-3
checkMark.svg
src/assets/icons/svg/checkMark.svg
+3
-0
index.vue
src/views/setting/testMatrix/index.vue
+8
-3
index.vue
src/views/setting/testMatrix/useCaseDetails/index.vue
+22
-0
No files found.
src/assets/icons/svg/checkMark.svg
0 → 100644
View file @
edb23bcd
<svg
width=
"16"
height=
"16"
viewBox=
"0 0 16 16"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M1 8.74547L5.5929 13.7559C5.80445 13.9867 6.17364 13.9685 6.36148 13.718L15 2.20001"
stroke=
"#13BE24"
stroke-width=
"2"
stroke-linecap=
"round"
/>
</svg>
src/views/setting/testMatrix/index.vue
View file @
edb23bcd
<!-- 测试矩阵 -->
<
template
>
<
template
>
<page-standard>
<page-standard>
<el-table
<el-table
v-loading=
"loading"
height=
"calc(100vh - 300px)"
height=
"calc(100vh - 300px)"
:data=
"tableData"
:data=
"tableData"
v-loading=
"loading"
border
border
:header-cell-style=
"headerCellStyle"
:header-cell-style=
"headerCellStyle"
:cell-style=
"tableCellStyle"
:cell-style=
"tableCellStyle"
...
@@ -30,7 +31,7 @@
...
@@ -30,7 +31,7 @@
class=
"table-span-style"
class=
"table-span-style"
@
click=
"viewDetail(scope.row[item.id].id)"
@
click=
"viewDetail(scope.row[item.id].id)"
>
>
{{
'√'
}}
<svg-icon
icon-class=
"checkMark"
/>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -183,11 +184,15 @@ export default {
...
@@ -183,11 +184,15 @@ export default {
/** 点击跳转详情 */
/** 点击跳转详情 */
viewDetail
(
row
)
{
viewDetail
(
row
)
{
this
.
$message
(
row
)
this
.
$message
(
row
)
this
.
$router
.
push
({
path
:
'/setting/useCaseDetails'
,
query
:
{
id
:
row
}
})
},
},
// 表头样式
// 表头样式
headerCellStyle
(
row
,
rowIndex
)
{
headerCellStyle
(
row
,
rowIndex
)
{
if
(
row
.
columnIndex
===
0
)
{
if
(
row
.
columnIndex
===
0
)
{
return
{
backgroundColor
:
'#1A6FD7'
}
return
{
backgroundColor
:
'#1A6FD7'
,
color
:
'#FFFFFF'
}
}
else
{
}
else
{
return
{
backgroundColor
:
'#F2F2F2'
}
return
{
backgroundColor
:
'#F2F2F2'
}
}
}
...
...
src/views/setting/testMatrix/useCaseDetails/index.vue
0 → 100644
View file @
edb23bcd
<!-- 测试用例详情 -->
<
template
>
<page-standard>
<div>
{{
'测试用例详情'
}}
</div>
</page-standard>
</
template
>
<
script
>
export
default
{
name
:
'Index'
,
data
()
{
return
{
id
:
this
.
$route
.
query
}
},
mounted
()
{}
}
</
script
>
<
style
scoped
></
style
>
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