|
|
@ -561,7 +561,7 @@ |
|
|
that.totalPages = res.result.pages; // pages = 总页数 |
|
|
that.totalPages = res.result.pages; // pages = 总页数 |
|
|
that.$forceUpdate(); |
|
|
that.$forceUpdate(); |
|
|
} else { |
|
|
} else { |
|
|
that.tui.toast(res.message, 1000); |
|
|
that.tui.toast(res.message); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
uni.hideLoading(); |
|
|
uni.hideLoading(); |
|
|
@ -672,7 +672,7 @@ |
|
|
}, |
|
|
}, |
|
|
openPopup() { |
|
|
openPopup() { |
|
|
if (this.isOnLine != 1) { |
|
|
if (this.isOnLine != 1) { |
|
|
this.tui.toast('请先上线后配置', 1000); |
|
|
this.tui.toast('请先上线后配置'); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
let that = this |
|
|
let that = this |
|
|
@ -730,7 +730,7 @@ |
|
|
} */ |
|
|
} */ |
|
|
this.$refs.carPopup.open() |
|
|
this.$refs.carPopup.open() |
|
|
} else { |
|
|
} else { |
|
|
that.tui.toast(res.message, 1000) |
|
|
that.tui.toast(res.message) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
}).catch((res) => {}) |
|
|
}).catch((res) => {}) |
|
|
@ -814,9 +814,9 @@ |
|
|
worker.isOnLine = value; |
|
|
worker.isOnLine = value; |
|
|
this.isOnLine = value |
|
|
this.isOnLine = value |
|
|
uni.setStorageSync('worker', worker); |
|
|
uni.setStorageSync('worker', worker); |
|
|
this.tui.toast(res.message, 1000) |
|
|
this.tui.toast(res.message) |
|
|
} else { |
|
|
} else { |
|
|
this.tui.toast(res.message, 1000) |
|
|
this.tui.toast(res.message) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}) |
|
|
}) |
|
|
@ -833,7 +833,7 @@ |
|
|
if (res.code == 200) { |
|
|
if (res.code == 200) { |
|
|
|
|
|
|
|
|
} else { |
|
|
} else { |
|
|
this.tui.toast(res.message, 1000) |
|
|
this.tui.toast(res.message) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}) |
|
|
}) |
|
|
|