| | |
| | | let param = {floor: this.floor,dbList: this.dbList,moveType: this.moveType} |
| | | uni.request({ |
| | | url: `${_this.baseUrl}/agvMobile/agv/v1/locMove`, |
| | | header: {'token': uni.getStorageSync('token'),}, |
| | | data: param, |
| | | method: 'POST', |
| | | success(res) { |
| | |
| | | uni.navigateBack({ |
| | | delta: 1 |
| | | }); |
| | | } |
| | | } else if (res.code == 403) { |
| | | uni.showToast({ title: res.msg, icon: "error", position: 'top' }) |
| | | setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000); |
| | | } else { |
| | | uni.showToast({ title: res.msg, icon: "error", position: 'top' }) |
| | | } |
| | | } |
| | | }) |
| | | this.$refs.filter.close('bottom') |