wangfukang 3 weeks ago
parent
commit
9092a71410
  1. 11
      package2/group/studentStoreList.vue

11
package2/group/studentStoreList.vue

@ -379,22 +379,27 @@
}, },
quickSearch(item) { quickSearch(item) {
this.searchForm.keyWord = item.title this.searchForm.keyWord = item.title
this.checkedTab = '' this.clearCategoryCondition()
this.resetList() this.resetList()
this.getShopList() this.getShopList()
}, },
searchHotWord(word) { searchHotWord(word) {
this.searchForm.keyWord = word.replace(/[^\u4e00-\u9fa5A-Za-z0-9]/g, '') this.searchForm.keyWord = word.replace(/[^\u4e00-\u9fa5A-Za-z0-9]/g, '')
this.checkedTab = '' this.clearCategoryCondition()
this.resetList() this.resetList()
this.getShopList() this.getShopList()
}, },
focusSearch() {}, focusSearch() {},
goSearch() { goSearch() {
this.checkedTab = '' this.clearCategoryCondition()
this.resetList() this.resetList()
this.getShopList() this.getShopList()
}, },
clearCategoryCondition() {
this.checkedTab = ''
this.searchForm.shopType = ''
this.$delete(this.searchForm, 'isStudent')
},
searchShop(type, value) { searchShop(type, value) {
this.searchForm.pageNumber = 1 this.searchForm.pageNumber = 1
if (type == 'area') { if (type == 'area') {

Loading…
Cancel
Save