| | |
| | | minCount:0, |
| | | maxCount:1, |
| | | rowNum:'', |
| | | value:'', |
| | | couChange:true, |
| | | value:0, |
| | | couChange:false, |
| | | baseIP:'', |
| | | basePORT:'', |
| | | selectArr : [], |
| | |
| | | if(res.data.data != null){ |
| | | that.addTableData(res.data.data) |
| | | }else if(res.data.code === 403){ |
| | | uni.navigateBack({ |
| | | delta: 1 |
| | | }) |
| | | setTimeout(() => { |
| | | uni.reLaunch({ |
| | | url: '../login/login' |
| | | }); |
| | | }, 1000); |
| | | }else { |
| | | that.messageToggle('error') |
| | | that.messageText = res.data.msg |
| | |
| | | if(res.data.data != null){ |
| | | that.addTableData(res.data.data) |
| | | }else if(res.data.code === 403){ |
| | | uni.navigateBack({ |
| | | delta: 1 |
| | | }) |
| | | setTimeout(() => { |
| | | uni.reLaunch({ |
| | | url: '../login/login' |
| | | }); |
| | | }, 1000); |
| | | }else { |
| | | that.messageToggle('error') |
| | | that.messageText = res.data.msg |
| | |
| | | } |
| | | } |
| | | if(toPush) { |
| | | // data[i].count = 0 |
| | | this.matData.push(data[i]); |
| | | } |
| | | } |
| | |
| | | that.messageText = '组托成功' |
| | | this.getFocus('firstFocus') |
| | | } else if(res.data.code === 403){ |
| | | uni.navigateBack({ |
| | | delta: 1 |
| | | }) |
| | | setTimeout(() => { |
| | | uni.reLaunch({ |
| | | url: '../login/login' |
| | | }); |
| | | }, 1000); |
| | | } else { |
| | | that.messageToggle('error') |
| | | that.messageText = res.data.msg |