【变更】待签到国际研讨会嘉宾可以修改个人信息

This commit is contained in:
fengachen
2022-05-17 16:19:46 +08:00
parent 70aa857dd7
commit 34083ad462
6 changed files with 2034 additions and 37 deletions
+62 -37
View File
@@ -42,17 +42,19 @@
</a-col>
</a-row>
<a-row :gutter="24" class="flex-col">
<a-col :span="12" v-for="(item,index) in model.meetingContactsList"
<a-col :span="12" v-for="(item,index) in model.meetingContactsList"
:key="index">
<label class="label">会议联系人及手机号:</label>
<span class="mul-row-content">
<span
class="content"
>{{ item.meetingContactsName}} {{item.meetingContactsName? ':' :''}} {{item.meetingContactsPhone + ' ' }}</span>
>{{ item.meetingContactsName }} {{ item.meetingContactsName ? ':' : '' }} {{
item.meetingContactsPhone + ' '
}}</span>
</span>
</a-col>
</a-row>
<a-row :gutter="24" class="flex-col">
<a-row :gutter="24" class="flex-col">
<a-col :span="12">
<label>酒店名称:</label><span>{{ model.hotelName }}</span>
</a-col>
@@ -62,13 +64,13 @@
</a-row>
<a-row :gutter="24" class="flex-col">
<a-col :span="12" v-for="(item,index) in model.hotelContactsList"
<a-col :span="12" v-for="(item,index) in model.hotelContactsList"
:key="index">
<label class="label">酒店联系人及手机号:</label>
<span class="mul-row-content">
<span
class="content"
>{{ item.hotelContacts}} {{item.hotelContacts? ':' :''}} {{item.hotelContactsPhone + ' ' }}</span>
>{{ item.hotelContacts }} {{ item.hotelContacts ? ':' : '' }} {{ item.hotelContactsPhone + ' ' }}</span>
</span>
</a-col>
</a-row>
@@ -96,7 +98,7 @@
<a-col :span="12" v-if="model.paymentQrCode && model.meetingType !== '2'">
<label>收费二维码:</label>
<span>
<img :src="paymentQrCodeSrc" alt="nothing show" class="payment-qrcode-img" />
<img :src="paymentQrCodeSrc" alt="nothing show" class="payment-qrcode-img"/>
</span>
</a-col>
</a-row>
@@ -104,7 +106,7 @@
<a-col :span="24">
<label>收费二维码:</label>
<span>
<img :src="paymentQrCodeSrc" alt="nothing show" class="payment-qrcode-img" />
<img :src="paymentQrCodeSrc" alt="nothing show" class="payment-qrcode-img"/>
</span>
</a-col>
</a-row>
@@ -234,14 +236,18 @@
</span>
</a-col>
</a-row>
<!-- <div>-->
<!-- <a-button type="primary" @click="goSignUpPage">报名</a-button>-->
<!-- </div>-->
<!-- <div>-->
<!-- <a-button type="primary" @click="goSignUpPage">报名</a-button>-->
<!-- </div>-->
</template>
</section>
<!-- 国际研讨会嘉宾身份个人信息的显示 -->
<section class="base-info" v-else>
<h3 class="title">报名信息</h3>
<div style="display: flex">
<h3 class="title">报名信息</h3>
<!--报名状态为待签到 会议类型是国际研讨会 并且是嘉宾 才能编辑报名信息-->
<a-button type="primary" v-if="model.signUpStatus === 6 " class="m-l-10" @click="editSignUpInfo">编辑报名信息</a-button>
</div>
<template v-if="Object.keys(situationInfo).length > 0">
<section>
<a-row :gutter="24" class="flex-col">
@@ -547,30 +553,33 @@
</span>
</a-col>
</a-row>
<!-- 只有可报名的会议 才能去报名 -->
<!-- 只有可报名的会议 才能去报名 -->
</template>
</section>
<section>
</section>
<div v-if=" (Number(model.meetingSignUpType) === MeetingSignUpTypeEnums.canSignUp.index && !compareCurrentTime(model.registerDeadline)) ">
<a-button type="primary" @click="goSignUpPage" >报名 </a-button>
<div
v-if=" (Number(model.meetingSignUpType) === MeetingSignUpTypeEnums.canSignUp.index && !compareCurrentTime(model.registerDeadline)) ">
<a-button type="primary" @click="goSignUpPage">报名</a-button>
</div>
</a-spin>
<!--报名信息end-->
<!--会议资料begin-->
<section class="base-info">
<h3 class="title">会议资料</h3>
<!-- 报名成功才显示查看按钮-->
<file-table :file-id="model.meetingData" :has-limit-bool="true" :meeting-id="model.id" :show-detail-bool="showDetailBool"></file-table>
<!-- 报名成功才显示查看按钮-->
<file-table :file-id="model.meetingData" :has-limit-bool="true" :meeting-id="model.id"
:show-detail-bool="showDetailBool"></file-table>
</section>
<!--会议资料end-->
<!--会议纪要begin-->
<section class="base-info">
<h3 class="title">会议纪要</h3>
<file-table :file-id="model.meetingMinute" :has-limit-bool="true" :meeting-id="model.id" :show-detail-bool="showDetailBool"></file-table>
<file-table :file-id="model.meetingMinute" :has-limit-bool="true" :meeting-id="model.id"
:show-detail-bool="showDetailBool"></file-table>
</section>
<!--会议纪要end-->
<!--到账信息 begin 2021-12-10 版需求变更去掉了-->
@@ -591,6 +600,7 @@
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
</template>
<edit-sign-up-info ref="editSignUpInfoForm"></edit-sign-up-info>
</j-modal>
</template>
@@ -598,13 +608,14 @@
import PreviewFile from '@comp/jero/PreviewFile'
import FileTable from '@/views/MessagePage/modules/FileTable'
import JEllipsis from '@comp/jero/JEllipsis'
import { getMeetInfoById, queryCommonProjectById } from '@api/incomePaymentsApi'
import { getSingUpUserInfo, checkMember } from '@api/incomePaymentsApi'
import {getMeetInfoById, queryCommonProjectById} from '@api/incomePaymentsApi'
import {getSingUpUserInfo, checkMember} from '@api/incomePaymentsApi'
import JImageUpload from '@comp/jero/JImageUpload'
import '@/assets/less/TableExpand.less'
import SignStep from './modules/SignStep'
import { MeetingSignUpTypeEnums, MeetingTypeEnums } from '../../enums/commonEnum'
import { compareCurrentTime } from '../../utils/meetingJudgeUtil'
import {MeetingSignUpTypeEnums, MeetingTypeEnums} from '../../enums/commonEnum'
import {compareCurrentTime} from '../../utils/meetingJudgeUtil'
import EditSignUpInfo from '@views/meetingActivity/modules/EditSignUpInfo'
const columns = [
{
@@ -651,7 +662,7 @@ const columns = [
title: '操作',
align: 'center',
dataIndex: '',
scopedSlots: { customRender: 'action' }
scopedSlots: {customRender: 'action'}
}
]
export default {
@@ -661,7 +672,8 @@ export default {
JEllipsis,
JImageUpload,
FileTable,
SignStep
SignStep,
EditSignUpInfo
},
props: {
// 是否是从会议点进来的 默认走消息
@@ -692,7 +704,7 @@ export default {
// 显示更多的开票邮寄信息
showMoreInfo: false,
showDetailBool:true
showDetailBool: true
}
},
computed: {
@@ -720,7 +732,7 @@ export default {
},
methods: {
// 是否显示文件查看
async changeShowDetailBool(){
async changeShowDetailBool() {
// 增加判断,等后端接口开发完成后再做处理
//先判断当前的会议类型,如果会议是分标委会议或者理事会会议 需要判断当前人是否是 分标委成员或者理事会成员,
if (this.model.meetingType === MeetingTypeEnums.committee.index || this.model.meetingType === MeetingTypeEnums.council.index) {
@@ -729,12 +741,18 @@ export default {
this.showDetailBool = isBool
return
}
if((this.situationInfo.checkResult == 1 && this.situationInfo.registerCheckResult == 1)){
this.showDetailBool = true
}else{
this.showDetailBool = false
if ((this.situationInfo.checkResult == 1 && this.situationInfo.registerCheckResult == 1)) {
this.showDetailBool = true
} else {
this.showDetailBool = false
}
},
/**
* @description 国际研讨会嘉宾编辑个人信息
* */
editSignUpInfo(){
this.$refs.editSignUpInfoForm.open(this.situationInfo)
},
// 判断是否是 分标委成员或者理事会成员
judgeIsMember() {
return new Promise(resolve => {
@@ -758,8 +776,8 @@ export default {
this.situationInfoLoading = true
this.showMoreInfo = false
// 通过id查询项目详情
if(!param.situationId) {
queryCommonProjectById({ id: param.situationId }).then(res => {
if (!param.situationId) {
queryCommonProjectById({id: param.situationId}).then(res => {
if (res.success) {
console.log(res.result, 'res.result')
// 到账信息
@@ -803,8 +821,8 @@ export default {
getSingUpUserInfoFunc(param) {
return new Promise(resolve => {
// 存在报名信息
if(param.situationId) {
getSingUpUserInfo({ id: param.situationId }).then(res => {
if (param.situationId) {
getSingUpUserInfo({id: param.situationId}).then(res => {
if (res.success) {
this.situationInfo = res.result
} else {
@@ -859,7 +877,7 @@ export default {
queryMeetingInfoById(id) {
return new Promise(resolve => {
let result = {}
getMeetInfoById({ id }).then(res => {
getMeetInfoById({id}).then(res => {
if (res.success) {
result = res.result
}
@@ -935,6 +953,7 @@ export default {
.ant-col {
display: flex;
}
label {
flex-shrink: 0;
}
@@ -1081,14 +1100,20 @@ h3.title::before {
}
// 多个酒店联系人及手机号 换行显示
.mul-row-row{
.mul-row-row {
display: flex;
clear: both;
}
.mul-row-content{
.mul-row-content {
display: block;
.content{
.content {
display: block;
}
}
.m-l-10 {
margin-left: 10px;
}
</style>