|
|
@@ -171,17 +171,16 @@
|
|
|
});
|
|
|
|
|
|
const formSearch = ref({
|
|
|
- ditchId: undefined,// 渠道来源
|
|
|
- channelType: undefined,// 渠道类型
|
|
|
- lastLoginTime: undefined,// 最新登录时间
|
|
|
- limit: 20,// 当前页数量(查询量)
|
|
|
+ // lastLoginTime: undefined,// 最新登录时间
|
|
|
nickName: undefined,// 用户昵称
|
|
|
userId: undefined,// 用户ID
|
|
|
- page: 1,// 当前页码
|
|
|
+ ditchId: undefined,// 渠道来源
|
|
|
+ userStatus: 1,// 用户状态
|
|
|
+ appIds: undefined, //所属应用
|
|
|
registryTimeBegin: getTodayRangeLocal(),// 注册时间
|
|
|
registryTimeEnd: undefined,// 注册时间
|
|
|
- userStatus: 1,// 用户类型
|
|
|
- appIds: undefined, //所属应用
|
|
|
+ page: 1,// 当前页码
|
|
|
+ limit: 20,// 当前页数量(查询量)
|
|
|
});
|
|
|
|
|
|
const dynamicFormItems = ref([])
|
|
|
@@ -279,10 +278,9 @@
|
|
|
page.total = res.pageMeta.total;
|
|
|
|
|
|
// 根据时间获取收益
|
|
|
- const param = {
|
|
|
- registryTimeBegin: formSearch.value.registryTimeBegin,
|
|
|
- registryTimeEnd: formSearch.value.registryTimeEnd
|
|
|
- }
|
|
|
+ const param = {...formSearch.value}
|
|
|
+ delete param.page
|
|
|
+ delete param.limit
|
|
|
|
|
|
let revenue = await getRevenueByTime({...param})
|
|
|
totalRevenue.value = roundPrice(revenue.data, 2, true)
|
|
|
@@ -314,16 +312,15 @@
|
|
|
// 表单重置
|
|
|
const handleFormReset = () => {
|
|
|
formSearch.value = {
|
|
|
- ditchId: undefined,// 渠道来源
|
|
|
- channelType: undefined,// 渠道类型
|
|
|
- lastLoginTime: undefined,// 最新登录时间
|
|
|
- limit: 20,// 当前页数量(查询量)
|
|
|
nickName: undefined,// 用户昵称
|
|
|
userId: undefined,// 用户ID
|
|
|
- page: 1,// 当前页码
|
|
|
- registryTime: undefined,// 注册时间
|
|
|
- userType: undefined,// 用户类型
|
|
|
+ ditchId: undefined,// 渠道来源
|
|
|
+ userStatus: undefined,// 用户状态
|
|
|
appIds: undefined, //所属应用
|
|
|
+ registryTimeBegin: undefined,// 注册时间
|
|
|
+ registryTimeEnd: undefined,// 注册时间
|
|
|
+ page: 1,// 当前页码
|
|
|
+ limit: 20,// 当前页数量(查询量)
|
|
|
};
|
|
|
getList();
|
|
|
};
|