Преглед на файлове

乳山产交

newProperty
庞东旭 преди 1 година
родител
ревизия
ee779efcac
променени са 1 файла, в които са добавени 10 реда и са изтрити 21 реда
  1. +10
    -21
      static/js/project/bidding/biddingBigDataDetail.js

+ 10
- 21
static/js/project/bidding/biddingBigDataDetail.js Целия файл

@@ -137,16 +137,16 @@ define(['jquery', "template", "Tools", "biddingApi", "itemsApi"], function ($, t
module.data.outProjectInformationDetail.biddingStopTime = data.data;
}else{
$('#countDown').html('竞价结束')
module.data.outProjectInformationDetail.projectShowStatus = '竞价结束';
setTimeout(()=>{
tools.doGet(biddinglist, {projectId: getQueryVariable('id')}, (data1)=>{
let content1 = data1.rows;
module.data.biddinglistInformationDetail = content1;
module.data.biddinglistInformationDetailLength = content1.length;
var biddingInformationData = template('biddingInformationData', module.data);
$("#biddingInformationContent").html(biddingInformationData);
}, true);
},2000);
module.data.outProjectInformationDetail.projectShowStatus = '等待成交';
// setTimeout(()=>{
// tools.doGet(biddinglist, {projectId: getQueryVariable('id')}, (data1)=>{
// let content1 = data1.rows;
// module.data.biddinglistInformationDetail = content1;
// module.data.biddinglistInformationDetailLength = content1.length;
// var biddingInformationData = template('biddingInformationData', module.data);
// $("#biddingInformationContent").html(biddingInformationData);
// }, true);
// },2000);
return;
}
}
@@ -184,17 +184,6 @@ define(['jquery', "template", "Tools", "biddingApi", "itemsApi"], function ($, t
if (data.code == 200) {
//console.log(data)
var content = data.rows;
// for (var i = 0; i < content.length-1; i++) {
// for (var j = 0; j < content.length - 1 - i; j++) {
// // 相邻元素两两对比,元素交换,大的元素交换到后面
// if (content[j].money < content[j + 1].money) {
// var temp = content[j];
// content[j] = content[j+1];
// content[j+1] = temp;
// }
// }
// }
//console.log(content)
module.data.biddinglistInformationDetail = content;
var biddingInformationData = template('biddingInformationData', module.data);
$("#biddingInformationContent").html(biddingInformationData);


Зареждане…
Отказ
Запис