task#11094,后台跳转app页面按钮显示
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<div class="navBar">
|
||||
<van-nav-bar
|
||||
title="案件审核列表"
|
||||
left-arrow
|
||||
:left-arrow="isShowBackBtn ? true : false"
|
||||
left-arrow-color="#FFFFFF"
|
||||
:border="false"
|
||||
:fixed="true"
|
||||
@ -57,6 +57,7 @@ export default {
|
||||
pageSize:10,
|
||||
id:'',//批次id
|
||||
isLoading:"",
|
||||
isShowBackBtn:true,
|
||||
}
|
||||
},
|
||||
computed:{
|
||||
@ -68,12 +69,14 @@ export default {
|
||||
|
||||
},
|
||||
async mounted() {
|
||||
console.log("gsjjadjkasjdhsjakdhjkashkdjh")
|
||||
// 获取当前 URL
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
console.log("urlParams.get('id')",urlParams.get('id'))
|
||||
console.log("=========",this.$route)
|
||||
this.id =urlParams.get('id') || this.$route.params.id || this.$route.params.batchCode;
|
||||
if(urlParams.get('id')){//后台进入此页面没有返回按钮
|
||||
this.isShowBackBtn=false
|
||||
}else{
|
||||
this.isShowBackBtn=true
|
||||
}
|
||||
this.id = urlParams.get('id') || this.$route.params.id || this.$route.params.batchCode;
|
||||
this.activeIndex=this.$route.params?.activeIndex || 0
|
||||
await this.batchOrderCount();
|
||||
await this.getList()
|
||||
|
Reference in New Issue
Block a user