2025-03-23 10:03:12 +08:00
|
|
|
|
<!-- 信息管理 - 会员信息 -->
|
|
|
|
|
<template>
|
|
|
|
|
<div class="page">
|
|
|
|
|
<topBar
|
|
|
|
|
v-if="topList.length > 0"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
:top-list="topList"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
:moren="moren"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<div class="thetopbox">
|
|
|
|
|
<el-form label-width="100px">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
<el-form-item :label="'会员编号'" prop="memberCode">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.memberCode"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
clearable
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请输入'"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
<el-form-item :label="'会员姓名'" prop="memberName">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.memberName"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
clearable
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请输入'"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
<el-form-item :label="'联系方式'" prop="phone">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.phone"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
clearable
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请输入'"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
<el-form-item :label="'变更次数'" prop="changeNumber">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.changeNumber"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
clearable
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请输入'"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
<el-form-item :label="'注册等级'" prop="pkRegisterGrade">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-select
|
2025-06-08 15:19:03 +08:00
|
|
|
|
v-model="queryParams.pkRegisterGrade"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
clearable
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请选择'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in gradeRangList"
|
|
|
|
|
:key="item.pkId"
|
|
|
|
|
:label="item.gradeName"
|
|
|
|
|
:value="item.pkId"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
2025-06-17 19:46:38 +08:00
|
|
|
|
<el-form-item :label="'结算等级'" prop="pkMaxAwards">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-select
|
2025-06-18 16:31:11 +08:00
|
|
|
|
v-model="queryParams.pkgettleGrade"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
clearable
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请选择'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in gradeRangList"
|
|
|
|
|
:key="item.pkId"
|
|
|
|
|
:label="item.gradeName"
|
|
|
|
|
:value="item.pkId"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="4">
|
2025-06-12 20:22:42 +08:00
|
|
|
|
<el-form-item :label="$t('当月奖衔')" prop="pkAwards">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-select
|
2025-06-08 15:19:03 +08:00
|
|
|
|
v-model="queryParams.pkAwards"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
clearable
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请选择'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in awardsList"
|
|
|
|
|
:key="item.pkId"
|
|
|
|
|
:label="item.awardsName"
|
|
|
|
|
:value="item.pkId"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
2025-06-17 19:46:38 +08:00
|
|
|
|
<el-form-item :label="$t('荣誉奖衔')" prop="pkMaxAwards">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-select
|
2025-06-17 19:46:38 +08:00
|
|
|
|
v-model="queryParams.pkMaxAwards"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
clearable
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请选择'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in awardsList"
|
|
|
|
|
:key="item.pkId"
|
|
|
|
|
:label="item.awardsName"
|
|
|
|
|
:value="item.pkId"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
<el-form-item :label="'隶属体系'" prop="vertexId">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-select
|
2025-06-08 15:19:03 +08:00
|
|
|
|
v-model="queryParams.vertexId"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
clearable
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请选择'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in vertexList"
|
|
|
|
|
:key="item.pkId"
|
|
|
|
|
:label="item.vertexName"
|
|
|
|
|
:value="item.pkId"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
<el-form-item :label="'隶属团队'" prop="teamId">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-select
|
2025-06-08 15:19:03 +08:00
|
|
|
|
v-model="queryParams.teamId"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
clearable
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请选择'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in memberteamList"
|
|
|
|
|
:key="item.pkId"
|
|
|
|
|
:label="item.teamName"
|
|
|
|
|
:value="item.pkId"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
<el-form-item :label="'收益状态'" prop="incomeStatus">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-select
|
2025-06-08 15:19:03 +08:00
|
|
|
|
v-model="queryParams.incomeStatus"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
clearable
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请选择'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
@change="getSel"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in incomeStatusListd"
|
|
|
|
|
:key="item.value"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
:value="item.value"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
<el-form-item :label="'账户状态'" prop="accountStatus">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-select
|
2025-06-08 15:19:03 +08:00
|
|
|
|
v-model="queryParams.accountStatus"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
clearable
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请选择'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in accountStatus"
|
|
|
|
|
:key="item.value"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
:value="item.value"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
<el-form-item :label="'钱包状态'" prop="memberAccount">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-select
|
2025-06-08 15:19:03 +08:00
|
|
|
|
v-model="queryParams.memberAccount"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
clearable
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请选择'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in salletStatus"
|
|
|
|
|
:key="item.value"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
:value="item.value"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
<el-form-item :label="'实名认证'" prop="isRealName">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-select
|
2025-06-08 15:19:03 +08:00
|
|
|
|
v-model="queryParams.isRealName"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
clearable
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请选择'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in tattestation"
|
|
|
|
|
:key="item.value"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
:value="item.value"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
<el-form-item :label="'订单类型'" prop="orderSource">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-select
|
2025-06-08 15:19:03 +08:00
|
|
|
|
v-model="queryParams.orderSource"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
clearable
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请选择'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in orderStatusList"
|
|
|
|
|
:key="item.value"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
:value="item.value"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
<el-form-item :label="'推荐编号'" prop="parMemberCode">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.parMemberCode"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
clearable
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请输入'"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
<el-form-item :label="'推荐姓名'" prop="parMemberName">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.parMemberName"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
clearable
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请输入'"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
<el-form-item :label="'修改直推次数'" prop="directPushNumber">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.directPushNumber"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
clearable
|
2025-03-23 10:03:12 +08:00
|
|
|
|
type="number"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请输入'"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-collapse-transition>
|
|
|
|
|
<div v-show="isActive">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="4">
|
|
|
|
|
<el-form-item :label="$t('是否激活')" prop="isActivate">
|
|
|
|
|
<el-select
|
2025-06-08 15:19:03 +08:00
|
|
|
|
v-model="queryParams.isActivate"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
clearable
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请选择'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in ActivateList"
|
|
|
|
|
:key="item.value"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
:value="item.value"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item :label="$t('收益地址')" prop="accountStatus">
|
|
|
|
|
<el-cascader
|
|
|
|
|
v-model="address"
|
|
|
|
|
class="area"
|
|
|
|
|
:options="areaData"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:placeholder="'请选择省市区'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
:props="regionParams"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
@change="flChange"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
<el-form-item :label="'创建日期'" prop="code">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="queryParams.cjsj"
|
|
|
|
|
type="daterange"
|
|
|
|
|
range-separator="——"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:start-placeholder="'开始时间'"
|
|
|
|
|
:end-placeholder="'结束日期'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
:unlink-panels="true"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
@change="changeTime1"
|
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
<el-form-item :label="'支付日期'" prop="code">
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="queryParams.zfsj"
|
|
|
|
|
type="daterange"
|
|
|
|
|
range-separator="——"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:start-placeholder="'开始时间'"
|
|
|
|
|
:end-placeholder="'结束日期'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
:unlink-panels="true"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
@change="changeTime2"
|
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<!-- <el-col :span="8">
|
|
|
|
|
<el-form-item label="有效期" prop="code">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="queryParams.dqsj"
|
|
|
|
|
type="daterange"
|
|
|
|
|
@change="changeTime3"
|
|
|
|
|
range-separator="——"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:start-placeholder="'开始时间'"
|
|
|
|
|
:end-placeholder="'结束日期'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
:unlink-panels="true"
|
|
|
|
|
>
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col> -->
|
|
|
|
|
</el-row>
|
|
|
|
|
</div>
|
|
|
|
|
</el-collapse-transition>
|
|
|
|
|
<el-row style="margin-left: 20px">
|
|
|
|
|
<el-col :span="4">
|
|
|
|
|
<div class="searchbox">
|
|
|
|
|
<el-button class="searchbtn" @click="getMemberList">
|
2025-06-08 15:19:03 +08:00
|
|
|
|
{{ '搜索' }}</el-button>
|
2025-05-26 10:41:35 +08:00
|
|
|
|
<el-button @click="reChongzhi"> {{ '重置' }}</el-button>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<div class="openClose" @click="changeActive">
|
|
|
|
|
<i
|
|
|
|
|
:class="isActive ? 'el-icon-arrow-up' : 'el-icon-arrow-down'"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-05-26 10:41:35 +08:00
|
|
|
|
<div>{{ isActive ? '点击收起' : '点击展开' }}</div>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</div>
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="maintop">
|
|
|
|
|
<div class="mainbtn">
|
|
|
|
|
<el-button
|
|
|
|
|
v-hasButtons="['MemberExport']"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
size="small"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
class="thebtn2"
|
|
|
|
|
@click="handleExport"
|
|
|
|
|
>
|
2025-06-08 15:19:03 +08:00
|
|
|
|
{{ '导出' }}</el-button>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-button
|
|
|
|
|
v-hasButtons="['memberDown']"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
size="small"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
style="background-color: #009b58; color: #fff; margin-left: 15px"
|
|
|
|
|
class="thebtn2"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
@click="importTemplate"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
>
|
2025-06-08 15:19:03 +08:00
|
|
|
|
{{ '下载模板' }}</el-button>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-button
|
2025-06-08 15:19:03 +08:00
|
|
|
|
v-hasButtons="['memberImport']"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
size="small"
|
|
|
|
|
class="thebtn2"
|
|
|
|
|
style="background-color: #ff6723; color: #fff"
|
|
|
|
|
@click="handleImport"
|
|
|
|
|
>
|
2025-06-08 15:19:03 +08:00
|
|
|
|
{{ '导入' }}</el-button>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</div>
|
|
|
|
|
<div style="padding-right: 0px">
|
|
|
|
|
<el-dropdown :hide-on-click="false" style="width: 120px">
|
|
|
|
|
<span class="el-dropdown-link kuang">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
{{ '筛选字段'
|
2025-06-08 15:19:03 +08:00
|
|
|
|
}}<i class="el-icon-arrow-down el-icon--right" />
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</span>
|
|
|
|
|
<el-dropdown-menu slot="dropdown" style="">
|
|
|
|
|
<el-dropdown-item v-for="item in menuList" :key="item.id">
|
|
|
|
|
<el-checkbox
|
|
|
|
|
v-model="item.checked"
|
|
|
|
|
@change="getMenu($event, item.id)"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
>{{ item.text }}</el-checkbox></el-dropdown-item>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-dropdown-menu>
|
|
|
|
|
</el-dropdown>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="main">
|
|
|
|
|
<div class="maintable">
|
|
|
|
|
<el-table
|
|
|
|
|
ref="table"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
:data="tableData"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
:height="isActive ? '480px' : '630px'"
|
|
|
|
|
>
|
|
|
|
|
v-loading="loading" style="width: 100%" :header-cell-style="{
|
|
|
|
|
background: '#EEEEEE' }" :row-class-name="tableRowClassName"
|
|
|
|
|
@selection-change="handleSelectionChange" >
|
2025-06-08 15:19:03 +08:00
|
|
|
|
<el-table-column type="selection" />
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
2025-06-08 15:19:03 +08:00
|
|
|
|
v-if="allTxt.memberCode"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
align="center"
|
|
|
|
|
prop="memberCode"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'会员编号'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
2025-06-08 15:19:03 +08:00
|
|
|
|
v-if="allTxt.memberName"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
align="center"
|
|
|
|
|
prop="memberName"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'会员姓名'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-06-12 20:22:42 +08:00
|
|
|
|
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
2025-06-08 15:19:03 +08:00
|
|
|
|
v-if="allTxt.phone"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
align="center"
|
|
|
|
|
prop="phone"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'联系方式'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="menuList[1].checked == true && allTxt.parMemberCode"
|
|
|
|
|
align="center"
|
|
|
|
|
prop="parMemberCode"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'推荐编号'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="menuList[2].checked == true && allTxt.parMemberName"
|
|
|
|
|
align="center"
|
|
|
|
|
prop="parMemberName"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'推荐姓名'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="allTxt.pkAwardsVal"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
align="center"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
prop="pkAwardsVal"
|
2025-06-12 20:22:42 +08:00
|
|
|
|
:label="$t('当月奖衔')"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
align="center"
|
2025-06-17 19:46:38 +08:00
|
|
|
|
prop="pkMaxAwardsVal"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
:label="$t('荣誉奖衔')"
|
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="allTxt.orderSourceVal"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
align="center"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
prop="orderSourceVal"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'订单类型'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="menuList[3].checked == true && allTxt.pkRegisterGradeVal"
|
|
|
|
|
align="center"
|
|
|
|
|
prop="pkRegisterGradeVal"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'注册等级'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
2025-06-18 16:31:11 +08:00
|
|
|
|
v-if="menuList[4].checked == true && allTxt.pkgettleGradeval"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
align="center"
|
2025-06-18 16:31:11 +08:00
|
|
|
|
prop="pkgettleGradeval"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'结算等级'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="menuList[5].checked == true && allTxt.consumeMoney"
|
|
|
|
|
align="center"
|
|
|
|
|
prop="consumeMoney"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'注册金额' + `(${isLocalSymbol()})`"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{ scope.row.consumeMoney | numberToCurrency }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="menuList[6].checked == true && allTxt.consumeAchieve"
|
|
|
|
|
align="center"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="`${'注册业绩'}` + `(${isLocals()})`"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
prop="consumeAchieve"
|
|
|
|
|
width="180"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{ scope.row.consumeAchieve | numberToCurrency }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="menuList[7].checked == true && allTxt.vertexName"
|
|
|
|
|
align="center"
|
|
|
|
|
prop="vertexName"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'隶属体系'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<!-- <el-table-column
|
|
|
|
|
v-if="menuList[8].checked == true && allTxt.registerAuthorityVal"
|
|
|
|
|
align="center"
|
|
|
|
|
prop="registerAuthorityVal"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'注册权限'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
|
|
|
|
></el-table-column> -->
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="menuList[11].checked == true && allTxt.teamName"
|
|
|
|
|
align="center"
|
|
|
|
|
prop="teamName"
|
|
|
|
|
label="隶属团队"
|
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="menuList[8].checked == true && allTxt.isRealNameVal"
|
|
|
|
|
align="center"
|
|
|
|
|
prop="isRealNameVal"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'实名认证'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
2025-06-08 15:19:03 +08:00
|
|
|
|
<span
|
|
|
|
|
v-if="scope.row.isRealName == 0"
|
|
|
|
|
style="color: #009b58"
|
|
|
|
|
>已认证</span>
|
|
|
|
|
<span
|
|
|
|
|
v-if="scope.row.isRealName == 1"
|
|
|
|
|
style="color: #c8161d"
|
|
|
|
|
>未认证</span>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="menuList[9].checked == true && allTxt.accountStatusVal"
|
|
|
|
|
align="center"
|
|
|
|
|
prop="accountStatusVal"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'账户状态'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="menuList[10].checked == true && allTxt.memberAccountVal"
|
|
|
|
|
align="center"
|
|
|
|
|
prop="memberAccountVal"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'钱包状态'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
align="center"
|
|
|
|
|
prop="giftProvince"
|
|
|
|
|
:label="$t('收益区省')"
|
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
align="center"
|
|
|
|
|
prop="giftCity"
|
|
|
|
|
:label="$t('收益区市')"
|
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
align="center"
|
|
|
|
|
prop="giftCounty"
|
|
|
|
|
:label="$t('收益区县(区)')"
|
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="allTxt.incomeStatusVal"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
align="center"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
prop="incomeStatusVal"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'收益状态'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="allTxt.creationTime"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
align="center"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
prop="creationTime"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'创建日期'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="allTxt.payTime"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
align="center"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
prop="payTime"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'支付日期'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="allTxt.changeNumber"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
align="center"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
prop="changeNumber"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'变更次数'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="allTxt.directPushNumber"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
align="center"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
prop="directPushNumber"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'修改直推次数'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
align="center"
|
|
|
|
|
prop="categoryVal"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'会员类型'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="180"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
align="center"
|
|
|
|
|
prop="isActivateVal"
|
|
|
|
|
:label="$t('是否激活')"
|
2025-06-08 15:19:03 +08:00
|
|
|
|
/>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
align="center"
|
|
|
|
|
prop="time"
|
2025-05-26 10:41:35 +08:00
|
|
|
|
:label="'操作'"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
width="130"
|
|
|
|
|
fixed="right"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div style="white-space: nowrap">
|
|
|
|
|
<el-button
|
2025-06-08 15:19:03 +08:00
|
|
|
|
v-has-buttons="['memberLogin']"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
:disabled="scope.row.category != 0"
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
style="padding: 8px 0px"
|
|
|
|
|
@click="toLogin(scope.row)"
|
|
|
|
|
>
|
2025-05-26 10:41:35 +08:00
|
|
|
|
{{ '登录' }}
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</el-button>
|
2025-06-12 20:22:42 +08:00
|
|
|
|
<!-- <el-button
|
2025-06-08 15:19:03 +08:00
|
|
|
|
v-has-buttons="['tmpMemberLogin']"
|
2025-03-23 10:03:12 +08:00
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
style="padding: 8px 0px"
|
|
|
|
|
@click="toLogin1(scope.row)"
|
|
|
|
|
>
|
|
|
|
|
{{ $t("临时登录") }}
|
2025-06-12 20:22:42 +08:00
|
|
|
|
</el-button> -->
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<pagination
|
|
|
|
|
v-show="total > 0"
|
|
|
|
|
:total="total"
|
|
|
|
|
:page.sync="queryParams.pageNum"
|
|
|
|
|
:limit.sync="queryParams.pageSize"
|
|
|
|
|
@pagination="getMemberList"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<el-dialog
|
|
|
|
|
:title="upload.title"
|
|
|
|
|
:close-on-click-modal="false"
|
|
|
|
|
:visible.sync="upload.open"
|
|
|
|
|
width="600px"
|
|
|
|
|
append-to-body
|
|
|
|
|
>
|
|
|
|
|
<el-upload
|
|
|
|
|
ref="upload"
|
|
|
|
|
:limit="1"
|
|
|
|
|
accept=".xlsx, .xls"
|
|
|
|
|
:headers="upload.headers"
|
|
|
|
|
:action="upload.url"
|
|
|
|
|
:disabled="upload.isUploading"
|
|
|
|
|
:on-progress="handleFileUploadProgress"
|
|
|
|
|
:on-success="handleFileSuccess"
|
|
|
|
|
:on-exceed="handleExceed"
|
|
|
|
|
:auto-upload="false"
|
|
|
|
|
drag
|
|
|
|
|
>
|
2025-06-08 15:19:03 +08:00
|
|
|
|
<i class="el-icon-upload" />
|
2025-03-23 10:03:12 +08:00
|
|
|
|
<div class="el-upload__text">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
{{ '将文件拖到此处,或' }}
|
|
|
|
|
<em>{{ '点击上传' }}</em>
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</div>
|
2025-06-08 15:19:03 +08:00
|
|
|
|
<div slot="tip" class="el-upload__tip" style="color: red">
|
2025-05-26 10:41:35 +08:00
|
|
|
|
{{ '提示:仅允许导入“xls”或“xlsx”格式文件!' }}
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</div>
|
|
|
|
|
</el-upload>
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
|
<el-button type="primary" @click="submitFileForm">{{
|
2025-05-26 10:41:35 +08:00
|
|
|
|
'确认'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
}}</el-button>
|
|
|
|
|
<el-button @click="upload.open = false">{{
|
2025-05-26 10:41:35 +08:00
|
|
|
|
'取消'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
}}</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
2025-06-08 15:19:03 +08:00
|
|
|
|
import topBar from '@/components/topBar'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
import {
|
|
|
|
|
getMemberList,
|
|
|
|
|
getvertexValue,
|
|
|
|
|
getaccountStatus,
|
|
|
|
|
getsalletStatus,
|
|
|
|
|
getattestation,
|
|
|
|
|
getYesnouploadsList,
|
|
|
|
|
getorderStatus,
|
|
|
|
|
passwordFree,
|
|
|
|
|
passwordFreeLen,
|
|
|
|
|
incomeStatusList,
|
|
|
|
|
serviceStatus,
|
|
|
|
|
getExpirestatus,
|
2025-06-08 15:19:03 +08:00
|
|
|
|
copyPwd
|
|
|
|
|
} from '@/api/member'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
import {
|
|
|
|
|
getgradeRanglist,
|
|
|
|
|
getAwardsListChiose,
|
2025-06-08 15:19:03 +08:00
|
|
|
|
getRegistration
|
|
|
|
|
} from '@/api/level'
|
|
|
|
|
import { teamList } from '@/api/business'
|
|
|
|
|
import { getRoleMenu } from '@/api/notice'
|
|
|
|
|
import { getToken } from '@/utils/auth'
|
|
|
|
|
import { areaList } from '@/api/site'
|
|
|
|
|
import { isLocals, isLocalSymbol } from '@/utils/numberToCurrency'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
export default {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
name: 'Jcyw',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
components: {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
topBar
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
loading: false,
|
|
|
|
|
allTxt: {},
|
|
|
|
|
ActivateList: [
|
|
|
|
|
{
|
|
|
|
|
value: 0,
|
2025-06-08 15:19:03 +08:00
|
|
|
|
label: '是'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 1,
|
2025-06-08 15:19:03 +08:00
|
|
|
|
label: '否'
|
|
|
|
|
}
|
2025-03-23 10:03:12 +08:00
|
|
|
|
],
|
|
|
|
|
regionParams: {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
label: 'name',
|
|
|
|
|
value: 'id',
|
|
|
|
|
children: 'children',
|
|
|
|
|
expandTrigger: 'hover'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
menuList: [
|
|
|
|
|
{
|
|
|
|
|
id: 0,
|
2025-06-08 15:32:44 +08:00
|
|
|
|
text: '全选',
|
2025-06-08 15:19:03 +08:00
|
|
|
|
checked: false
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 1,
|
2025-06-08 15:32:44 +08:00
|
|
|
|
text: '推荐编号',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
checked: true,
|
2025-06-08 15:19:03 +08:00
|
|
|
|
prop: 'parMemberCode'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 2,
|
2025-06-08 15:32:44 +08:00
|
|
|
|
text: '推荐姓名',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
checked: true,
|
2025-06-08 15:19:03 +08:00
|
|
|
|
prop: 'parMemberName'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 3,
|
2025-06-08 15:32:44 +08:00
|
|
|
|
text: '注册等级',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
checked: true,
|
2025-06-08 15:19:03 +08:00
|
|
|
|
prop: 'pkRegisterGradeVal'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 4,
|
2025-06-08 15:32:44 +08:00
|
|
|
|
text: '结算等级',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
checked: true,
|
2025-06-18 16:31:11 +08:00
|
|
|
|
prop: 'pkgettleGradeval'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 5,
|
2025-06-08 15:32:44 +08:00
|
|
|
|
text: '注册金额',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
checked: true,
|
2025-06-08 15:19:03 +08:00
|
|
|
|
prop: 'consumeMoney'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 6,
|
2025-06-08 15:32:44 +08:00
|
|
|
|
text: '注册业绩',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
checked: true,
|
2025-06-08 15:19:03 +08:00
|
|
|
|
prop: 'consumeAchieve'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 7,
|
2025-06-08 15:32:44 +08:00
|
|
|
|
text: '隶属体系',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
checked: true,
|
2025-06-08 15:19:03 +08:00
|
|
|
|
prop: 'vertexName'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 11,
|
2025-06-08 15:19:03 +08:00
|
|
|
|
text: '隶属团队',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
checked: true,
|
2025-06-08 15:19:03 +08:00
|
|
|
|
prop: 'teamName'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 8,
|
2025-06-08 15:32:44 +08:00
|
|
|
|
text: '实名认证',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
checked: true,
|
2025-06-08 15:19:03 +08:00
|
|
|
|
prop: 'isRealNameVal'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 9,
|
2025-06-08 15:32:44 +08:00
|
|
|
|
text: '账户状态',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
checked: true,
|
2025-06-08 15:19:03 +08:00
|
|
|
|
prop: 'accountStatusVal'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 10,
|
2025-06-08 15:32:44 +08:00
|
|
|
|
text: '钱包状态',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
checked: true,
|
2025-06-08 15:19:03 +08:00
|
|
|
|
prop: 'memberAccountVal'
|
|
|
|
|
}
|
2025-03-23 10:03:12 +08:00
|
|
|
|
],
|
|
|
|
|
upload: {
|
|
|
|
|
// 是否显示弹出层(物流导入)
|
|
|
|
|
open: false,
|
|
|
|
|
// 弹出层标题(物流导入)
|
2025-06-08 15:19:03 +08:00
|
|
|
|
title: '',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
// 是否禁用上传
|
|
|
|
|
isUploading: false,
|
|
|
|
|
// 是否更新已经存在的物流数据
|
|
|
|
|
updateSupport: 0,
|
|
|
|
|
// 设置上传的请求头部
|
2025-06-08 15:19:03 +08:00
|
|
|
|
headers: { Authorization: 'Bearer ' + getToken() },
|
2025-03-23 10:03:12 +08:00
|
|
|
|
// 上传的地址
|
|
|
|
|
url:
|
|
|
|
|
process.env.VUE_APP_BASE_API +
|
2025-06-08 15:19:03 +08:00
|
|
|
|
'/member/manager/member/batch-importData'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
2025-06-08 15:19:03 +08:00
|
|
|
|
moren: 'jcyw',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
topList: [
|
|
|
|
|
{
|
2025-06-08 15:32:44 +08:00
|
|
|
|
name: '会员信息',
|
2025-06-08 15:19:03 +08:00
|
|
|
|
path: 'jcyw'
|
|
|
|
|
}
|
2025-03-23 10:03:12 +08:00
|
|
|
|
// {
|
2025-06-08 15:32:44 +08:00
|
|
|
|
// name: '订单业务',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
// path: "ddyw",
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// name: "审核业务",
|
|
|
|
|
// path: "shyw",
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// name: "在线签呈",
|
|
|
|
|
// path: "zxqc",
|
|
|
|
|
// },
|
|
|
|
|
],
|
|
|
|
|
colums: [],
|
|
|
|
|
checkLabels: [],
|
|
|
|
|
checkList: [],
|
|
|
|
|
multipleSelection: [],
|
|
|
|
|
incomeStatusListd: [],
|
2025-06-08 15:19:03 +08:00
|
|
|
|
address: '',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
queryParams: {
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
pageSize: 50,
|
2025-06-08 15:19:03 +08:00
|
|
|
|
memberCode: '', // 会员编号
|
|
|
|
|
memberName: '', // 会员姓名
|
|
|
|
|
phone: '', // 联系方式
|
|
|
|
|
changeNumber: '', // 变更次数
|
|
|
|
|
pkRegisterGrade: '', // 注册等级
|
2025-06-18 16:31:11 +08:00
|
|
|
|
pkgettleGrade: '', // 结算等级
|
2025-06-08 15:19:03 +08:00
|
|
|
|
pkAwards: '', // 真实奖衔
|
|
|
|
|
vertexId: '', // 隶属体系
|
|
|
|
|
teamId: '', // 隶属团队
|
|
|
|
|
registerAuthority: '', // 注册权限
|
|
|
|
|
accountStatus: '', // 账户状态
|
|
|
|
|
memberAccount: '', // 钱包状态
|
|
|
|
|
isRealName: '', // 实名认证
|
|
|
|
|
isBusLicense: '', // 营业执照
|
|
|
|
|
orderSource: '', // 订单状态
|
|
|
|
|
centerMemberCode: '', // 服务中心编号
|
|
|
|
|
centerMemberName: '', // 服务中心姓名
|
|
|
|
|
parMemberCode: '', // 推荐编号
|
|
|
|
|
parMemberName: '', // 推荐姓名
|
|
|
|
|
placeMemberCode: '', // 安置编号
|
|
|
|
|
placeMemberName: '', // 安置姓名
|
|
|
|
|
startDate: '', // 创建时间-开始
|
|
|
|
|
endDate: '', // 创建时间-结束
|
|
|
|
|
startDatePay: '', // 支付时间-开始
|
|
|
|
|
endDatePay: '', // 支付时间-结束
|
|
|
|
|
agentGrade: '', // 代理等级
|
|
|
|
|
incomeStatus: ''
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
tableData: [],
|
|
|
|
|
// 折叠搜索框
|
|
|
|
|
isActive: false,
|
|
|
|
|
total: 0,
|
2025-06-08 15:19:03 +08:00
|
|
|
|
gradeRangList: [], // 注册等级
|
|
|
|
|
awardsList: [], // 真实奖衔
|
|
|
|
|
vertexList: [], // 隶属体系
|
|
|
|
|
memberteamList: [], // 隶属团队
|
|
|
|
|
registerList: [], // 注册权限
|
|
|
|
|
accountStatus: [], // 账户状态
|
|
|
|
|
salletStatus: [], // 钱包状态
|
|
|
|
|
tattestation: [], // 实名认证 是否认证
|
|
|
|
|
serviceList: [], // 服务协议
|
|
|
|
|
yesnouploadsList: [], // 营业执照 是否上传
|
|
|
|
|
orderStatusList: [], // 订单状态
|
|
|
|
|
directPushNumber: '', // 修改直推次数
|
|
|
|
|
expireList: []
|
|
|
|
|
}
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
|
canDo() {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
return this.checkList.length > 0
|
|
|
|
|
}
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
created() {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
// 查询会员信息
|
|
|
|
|
this.getMemberList()
|
|
|
|
|
this.getgradeRanglist()
|
2025-03-23 10:03:12 +08:00
|
|
|
|
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.getAwardsListChiose()
|
|
|
|
|
this.getvertexValue()
|
|
|
|
|
this.getmemberTeamList()
|
|
|
|
|
this.getRegistration()
|
|
|
|
|
this.getaccountStatus()
|
|
|
|
|
this.getsalletStatus()
|
|
|
|
|
this.getattestation()
|
|
|
|
|
this.getYesnouploadsList()
|
|
|
|
|
this.getorderStatus()
|
|
|
|
|
this.incomeStatusList()
|
|
|
|
|
this.serviceStatus()
|
|
|
|
|
this.getAllArea()
|
|
|
|
|
// 初始化表头
|
2025-03-23 10:03:12 +08:00
|
|
|
|
// this.checkLabels = JSON.parse(
|
|
|
|
|
// JSON.stringify(Object.keys(this.tableData[0]))
|
|
|
|
|
// )
|
|
|
|
|
// this.colums = JSON.parse(JSON.stringify(Object.keys(this.tableData[0])))
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.getUserRole()
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
getAllArea() {
|
|
|
|
|
areaList().then((res) => {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.areaData = res.data
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
flChange(value) {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.queryParams.county = ''
|
|
|
|
|
this.queryParams.province = ''
|
|
|
|
|
this.queryParams.city = ''
|
2025-03-23 10:03:12 +08:00
|
|
|
|
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.queryParams.province = value[0]
|
|
|
|
|
this.queryParams.city = value[1]
|
|
|
|
|
this.queryParams.county = value[2]
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
getSel(e) {
|
|
|
|
|
console.log(
|
2025-06-08 15:19:03 +08:00
|
|
|
|
'%c [ e ]-1002',
|
|
|
|
|
'font-size:13px; background:#6f02a8; color:#b346ec;',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
e
|
2025-06-08 15:19:03 +08:00
|
|
|
|
)
|
2025-03-23 10:03:12 +08:00
|
|
|
|
// this.$forceUpdate()
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.$set(this.queryParams, 'incomeStatus', e)
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
changeTime1(val) {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.queryParams.startDate = val ? val[0] : ''
|
|
|
|
|
this.queryParams.endDate = val ? val[1] : ''
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
changeTime2(val) {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.queryParams.startDatePay = val ? val[0] : ''
|
|
|
|
|
this.queryParams.endDatePay = val ? val[1] : ''
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
changeTime3(val) {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.queryParams.startExpireDate = val ? val[0] : ''
|
|
|
|
|
this.queryParams.endExpireDate = val ? val[1] : ''
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
getUserRole() {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
getRoleMenu('Member').then((res) => {
|
|
|
|
|
const obj = {}
|
2025-03-23 10:03:12 +08:00
|
|
|
|
res.data.forEach((item) => {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
obj[item] = 1
|
|
|
|
|
})
|
|
|
|
|
this.allTxt = obj
|
2025-03-23 10:03:12 +08:00
|
|
|
|
this.$nextTick(() => {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.$refs.table.doLayout()
|
|
|
|
|
})
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
2025-06-08 15:19:03 +08:00
|
|
|
|
// 导出
|
2025-03-23 10:03:12 +08:00
|
|
|
|
handleExport() {
|
2025-06-08 15:32:44 +08:00
|
|
|
|
this.$confirm('是否确认导出所有数据项?', '警告', {
|
|
|
|
|
confirmButtonText: '确定',
|
|
|
|
|
cancelButtonText: '取消',
|
2025-06-08 15:19:03 +08:00
|
|
|
|
type: 'warning'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
}).then((_) => {
|
|
|
|
|
this.download(
|
2025-06-08 15:19:03 +08:00
|
|
|
|
'/member/manager/member/export',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
{ ...this.queryParams },
|
2025-06-08 15:32:44 +08:00
|
|
|
|
`${'会员信息'}}${new Date().getTime()}.xlsx`
|
2025-06-08 15:19:03 +08:00
|
|
|
|
)
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
isLocalSymbol,
|
|
|
|
|
isLocals,
|
|
|
|
|
toLogin(row) {
|
2025-06-12 20:22:42 +08:00
|
|
|
|
console.log(row, '......row')
|
|
|
|
|
if (row.systemType == 2) {
|
2025-03-23 10:03:12 +08:00
|
|
|
|
passwordFree({
|
2025-06-08 15:19:03 +08:00
|
|
|
|
memberCode: row.memberCode
|
2025-03-23 10:03:12 +08:00
|
|
|
|
}).then((res) => {
|
|
|
|
|
if (res.code == 200) {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
const href =
|
2025-03-23 10:03:12 +08:00
|
|
|
|
process.env.VUE_APP_ADDRESS1 +
|
2025-06-12 20:22:42 +08:00
|
|
|
|
'?token=' +
|
2025-06-08 15:19:03 +08:00
|
|
|
|
res.data.access_token
|
|
|
|
|
window.open(href, '_blank')
|
2025-03-23 10:03:12 +08:00
|
|
|
|
}
|
2025-06-08 15:19:03 +08:00
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
toLogin1(row) {
|
|
|
|
|
copyPwd({
|
2025-06-08 15:19:03 +08:00
|
|
|
|
pkId: row.pkId
|
2025-03-23 10:03:12 +08:00
|
|
|
|
}).then((res) => {
|
|
|
|
|
if (res.code === 200) {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
const msg = res.data
|
2025-06-08 15:32:44 +08:00
|
|
|
|
this.$confirm('确认删除?', this.$t('提示'), {
|
|
|
|
|
confirmButtonText: '确定',
|
|
|
|
|
cancelButtonText: '取消',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
message: msg,
|
|
|
|
|
dangerouslyUseHTMLString: true,
|
2025-06-08 15:19:03 +08:00
|
|
|
|
type: 'info'
|
|
|
|
|
}).then(() => {})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
}
|
2025-06-08 15:19:03 +08:00
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
getMenu(e, id) {
|
|
|
|
|
if (e && id == 0) {
|
|
|
|
|
this.menuList.forEach((item) => {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.$set(item, 'checked', true)
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
} else if (!e && id == 0) {
|
|
|
|
|
this.menuList.forEach((item) => {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.$set(item, 'checked', false)
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
2025-06-08 15:19:03 +08:00
|
|
|
|
|
|
|
|
|
// 查询会员信息
|
2025-03-23 10:03:12 +08:00
|
|
|
|
getMemberList() {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.loading = true
|
2025-03-23 10:03:12 +08:00
|
|
|
|
getMemberList(this.queryParams).then((res) => {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.loading = false
|
|
|
|
|
this.total = res.total
|
|
|
|
|
this.tableData = res.rows
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
2025-06-08 15:19:03 +08:00
|
|
|
|
// 订单状态
|
2025-03-23 10:03:12 +08:00
|
|
|
|
getorderStatus() {
|
|
|
|
|
getorderStatus().then((res) => {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.orderStatusList = res.data
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
2025-06-08 15:19:03 +08:00
|
|
|
|
// 营业执照-是否上传
|
2025-03-23 10:03:12 +08:00
|
|
|
|
getYesnouploadsList() {
|
|
|
|
|
getYesnouploadsList().then((res) => {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.yesnouploadsList = res.data
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
2025-06-08 15:19:03 +08:00
|
|
|
|
// 认证下拉选
|
2025-03-23 10:03:12 +08:00
|
|
|
|
getattestation() {
|
|
|
|
|
getattestation().then((res) => {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.tattestation = res.data
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
getExpirestatus().then((res) => {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.expireList = res.data
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
2025-06-08 15:19:03 +08:00
|
|
|
|
// 服务协议
|
2025-03-23 10:03:12 +08:00
|
|
|
|
serviceStatus() {
|
|
|
|
|
serviceStatus().then((res) => {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.serviceList = res.data
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
2025-06-08 15:19:03 +08:00
|
|
|
|
// 钱包状态下拉选
|
2025-03-23 10:03:12 +08:00
|
|
|
|
getsalletStatus() {
|
|
|
|
|
getsalletStatus().then((res) => {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.salletStatus = res.data
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
2025-06-08 15:19:03 +08:00
|
|
|
|
// 账户状态下拉选
|
2025-03-23 10:03:12 +08:00
|
|
|
|
getaccountStatus() {
|
|
|
|
|
getaccountStatus().then((res) => {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.accountStatus = res.data
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
2025-06-08 15:19:03 +08:00
|
|
|
|
// 注册权限下拉选
|
2025-03-23 10:03:12 +08:00
|
|
|
|
getRegistration() {
|
|
|
|
|
getRegistration().then((res) => {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.registerList = res.data
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
2025-06-08 15:19:03 +08:00
|
|
|
|
// 隶属团队下拉选
|
2025-03-23 10:03:12 +08:00
|
|
|
|
getmemberTeamList() {
|
|
|
|
|
teamList().then((res) => {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.memberteamList = res.data
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
2025-06-08 15:19:03 +08:00
|
|
|
|
// 隶属体系下拉选 取pkid和name
|
2025-03-23 10:03:12 +08:00
|
|
|
|
getvertexValue() {
|
|
|
|
|
getvertexValue().then((res) => {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.vertexList = res.data
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
2025-06-08 15:19:03 +08:00
|
|
|
|
// 真实奖衔下拉选
|
2025-03-23 10:03:12 +08:00
|
|
|
|
getAwardsListChiose() {
|
|
|
|
|
getAwardsListChiose().then((res) => {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.awardsList = res.rows
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
2025-06-08 15:19:03 +08:00
|
|
|
|
// 注册等级下拉
|
2025-03-23 10:03:12 +08:00
|
|
|
|
getgradeRanglist() {
|
|
|
|
|
getgradeRanglist().then((res) => {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.gradeRangList = res.data
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
2025-06-08 15:19:03 +08:00
|
|
|
|
// 收益状态
|
2025-03-23 10:03:12 +08:00
|
|
|
|
incomeStatusList() {
|
|
|
|
|
incomeStatusList().then((res) => {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.incomeStatusListd = res.data
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// 展开折叠
|
|
|
|
|
changeActive() {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.isActive = !this.isActive
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
2025-06-08 15:19:03 +08:00
|
|
|
|
// 重置
|
2025-03-23 10:03:12 +08:00
|
|
|
|
reChongzhi() {
|
|
|
|
|
this.queryParams = {
|
|
|
|
|
pageNum: 1,
|
2025-06-08 15:19:03 +08:00
|
|
|
|
pageSize: 50
|
|
|
|
|
}
|
|
|
|
|
this.address = ''
|
|
|
|
|
this.getMemberList()
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
handleSelectionChange(val) {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.multipleSelection = val
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
/** 导入按钮操作 */
|
|
|
|
|
handleImport() {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.upload.title = '批量查询'
|
|
|
|
|
this.upload.open = true
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
2025-06-08 15:19:03 +08:00
|
|
|
|
// 下载模板
|
2025-03-23 10:03:12 +08:00
|
|
|
|
importTemplate() {
|
|
|
|
|
this.download(
|
2025-06-08 15:19:03 +08:00
|
|
|
|
'/member/manager/member/download',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
{},
|
2025-06-08 15:32:44 +08:00
|
|
|
|
`${'会员信息'}${new Date().getTime()}.xlsx`
|
2025-06-08 15:19:03 +08:00
|
|
|
|
)
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
// 文件上传中处理
|
|
|
|
|
handleFileUploadProgress(event, file, fileList) {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.upload.isUploading = true
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
// 文件上传成功处理
|
|
|
|
|
handleFileSuccess(response, file, fileList) {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
var fileName = response.fileName
|
|
|
|
|
if (fileName != undefined && fileName != '') {
|
2025-03-23 10:03:12 +08:00
|
|
|
|
}
|
|
|
|
|
if (response.code == 200) {
|
|
|
|
|
this.download(
|
2025-06-08 15:19:03 +08:00
|
|
|
|
'/member/manager/member/export',
|
2025-03-23 10:03:12 +08:00
|
|
|
|
{ memberCodeStr: response.msg },
|
2025-06-08 15:32:44 +08:00
|
|
|
|
`${'会员信息'}}${new Date().getTime()}.xlsx`
|
2025-06-08 15:19:03 +08:00
|
|
|
|
)
|
2025-03-23 10:03:12 +08:00
|
|
|
|
}
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.upload.open = false
|
|
|
|
|
this.upload.isUploading = false
|
|
|
|
|
this.$refs.upload.clearFiles()
|
|
|
|
|
const str = ''
|
2025-03-23 10:03:12 +08:00
|
|
|
|
// let data = response.msg.split(',')
|
|
|
|
|
// data.forEach((item) => {
|
|
|
|
|
// item = item + ";";
|
|
|
|
|
// str += `<div>${item}</div>`;
|
|
|
|
|
// });
|
2025-06-08 15:32:44 +08:00
|
|
|
|
this.$alert('', '上传成功', {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
dangerouslyUseHTMLString: true
|
|
|
|
|
})
|
2025-03-23 10:03:12 +08:00
|
|
|
|
// this.getList();
|
|
|
|
|
},
|
|
|
|
|
// 上传文件数量超出后的动作
|
|
|
|
|
handleExceed() {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.upload.isUploading = false
|
2025-06-08 15:32:44 +08:00
|
|
|
|
this.msgInfo('仅可上传一个文件哦')
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
// 提交上传文件
|
|
|
|
|
submitFileForm() {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
this.$refs.upload.submit()
|
2025-03-23 10:03:12 +08:00
|
|
|
|
},
|
|
|
|
|
tableRowClassName({ row, rowIndex }) {
|
|
|
|
|
if (rowIndex % 2 == 1) {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
return 'warning-row'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
} else if (rowIndex % 2 == 0) {
|
2025-06-08 15:19:03 +08:00
|
|
|
|
return 'success-row'
|
2025-03-23 10:03:12 +08:00
|
|
|
|
}
|
2025-06-08 15:19:03 +08:00
|
|
|
|
return ''
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-03-23 10:03:12 +08:00
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.kuang {
|
|
|
|
|
padding: 5px 20px;
|
|
|
|
|
background: rgba(255, 255, 255, 0);
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
border: 1px solid #cccccc;
|
|
|
|
|
}
|
|
|
|
|
.heji {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
.dis {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: right;
|
|
|
|
|
padding: 5px 10px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #333333;
|
|
|
|
|
:nth-child(1) {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #333333;
|
|
|
|
|
margin-right: 20px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::v-deep .el-input__inner {
|
|
|
|
|
height: 32px;
|
|
|
|
|
line-height: 32px;
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-date-editor .el-range__close-icon {
|
|
|
|
|
margin-top: -10px;
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-date-editor .el-range-separator {
|
|
|
|
|
margin-top: -10px;
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-date-editor .el-range__icon {
|
|
|
|
|
margin-top: -10px;
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-button {
|
|
|
|
|
padding: 8px 20px;
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-form-item {
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-table .warning-row {
|
|
|
|
|
background: #f9f9f9;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::v-deep .el-table .success-row {
|
|
|
|
|
background: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-table thead {
|
|
|
|
|
color: #000000;
|
|
|
|
|
}
|
|
|
|
|
.openClose {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
color: #666666;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
.page {
|
|
|
|
|
padding: 10px 20px 0 20px;
|
|
|
|
|
background: #f9f9f9;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
.thetopbox {
|
|
|
|
|
padding: 0px 0;
|
|
|
|
|
background: #ffffff;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
.searchbox {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
.searchtitle {
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
}
|
|
|
|
|
.searchbtn {
|
|
|
|
|
width: 68px;
|
|
|
|
|
background: #c8161d;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.maintop {
|
|
|
|
|
display: flex;
|
|
|
|
|
padding: 0px 0;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
.mainbtn {
|
|
|
|
|
display: flex;
|
|
|
|
|
// justify-content: space-between;
|
|
|
|
|
align-content: center;
|
|
|
|
|
width: 100%;
|
|
|
|
|
.thebtn1 {
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
background: #3181e5;
|
|
|
|
|
}
|
|
|
|
|
.thebtn2 {
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
background: #ffad41;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.main {
|
|
|
|
|
// margin-top: 20px;
|
|
|
|
|
background: #ffffff;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
box-shadow: 0px 2px 20px 0px rgba(238, 238, 238, 0.5);
|
|
|
|
|
.maintable {
|
|
|
|
|
overflow: auto;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-date-editor.el-input,
|
|
|
|
|
.el-date-editor.el-input__inner {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
</style>
|