diff --git a/src/views/secondHandCar/carSource.vue b/src/views/secondHandCar/carSource.vue
index 6d7f7117..59d70e2c 100644
--- a/src/views/secondHandCar/carSource.vue
+++ b/src/views/secondHandCar/carSource.vue
@@ -4,7 +4,7 @@
-

+
@@ -190,6 +190,7 @@ export default {
otherImgSrcList:[],
otherImgSrc:[],
status:'',
+ homePage:false,
}
},
async mounted() {
@@ -238,6 +239,13 @@ export default {
}
},
methods:{
+ backHandle(){
+ if(this.$route.query.homePage){//返回列表
+ this.$router.push({ name: "indexList"})
+ }else{//返回我的发布
+ this.$router.push({ name: "mineRelease"})
+ }
+ },
viewPrivacy(){
let url='';
if (window.location.href.includes('www.sinoassist.com')) {
diff --git a/src/views/secondHandCar/indexList.vue b/src/views/secondHandCar/indexList.vue
index 3e6be763..ec8358e9 100644
--- a/src/views/secondHandCar/indexList.vue
+++ b/src/views/secondHandCar/indexList.vue
@@ -267,10 +267,10 @@ export default {
if(type===1){//车源发布
this.$router.push({
name: "carSource",
- query: { type:1 }
+ query: { type:1,homePage:true }
})
}else{//求购发布
- this.$router.push({ name: "wantBuy", query: { type:1 } })
+ this.$router.push({ name: "wantBuy", query: { type:1,homePage:true } })
}
this.setSearchVal();
},
diff --git a/src/views/secondHandCar/mineRelease.vue b/src/views/secondHandCar/mineRelease.vue
index f065dc40..6ed3970a 100644
--- a/src/views/secondHandCar/mineRelease.vue
+++ b/src/views/secondHandCar/mineRelease.vue
@@ -167,7 +167,7 @@ export default {
reviseHandle(item){//修改
this.$router.push({
name: item.type==1 ? "carSource" : 'wantBuy',
- query: { type:1 ,id:item.id,queryType:3},
+ query: { type:1 ,id:item.id,queryType:3,homePage:false},
})
},
async polishHandle(item){//檫亮
diff --git a/src/views/secondHandCar/wantBuy.vue b/src/views/secondHandCar/wantBuy.vue
index aade63ee..180bbf07 100644
--- a/src/views/secondHandCar/wantBuy.vue
+++ b/src/views/secondHandCar/wantBuy.vue
@@ -4,7 +4,7 @@
@@ -132,6 +132,7 @@ export default {
auditReason:'',
auditRemark:'',
status:'',
+ homePage:false,
}
},
async mounted() {
@@ -158,6 +159,13 @@ export default {
}
},
methods:{
+ backHandle(){
+ if(this.$route.query.homePage){//返回列表
+ this.$router.push({ name: "indexList"})
+ }else{//返回我的发布
+ this.$router.push({ name: "mineRelease"})
+ }
+ },
viewPrivacy(){
// let host = window.location.host
let url='';