消息上传凭证修改

This commit is contained in:
fengachen
2021-09-26 19:41:11 +08:00
parent 44b095290c
commit e1b91ce4bf
2 changed files with 20 additions and 4 deletions
+6 -1
View File
@@ -19,7 +19,12 @@
if(!this.path){ if(!this.path){
return null 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'], props: ['path','formData'],
@@ -109,6 +109,7 @@
<script> <script>
import JImageUpload from '@comp/jero/JImageUpload' import JImageUpload from '@comp/jero/JImageUpload'
import {httpAction} from '@api/manage' import {httpAction} from '@api/manage'
import {getSingUpUserInfo} from '@api/incomeMeetingApi'
export default { export default {
name: 'AuditModal', name: 'AuditModal',
@@ -158,16 +159,19 @@ export default {
// 审核结果选择 // 审核结果选择
checkBool:false, checkBool:false,
// 是否是审核报名信息 // 是否是审核报名信息
checkSignBool:false checkSignBool:false,
// 参会人id
signUpPersonId:'',
} }
}, },
methods: { methods: {
open(record,signUp) { open(record,signUp) {
this.form.resetFields() this.form.resetFields()
this.visible = true this.visible = true
this.signUpPersonId = record.id
this.querySingUpUserInfo()
// 控制行程信息显示 审核凭证不显示 // 控制行程信息显示 审核凭证不显示
this.checkSignBool = signUp this.checkSignBool = signUp || false
this.model = Object.assign({}, record)
console.log(record) console.log(record)
}, },
close() { close() {
@@ -206,6 +210,13 @@ export default {
} }
}) })
}, },
querySingUpUserInfo(){
getSingUpUserInfo({id:this.signUpPersonId}).then(res => {
if(res.success){
this.model = res.result
}
})
},
handleCancel() { handleCancel() {
this.close() this.close()
}, },