| | |
| | | |
| | | </view> |
| | | <view> |
| | | <button class="cu-btn bg-yellow pda-btn" @click="comb()">组托</button> |
| | | <button class="cu-btn bg-grey pda-btn" @click="reset">重置</button> |
| | | <button class="cu-btn bg-yellow pda-btn" @click="comb()">组 托</button> |
| | | <button class="cu-btn bg-grey pda-btn" @click="reset">重 置</button> |
| | | </view> |
| | | <view> |
| | | <!-- 普通弹窗 --> |
| | |
| | | return; |
| | | } |
| | | uni.request({ |
| | | url: that.baseUrl + "/matCode/auth", |
| | | url: that.baseHttp + that.baseIP + that.baseUrl + "/matCode/auth", |
| | | |
| | | header:{ |
| | | 'content-type':'application/x-www-form-urlencoded', |
| | |
| | | that.unit = data.unit |
| | | } |
| | | } else if (res.data.code ===403 ){ |
| | | // 待定 |
| | | uni.navigateBack({ |
| | | delta: 1 |
| | | }) |
| | | } else { |
| | | // 待定 |
| | | this.messageToggle('error') |
| | | this.messageText = res.data.msg |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | uni.request({ |
| | | |
| | | url: that.baseUrl + "/mobile/comb/auth", |
| | | url: that.baseHttp + that.baseIP + that.baseUrl + "/mobile/comb/auth", |
| | | header:{ |
| | | // #ifdef H5 |
| | | 'token':uni.getStorageSync('token') |
| | |
| | | that.messageToggle('success') |
| | | that.messageText = '组托成功' |
| | | }else if(res.data.data===403){ |
| | | |
| | | uni.navigateBack({ |
| | | delta: 1 |
| | | }) |
| | | }else { |
| | | |
| | | this.messageToggle('error') |
| | | this.messageText = res.data.msg |
| | | } |
| | | } |
| | | }) |