【add】 问题征集 功能的开发
This commit is contained in:
@@ -110,6 +110,17 @@
|
||||
</span>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<!-- 标协会议、增加问题征集相关字段 -->
|
||||
<a-row :gutter="24" class="flex-col" v-if="Number(model.meetingType) === MeetingTypeEnums.standard.index">
|
||||
<a-col :span="12">
|
||||
<label>问题征集:</label>
|
||||
<span>{{ model.isAddQuestion === '1' ? '需要' : '不需要'}} </span>
|
||||
</a-col>
|
||||
<a-col :span="12" v-if="model.isAddQuestion === '1'">
|
||||
<label>征集截止时间:</label>
|
||||
<span>{{ model.endTimeAddQuestion }}</span>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24" class="flex-col">
|
||||
<a-col :span="24">
|
||||
<label>会议内容:</label>
|
||||
@@ -588,6 +599,15 @@
|
||||
:show-detail-bool="showDetailBool"></file-table>
|
||||
</section>
|
||||
<!--会议纪要end-->
|
||||
<!--问题征集 --标协会议:并且会议的是否需要会议征集为需要 && 报名状态是已报名 存在 begin-->
|
||||
<section
|
||||
class="base-info"
|
||||
v-if="model.meetingType === MeetingTypeEnums.standard.index && model.isAddQuestion === '1' && hasQuestionList"
|
||||
>
|
||||
<h3 class="title">问题征集</h3>
|
||||
<problem-collection-table :can-ope="canOpe" :meeting-id="model.id" :table-data="model.questionList" ref="problemCollectionTable"></problem-collection-table>
|
||||
</section>
|
||||
<!-- --标协会议 存在 end-->
|
||||
<!--到账信息 begin 2021-12-10 版需求变更去掉了-->
|
||||
<!-- <section class="payment-info">
|
||||
<h3 class="title">付款信息</h3>
|
||||
@@ -607,6 +627,7 @@
|
||||
<a-button @click="handleCancel">关闭</a-button>
|
||||
</template>
|
||||
<edit-sign-up-info ref="editSignUpInfoForm"></edit-sign-up-info>
|
||||
|
||||
</j-modal>
|
||||
</template>
|
||||
|
||||
@@ -622,6 +643,8 @@ import SignStep from './modules/SignStep'
|
||||
import {MeetingSignUpTypeEnums, MeetingTypeEnums} from '../../enums/commonEnum'
|
||||
import {compareCurrentTime} from '../../utils/meetingJudgeUtil'
|
||||
import EditSignUpInfo from '@views/meetingActivity/modules/EditSignUpInfo'
|
||||
// 问题征集的表格
|
||||
import ProblemCollectionTable from './modules/ProblemCollectionTable'
|
||||
|
||||
const columns = [
|
||||
{
|
||||
@@ -679,7 +702,8 @@ export default {
|
||||
JImageUpload,
|
||||
FileTable,
|
||||
SignStep,
|
||||
EditSignUpInfo
|
||||
EditSignUpInfo,
|
||||
ProblemCollectionTable
|
||||
},
|
||||
props: {
|
||||
// 是否是从会议点进来的 默认走消息
|
||||
@@ -692,8 +716,9 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
MeetingSignUpTypeEnums,
|
||||
MeetingTypeEnums,
|
||||
title: '会议详情',
|
||||
width: 800,
|
||||
width: 900,
|
||||
visible: false,
|
||||
model: {},
|
||||
// 会议信息
|
||||
@@ -710,7 +735,8 @@ export default {
|
||||
// 显示更多的开票邮寄信息
|
||||
showMoreInfo: false,
|
||||
|
||||
showDetailBool: true
|
||||
showDetailBool: true,
|
||||
hasQuestionList: false, // 是否显示问题征集表格
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -725,6 +751,14 @@ export default {
|
||||
// 收费二维码 src
|
||||
paymentQrCodeSrc() {
|
||||
return `${window._CONFIG['domianURL']}/sys/common/download/${this.model.paymentQrCode}`
|
||||
},
|
||||
// 比较当前会议的 问题征集面板 是否可以提问问题
|
||||
canOpe() {
|
||||
if(!this.model.endTimeAddQuestion) {
|
||||
return false
|
||||
} else {
|
||||
return !compareCurrentTime(this.model.endTimeAddQuestion)
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
@@ -826,11 +860,17 @@ export default {
|
||||
},
|
||||
getSingUpUserInfoFunc(param) {
|
||||
return new Promise(resolve => {
|
||||
this.hasQuestionList = false
|
||||
// 存在报名信息
|
||||
if (param.situationId) {
|
||||
getSingUpUserInfo({id: param.situationId}).then(res => {
|
||||
if (res.success) {
|
||||
this.situationInfo = res.result
|
||||
// 对当前的会议状态做判断,处理当前详情模态框是否显示问题征集 表格
|
||||
let registerProcess = Number(this.situationInfo.registerProcess)
|
||||
if(registerProcess === 6 || registerProcess === 7 || registerProcess === 8 || registerProcess === 9 || registerProcess === 10 || registerProcess === 14 || registerProcess === 15) {
|
||||
this.hasQuestionList = true
|
||||
}
|
||||
} else {
|
||||
this.situationInfo = {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user