@ -103,7 +103,7 @@ export default {
if(this.$route.path=='/ClassificationDetails'){
bus.$emit('getDate',this.search);
}else{
this.$router.push({path:'/ClassificationDetails',query:this.search})
this.$router.push({path:'/ClassificationDetails',query:{search:this.search}})
}
},
loginOut(){
@ -172,7 +172,8 @@ export default {
date:'',
min_price:'',
max_price:'',
sort:'create_time desc'
sort:'create_time desc',
search_name:''
pageTotal:0,
listingList:[],
@ -183,8 +184,13 @@ export default {
created(){
console.info(this.$route.query)
if(this.$route.query){
this.query.search_name=this.$route.query.search
bus.$on('getDate', (e) => {
this.query.search_name=e
this.getData()
})
this.getProvince();
@ -121,7 +121,7 @@ export default {
checkBuy(data).then(res => {
console.info(res)
if(res.code==100){
this.$router.push({path:'/order/confirmOrder',query:{step:0,id:id,count:count}})
this.$router.push({path:'/order/confirmOrder',query:{step:0,id:id,count:count,orderType:0,type:0}})
this.$message.error(res.msg)