task#11094,后台跳转H5参数bug修复
This commit is contained in:
@ -71,9 +71,7 @@ export default {
|
|||||||
// 获取当前 URL
|
// 获取当前 URL
|
||||||
const urlParams = new URLSearchParams(window.location.search);
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
console.log("urlParams.get('id')",urlParams.get('id'))
|
console.log("urlParams.get('id')",urlParams.get('id'))
|
||||||
// console.log("this.$route.params.batchCode",this.$route.params.batchCode)
|
this.id =urlParams.get('id') || this.$route.params.id || this.$route.params.batchCode;
|
||||||
|
|
||||||
this.id = this.$route.params.id || this.$route.params.batchCode || urlParams.get('id');
|
|
||||||
this.activeIndex=this.$route.params?.activeIndex || 0
|
this.activeIndex=this.$route.params?.activeIndex || 0
|
||||||
await this.batchOrderCount();
|
await this.batchOrderCount();
|
||||||
await this.getList()
|
await this.getList()
|
||||||
@ -106,7 +104,7 @@ export default {
|
|||||||
},
|
},
|
||||||
async batchOrderCount(){
|
async batchOrderCount(){
|
||||||
let res =await reimburseBatchOrderCount({
|
let res =await reimburseBatchOrderCount({
|
||||||
batchCode:'BXPC240220000335960384',//this.id
|
batchCode:this.id
|
||||||
})
|
})
|
||||||
this.tabArr.forEach(tab => {
|
this.tabArr.forEach(tab => {
|
||||||
if (tab.name === '待审核') {
|
if (tab.name === '待审核') {
|
||||||
|
Reference in New Issue
Block a user