Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
so-manage-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
smart-operation
so-manage-ui
Commits
6a0a1390
Commit
6a0a1390
authored
Jun 29, 2023
by
赵伟庚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update table border style
parent
bab2dcae
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
src/bg-ui/bg-table.vue
src/bg-ui/bg-table.vue
+6
-1
src/page/main/auto-maintenance/task-manage/detail/index.vue
src/page/main/auto-maintenance/task-manage/detail/index.vue
+7
-0
No files found.
src/bg-ui/bg-table.vue
View file @
6a0a1390
...
...
@@ -4,6 +4,7 @@
ref=
"table"
class=
"bg-table"
:data=
"rows"
:border=
"border"
@
selection-change=
"selectAction"
@
select=
"selectActionRow"
@
select-all=
"selectActionAll"
...
...
@@ -16,7 +17,7 @@
<div
class=
"text"
>
暂无数据
</div>
</div>
</
template
>
<el-table-column
v-if=
"paddingLeft > 10"
:width=
"paddingLeft - 10"
></el-table-column>
<el-table-column
v-if=
"paddingLeft > 10
&& !border
"
:width=
"paddingLeft - 10"
></el-table-column>
<el-table-column
type=
"selection"
:selectable=
"selectable"
width=
"38"
v-if=
"select"
>
<!-- checkbox -->
</el-table-column>
...
...
@@ -84,6 +85,10 @@ const props = defineProps({
type
:
Boolean
,
default
:
false
,
},
border
:
{
type
:
Boolean
,
default
:
false
,
},
paddingLeft
:
{
type
:
[
Number
,
String
],
default
:
()
=>
12
,
...
...
src/page/main/auto-maintenance/task-manage/detail/index.vue
View file @
6a0a1390
...
...
@@ -208,6 +208,7 @@ const getTableRows = () => {};
width
:
1076px
;
margin-bottom
:
20px
;
}
.input_table
{
:deep
()
{
.el-table__header
{
...
...
@@ -215,11 +216,17 @@ const getTableRows = () => {};
background-color
:
#f5f6f9
;
border-color
:
#dadee7
;
border-top
:
1px
solid
#dadee7
!
important
;
&
:first-child
{
border-left
:
1px
solid
#dadee7
;
}
&
:last-child
{
border-right
:
1px
solid
#dadee7
;
}
}
}
.el-scrollbar
{
border-radius
:
0px
;
}
.el-table__border-left-patch
{
width
:
0
;
...
...
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