|
|
@@ -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; |
|
|
|
}); |
|
|
|
}); |