消息上传凭证修改
This commit is contained in:
@@ -19,7 +19,12 @@
|
||||
if(!this.path){
|
||||
return null
|
||||
}
|
||||
return resolve => require([`@/components${this.path}.vue`], resolve)
|
||||
// 这么写 是因未用数据库的路径拿不到 组件 实例
|
||||
if(this.path && this.path.includes('AuditModal')){
|
||||
return resolve => require([`@views/incomePayments${this.path}.vue`], resolve)
|
||||
}else {
|
||||
return resolve => require([`@/components${this.path}.vue`], resolve)
|
||||
}
|
||||
}
|
||||
},
|
||||
props: ['path','formData'],
|
||||
|
||||
@@ -109,6 +109,7 @@
|
||||
<script>
|
||||
import JImageUpload from '@comp/jero/JImageUpload'
|
||||
import {httpAction} from '@api/manage'
|
||||
import {getSingUpUserInfo} from '@api/incomeMeetingApi'
|
||||
|
||||
export default {
|
||||
name: 'AuditModal',
|
||||
@@ -158,16 +159,19 @@ export default {
|
||||
// 审核结果选择
|
||||
checkBool:false,
|
||||
// 是否是审核报名信息
|
||||
checkSignBool:false
|
||||
checkSignBool:false,
|
||||
// 参会人id
|
||||
signUpPersonId:'',
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
open(record,signUp) {
|
||||
this.form.resetFields()
|
||||
this.visible = true
|
||||
this.signUpPersonId = record.id
|
||||
this.querySingUpUserInfo()
|
||||
// 控制行程信息显示 审核凭证不显示
|
||||
this.checkSignBool = signUp
|
||||
this.model = Object.assign({}, record)
|
||||
this.checkSignBool = signUp || false
|
||||
console.log(record)
|
||||
},
|
||||
close() {
|
||||
@@ -206,6 +210,13 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
querySingUpUserInfo(){
|
||||
getSingUpUserInfo({id:this.signUpPersonId}).then(res => {
|
||||
if(res.success){
|
||||
this.model = res.result
|
||||
}
|
||||
})
|
||||
},
|
||||
handleCancel() {
|
||||
this.close()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user