|
|
|
@ -383,7 +383,10 @@ |
|
|
|
this.isOnLine = uni.getStorageSync('worker').isOnLine |
|
|
|
if(uni.getStorageSync('area')){ |
|
|
|
this.searchForm.regionId = JSON.parse(uni.getStorageSync('area')).id; |
|
|
|
} |
|
|
|
} |
|
|
|
if(uni.getStorageSync('worker')){ |
|
|
|
this.searchForm.workerId = uni.getStorageSync('worker').workerId |
|
|
|
} |
|
|
|
this.getDelivery() |
|
|
|
this.$forceUpdate() |
|
|
|
}, |
|
|
|
@ -427,6 +430,7 @@ |
|
|
|
}, |
|
|
|
getDelivery(){ |
|
|
|
let that = this |
|
|
|
console.log('1111',uni.getStorageSync('worker')) |
|
|
|
this.tui.request("/mall/delivery/pagebyworker", "POST", this.searchForm, false, false).then((res) => { |
|
|
|
that.loadStatus = 'nomore'; |
|
|
|
if (res.code == 200) { |
|
|
|
|