Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
04ee6813
authored
2023-04-18 10:44:36 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:列表
1 parent
ecdddc3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
src/components/lbTable/lb-table.vue
src/components/lbTable/lb-table.vue
View file @
04ee681
...
...
@@ -10,11 +10,11 @@
<
template
>
<div
:class=
"['lb-table', customClass]"
>
<el-table
v-if=
"!heightNumSetting"
class=
"table-fixed"
:row-style=
"
{ height: '50px' }" ref="elTable"
:border='border'
:row-class-name="tableRowClassName" :show-header='showHeader' @row-click="singleElection"
<el-table
v-if=
"!heightNumSetting"
class=
"table-fixed"
:row-style=
"
{ height: '50px' }" ref="elTable"
:
border='border' :
row-class-name="tableRowClassName" :show-header='showHeader' @row-click="singleElection"
:header-cell-style="{ background: 'rgb(236, 245, 255)' }" v-bind="$attrs" :height="tableHeight" v-on="$listeners"
:data="data" style="width: 100%" :span-method="this.merge ? this.mergeMethod : this.spanMethod">
<el-table-column
width=
"
50"
align=
"center"
label=
"选择
"
v-if=
"isRadio"
>
<el-table-column
width=
"
45"
align=
"center
"
v-if=
"isRadio"
>
<template
slot-scope=
"scope"
>
<el-radio
v-model=
"selected"
:label=
"scope.$index"
class=
"table-radio"
></el-radio>
</
template
>
...
...
@@ -26,10 +26,10 @@
<el-table
v-else
ref=
"elTable"
class=
"table-fixed"
:row-style=
"{ height: '50px' }"
:border=
'border'
:row-class-name=
"tableRowClassName"
:show-header=
'showHeader'
:header-cell-style=
"{ background: 'rgb(236, 245, 255)' }"
v-bind=
"$attrs"
:max-height=
"maxHeight"
v-on=
"$listeners"
:data=
"data"
style=
"width: 100%"
:span-method=
"this.merge ? this.mergeMethod : this.spanMethod"
>
:header-cell-style=
"{ background: 'rgb(236, 245, 255)' }"
v-bind=
"$attrs"
:max-height=
"maxHeight"
v-on=
"$listeners"
:data=
"data"
style=
"width: 100%"
:span-method=
"this.merge ? this.mergeMethod : this.spanMethod"
>
<el-table-column
width=
"
50"
align=
"center"
label=
"选择
"
v-if=
"isRadio"
>
<el-table-column
width=
"
45"
align=
"center
"
v-if=
"isRadio"
>
<
template
slot-scope=
"scope"
>
<el-radio
v-model=
"selected"
:label=
"scope.$index"
class=
"table-radio"
></el-radio>
</
template
>
...
...
Please
register
or
sign in
to post a comment