【修改】证书缴费的修改

This commit is contained in:
fengachen
2022-12-09 16:28:27 +08:00
parent 531818493d
commit c6298dc123
4 changed files with 35 additions and 6 deletions
@@ -32,6 +32,27 @@ export default {
components: {
JImageUpload
},
props:{
// 会员缴费的上传 还是证书缴费的上传 1是证书 2是会费
uploadType:{
type:String,
required:false
}
},
computed:{
// eslint-disable-next-line
url(){
if(this.uploadType === '1'){
return {
add:'/certificatePaymentInfo/uploadPaymentRecord'
}
}else if(this.uploadType === '2'){
return {
add:'/paymentInfo/uploadPaymentRecord'
}
}
}
},
data() {
return {
visible: false,
@@ -58,9 +79,6 @@ export default {
validateTrigger: ['blur', 'change']
},
},
url: {
add: '/paymentInfo/uploadPaymentRecord'
}
}
},
methods: {