【bug】资料网员的项目详情 不显示项目资料

This commit is contained in:
fengachen
2021-10-25 11:43:15 +08:00
parent c15d7ca29b
commit 83a5a8bf7e
2 changed files with 8 additions and 1 deletions
+6
View File
@@ -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') { // 工作组项目有会议详情
+2 -1
View File
@@ -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'