|
|
@@ -7,6 +7,7 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio |
|
|
|
data: { |
|
|
|
//焦点图数据 |
|
|
|
focusListTop: [], |
|
|
|
attachmentList: [], |
|
|
|
announcementInformationDetail:'', |
|
|
|
}, |
|
|
|
}; |
|
|
@@ -100,7 +101,12 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio |
|
|
|
module.attachmentQuery = function (data) { |
|
|
|
if (data.code == 200) { |
|
|
|
var content = data.rows; |
|
|
|
module.data.attachmentList = content; |
|
|
|
content.forEach(res=>{ |
|
|
|
if (res.fileType!=1){ |
|
|
|
module.data.attachmentList.push(res) |
|
|
|
} |
|
|
|
}) |
|
|
|
// module.data.attachmentList = content; |
|
|
|
var attachmentListData = template('attachmentListData', module.data); |
|
|
|
$("#attachmentListContent").html(attachmentListData); |
|
|
|
} |
|
|
@@ -163,4 +169,4 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio |
|
|
|
} |
|
|
|
|
|
|
|
return module; |
|
|
|
}); |
|
|
|
}); |