【bug】资料网员的项目详情 不显示项目资料
This commit is contained in:
@@ -14,6 +14,7 @@ Page({
|
||||
id: '', // 在工作组id,项目id
|
||||
workingGroupId: '', //工作组id
|
||||
showMeeting: false, // 会议信息的显隐
|
||||
showProjectData:true, // 项目资料的显示隐藏
|
||||
projectFileList: [], // 项目资料文件
|
||||
notifyFileList: [], // 通知文件
|
||||
meetingList: [] // 会议文件
|
||||
@@ -61,6 +62,11 @@ Page({
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
if(options.type === 'ziliao'){
|
||||
this.setData({
|
||||
showProjectData:false
|
||||
})
|
||||
}
|
||||
this.data.id = options.id
|
||||
this.data.workingGroupId = options.workingGroupId
|
||||
if (options.type == 'work') { // 工作组项目有会议详情
|
||||
|
||||
@@ -65,7 +65,8 @@
|
||||
</view>
|
||||
<text wx:if="{{noticeFileList.length == 0}}">无</text>
|
||||
</view>
|
||||
<view style="height: auto !important;">
|
||||
<!-- 资料网员的项目详情不显示项目资料 -->
|
||||
<view style="height: auto !important;" wx:if="{{showProjectData}}">
|
||||
<text>项目资料</text>
|
||||
<view class="info-file" wx:if="{{projectFileList && projectFileList.length}}">
|
||||
<text class='color-green' data-file="{{item}}" wx:for="{{projectFileList}}" wx:key='item'
|
||||
|
||||
Reference in New Issue
Block a user