|  |  |  | 
|---|
|  |  |  | if (res.code === 200) { | 
|---|
|  |  |  | _this.orderCarList = [] | 
|---|
|  |  |  | _this.$refs.agvStart.close() | 
|---|
|  |  |  | uni.showToast({ title: '启动成功!', icon: "error", position: 'top' }) | 
|---|
|  |  |  | uni.showToast({ title: '启动成功!', icon: "success", position: 'top' }) | 
|---|
|  |  |  | setTimeout(()=> { | 
|---|
|  |  |  | _this.getOpenerEventChannel().emit('acceptDataFromOpenedPage', {data: 1}); | 
|---|
|  |  |  | uni.navigateBack({}) | 
|---|
|  |  |  | },1000) | 
|---|
|  |  |  | } else if (res.code == 403) { | 
|---|
|  |  |  | uni.showToast({ title: res.msg, icon: "error", position: 'top' }) | 
|---|
|  |  |  | setTimeout(() => { uni.reLaunch({ url: '../login/login' }); }, 1000); | 
|---|
|  |  |  | setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000); | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | uni.showToast({ title: res.msg, icon: "error", position: 'top' }) | 
|---|
|  |  |  | } | 
|---|