@@ -1,8 +1,9 @@ | |||||
table tr td{ | table tr td{ | ||||
padding: 20px 0px; | |||||
/*padding: 20px 0px;*/ | |||||
text-align: center; | text-align: center; | ||||
border-top: 1px solid #e1e1e1; | border-top: 1px solid #e1e1e1; | ||||
border-right: 1px solid #e1e1e1; | border-right: 1px solid #e1e1e1; | ||||
line-height: 36px; | |||||
} | } | ||||
table tr td:first-child{ | table tr td:first-child{ | ||||
@@ -78,3 +78,9 @@ var tenderDetail = '/transaction/website/tender'//招标公告详情 | |||||
@param | @param | ||||
*/ | */ | ||||
var tenderWinDetail = '/transaction/website/tenderWin'//中标公告详情 | var tenderWinDetail = '/transaction/website/tenderWin'//中标公告详情 | ||||
/* | |||||
@purl /transaction/website/tenderWin | |||||
@param | |||||
*/ | |||||
var attachmentQuery = '/open/attachment/query'//中标公告详情 |
@@ -88,6 +88,21 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio | |||||
module.data.announcementInformationDetail = content; | module.data.announcementInformationDetail = content; | ||||
var announcementInformationData = template('announcementInformationData', module.data); | var announcementInformationData = template('announcementInformationData', module.data); | ||||
$("#announcementInformationContent").html(announcementInformationData); | $("#announcementInformationContent").html(announcementInformationData); | ||||
let query = { | |||||
tableName: 't_transaction_tender', | |||||
bizPath: 'transaction', | |||||
tableId:content.id | |||||
} | |||||
tools.doGet(attachmentQuery, query, module.attachmentQuery,true); | |||||
} | |||||
} | |||||
module.attachmentQuery = function (data) { | |||||
if (data.code == 200) { | |||||
var content = data.rows; | |||||
module.data.attachmentList = content; | |||||
var attachmentListData = template('attachmentListData', module.data); | |||||
$("#attachmentListContent").html(attachmentListData); | |||||
} | } | ||||
} | } | ||||
@@ -88,6 +88,21 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio | |||||
module.data.announcementInformationDetail = content; | module.data.announcementInformationDetail = content; | ||||
var announcementInformationData = template('announcementInformationData', module.data); | var announcementInformationData = template('announcementInformationData', module.data); | ||||
$("#announcementInformationContent").html(announcementInformationData); | $("#announcementInformationContent").html(announcementInformationData); | ||||
let query = { | |||||
tableName: 't_transaction_tender_win', | |||||
bizPath: 'transaction', | |||||
tableId:content.id | |||||
} | |||||
tools.doGet(attachmentQuery, query, module.attachmentQuery,true); | |||||
} | |||||
} | |||||
module.attachmentQuery = function (data) { | |||||
if (data.code == 200) { | |||||
var content = data.rows; | |||||
module.data.attachmentList = content; | |||||
var attachmentListData = template('attachmentListData', module.data); | |||||
$("#attachmentListContent").html(attachmentListData); | |||||
} | } | ||||
} | } | ||||
@@ -201,6 +201,17 @@ | |||||
</script> | </script> | ||||
</table> | </table> | ||||
<div id="attachmentListContent" style="margin-top: 2vh;"> | |||||
<script id="attachmentListData" type="text/html"> | |||||
{{each attachmentList as value i}} | |||||
<a href="/api{{value.fileUrl}}" target="downloadFile" style="display: flex;align-items:center;margin-top: 1vh;"> | |||||
<img src="../../static/images/file_icon.png" width="32" style="margin-right: 10px;" alt=""> | |||||
{{value.fileName}} | |||||
</a> | |||||
{{/each}} | |||||
</script> | |||||
</div> | |||||
</div> | </div> | ||||
<!--底部链接 --> | <!--底部链接 --> | ||||
<div class="bottomLink"> | <div class="bottomLink"> | ||||
@@ -171,6 +171,17 @@ | |||||
</script> | </script> | ||||
</table> | </table> | ||||
<div id="attachmentListContent" style="margin-top: 2vh;"> | |||||
<script id="attachmentListData" type="text/html"> | |||||
{{each attachmentList as value i}} | |||||
<a href="/api{{value.fileUrl}}" target="downloadFile" style="display: flex;align-items:center;margin-top: 1vh;"> | |||||
<img src="../../static/images/file_icon.png" width="32" style="margin-right: 10px;" alt=""> | |||||
{{value.fileName}} | |||||
</a> | |||||
{{/each}} | |||||
</script> | |||||
</div> | |||||
</div> | </div> | ||||
<!--底部链接 --> | <!--底部链接 --> | ||||
<div class="bottomLink"> | <div class="bottomLink"> | ||||