用户积分修改,修改分销员筛选,修改超级会员订单列表检索
This commit is contained in:
@@ -14,10 +14,13 @@
|
||||
</view>
|
||||
<my-tabs v-model="active" :list="tabs" textKey="label"></my-tabs>
|
||||
<view v-if="active == 2" class="u-flex u-row-between u-m-t-32" style="gap: 58rpx">
|
||||
<view class="u-flex-1 filter-box" style="border-radius: 100rpx">
|
||||
<!-- <view class="u-flex-1 filter-box" style="border-radius: 100rpx">
|
||||
<up-icon name="search" size="18"></up-icon>
|
||||
<input class="u-m-l-10 u-font-28" type="text" placeholder-class="color-999 u-font-28" placeholder="搜索关键词" v-model="keyWord" @blur="keyWordBlur" />
|
||||
<up-icon v-if="keyWord" name="close" size="14" @click="clearKeyWord"></up-icon>
|
||||
</view> -->
|
||||
<view class="u-flex-1">
|
||||
<my-user-select v-model="userId" @change="search()" ></my-user-select>
|
||||
</view>
|
||||
<view class="u-flex-1 u-font-28 filter-box u-flex u-row-between" @click="showTimeArea = true">
|
||||
<template v-if="userComponentQuery.startTime && userComponentQuery.endTime">
|
||||
@@ -215,6 +218,7 @@ function refresh() {
|
||||
}
|
||||
|
||||
const listRes = ref({});
|
||||
const userId=ref('')
|
||||
async function getList() {
|
||||
let res = null;
|
||||
if (active.value == 1) {
|
||||
@@ -232,7 +236,8 @@ async function getList() {
|
||||
res = await memberApi.orderList({
|
||||
page: pageNum.value,
|
||||
size: 10,
|
||||
key: userComponentQuery.user,
|
||||
// key: userComponentQuery.user,
|
||||
key: userId.value,
|
||||
startTime: userComponentQuery.startTime ? userComponentQuery.startTime + ' 00:00:00' : '',
|
||||
endTime: userComponentQuery.endTime ? userComponentQuery.endTime + ' 23:59:59' : ''
|
||||
});
|
||||
@@ -264,6 +269,7 @@ watch(
|
||||
userComponentQuery.startTime = '';
|
||||
userComponentQuery.endTime = '';
|
||||
keyWord.value = '';
|
||||
userId.value=''
|
||||
refresh();
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user