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
4b77a377
Commit
4b77a377
authored
Dec 20, 2023
by
盖献康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 确认审查结果-横向树状表格
parent
384437ba
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
302 additions
and
64 deletions
+302
-64
index.vue
src/views/processing/retention-file/index.vue
+76
-33
index.vue
src/views/task/confirm-result/index.vue
+226
-31
No files found.
src/views/processing/retention-file/index.vue
View file @
4b77a377
...
@@ -3,30 +3,54 @@
...
@@ -3,30 +3,54 @@
<el-card>
<el-card>
<div
slot=
"header"
class=
"clearfix"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
企业留档文件(所属任务:广汽丰田体系审查)
</span>
<span>
企业留档文件(所属任务:广汽丰田体系审查)
</span>
<el-button
icon=
"el-icon-back"
class=
"back-btn"
type=
"text"
>
<el-button
icon=
"el-icon-back"
class=
"back-btn"
type=
"text"
@
click=
"handleBack"
>
返回
返回
</el-button>
</el-button>
<el-button
class=
"back-btn"
icon=
"el-icon-download"
>
下载文件
</el-button>
<el-button
class=
"back-btn"
icon=
"el-icon-download"
type=
"primary"
>
<el-button
class=
"back-btn"
icon=
"el-icon-refresh"
>
重新生成
</el-button>
下载文件
</el-button>
<el-button
class=
"back-btn"
icon=
"el-icon-refresh"
type=
"primary"
>
重新生成
</el-button>
</div>
</div>
<!-- table部分 -->
<!-- table部分 -->
<el-table
<table
border=
"1"
>
v-if=
"spanMethod.length"
<thead>
ref=
"table"
<tr>
:data=
"testTableArr"
<th
class=
"one-column"
rowspan=
"2"
>
文件名称
</th>
:span-method=
"arraySpanMethod"
<th
class=
"two-column"
>
文件目录
</th>
class=
"ele-table table-info-area"
<th
class=
"three-column"
>
标准章节
</th>
border
<th
class=
"four-column"
>
标准要求
</th>
stripe
<th
class=
"five-column"
>
审查要点
</th>
>
</tr>
<el-table-column
</thead>
v-for=
"(item, index) in tableTitleKey"
<tbody>
:key=
"index"
<tr>
:prop=
"item"
<td
class=
"one-column"
rowspan=
"2"
>
文件
</td>
:label=
"tableTitle[item].name + info[tableTitle[item].type]"
<td
class=
"two-column"
>
1.1-1.5
</td>
align=
"center"
<td
class=
"three-column"
>
5.1
</td>
></el-table-column>
<td
class=
"four-column"
>
</el-table>
车辆制造商应具备车辆全生命周期的汽车信息安全管理体系
</td>
<td
class=
"five-column"
>
车辆制造商是否建立汽车信息安全管理体系
</td>
</tr>
<tr>
<td
class=
"two-column"
>
1.6
</td>
<td
class=
"three-column"
>
5.1
</td>
<td
class=
"four-column"
>
车辆制造商应具备车辆全生命周期的汽车信息安全管理体系
</td>
<td
class=
"five-column"
>
车辆制造商是否针对正式发布的汽车信息安全管理体系进行了试运行
</td>
</tr>
</tbody>
</table>
</el-card>
</el-card>
</div>
</div>
</
template
>
</
template
>
...
@@ -34,19 +58,11 @@
...
@@ -34,19 +58,11 @@
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{}
info
:
{
},
string
:
''
,
methods
:
{
avg
:
'(平均值)'
,
handleBack
()
{
sum
:
'(总数)'
this
.
$router
.
go
(
-
1
)
},
testTableArr
:
[],
// table数据
spanKey
:
[],
// 需要合并的列,每个元素为表格的prop值(键值)
tableTitle
:
{},
// table表头显示
tableTitleKey
:
[],
// 所有的列的prop值(键值)
spanMethod
:
[],
// 表格向下合并的方式
divArr
:
[],
// 分片数据,用于将数据分片,保证不会
divIndex
:
[
0
]
// 用于记录分片的位置
}
}
}
}
}
}
...
@@ -59,4 +75,31 @@ export default {
...
@@ -59,4 +75,31 @@ export default {
float
:
right
;
float
:
right
;
}
}
}
}
table
{
border-collapse
:
collapse
;
width
:
100%
;
}
th
,
td
{
border
:
1px
solid
black
;
padding
:
8px
;
text-align
:
left
;
width
:
300px
;
}
.five-column
{
width
:
350px
;
}
.four-column
{
width
:
350px
;
}
.three-column
{
width
:
300px
;
}
.two-column
{
width
:
150px
;
}
.one-column
{
width
:
200px
;
}
</
style
>
</
style
>
src/views/task/confirm-result/index.vue
View file @
4b77a377
This diff is collapsed.
Click to expand it.
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