| | |
| | | pictureList: [] |
| | | } |
| | | this.showSales = options.showsales && true || false |
| | | |
| | | |
| | | if (this.dto.statusBackend === 'PENDING') { |
| | | this.timer = setInterval(() => { |
| | | //倒计时 |
| | | var nowdate = new Date().getTime() - 1000 * 60 * 5 |
| | |
| | | if (change) |
| | | this.$forceUpdate() |
| | | }, 1000) |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | |
| | | // description: 'descriptiondescriptiondescriptiondescriptiondescription' |
| | | // }] |
| | | } |
| | | if (this.dto.statusBackend === 'PENDING') { |
| | | //先判断要不要字节变成已取消 |
| | | var nowdate = new Date().getTime() - 1000 * 60 * 5 |
| | | var diff = new Date(this.dto.createTime).getTime() - nowdate |
| | | |
| | | if (diff <= 2000 && true) { |
| | | //超过了5分钟 |
| | | this.dto.statusBackend = 'CANCEL' |
| | | this.dto.statusBackendStr = '已取消' |
| | | this.dto.status = 'CANCEL' |
| | | this.dto.statusStr = '已取消' |
| | | this.dto.bctime = '' |
| | | this.$forceUpdate() |
| | | } |
| | | } |
| | | |
| | | } |
| | | }, |
| | | async callTel() { |