diff --git a/static/js/project/announcementList/inviteTendersDetail.js b/static/js/project/announcementList/inviteTendersDetail.js index 4e6551f..524d993 100644 --- a/static/js/project/announcementList/inviteTendersDetail.js +++ b/static/js/project/announcementList/inviteTendersDetail.js @@ -105,7 +105,7 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio } tools.doGet(attachmentQuery, query, module.attachmentQuery,true); //竞价方式字典 - tools.doGet(Dictionaries+'/bidding_type', {}, module.biddingTypeDictionaries,true); + tools.doGet(Dictionaries+'/tenderbid_type', {}, module.biddingTypeDictionaries,true); } } diff --git a/static/js/project/announcementList/winTheBiddingDetail.js b/static/js/project/announcementList/winTheBiddingDetail.js index 7822716..a9ddc76 100644 --- a/static/js/project/announcementList/winTheBiddingDetail.js +++ b/static/js/project/announcementList/winTheBiddingDetail.js @@ -105,8 +105,17 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio tableId:content.id } tools.doGet(attachmentQuery, query, module.attachmentQuery,true); + + tools.doGet(tenderDetail+'/'+content.tenderId, {}, module.tenderQuery,true); + } + } + + module.tenderQuery = function (data) { + if (data.code == 200) { + var content = data.data; + module.data.announcementInformationDetail.biddingType = content.biddingType; //竞价方式字典 - tools.doGet(Dictionaries+'/bidding_type', {}, module.biddingTypeDictionaries,true); + tools.doGet(Dictionaries+'/tenderbid_type', {}, module.biddingTypeDictionaries,true); } }