uu
This commit is contained in:
parent
f9363cdc94
commit
5a40e1d2c5
@ -19,7 +19,8 @@ const goto = (url, type = 1)=> {
|
|||||||
url = url.replace(`pages/`, '')
|
url = url.replace(`pages/`, '')
|
||||||
url = `/pages/${url}`
|
url = `/pages/${url}`
|
||||||
if(tabBarUrls.filter(t=> url.indexOf(t) > -1).length > 0) {
|
if(tabBarUrls.filter(t=> url.indexOf(t) > -1).length > 0) {
|
||||||
return uni.switchTab({
|
// tabBar 使用 reLaunch切换,防止页面不刷新
|
||||||
|
return uni.reLaunch({
|
||||||
url
|
url
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -73,7 +73,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:body>
|
<template v-slot:body>
|
||||||
<view class="pos-abt-all">
|
<view v-if="!baseLoading" class="pos-abt-all">
|
||||||
<tpx-scroll-view v-model:resObject="resData" :searchParam="searchParam" :getListFun="getListFun"
|
<tpx-scroll-view v-model:resObject="resData" :searchParam="searchParam" :getListFun="getListFun"
|
||||||
ref="listRef"
|
ref="listRef"
|
||||||
>
|
>
|
||||||
@ -153,6 +153,7 @@
|
|||||||
data() {
|
data() {
|
||||||
let { dicData } = this.$store.getters
|
let { dicData } = this.$store.getters
|
||||||
return {
|
return {
|
||||||
|
baseLoading: true,
|
||||||
showCladar: false,
|
showCladar: false,
|
||||||
moreSearchModel: {
|
moreSearchModel: {
|
||||||
data: {},
|
data: {},
|
||||||
@ -187,6 +188,11 @@
|
|||||||
},
|
},
|
||||||
onLoad(option) {
|
onLoad(option) {
|
||||||
this.queryOption = option
|
this.queryOption = option
|
||||||
|
if(typeof this.queryOption.orderTab != 'undefined') {
|
||||||
|
this.searchParam.params.omsOrderTab = this.queryOption.orderTab
|
||||||
|
}
|
||||||
|
// 保证参数初始化成功后
|
||||||
|
this.baseLoading = false
|
||||||
},
|
},
|
||||||
onUnload() {
|
onUnload() {
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user