【bug】 修改2022-01-4 版本bug
This commit is contained in:
@@ -46,8 +46,8 @@ Page({
|
||||
icon: 'loading'
|
||||
})
|
||||
this.data.id = options.id
|
||||
// meetingSignUpType: 2, 可报名的 会议 或者已报名的会议
|
||||
MeetingApi.meetingList({councilId: this.data.id, column: 'createTime', order: 'desc'}).then(res=>{
|
||||
//, 可报名的 会议 或者已报名的会议
|
||||
MeetingApi.meetingList({councilId: this.data.id, meetingSignUpType: 2, column: 'createTime', order: 'desc'}).then(res=>{
|
||||
if(res.success){
|
||||
if(res.result.records && res.result.records.length <= 2){
|
||||
this.setData({
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
<text>目标简介</text>
|
||||
<text>{{form.remarks}}</text>
|
||||
</view>
|
||||
<view style="height: auto !important;">
|
||||
<!-- <view style="height: auto !important;">
|
||||
<text>项目资料</text>
|
||||
<view class="info-file" wx:if="{{form.files && form.files.length}}">
|
||||
<text class='color-green' data-file="{{item}}" wx:for="{{form.files}}" wx:key='item'
|
||||
bindtap="preview">{{item.fileName}}</text>
|
||||
</view>
|
||||
<text wx:if="{{form.files.length == 0}}">无</text>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="basic-info" style="margin-top: 10px;">
|
||||
<view class="title">
|
||||
|
||||
@@ -48,6 +48,16 @@ Page({
|
||||
userId: '',
|
||||
form: {},
|
||||
showSignInBtn:false, // 是否显示签到按钮
|
||||
isMoreTime:false, // 是否超过 会议截止报名时间
|
||||
},
|
||||
compareCurrentTime(time) {
|
||||
let date = new Date()
|
||||
let compareTime = new Date(time)
|
||||
if (date.getTime() > compareTime.getTime()) {
|
||||
return true
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
},
|
||||
|
||||
// 获取图片的id
|
||||
@@ -333,12 +343,20 @@ Page({
|
||||
this.setData({
|
||||
meetingInfo:meetingInfo
|
||||
})
|
||||
let flag = this.compareCurrentTime(meetingInfo.registerDeadline)
|
||||
this.setData({
|
||||
isMoreTime:flag
|
||||
})
|
||||
}else{
|
||||
MeetingApi.meetingDetail({id:meetingInfo.id}).then(res => {
|
||||
if(res.success){
|
||||
this.setData({
|
||||
meetingInfo:res.result
|
||||
})
|
||||
let flag = this.compareCurrentTime(res.result.registerDeadline)
|
||||
this.setData({
|
||||
isMoreTime:flag
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -468,8 +468,8 @@
|
||||
|
||||
|
||||
</view>
|
||||
<!-- 会议状态未可报名 并且会议类型是未开始 或者进行中 -->
|
||||
<view class="join-meeting" wx:if="{{meetingInfo.meetingSignUpType === 1 && (meetingInfo.meetingStatus === 2 || meetingInfo.meetingStatus === 3)}}">
|
||||
<!-- 会议状态未可报名 并且未超过截止时间 -->
|
||||
<view class="join-meeting" wx:if="{{meetingInfo.meetingSignUpType === 1 && !isMoreTime}}">
|
||||
<text bindtap='joinMeeting'>报名</text>
|
||||
</view>
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<view class="item-content">项目负责人:{{item.name || item.directorName || item.principalName }}</view>
|
||||
<view class="item-content">负责人电话:{{item.phone || item.principalPhone}}</view>
|
||||
<view class="item-content">负责人邮箱:{{item.email || item.principalEmail}}</view>
|
||||
<view class="item-content">运行周期:一年</view>
|
||||
<view class="item-content"><text>运行周期:</text>{{item.operationCycle || ''}}</view>
|
||||
<view class="item-content">缴费凭证:{{item.paymentStatus_dictText || '无'}}</view>
|
||||
</block>
|
||||
<!-- 工作组项目展示end -->
|
||||
|
||||
@@ -68,6 +68,11 @@ page {
|
||||
padding: 10rpx 0;
|
||||
box-sizing: border-box;
|
||||
font-size: 14px;
|
||||
height: auto;
|
||||
display: flex;
|
||||
}
|
||||
.item-content text{
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.content-text{
|
||||
width: 100%;
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
<!-- 工作组项目展示 -->
|
||||
<view style="height:auto" wx:if="{{type === 'work' }}">
|
||||
<text>任务及目标</text>
|
||||
<text></text>
|
||||
<text>{{form.missionAndObjectives || ''}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>需要发票</text>
|
||||
@@ -79,7 +79,7 @@
|
||||
<text wx:if="{{noticeFileList.length == 0}}">无</text>
|
||||
</view>
|
||||
<!-- 资料网员的项目详情不显示项目资料 -->
|
||||
<view style="height: auto !important;" wx:if="{{showProjectData}}">
|
||||
<!-- <view style="height: auto !important;" wx:if="{{showProjectData}}">
|
||||
|
||||
<text>项目资料</text>
|
||||
<view class="info-file" wx:if="{{projectFileList && projectFileList.length}}">
|
||||
@@ -87,7 +87,7 @@
|
||||
bindtap="preview">{{item.name}}</text>
|
||||
</view>
|
||||
<text wx:if="{{projectFileList.length == 0}}">无</text>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="basic-info" style="margin-top: 10px;" wx:if="{{showMeeting}}">
|
||||
<view class="title">
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
<text wx:if="{{form.meetingType == 3}}">国际研讨会</text>
|
||||
<text wx:if="{{form.meetingType == 4}}">其他会议</text>
|
||||
<text wx:if="{{form.meetingType == 5}}">分标委会议</text>
|
||||
<text wx:if="{{form.meetingType == 6}}">理事会会议</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>召开时间</text>
|
||||
|
||||
@@ -15,7 +15,7 @@ Page({
|
||||
console.log(res);
|
||||
if(res.success){
|
||||
this.setData({
|
||||
secretariatInfo:res.result.secretariat,
|
||||
secretariatInfo:res.result.tbContacts,
|
||||
companyInfo:res.result.memberInfo
|
||||
})
|
||||
}
|
||||
|
||||
@@ -7,15 +7,15 @@
|
||||
</view>
|
||||
<view>
|
||||
<text>地址:</text>
|
||||
<text>{{secretariatInfo.address || ''}}</text>
|
||||
<text>{{secretariatInfo.address || '天津市东丽开发区先锋东路68号'}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>联系人:</text>
|
||||
<text>{{secretariatInfo.username}}</text>
|
||||
<text>{{secretariatInfo.realname || '郭琳'}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>联系人电话:</text>
|
||||
<text>{{secretariatInfo.phone}}</text>
|
||||
<text>{{secretariatInfo.telephone}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>联系人邮箱:</text>
|
||||
|
||||
Reference in New Issue
Block a user