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
eeef0a57
Commit
eeef0a57
authored
Sep 09, 2021
by
wangguangchao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://192.168.0.110:11080/fukai/vue-gjjs
parents
a2b8c029
b432a9ce
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
IStreamTable.vue
src/components/IStreamTable.vue
+1
-1
IStreamTableDocpan.vue
src/components/IStreamTableDocpan.vue
+3
-1
Table.vue
src/components/Table.vue
+1
-1
No files found.
src/components/IStreamTable.vue
View file @
eeef0a57
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"eContainer-table-block"
>
<div
class=
"eContainer-table-block"
>
<el-table
:data=
"tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize)"
<el-table
:data=
"tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize)"
style=
"width: 100%"
style=
"width: 100%"
class=
"eContainer-table
"
:class=
"
{'eContainer-table':this.tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize).length>0}
"
@selection-change="handleSelectionChange"
@selection-change="handleSelectionChange"
:row-key="getRowKey"
:row-key="getRowKey"
:header-cell-style="{background: 'eef1f6', color: '#606266'}"
:header-cell-style="{background: 'eef1f6', color: '#606266'}"
...
...
src/components/IStreamTableDocpan.vue
View file @
eeef0a57
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<el-table
<el-table
:data=
"tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize)"
:data=
"tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize)"
style=
"width: 100%"
style=
"width: 100%"
class=
"eContainer-table
"
:class=
"
{'eContainer-table':this.tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize).length>0}
"
:row-class-name="tableRowClassName"
:row-class-name="tableRowClassName"
:header-cell-style="{background: 'eef1f6', color: '#606266'}"
:header-cell-style="{background: 'eef1f6', color: '#606266'}"
:border="true">
:border="true">
...
@@ -116,4 +116,5 @@ export default {
...
@@ -116,4 +116,5 @@ export default {
.el-table
.success-row
{
.el-table
.success-row
{
background
:
#f0f9eb
;
background
:
#f0f9eb
;
}
}
</
style
>
</
style
>
\ No newline at end of file
src/components/Table.vue
View file @
eeef0a57
<
template
>
<
template
>
<div
class=
"eContainer-table-block"
>
<div
class=
"eContainer-table-block"
>
<el-table
:id=
"tableRef"
:data=
"list"
ref=
"table"
style=
"width: 100%"
class=
"eContainer-table
"
:header-cell-style=
"
{background: 'eef1f6', color: '#606266'}"
<el-table
:id=
"tableRef"
:data=
"list"
ref=
"table"
style=
"width: 100%"
:class=
"
{'eContainer-table':this.list.length>0}
" :header-cell-style="{background: 'eef1f6', color: '#606266'}"
v-bind="$attrs" v-on="tableListeners" v-loading="loading" :row-class-name="tableRowClass" :max-height="maxHeight"
v-bind="$attrs" v-on="tableListeners" v-loading="loading" :row-class-name="tableRowClass" :max-height="maxHeight"
>
>
<el-table-column
<el-table-column
...
...
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