|
@@ -10,7 +10,8 @@
|
|
|
<nxsearch :selectList="selectList"
|
|
|
:defaultSelectIndex="defaultSelectIndex"
|
|
|
button="inside" @search="doSearch" @confirm="doSearch"
|
|
|
- v-model="searchQuery.keyword" placeholder="输入关键字找工作" />
|
|
|
+ @selectItem="selectItem"
|
|
|
+ v-model="searchQuery.keyword" :placeholder="'输入关键字'+selectList[searchQuery.selectIndex].name" />
|
|
|
|
|
|
|
|
|
</view>
|
|
@@ -405,6 +406,7 @@
|
|
|
this.defaultSelectIndex=op.type
|
|
|
//this.$refs.nxsearch.selectItem(op.type)
|
|
|
}
|
|
|
+ console.log(this.searchQuery,op)
|
|
|
|
|
|
|
|
|
var sz = this.carhelp.get("setSearchHistory");
|
|
@@ -423,6 +425,9 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ selectItem(i){
|
|
|
+ this.searchQuery.selectIndex=i;
|
|
|
+ },
|
|
|
changeSaralyChecked(index) {
|
|
|
this.saralyChecked = index;
|
|
|
},
|