报名状态:{{item.depositStatus}}
开始时间:{{item.biddingStartTime}}
结束时间:{{item.biddingStopTime}}
距结束: @@ -50,10 +49,15 @@ export default { //查询参数 queryParams:{ memberId:'', - } + }, + depositStatusOptions:[] }; }, created() { + this.getDicts("deposit_status").then(rr => { + this.depositStatusOptions = rr.data; + // this.accountType = this.selectDictLabel(this.depositStatusOptions,res.data.accountType); + }); this.getInfo(); }, methods: { @@ -82,6 +86,7 @@ export default { console.log(response) for (var i = 0; i < response.rows.length; i++) { response.rows[i].endTime = new Date(response.rows[i].biddingStopTime) - new Date(); + response.rows[i].depositStatus = this.selectDictLabel(this.depositStatusOptions,response.rows[i].depositStatus); this.supplyList.push(response.rows[i]); } this.finished = true;