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
b45632cc
authored
2024-01-18 15:02:28 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev'
2 parents
3cae7ee8
8455bbad
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 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/views/zhcx/jdcx/jdcxdata.js
src/components/LbTable/lb-table.vue
View file @
b45632c
...
...
@@ -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 @
b45632c
<!--
* @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 @
b45632c
<!--
* @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 @
b45632c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-18 1
0:45:25
* @LastEditTime: 2024-01-18 1
5:02:23
-->
<
template
>
<div
class=
"container"
>
...
...
src/views/zhcx/jdcx/jdcxdata.js
View file @
b45632c
...
...
@@ -31,6 +31,12 @@ class data extends filter {
label
:
"流程状态"
,
width
:
'80'
,
render
:
(
h
,
scope
)
=>
{
if
(
scope
.
row
.
ajzt
==
'4'
)
{
return
<
div
class
=
'prohibit'
>
不予登记
<
/div
>
}
if
(
scope
.
row
.
ajzt
==
'5'
)
{
return
<
div
class
=
'prohibit'
>
用户撤回
<
/div
>
}
if
(
scope
.
row
.
cfgqzt
==
'1'
)
{
return
<
div
class
=
'suspend'
>
查封挂起
<
/div
>
}
...
...
Please
register
or
sign in
to post a comment