|
|
@@ -22,7 +22,12 @@
|
|
|
<!-- <el-table-column prop="userType" label="用户类型" width="90" />-->
|
|
|
<el-table-column prop="appId" label="应用ID" width="150" />
|
|
|
<el-table-column prop="appName" label="应用名称" width="150" />
|
|
|
- <el-table-column prop="appType" label="应用类型" width="90" />
|
|
|
+ <el-table-column prop="appType" label="应用类型" width="90">
|
|
|
+ <template #default="scope">
|
|
|
+ {{ getDictionaryName('app_type',scope.row.appType) }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="ditchName" label="渠道来源" width="150" />
|
|
|
<el-table-column prop="communicationOperator" label="通信运营商" width="100" />
|
|
|
<el-table-column prop="deviceRepeatCount" label="设备重复数量" width="110" />
|
|
|
<el-table-column prop="ipRepeatCount" label="IP重复数量" width="100" />
|
|
|
@@ -138,17 +143,15 @@
|
|
|
import From from "@/components/from/index.vue";
|
|
|
import Table from "@/components/table/index.vue";
|
|
|
import Layer from '@/components/layer/index.vue'
|
|
|
- import Card from './components/card/index.vue'
|
|
|
import { ElMessage } from 'element-plus'
|
|
|
- import { getUserList, getStaticList, riskBannedUser, riskLockUser, appUserEcpm } from '@/api/userModule.js'
|
|
|
+ import { getUserList, riskBannedUser, riskLockUser, appUserEcpm } from '@/api/userModule.js'
|
|
|
import { riskChangeUserStatus } from '@/api/riskModule.js'
|
|
|
import { convertUTCToBeijing } from '@/utils/index.js'
|
|
|
import { useGetDictList } from '@/hooks/useGetDictList.js'
|
|
|
import { useStore } from 'vuex'
|
|
|
|
|
|
const store = useStore()
|
|
|
- const { dictData, loadDictData, getOptions, getDictionaryName } = useGetDictList();
|
|
|
- const form = ref(null);
|
|
|
+ const { loadDictData, getOptions, getDictionaryName } = useGetDictList();
|
|
|
const tableData = ref([]);
|
|
|
|
|
|
// 分页参数, 供table使用
|
|
|
@@ -159,15 +162,16 @@
|
|
|
});
|
|
|
|
|
|
const formSearch = ref({
|
|
|
- channelOrigin: undefined,// 渠道来源
|
|
|
+ ditchId: undefined,// 渠道来源
|
|
|
channelType: undefined,// 渠道类型
|
|
|
lastLoginTime: undefined,// 最新登录时间
|
|
|
limit: 20,// 当前页数量(查询量)
|
|
|
nickName: undefined,// 用户昵称
|
|
|
userId: undefined,// 用户ID
|
|
|
page: 1,// 当前页码
|
|
|
- registryTime: undefined,// 注册时间
|
|
|
- userType: undefined,// 用户类型
|
|
|
+ registryTimeBegin: undefined,// 注册时间
|
|
|
+ registryTimeEnd: undefined,// 注册时间
|
|
|
+ userStatus: undefined,// 用户类型
|
|
|
});
|
|
|
|
|
|
const dynamicFormItems = ref([])
|
|
|
@@ -194,26 +198,20 @@
|
|
|
type: 'input',
|
|
|
needEnterEvent: true
|
|
|
},
|
|
|
- /* {
|
|
|
- label: '渠道类型',
|
|
|
- prop: 'channelType',
|
|
|
- type: 'select',
|
|
|
- options: getOptions('channel_type')
|
|
|
- }, */
|
|
|
{
|
|
|
label: '渠道来源',
|
|
|
- prop: 'channelOrigin',
|
|
|
+ prop: 'ditchId',
|
|
|
type: 'select',
|
|
|
options: getOptions('channel_origin'),
|
|
|
},
|
|
|
{
|
|
|
- label: '用户类型',
|
|
|
- prop: 'userType',
|
|
|
+ label: '用户状态',
|
|
|
+ prop: 'userStatus',
|
|
|
type: 'select',
|
|
|
options: getOptions('user_status'),
|
|
|
},
|
|
|
- { label: '登录时间', prop: 'lastLoginTime', type: 'date' },
|
|
|
- { label: '注册时间', prop: 'registryTime', type: 'date' },
|
|
|
+ { label: '注册时间开始', prop: 'registryTimeBegin', type: 'date' },
|
|
|
+ { label: '注册时间结束', prop: 'registryTimeEnd', type: 'date' },
|
|
|
]
|
|
|
|
|
|
// 查看ECPM
|
|
|
@@ -252,11 +250,10 @@
|
|
|
formSearch.value.limit = 20;
|
|
|
formSearch.value.nickName = formData.nickName;
|
|
|
formSearch.value.userId = formData.userId;
|
|
|
- formSearch.value.channelOrigin = formData.channelOrigin;
|
|
|
- formSearch.value.channelType = formData.channelType;
|
|
|
- formSearch.value.userType = formData.userType;
|
|
|
- formSearch.value.lastLoginTime = formData.lastLoginTime || null
|
|
|
- formSearch.value.registryTime = formData.registryTime || null
|
|
|
+ formSearch.value.ditchId = formData.ditchId;
|
|
|
+ formSearch.value.userStatus = formData.userStatus;
|
|
|
+ formSearch.value.registryTimeBegin = formData.registryTimeBegin || null
|
|
|
+ formSearch.value.registryTimeEnd = formData.registryTimeEnd || null
|
|
|
|
|
|
getList();
|
|
|
};
|
|
|
@@ -264,7 +261,7 @@
|
|
|
// 表单重置
|
|
|
const handleFormReset = () => {
|
|
|
formSearch.value = {
|
|
|
- channelOrigin: undefined,// 渠道来源
|
|
|
+ ditchId: undefined,// 渠道来源
|
|
|
channelType: undefined,// 渠道类型
|
|
|
lastLoginTime: undefined,// 最新登录时间
|
|
|
limit: 20,// 当前页数量(查询量)
|