This commit is contained in:
liuye
2021-12-31 16:39:35 +08:00
parent 5ff431e3c7
commit 462b7fd1f9
2 changed files with 3 additions and 1 deletions

View File

@@ -154,6 +154,7 @@ export default {
areaSelect(e) { areaSelect(e) {
this.data = [] this.data = []
this.areaId = e this.areaId = e
this.current = 1
this.getList() this.getList()
}, },
@@ -162,6 +163,7 @@ export default {
this.areaId = this.user.areaId this.areaId = this.user.areaId
this.keyword = '' this.keyword = ''
this.currentTabs = index this.currentTabs = index
this.current = 1
this.getList() this.getList()
}, },

View File

@@ -1,6 +1,6 @@
<template> <template>
<div class="selectType"> <div class="selectType">
<div class="header-top"> <div class="header-top" v-if="!showType">
<u-search v-model="keyword" placeholder="请输入姓名" :show-action="false" bg-color="#F5F5F5" search-icon-color="#CCCCCC" placeholder-color="#999999" @search="handerSearch" @clear="handerClear"></u-search> <u-search v-model="keyword" placeholder="请输入姓名" :show-action="false" bg-color="#F5F5F5" search-icon-color="#CCCCCC" placeholder-color="#999999" @search="handerSearch" @clear="handerClear"></u-search>
</div> </div>