task#10595,点标记上方显示地址,记录tab切点入进去的index
This commit is contained in:
@ -57,6 +57,7 @@ export default {
|
||||
this.id = this.$route.params.id || urlParams.get('id');
|
||||
},
|
||||
async mounted() {
|
||||
this.activeIndex=this.$route.params?.activeIndex || 0
|
||||
await this.batchOrderCount();
|
||||
await this.getList()
|
||||
},
|
||||
@ -89,7 +90,15 @@ export default {
|
||||
tab.num = res.data.auditFailCount;
|
||||
}
|
||||
});
|
||||
console.log("数量",res)
|
||||
},
|
||||
goPageDetail(id){
|
||||
this.$router.push({
|
||||
name: 'caseDetail', // 目标路由的名称
|
||||
params: {
|
||||
id:id,
|
||||
index:this.activeIndex,
|
||||
}
|
||||
});
|
||||
},
|
||||
getStatus(i){
|
||||
switch (i){
|
||||
@ -126,14 +135,6 @@ export default {
|
||||
return 'yelColor'
|
||||
}
|
||||
},
|
||||
goPageDetail(id){
|
||||
this.$router.push({
|
||||
name: 'caseDetail', // 目标路由的名称
|
||||
params: {
|
||||
id:id,
|
||||
}
|
||||
});
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user