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
5e35dfe8
authored
2023-10-30 09:01:47 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev'
2 parents
74c106e4
bc29a0fa
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
36 additions
and
28 deletions
src/components/LbTable/lb-table.vue
src/styles/public.scss
src/utils/mixin/table.js
src/views/ywbl/components/mixin/index.js
src/views/ywbl/dbx/dbx.vue
src/views/ywbl/ybx/ybx.vue
src/components/LbTable/lb-table.vue
View file @
5e35dfe
...
...
@@ -180,6 +180,7 @@
});
_this
.
tableHeight
=
_this
.
calcHeightx
(
_this
.
calcHeight
)
}
console
.
log
(
_this
.
tableHeight
,
'_this.tableHeight'
);
})
}
else
{
_this
.
tableHeight
=
window
.
innerHeight
-
_this
.
heightNum
...
...
src/styles/public.scss
View file @
5e35dfe
...
...
@@ -19,11 +19,11 @@
font-size
:
12px
;
flex-wrap
:
wrap
;
padding-top
:
5px
;
height
:
30px
;
justify-content
:
flex-start
;
min-height
:
30px
;
span
{
display
:
flex
;
align-items
:
center
;
}
i
{
...
...
@@ -35,18 +35,21 @@
ul
{
display
:
flex
;
align-items
:
center
;
flex-wrap
:
wrap
;
flex
:
1
;
max-height
:
38px
;
li
{
color
:
$light-blue
;
border
:
1px
solid
$light-blue
;
border-radius
:
10px
;
padding
:
0
3px
;
line-height
:
16px
;
padding
:
1px
3px
;
}
}
.clean-btn
{
margin-left
:
5px
;
float
:
left
;
}
}
...
...
src/utils/mixin/table.js
View file @
5e35dfe
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-
26 14:22
:21
* @LastEditTime: 2023-10-
30 09:01
:21
*/
import
{
mapGetters
}
from
'vuex'
import
{
defaultParameters
}
from
"../../views/ywbl/ywsq/javascript/publicDefaultPar"
;
...
...
src/views/ywbl/components/mixin/index.js
View file @
5e35dfe
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-27 1
5:47:4
0
* @LastEditTime: 2023-10-27 1
7:31:2
0
*/
export
default
{
data
()
{
...
...
@@ -102,9 +102,11 @@ export default {
* @author: renchao
*/
getSearch
(
val
)
{
console
.
log
(
val
,
'2222222222222'
);
this
.
otherForm
=
val
this
.
iterationData
()
this
.
$nextTick
(()
=>
{
this
.
otherForm
=
val
this
.
iterationData
()
this
.
$refs
.
Lbtable
.
getHeight
()
})
this
.
queryClick
()
},
/**
...
...
src/views/ywbl/dbx/dbx.vue
View file @
5e35dfe
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-
27 15:55:52
* @LastEditTime: 2023-10-
30 09:01:33
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -121,7 +121,7 @@
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"
6
"
>
<el-col
:span=
"
9
"
>
<el-form-item
label=
"坐落"
>
<el-input
placeholder=
"如需要模糊查询,前后输入%"
...
...
@@ -141,18 +141,19 @@
class=
"el-icon-circle-close"
@
click=
"handelItem(item, index)"
></i>
</li>
<el-button
class=
"clean-btn"
type=
"text"
v-if=
"searchList.length > 0"
@
click
.
native=
"hanldeCleanAll"
>
清除全部
</el-button>
</ul>
<el-button
class=
"clean-btn"
type=
"text"
v-if=
"searchList.length > 0"
@
click
.
native=
"hanldeCleanAll"
>
清除全部
</el-button>
</el-row>
</el-form>
</div>
<div
class=
"from-clues-content"
>
<lb-table
ref=
"Lbtable"
:page-size=
"pageData.size"
class=
"loadingtext"
@
sort-change=
"handleSort"
...
...
@@ -200,8 +201,9 @@
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
}
data
:
[]
},
jumpid
:
""
}
},
mounted
()
{
...
...
src/views/ywbl/ybx/ybx.vue
View file @
5e35dfe
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-
27 16:08:06
* @LastEditTime: 2023-10-
30 09:01:45
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -122,7 +122,7 @@
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"
6
"
>
<el-col
:span=
"
9
"
>
<el-form-item
label=
"坐落"
>
<el-input
placeholder=
"如需要模糊查询,前后输入%"
...
...
@@ -142,24 +142,24 @@
class=
"el-icon-circle-close"
@
click=
"handelItem(item, index)"
></i>
</li>
<el-button
class=
"clean-btn"
type=
"text"
v-if=
"searchList.length > 0"
@
click
.
native=
"hanldeCleanAll"
>
清除全部
</el-button>
</ul>
<el-button
class=
"clean-btn"
type=
"text"
v-if=
"searchList.length > 0"
@
click
.
native=
"hanldeCleanAll"
>
清除全部
</el-button>
</el-row>
</el-form>
</div>
<!-- 表格 -->
<div
class=
"from-clues-content"
>
<lb-table
ref=
"Lbtable"
:page-size=
"pageData.size"
class=
"loadingtext"
@
sort-change=
"handleSort"
:current-page
.
sync=
"pageData.currentPage"
:heightNum=
"350"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
...
...
Please
register
or
sign in
to post a comment