3 Commits

Author SHA1 Message Date
f03f323a6f 换请求方式 2025-09-26 13:23:55 +08:00
817a0f1e84 跳转后添加type=invoice 参数 2025-09-26 13:23:55 +08:00
ec204dc631 培训添加发票参数 2025-09-26 13:23:54 +08:00
3 changed files with 9 additions and 3 deletions

View File

@ -323,6 +323,7 @@ export function jumpPage(data){
return request({ return request({
url:'/supplierAppV2/dispatchApp/user/jumpPage', url:'/supplierAppV2/dispatchApp/user/jumpPage',
method:'POST', method:'POST',
contentType:'application/json',
data data
}) })
} }
@ -339,4 +340,4 @@ export function isSendInsuranceEmail(){
url:'/supplierAppV2/dispatchApp/user/isSendInsuranceEmail', url:'/supplierAppV2/dispatchApp/user/isSendInsuranceEmail',
method:'POST', method:'POST',
}) })
} }

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
}); });
@ -189,7 +189,9 @@ export default {
this.getNotifyList() this.getNotifyList()
}, },
async getJumpHandler() { async getJumpHandler() {
let res = await jumpPage(); let res = await jumpPage({
type: 'invoice'
});
return res return res
}, },
getMonth(item) { getMonth(item) {

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){