跳转后添加type=invoice 参数
This commit is contained in:
@ -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
|
||||||
});
|
});
|
||||||
|
|||||||
@ -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){
|
||||||
|
|||||||
Reference in New Issue
Block a user