diff --git a/src/views/index/invoicingNotify.vue b/src/views/index/invoicingNotify.vue index d756a4a1..1024cb9d 100644 --- a/src/views/index/invoicingNotify.vue +++ b/src/views/index/invoicingNotify.vue @@ -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 }); diff --git a/src/views/newcomerTraining/newTrainingList.vue b/src/views/newcomerTraining/newTrainingList.vue index e1eea8ae..80d624d8 100644 --- a/src/views/newcomerTraining/newTrainingList.vue +++ b/src/views/newcomerTraining/newTrainingList.vue @@ -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){