新增营销系统、分销系统、会员功能、门店、提现功能
This commit is contained in:
@ -24,7 +24,7 @@
|
||||
:data="item"
|
||||
v-for="(item) in dataList"
|
||||
:key="`${type}_${item.id}`"
|
||||
@refresh="handleRefresh"
|
||||
@refresh="refresh"
|
||||
/>
|
||||
</view>
|
||||
<Empty
|
||||
@ -43,10 +43,10 @@
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue'
|
||||
import { onLoad } from '@dcloudio/uni-app'
|
||||
import { orderList, storeAfterSalesList } from '@/api/order'
|
||||
import { onShow } from '@dcloudio/uni-app'
|
||||
import { storeAfterSalesList } from '@/api/order'
|
||||
import { useRouter } from "@/hooks/useRouter";
|
||||
import {emptyOrderIcon} from "@/utils/images";
|
||||
import { emptyOrderIcon } from "@/utils/images";
|
||||
import Empty from "@/components/Empty/index.vue"
|
||||
import { usePage } from "@/hooks";
|
||||
import ReturnTop from "@/components/ReturnTop/index.vue";
|
||||
@ -58,7 +58,7 @@ const {scrollTop} = useScroll()
|
||||
|
||||
const {type, refresh, dataList, loadend, loading, listEmpty} = usePage(storeAfterSalesList)
|
||||
|
||||
const {goBack, getParams} = useRouter();
|
||||
const {goBack, getUrlParams} = useRouter();
|
||||
|
||||
|
||||
const navList = ref([
|
||||
@ -73,8 +73,8 @@ const click = (data) => {
|
||||
refresh()
|
||||
}
|
||||
|
||||
onLoad((options) => {
|
||||
const params = getParams(options)
|
||||
onShow(() => {
|
||||
const params = getUrlParams()
|
||||
if (params.type < 0 || !params.type) {
|
||||
type.value = -1
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user