|
@@ -1,5 +1,9 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
+ <div class="search">
|
|
|
+ <el-input v-model="table.getdataListParm.parammaps.barName" class="filter-item" style="float: left;width: 245px;margin-bottom:10px;" placeholder="栏舍名称" />
|
|
|
+ <el-button class="successBorder" style="float: left;margin-left: 10px;margin-bottom:10px;" @click="handleSearch()">查询</el-button>
|
|
|
+ </div>
|
|
|
<div class="table">
|
|
|
<el-table
|
|
|
:key="table.tableKey"
|
|
@@ -126,7 +130,8 @@ export default {
|
|
|
pagecount: 12,
|
|
|
returntype: 'Map',
|
|
|
parammaps: {
|
|
|
- pastureid: Cookies.get('pastureid')
|
|
|
+ pastureid: Cookies.get('pastureid'),
|
|
|
+ barName:''
|
|
|
}
|
|
|
},
|
|
|
tableKey: 0,
|
|
@@ -237,6 +242,9 @@ export default {
|
|
|
}, 100)
|
|
|
})
|
|
|
},
|
|
|
+ handleSearch(){
|
|
|
+ this.getList()
|
|
|
+ },
|
|
|
handleSpan() {
|
|
|
this.mergekeys.forEach(key => {
|
|
|
this.spanObj[key] = []
|