消息上传凭证修改
This commit is contained in:
@@ -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()
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user