task#11094,后台跳转H5参数传递

This commit is contained in:
2024-02-21 10:28:52 +08:00
parent 67e8e40b24
commit edff2a9100

View File

@ -73,8 +73,7 @@ export default {
console.log("urlParams.get('id')",urlParams.get('id'))
// console.log("this.$route.params.batchCode",this.$route.params.batchCode)
// this.id = this.$route.params.id || this.$route.params.batchCode || urlParams.get('id');
this.id='BXPC240220000335960384'
this.id = this.$route.params.id || this.$route.params.batchCode || urlParams.get('id');
this.activeIndex=this.$route.params?.activeIndex || 0
await this.batchOrderCount();
await this.getList()
@ -107,7 +106,7 @@ export default {
},
async batchOrderCount(){
let res =await reimburseBatchOrderCount({
batchCode:this.id
batchCode:'BXPC240220000335960384',//this.id
})
this.tabArr.forEach(tab => {
if (tab.name === '待审核') {