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
bc29a0fa
authored
2023-10-30 08:59:38 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:代办箱已办箱高级搜索
1 parent
24b09d07
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
41 additions
and
34 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 @
bc29a0f
...
...
@@ -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 @
bc29a0f
...
...
@@ -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 @
bc29a0f
...
...
@@ -10,9 +10,9 @@ export default {
}
}
},
created
()
{
created
()
{
},
},
computed
:
{
...
mapGetters
([
'dictData'
]),
},
...
...
@@ -26,17 +26,17 @@ export default {
* @param {*} e
* @author: renchao
*/
handkeyCode
(
e
)
{
if
(
e
.
keyCode
===
13
)
{
handkeyCode
(
e
)
{
if
(
e
.
keyCode
===
13
)
{
console
.
log
(
"安"
);
this
.
handleSearch
()
}
},
},
/**
* @description: handleSearch
* @author: renchao
*/
handleSearch
()
{
handleSearch
()
{
this
.
pageData
.
currentPage
=
1
if
(
this
.
fetchData
)
{
this
.
fetchData
()
...
...
@@ -80,7 +80,7 @@ export default {
* @param {*} isYwbl
* @author: renchao
*/
resetForm
(
isYwbl
)
{
resetForm
(
isYwbl
)
{
if
(
isYwbl
)
{
this
.
queryForm
=
defaultParameters
.
defaultParameters
();
this
.
pageData
.
currentPage
=
1
;
...
...
src/views/ywbl/components/mixin/index.js
View file @
bc29a0f
/*
* @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 @
bc29a0f
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-27 1
5:55:52
* @LastEditTime: 2023-10-27 1
7:23:24
-->
<
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"
...
...
@@ -202,8 +203,8 @@
columns
:
datas
.
columns
(),
data
:
[],
},
jumpid
:
""
,
}
;
jumpid
:
""
}
},
mounted
()
{
sendThis
(
this
);
...
...
src/views/ywbl/ybx/ybx.vue
View file @
bc29a0f
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-27 1
5:57:26
* @LastEditTime: 2023-10-27 1
7:19:42
-->
<
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