参会人审核
This commit is contained in:
@@ -373,6 +373,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
// 标协会议类型
|
||||||
tbMeetingType() {
|
tbMeetingType() {
|
||||||
if (this.currentMeetingInfo.tbMeetingType === '1') {
|
if (this.currentMeetingInfo.tbMeetingType === '1') {
|
||||||
return '标准宣贯'
|
return '标准宣贯'
|
||||||
|
|||||||
@@ -8,77 +8,94 @@
|
|||||||
@cancel="handleCancel"
|
@cancel="handleCancel"
|
||||||
cancelText="关闭">
|
cancelText="关闭">
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<h3>报名信息</h3>
|
<section class="check">
|
||||||
|
<h3>报名信息</h3>
|
||||||
|
<a-row :gutter="24">
|
||||||
|
<a-col :span="24">
|
||||||
|
<label>参会企业:</label>
|
||||||
|
<span>{{model.companyName}}</span>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
|
||||||
|
<a-row :gutter="24">
|
||||||
|
<a-col :span="12">
|
||||||
|
<label>姓名:</label>
|
||||||
|
<span>{{model.companyContactName}}</span></a-col>
|
||||||
|
<a-col :span="12">
|
||||||
|
<label>手机号:</label>
|
||||||
|
<span>{{model.phone}}</span></a-col>
|
||||||
|
</a-row>
|
||||||
|
<a-row :gutter="24">
|
||||||
|
<a-col :span="12">
|
||||||
|
<label>身份:</label>
|
||||||
|
<span>{{model.identity_dictText}}</span></a-col>
|
||||||
|
<a-col :span="12">
|
||||||
|
<label>是否入住协议酒店:</label>
|
||||||
|
<span>{{model.checkInHotel_dictText}}</span></a-col>
|
||||||
|
</a-row>
|
||||||
|
<a-row :gutter="24">
|
||||||
|
<a-col :span="12">
|
||||||
|
<label>抵达时间:</label>
|
||||||
|
<span>{{model.arrivalTime}}</span></a-col>
|
||||||
|
<a-col :span="12">
|
||||||
|
<label>离开时间:</label>
|
||||||
|
<span>{{model.departureTime}}</span></a-col>
|
||||||
|
</a-row>
|
||||||
|
<a-row :gutter="24">
|
||||||
|
<a-col :span="12">
|
||||||
|
<label>缴费方式:</label>
|
||||||
|
<span>{{model.payMode_dictText}}</span></a-col>
|
||||||
|
<a-col :span="12">
|
||||||
|
<label>需要发票:</label>
|
||||||
|
<span>{{model.needInvoice_dictText}}</span></a-col>
|
||||||
|
</a-row>
|
||||||
|
|
||||||
|
</section>
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :span="24">
|
<a-col :span="3">
|
||||||
<label>参会企业:</label>
|
<label>缴费凭证:</label>
|
||||||
<span></span>
|
</a-col>
|
||||||
|
<a-col :span="10">
|
||||||
|
<j-image-upload :return-id="true" v-model="model.paymentMethod"></j-image-upload>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
|
|
||||||
<a-row :gutter="24">
|
|
||||||
<a-col :span="12">
|
|
||||||
<label>姓名:</label>
|
|
||||||
<span></span></a-col>
|
|
||||||
<a-col :span="12">
|
|
||||||
<label>手机号:</label>
|
|
||||||
<span></span></a-col>
|
|
||||||
</a-row>
|
|
||||||
<a-row :gutter="24">
|
|
||||||
<a-col :span="12">
|
|
||||||
<label>身份:</label>
|
|
||||||
<span></span></a-col>
|
|
||||||
<a-col :span="12">
|
|
||||||
<label>是否入住协议酒店:</label>
|
|
||||||
<span></span></a-col>
|
|
||||||
</a-row>
|
|
||||||
<a-row :gutter="24">
|
|
||||||
<a-col :span="12">
|
|
||||||
<label>抵达时间:</label>
|
|
||||||
<span></span></a-col>
|
|
||||||
<a-col :span="12">
|
|
||||||
<label>抵达时间:</label>
|
|
||||||
<span></span></a-col>
|
|
||||||
</a-row>
|
|
||||||
<a-row :gutter="24">
|
|
||||||
<a-col :span="12">
|
|
||||||
<label>缴费方式:</label>
|
|
||||||
<span></span></a-col>
|
|
||||||
<a-col :span="12">
|
|
||||||
<label>需要发票:</label>
|
|
||||||
<span></span></a-col>
|
|
||||||
</a-row>
|
|
||||||
|
|
||||||
<a-row :gutter="24">
|
|
||||||
<j-image-upload></j-image-upload>
|
|
||||||
</a-row>
|
|
||||||
|
|
||||||
<h3>审核</h3>
|
<h3>审核</h3>
|
||||||
|
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :xl="12" :sm="24">
|
<a-col :xl="12" :sm="24" >
|
||||||
<a-form-item label="会议对接人" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item label="审核" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<a-radio-group v-decorator="['',]" placeholder="请选择机构类型">
|
<a-radio-group v-decorator="['checkResult',validatorRules.checkResult]" placeholder="请选择审核结果" @change="changeCheck">
|
||||||
<a-radio value="1">
|
<a-radio value="1">
|
||||||
通过
|
通过
|
||||||
</a-radio>
|
</a-radio>
|
||||||
<a-radio value=0>
|
<a-radio value='0'>
|
||||||
驳回
|
驳回
|
||||||
</a-radio>
|
</a-radio>
|
||||||
</a-radio-group>
|
</a-radio-group>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :xl="24" :sm="24">
|
<a-col :xl="24" :sm="24" v-if="checkBool">
|
||||||
<a-form-item label="备注" :labelCol="remarksLabelCol" :wrapperCol="remarksWrapperCol">
|
<a-form-item label="审核说明" :labelCol="remarksLabelCol" :wrapperCol="remarksWrapperCol">
|
||||||
<a-textarea
|
<a-textarea
|
||||||
placeholder="请输入备注"
|
placeholder="请输入审核说明"
|
||||||
:auto-size="{ minRows: 3, maxRows: 6 }"
|
:auto-size="{ minRows: 3, maxRows: 6 }"
|
||||||
:maxLength='200'
|
:maxLength='200'
|
||||||
v-decorator="['']"
|
v-decorator="['checkRemark',validatorRules.checkRemark]"
|
||||||
@change="e => {e.target.value = (e.target.value + '').trim()}"/>
|
@change="e => {e.target.value = (e.target.value + '').trim()}"/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :xl="24" :sm="24" v-if="!checkBool">
|
||||||
|
<a-form-item label="审核说明" :labelCol="remarksLabelCol" :wrapperCol="remarksWrapperCol">
|
||||||
|
<a-textarea
|
||||||
|
placeholder="请输入审核说明"
|
||||||
|
:auto-size="{ minRows: 3, maxRows: 6 }"
|
||||||
|
:maxLength='200'
|
||||||
|
v-decorator="['checkRemark']"
|
||||||
|
@change="e => {e.target.value = (e.target.value + '').trim()}"/>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
@@ -91,6 +108,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import JImageUpload from '@comp/jero/JImageUpload'
|
import JImageUpload from '@comp/jero/JImageUpload'
|
||||||
|
import {httpAction} from '@api/manage'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'AuditModal',
|
name: 'AuditModal',
|
||||||
@@ -122,29 +140,28 @@ export default {
|
|||||||
sm: {span: 21}
|
sm: {span: 21}
|
||||||
},
|
},
|
||||||
validatorRules: {
|
validatorRules: {
|
||||||
projectName: {
|
checkRemark: {
|
||||||
rules: [{required: true, message: '请输入会员项目'}],
|
rules: [{required: true, message: '请输入审核说明'}],
|
||||||
validateTrigger: 'blur'
|
validateTrigger: 'blur'
|
||||||
},
|
},
|
||||||
particularYear: {
|
checkResult: {
|
||||||
rules: [{required: true, message: '请选择年份'}],
|
rules: [{required: true, message: '请选择审核结果'}],
|
||||||
validateTrigger: ['change', 'blur']
|
validateTrigger: 'change'
|
||||||
},
|
|
||||||
directorId: {
|
|
||||||
rules: [{required: true, message: '请选择负责人'}],
|
|
||||||
validateTrigger: ['change', 'blur']
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
url: {
|
url: {
|
||||||
add: '/jero/memberProject/add',
|
check: '/meeting/payMeetingSituation/check',
|
||||||
edit: '/jero/memberProject/edit',
|
},
|
||||||
}
|
// 审核结果选择
|
||||||
|
checkBool:false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
open(record) {
|
open(record) {
|
||||||
|
this.form.resetFields()
|
||||||
this.visible = true
|
this.visible = true
|
||||||
this.model = Object.assign({}, record)
|
this.model = Object.assign({}, record)
|
||||||
|
console.log(record)
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
this.$emit('close')
|
this.$emit('close')
|
||||||
@@ -155,10 +172,10 @@ export default {
|
|||||||
// 触发表单验证
|
// 触发表单验证
|
||||||
this.form.validateFields((err, values) => {
|
this.form.validateFields((err, values) => {
|
||||||
if (!err) {
|
if (!err) {
|
||||||
let httpurl = ''
|
let httpurl = this.url.check
|
||||||
let method = 'post'
|
let method = 'post'
|
||||||
const formData = Object.assign(this.model, values)
|
const formData = Object.assign({}, values)
|
||||||
console.log('表单提交数据', formData)
|
formData.id = this.model.id
|
||||||
httpAction(httpurl, formData, method).then((res) => {
|
httpAction(httpurl, formData, method).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
that.$message.success(res.message)
|
that.$message.success(res.message)
|
||||||
@@ -176,13 +193,44 @@ export default {
|
|||||||
handleCancel() {
|
handleCancel() {
|
||||||
this.close()
|
this.close()
|
||||||
},
|
},
|
||||||
addContactsOk() {
|
/*
|
||||||
this.$refs.selectContacts.getContactsList()
|
* 选择审核结果
|
||||||
|
* */
|
||||||
|
changeCheck(e){
|
||||||
|
console.log(e)
|
||||||
|
// 审核结果选择拒绝 审核说明必填
|
||||||
|
if(e.target.value === '1'){
|
||||||
|
this.checkBool = false
|
||||||
|
}else if(e.target.value === '0'){
|
||||||
|
this.checkBool = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped lang="less">
|
||||||
|
.check {
|
||||||
|
.ant-row {
|
||||||
|
line-height: 3;
|
||||||
|
|
||||||
|
.ant-col {
|
||||||
|
label {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|
||||||
|
span {
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.label {
|
||||||
|
color: #999999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user