|
|
|
@ -4,9 +4,9 @@
|
|
|
|
|
<van-search |
|
|
|
|
:value="queryParams.enterprisesName" |
|
|
|
|
placeholder="输入企业名称或类型查询" |
|
|
|
|
@sreach="handleSearch" |
|
|
|
|
@clear="resetQuery('enterpriseName')" |
|
|
|
|
id="sreach" |
|
|
|
|
@change="handleSearch" |
|
|
|
|
/> |
|
|
|
|
<van-dropdown-menu safe-area-tab-bar active-color="#17C653"> |
|
|
|
|
<van-dropdown-item |
|
|
|
@ -224,16 +224,19 @@ export default {
|
|
|
|
|
return data |
|
|
|
|
}, |
|
|
|
|
querySelect(v, key) { |
|
|
|
|
this.queryParams.pageNo = 1 // 重置页码 |
|
|
|
|
this.queryParams[key] = v.detail |
|
|
|
|
this.queryEnterprise() |
|
|
|
|
}, |
|
|
|
|
handleSearch(e) { |
|
|
|
|
this.queryParams.pageNum = 1 // 重置页码 |
|
|
|
|
this.queryParams.name = e.detail // 更新搜索关键字 |
|
|
|
|
this.getPolicyList() |
|
|
|
|
if(e.detail && e.detail.length > 1){ |
|
|
|
|
this.queryParams.pageNo = 1 // 重置页码 |
|
|
|
|
this.queryParams.enterprisesName = e.detail // 更新搜索关键字 |
|
|
|
|
this.queryEnterprise() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
queryEnterprise() { |
|
|
|
|
this.queryParams.pageNo = 1 |
|
|
|
|
this.load = 'loadmore' |
|
|
|
|
this.list = [] |
|
|
|
|
this.queryParams.tagList = [ |
|
|
|
|