Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
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
zhouqian
vue-gjjs
Commits
a183bef4
Commit
a183bef4
authored
Jan 10, 2022
by
liushikai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
adeed262
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
12 deletions
+18
-12
IStreamTable.vue
src/components/IStreamTable.vue
+18
-3
Menu.vue
src/views/Business/Sptsel/Menu.vue
+0
-9
No files found.
src/components/IStreamTable.vue
View file @
a183bef4
...
...
@@ -29,12 +29,13 @@
>
</el-table-column>
<slot></slot>
<el-table-column
fixed=
"right"
width=
"
100px"
v-if=
"showButtonFlg
"
>
<el-table-column
fixed=
"right"
width=
"
48px"
v-if=
"showButtonFlg"
class-name=
"buttonColumn
"
>
<template
slot=
"header"
>
<c-col
style=
"text-align: left"
><c-button
icon=
"el-icon-s-tools"
@
click=
"clounmSetting"
style=
"padding:0 7px"
></c-button
></c-col>
</
template
>
...
...
@@ -49,6 +50,7 @@
<el-form-item
label-width=
"0"
>
<el-checkbox-group
v-model=
"columnGroup"
@
change=
"handleColumnChange"
>
<el-checkbox
class=
"selectColumnClass"
v-for=
"item in tableColumnsOrigin"
:key=
"item.label"
:label=
"parseInt(item.index)"
...
...
@@ -58,7 +60,7 @@
</el-form-item>
<span
slot=
"footer"
>
<el-checkbox
class=
"
cb
Class"
class=
"
selectAll
Class"
:indeterminate=
"columnGroup.length > 0 && columnGroup.length < tableColumnsOrigin.length"
v-model=
"selectAll"
@
change=
"setAll"
...
...
@@ -294,8 +296,20 @@ export default {
.el-table
.success-row
{
background
:
#f0f9eb
;
}
.selectColumnClass
.el-checkbox__label
{
width
:
60px
;
font-size
:
13px
;
}
.selectAllClass
.el-checkbox__label
{
width
:
30px
;
font-size
:
13px
;
padding-left
:
5px
;
}
.eContainer-table-block
.el-table
.cell
{
white-space
:
pre-wrap
;
}
.el-table.buttonColumn
th
>
.cell
{
padding-left
:
0
;
padding-right
:
0
;
}
</
style
>
\ No newline at end of file
src/views/Business/Sptsel/Menu.vue
View file @
a183bef4
...
...
@@ -500,15 +500,6 @@ export default {
};
</
script
>
<
style
scoped
>
.el-checkbox
>>>
.el-checkbox__label
{
width
:
60px
;
font-size
:
13px
;
}
.cbClass
>>>
.el-checkbox__label
{
width
:
30px
;
font-size
:
13px
;
padding-left
:
5px
;
}
.showColumnDialog
>>>
.el-dialog__body
{
padding-bottom
:
10px
;
}
...
...
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