跳转后添加type=invoice 参数

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

View File

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

View File

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