|
|
@@ -287,7 +287,13 @@ export default { |
|
|
|
timer:null, |
|
|
|
getSignupData:'', |
|
|
|
bottomBtn:false, |
|
|
|
nowDate:0 |
|
|
|
delayPeriodNow:false, |
|
|
|
nowDate:0, |
|
|
|
biddingquery:{ |
|
|
|
projectId:this.$route.query.id, |
|
|
|
pageSize:10, |
|
|
|
pageNum:1 |
|
|
|
} |
|
|
|
}; |
|
|
|
}, |
|
|
|
computed: { |
|
|
@@ -423,7 +429,7 @@ export default { |
|
|
|
var that = this; |
|
|
|
this.timer = setInterval(function () { |
|
|
|
if(that.process == "竞价中"){ |
|
|
|
getBiddingList(that.id).then(response =>{ |
|
|
|
getBiddingList(that.biddingquery).then(response =>{ |
|
|
|
that.biddinglistInformation = response.rows |
|
|
|
if((response.rows.length != that.biddinglistInformationLength) && that.detail.ladderPrice){ |
|
|
|
|
|
|
@@ -550,7 +556,7 @@ export default { |
|
|
|
}, |
|
|
|
getBidding(){ |
|
|
|
var that = this; |
|
|
|
getBiddingList(that.id).then(response =>{ |
|
|
|
getBiddingList(that.biddingquery).then(response =>{ |
|
|
|
that.biddinglistInformation = response.rows |
|
|
|
that.biddinglistInformationLength = response.total |
|
|
|
if (that.detail.biddingType == '阶梯竞价'){ |
|
|
@@ -606,9 +612,9 @@ export default { |
|
|
|
clearInterval(this.timer); |
|
|
|
// _this.reload() |
|
|
|
_this.getBidding(); |
|
|
|
// if (_this.detail.delayPeriod != 0){ |
|
|
|
// _this.time = null; |
|
|
|
// } |
|
|
|
if (_this.detail.delayPeriod != 0 && _this.delayPeriodNow){ |
|
|
|
_this.time = null; |
|
|
|
} |
|
|
|
if (_this.detail.biddingType=='自由竞价'||_this.detail.biddingType=='公开竞价'){ |
|
|
|
_this.price = null; |
|
|
|
}else{ |
|
|
@@ -722,9 +728,9 @@ export default { |
|
|
|
clearInterval(this.timer); |
|
|
|
// _this.reload() |
|
|
|
_this.getBidding(); |
|
|
|
// if (_this.detail.delayPeriod != 0){ |
|
|
|
// _this.time = null; |
|
|
|
// } |
|
|
|
if (_this.detail.delayPeriod != 0 && _this.delayPeriodNow){ |
|
|
|
_this.time = null; |
|
|
|
} |
|
|
|
if (_this.detail.biddingType=='自由竞价'||_this.detail.biddingType=='公开竞价'){ |
|
|
|
_this.price = null; |
|
|
|
}else{ |
|
|
@@ -910,7 +916,8 @@ export default { |
|
|
|
this.time = null; |
|
|
|
} |
|
|
|
this.detail.biddingStopTime = response.data |
|
|
|
this.$set(this.detail,'biddingStopTime',response.data) |
|
|
|
this.$set(this.detail,'biddingStopTime',response.data); |
|
|
|
this.delayPeriodNow = true; |
|
|
|
// this.time = Date.parse(response.data)+0-nowDate; |
|
|
|
}); |
|
|
|
} |
|
|
|