bc29a0fa by renchao@pashanhoo.com

style:代办箱已办箱高级搜索

1 parent 24b09d07
......@@ -180,6 +180,7 @@
});
_this.tableHeight = _this.calcHeightx(_this.calcHeight)
}
console.log(_this.tableHeight, '_this.tableHeight');
})
} else {
_this.tableHeight = window.innerHeight - _this.heightNum
......
......@@ -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;
}
}
......
......@@ -10,9 +10,9 @@ export default {
}
}
},
created() {
created () {
},
},
computed: {
...mapGetters(['dictData']),
},
......@@ -26,8 +26,8 @@ export default {
* @param {*} e
* @author: renchao
*/
handkeyCode(e) {
if(e.keyCode === 13){
handkeyCode (e) {
if (e.keyCode === 13) {
console.log("安");
this.handleSearch()
}
......@@ -36,7 +36,7 @@ export default {
* @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;
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-27 15:47:40
* @LastEditTime: 2023-10-27 17:31:20
*/
export default {
data () {
......@@ -102,9 +102,11 @@ export default {
* @author: renchao
*/
getSearch (val) {
console.log(val, '2222222222222');
this.$nextTick(() => {
this.otherForm = val
this.iterationData()
this.$refs.Lbtable.getHeight()
})
this.queryClick()
},
/**
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-27 15:55:52
* @LastEditTime: 2023-10-27 17: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>
</ul>
<el-button
class="clean-btn"
type="text"
v-if="searchList.length > 0"
@click.native="hanldeCleanAll">清除全部
</el-button>
</ul>
</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);
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-27 15:57:26
* @LastEditTime: 2023-10-27 17: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>
</ul>
<el-button
class="clean-btn"
type="text"
v-if="searchList.length > 0"
@click.native="hanldeCleanAll">清除全部
</el-button>
</ul>
</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"
......