|
@@ -214,11 +214,11 @@ export default {
|
|
|
})
|
|
|
this.mainData = res.data
|
|
|
this.$refs.details.param.content.type = this.$route.query.tabIndex
|
|
|
-
|
|
|
+ // this.$refs.details.param.content.where.type = this.$route.query.type
|
|
|
this.mainData.type == '项目'
|
|
|
? this.mainData.typemx == '直销'
|
|
|
- ? this.$router.replace({path:'/contractDetail',query:{id:this.$route.query.id,rowindex:this.$route.query.rowindex,type:'直销项目'}}) : this.$router.replace({path:'/contractDetail',query:{id:this.$route.query.id,rowindex:this.$route.query.rowindex,type:'经销项目'}})
|
|
|
- : this.$router.replace({path:'/contractDetail',query:{id:this.$route.query.id,rowindex:this.$route.query.rowindex,type:this.mainData.type}})
|
|
|
+ ? this.$router.replace({path:'/contractDetail',query:{id:this.$route.query.id,rowindex:this.$route.query.rowindex,type:'直销项目',tabIndex:this.$route.query.tabIndex}}) : this.$router.replace({path:'/contractDetail',query:{id:this.$route.query.id,rowindex:this.$route.query.rowindex,type:'经销项目',tabIndex:this.$route.query.tabIndex}})
|
|
|
+ : this.$router.replace({path:'/contractDetail',query:{id:this.$route.query.id,rowindex:this.$route.query.rowindex,type:this.mainData.type,tabIndex:this.$route.query.tabIndex}})
|
|
|
|
|
|
this.changeDataStructure()
|
|
|
},
|