From 9f1b81d9dcb16d763e19fb5fc1b765eaf7a2dd89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Tue, 10 Oct 2023 14:37:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E6=9D=83=E4=BA=A4=E6=98=93=E5=85=AC?= =?UTF-8?q?=E5=91=8A=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../project/announcementList/inviteTendersDetail.js | 2 +- .../project/announcementList/winTheBiddingDetail.js | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) 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); } }