|
|
|
@ -11,7 +11,7 @@ |
|
|
|
<a-row type="flex" justify="space-between" > |
|
|
|
<a-col :lg="8" :xl="7" :xxl="6" class="query_item"> |
|
|
|
<span>一级分类:</span> |
|
|
|
<a-select default-value="" @change="handleChange" v-model="query.top_class"> |
|
|
|
<a-select default-value="" @change="handleChange(0)" v-model="query.top_class"> |
|
|
|
<a-select-option :value="item" v-for="(item,index) in oneList" :key="index"> |
|
|
|
{{item}} |
|
|
|
</a-select-option> |
|
|
|
@ -254,12 +254,14 @@ export default { |
|
|
|
}, |
|
|
|
//获取二级分类 |
|
|
|
getSon(type){ |
|
|
|
console.info(type) |
|
|
|
let data |
|
|
|
if(type==1){ |
|
|
|
data={top_class:this.query1.pull_top_class} |
|
|
|
}else{ |
|
|
|
data=this.query |
|
|
|
} |
|
|
|
|
|
|
|
getSon(data).then(res=>{ |
|
|
|
if(res.code==200){ |
|
|
|
this.twoList=res.data |
|
|
|
|