跳转后添加type=invoice 参数

This commit is contained in:
2025-09-26 11:42:22 +08:00
parent ec204dc631
commit 817a0f1e84
2 changed files with 4 additions and 1 deletions

View File

@ -175,7 +175,7 @@ export default {
confirmButtonColor: '#0E76F4',
showCancelButton: false,
}).then(async() => {
this.goPage('newTrainingList', { supplierId : this.supplierId })
this.goPage('newTrainingList', { supplierId : this.supplierId, type: 'invoice' })
}).catch(() => {
// on cancel
});

View File

@ -78,9 +78,11 @@ export default {
isLoading:false,
showPoup:true,//进入弹框
isFinished:false,
type: '',
}
},
mounted() {
this.type = this.$route.query?.type;
// this.onRefresh();
this.getList();
@ -120,6 +122,7 @@ export default {
pageSize:this.pageSize,
docType:1,
trainingType:4,
type: this.type,
})
this.pageList=res.data?.list || [];
if(res.data.assessState == 0){