| | |
| | | <view class="header"> |
| | | <view class="search-bar"> |
| | | <uni-icons class="search-icon" type="search" size="18" color="#999"></uni-icons> |
| | | <input type="text" placeholder="搜索医院" placeholder-class="placeholder" /> |
| | | <view class="search-btn">搜索</view> |
| | | <input type="text" placeholder="搜索医院" placeholder-class="placeholder" v-model="name"/> |
| | | <view class="search-btn" @click="search">搜索</view> |
| | | </view> |
| | | <!-- <view class="filter-bar"> |
| | | <view class="filter-item"> |
| | |
| | | value: 'other' |
| | | } |
| | | ], |
| | | name: '', |
| | | timeOptions: [ |
| | | '当日可约', |
| | | '次日可约', |
| | |
| | | this.getList(); |
| | | }, |
| | | methods: { |
| | | search(){ |
| | | getHospList({ |
| | | hospName:this.name |
| | | }).then((response) => { |
| | | this.hosplist = response.data; |
| | | |
| | | }); |
| | | }, |
| | | /** 查询院区信息列表 */ |
| | | getList() { |
| | | getHospList(this.queryParams).then((response) => { |