| @@ -24,6 +24,17 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio | |||
| tools.getWebConfig(); | |||
| }; | |||
| //竞价方式 | |||
| module.biddingTypeDictionaries = function (data) { | |||
| if (data.code == 200) { | |||
| var content = data.data; | |||
| var biddingType = content[(module.data.announcementInformationDetail.biddingType-1)].dictLabel; | |||
| module.data.announcementInformationDetail.biddingType = biddingType; | |||
| var announcementInformationData = template('announcementInformationData', module.data); | |||
| $("#announcementInformationContent").html(announcementInformationData); | |||
| } | |||
| } | |||
| //焦点图数据 | |||
| module.focusNewsTop = function (data) { | |||
| if (data.code == 200) { | |||
| @@ -87,14 +98,14 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio | |||
| //console.log(data) | |||
| var content = data.data; | |||
| module.data.announcementInformationDetail = content; | |||
| var announcementInformationData = template('announcementInformationData', module.data); | |||
| $("#announcementInformationContent").html(announcementInformationData); | |||
| let query = { | |||
| tableName: 't_transaction_tender', | |||
| bizPath: 'transaction', | |||
| tableId:content.id | |||
| } | |||
| tools.doGet(attachmentQuery, query, module.attachmentQuery,true); | |||
| //竞价方式字典 | |||
| tools.doGet(Dictionaries+'/bidding_type', {}, module.biddingTypeDictionaries,true); | |||
| } | |||
| } | |||
| @@ -80,20 +80,33 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio | |||
| } | |||
| } | |||
| //竞价方式 | |||
| module.biddingTypeDictionaries = function (data) { | |||
| if (data.code == 200) { | |||
| var content = data.data; | |||
| if (module.data.announcementInformationDetail.biddingType){ | |||
| var biddingType = content[(module.data.announcementInformationDetail.biddingType-1)].dictLabel; | |||
| module.data.announcementInformationDetail.biddingType = biddingType; | |||
| } | |||
| var announcementInformationData = template('announcementInformationData', module.data); | |||
| $("#announcementInformationContent").html(announcementInformationData); | |||
| } | |||
| } | |||
| //项目公告数据 | |||
| module.announInformation = function (data) { | |||
| if (data.code == 200) { | |||
| //console.log(data) | |||
| var content = data.data; | |||
| module.data.announcementInformationDetail = content; | |||
| var announcementInformationData = template('announcementInformationData', module.data); | |||
| $("#announcementInformationContent").html(announcementInformationData); | |||
| let query = { | |||
| tableName: 't_transaction_tender_win', | |||
| bizPath: 'transaction', | |||
| tableId:content.id | |||
| } | |||
| tools.doGet(attachmentQuery, query, module.attachmentQuery,true); | |||
| //竞价方式字典 | |||
| tools.doGet(Dictionaries+'/bidding_type', {}, module.biddingTypeDictionaries,true); | |||
| } | |||
| } | |||
| @@ -163,4 +176,4 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio | |||
| } | |||
| return module; | |||
| }); | |||
| }); | |||
| @@ -191,6 +191,18 @@ | |||
| <td>项目规模</td> | |||
| <td>{{announcementInformationDetail.scale}}</td> | |||
| </tr> | |||
| <tr> | |||
| <td>竞价方式</td> | |||
| <td>{{announcementInformationDetail.biddingType}}</td> | |||
| <td>单价(元)</td> | |||
| <td>{{announcementInformationDetail.tenderPrice}}</td> | |||
| </tr> | |||
| <tr> | |||
| <td>数量单位</td> | |||
| <td>{{announcementInformationDetail.priceUnit}}</td> | |||
| <td>数量/面积</td> | |||
| <td>{{announcementInformationDetail.areaCount}}</td> | |||
| </tr> | |||
| <tr> | |||
| <td>招标内容</td> | |||
| <td colspan="3">{{announcementInformationDetail.tenderContent}}</td> | |||
| @@ -158,9 +158,21 @@ | |||
| <tr> | |||
| <td>项目负责人</td> | |||
| <td>{{announcementInformationDetail.partLinkman}}</td> | |||
| <td>中标价格</td> | |||
| <td>中标金额(元)</td> | |||
| <td>{{announcementInformationDetail.price}}</td> | |||
| </tr> | |||
| <tr> | |||
| <td>竟价方式</td> | |||
| <td>{{announcementInformationDetail.biddingType}}</td> | |||
| <td>中标单价(元)</td> | |||
| <td>{{announcementInformationDetail.transactionPrice}}</td> | |||
| </tr> | |||
| <tr> | |||
| <td>数量/面积</td> | |||
| <td>{{announcementInformationDetail.areaCount}}</td> | |||
| <td>数量单位</td> | |||
| <td>{{announcementInformationDetail.priceUnit}}</td> | |||
| </tr> | |||
| <tr> | |||
| <td>中标日期</td> | |||
| <td>{{announcementInformationDetail.dealTime}}</td> | |||