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
56cc9358
authored
2024-01-18 15:01:59 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style;权利人义务人
1 parent
421677be
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
7 deletions
src/components/LbTable/lb-table.vue
src/views/workflow/components/qlrCommonTable.vue
src/views/workflow/components/ywrCommonTable.vue
src/views/workflow/workFrame.vue
src/components/LbTable/lb-table.vue
View file @
56cc935
...
...
@@ -10,7 +10,7 @@
<
template
>
<div
:class=
"['lb-table', customClass]"
>
<el-table
v-if=
"!heightNumSetting"
class=
"table-fixed"
:row-style=
"
{ height:
'45
px' }" ref="elTable" :border='border'
<el-table
v-if=
"!heightNumSetting"
class=
"table-fixed"
:row-style=
"
{ height:
rowStyleHeight+'
px' }" ref="elTable" :border='border'
:row-class-name="tableRowClassName" :show-header='showHeader' @row-click="singleElection" v-bind="$attrs"
:height="tableHeight" v-on="$listeners" :data="data" style="width: 100%"
:span-method="this.merge ? this.mergeMethod : this.spanMethod">
...
...
@@ -24,7 +24,7 @@
</lb-column>
</el-table>
<el-table
v-else
ref=
"elTable"
class=
"table-fixed heightNumSetting"
:row-style=
"{ height:
'45px'
}"
<el-table
v-else
ref=
"elTable"
class=
"table-fixed heightNumSetting"
:row-style=
"{ height:
rowStyleHeight+'px'
}"
:border=
'border'
:row-class-name=
"tableRowClassName"
:show-header=
'showHeader'
@
row-click=
"singleElection"
v-bind=
"$attrs"
:max-height=
"maxHeight"
:height=
"tableHeight"
v-on=
"$listeners"
:data=
"data"
style=
"width: 100%"
:span-method=
"this.merge ? this.mergeMethod : this.spanMethod"
>
...
...
@@ -65,6 +65,10 @@
type
:
Boolean
,
default
:
true
,
},
rowStyleHeight
:
{
type
:
Number
,
default
:
45
,
},
showHeader
:
{
type
:
Boolean
,
default
:
true
,
...
...
src/views/workflow/components/qlrCommonTable.vue
View file @
56cc935
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 202
3-12-15 09:35:06
* @LastEditTime: 202
4-01-18 14:55:20
-->
<
template
>
<div>
<lb-table
:column=
"column"
:pagination=
"false"
:key=
"key"
:heightNumSetting=
"true"
:minHeight=
"0"
<lb-table
:column=
"column"
:pagination=
"false"
:key=
"key"
:heightNumSetting=
"true"
:minHeight=
"0"
:rowStyleHeight=
'25'
:data=
"tableDataList"
>
</lb-table>
<addQlr
v-model=
"dialog"
:details=
"details"
:showButton=
"disabled"
@
updateDetail=
"handleupdateDetail"
/>
...
...
@@ -126,6 +126,7 @@
if
(
val
.
length
==
0
||
!
val
)
{
}
else
{
that
.
tableDataList
=
_
.
cloneDeep
(
val
)
that
.
key
++
}
})
},
...
...
@@ -138,6 +139,7 @@
if
(
newVal
==
0
)
{
this
.
column
=
_
.
cloneDeep
(
dataList
)
this
.
tableDataList
=
_
.
cloneDeep
(
this
.
tableData
)
this
.
key
++
}
else
if
((
newVal
==
'1'
||
newVal
==
'3'
))
{
this
.
column
=
dataList
}
else
{
...
...
@@ -329,6 +331,9 @@
}
</
script
>
<
style
scoped
lang=
"scss"
>
/
deep
/
.el-table--small
.el-table__cell
{
padding
:
0
0
!important
;
}
/
deep
/
.el-table
th
{
height
:
30px
!important
;
}
...
...
src/views/workflow/components/ywrCommonTable.vue
View file @
56cc935
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-18 14:
21:08
* @LastEditTime: 2024-01-18 14:
51:42
-->
<
template
>
<div>
<lb-table
:column=
"column"
:pagination=
"false"
:key=
"key"
:heightNumSetting=
"true"
:minHeight=
"0"
<lb-table
:column=
"column"
:pagination=
"false"
:key=
"key"
:heightNumSetting=
"true"
:minHeight=
"0"
:rowStyleHeight=
'25'
:data=
"tableDataList"
>
</lb-table>
<addQlr
v-model=
"dialog"
:details=
"details"
:showButton=
"disabled"
@
updateDetail=
"handleupdateDetail"
/>
...
...
@@ -301,10 +301,16 @@
}
</
script
>
<
style
scoped
lang=
"scss"
>
/
deep
/
.el-table--small
.el-table__cell
{
padding
:
0
0
!important
;
}
/
deep
/
.el-table
th
{
height
:
30px
!important
;
}
/
deep
/
.el-table
.cell
{
padding-right
:
12px
;
}
/
deep
/
.el-table__body-wrapper
{
height
:
auto
!important
;
}
</
style
>
...
...
src/views/workflow/workFrame.vue
View file @
56cc935
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-18 1
0:11:3
2
* @LastEditTime: 2024-01-18 1
4:37:4
2
-->
<
template
>
<div
class=
"container"
>
...
...
Please
register
or
sign in
to post a comment