@@ -92,6 +92,25 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio | |||||
tools.doGet(Dictionaries+'/area_unit', {}, module.areaDictionaries,true); | tools.doGet(Dictionaries+'/area_unit', {}, module.areaDictionaries,true); | ||||
//成交价格字典 | //成交价格字典 | ||||
tools.doGet(Dictionaries+'/price_unit', {}, module.unitDictionaries,true); | tools.doGet(Dictionaries+'/price_unit', {}, module.unitDictionaries,true); | ||||
if (content.dealType && content.projectStatus == '3'){ | |||||
let query = { | |||||
tableName: 't_transaction_deal_publicity', | |||||
bizPath: 'transaction', | |||||
tableId:content.id, | |||||
fileType:'' | |||||
} | |||||
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); | |||||
} | } | ||||
} | } | ||||
@@ -141,4 +160,4 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio | |||||
} | } | ||||
return module; | return module; | ||||
}); | |||||
}); |
@@ -159,7 +159,11 @@ | |||||
<a href="announcementDetail.html?id={{value.id}}" class="fl"><i class="sanjiao-right"></i>{{# value.projectName}}</a> | <a href="announcementDetail.html?id={{value.id}}" class="fl"><i class="sanjiao-right"></i>{{# value.projectName}}</a> | ||||
<p class="fr">{{# value.dealTime.substr(0,10)}}</p> | <p class="fr">{{# value.dealTime.substr(0,10)}}</p> | ||||
<div class="clear"></div> | <div class="clear"></div> | ||||
{{if value.projectStatus == '3'}} | |||||
<p class="m-t-5" style="color: #c12e2a;">项目终止</p> | |||||
{{else}} | |||||
<p class="m-t-5">项目编号:{{# value.projectCode}}</p> | <p class="m-t-5">项目编号:{{# value.projectCode}}</p> | ||||
{{/if}} | |||||
</li> | </li> | ||||
{{/each}} | {{/each}} | ||||
</script> | </script> | ||||
@@ -150,6 +150,12 @@ | |||||
<td>项目名称</td> | <td>项目名称</td> | ||||
<td colspan="3">{{announcementInformationDetail.projectName}}</td> | <td colspan="3">{{announcementInformationDetail.projectName}}</td> | ||||
</tr> | </tr> | ||||
{{if announcementInformationDetail.projectStatus == '3'}} | |||||
<tr> | |||||
<td>终止原因</td> | |||||
<td colspan="3">{{announcementInformationDetail.terminateReason}}</td> | |||||
</tr> | |||||
{{else}} | |||||
<tr> | <tr> | ||||
<td>项目编号</td> | <td>项目编号</td> | ||||
<td>{{announcementInformationDetail.projectCode}}</td> | <td>{{announcementInformationDetail.projectCode}}</td> | ||||
@@ -192,9 +198,19 @@ | |||||
<td>成交金额</td> | <td>成交金额</td> | ||||
<td>{{announcementInformationDetail.dealMoneySum}}元</td> | <td>{{announcementInformationDetail.dealMoneySum}}元</td> | ||||
</tr> | </tr> | ||||
{{/if}} | |||||
</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"> | ||||