| | |
| | | this.$modal.loading("正在同步,请稍候..."); |
| | | this.setTime(); |
| | | let tjNumber = row.tjNumber; |
| | | dataSynchronization(tjNumber).then((res) => { |
| | | dataSynchronization(tjNumber).then((res, error) => { |
| | | if (res.code == 200) { |
| | | // this.$forceUpdate(); |
| | | this.handleCurrentChange(row); |
| | | clearInterval(this.clearTimeSet) |
| | | this.clearTimeSet=null |
| | | clearInterval(this.clearTimeSet); |
| | | this.clearTimeSet = null; |
| | | this.$modal.closeLoading(); |
| | | this.$modal.msgSuccess("同步成功!"); |
| | | } |
| | | }).catch(error => { |
| | | this.handleCurrentChange(row); |
| | | clearInterval(this.clearTimeSet); |
| | | this.clearTimeSet = null; |
| | | this.$modal.closeLoading(); |
| | | }); |
| | | }, |
| | | // 驳回按钮 |