修改用户信息的问题
This commit is contained in:
29601
package-lock.json
generated
29601
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -48,19 +48,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="6" class="cards">
|
|
||||||
<div class="box">
|
|
||||||
<div class="box_num">
|
|
||||||
<div class="box_color">今日订单笔数</div>
|
|
||||||
<div class="text_color">
|
|
||||||
<span>{{
|
|
||||||
tableData.todayPayCount ? tableData.todayPayCount : 0
|
|
||||||
}}</span
|
|
||||||
>元
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</el-col>
|
|
||||||
<el-col :span="6" class="cards">
|
<el-col :span="6" class="cards">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="box_num">
|
<div class="box_num">
|
||||||
@@ -73,6 +61,19 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="6" class="cards">
|
||||||
|
<div class="box">
|
||||||
|
<div class="box_num">
|
||||||
|
<div class="box_color">今日订单笔数</div>
|
||||||
|
<div class="text_color">
|
||||||
|
<span>{{
|
||||||
|
tableData.todayPayCount ? tableData.todayPayCount : 0
|
||||||
|
}}</span
|
||||||
|
>元
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="6" class="cards">
|
<el-col :span="6" class="cards">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -83,7 +83,14 @@
|
|||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="inviteCount" label="下级人数"></el-table-column>
|
|
||||||
|
<el-table-column prop="inviteCount" label="下级人数">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row,'yaoqing')">
|
||||||
|
{{ scope.row.inviteCount ? scope.row.inviteCount : '0' }}
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<!-- <el-table-column prop="inviteAmount" label="下级每日达标奖励"></el-table-column> -->
|
<!-- <el-table-column prop="inviteAmount" label="下级每日达标奖励"></el-table-column> -->
|
||||||
<el-table-column prop="inviteAmount" label="下级每日达标奖励" width="150">
|
<el-table-column prop="inviteAmount" label="下级每日达标奖励" width="150">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@@ -95,13 +102,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="cashAmount" label="提现金额">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row,'sixth')">
|
|
||||||
{{ scope.row.cashAmount ? scope.row.cashAmount : '0' }}
|
|
||||||
</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column prop="invitationCode" label="邀请码"></el-table-column>
|
<el-table-column prop="invitationCode" label="邀请码"></el-table-column>
|
||||||
<el-table-column label="邀请人邀请码">
|
<el-table-column label="邀请人邀请码">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@@ -135,9 +136,9 @@
|
|||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column> -->
|
</el-table-column> -->
|
||||||
<el-table-column prop="platform" label="渠道来源">
|
<el-table-column prop="platform" label="拉黑原因">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.platform ? scope.row.platform : '-' }}</span>
|
<span>{{ scope.row.platform=='IP频繁跳动' ? scope.row.platform : '-' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="zhifubaoName" label="支付宝名称">
|
<el-table-column prop="zhifubaoName" label="支付宝名称">
|
||||||
@@ -152,14 +153,21 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="createTime" label="创建时间" width="160"></el-table-column>
|
<el-table-column prop="createTime" label="创建时间" width="160"></el-table-column>
|
||||||
<el-table-column prop="balance" label="余额" ></el-table-column>
|
<el-table-column prop="balance" label="余额" ></el-table-column>
|
||||||
<el-table-column prop="state " label="状态">
|
<el-table-column prop="cashAmount" label="提现金额">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row,'sixth')">
|
||||||
|
{{ scope.row.cashAmount ? scope.row.cashAmount : '0' }}
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<!-- <el-table-column prop="state " label="状态">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-switch v-model="scope.row.status" @change="change(scope.row.status, scope.row.userId)"
|
<el-switch v-model="scope.row.status" @change="change(scope.row.status, scope.row.userId)"
|
||||||
:active-value="openValue" :inactive-value="closeValue" active-color="#13ce66"
|
:active-value="openValue" :inactive-value="closeValue" active-color="#13ce66"
|
||||||
inactive-color="#ff4949">
|
inactive-color="#ff4949">
|
||||||
</el-switch>
|
</el-switch>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column> -->
|
||||||
<el-table-column prop="state" label="是否拉黑">
|
<el-table-column prop="state" label="是否拉黑">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-switch v-model="scope.row.status" @change="releaseBlackout(scope.row)"
|
<el-switch v-model="scope.row.status" @change="releaseBlackout(scope.row)"
|
||||||
@@ -388,6 +396,8 @@
|
|||||||
</el-tab-pane> -->
|
</el-tab-pane> -->
|
||||||
<el-tab-pane label="普通用户" name="third">
|
<el-tab-pane label="普通用户" name="third">
|
||||||
<el-table v-loading="tableDataLoading" :data="tableData.list">
|
<el-table v-loading="tableDataLoading" :data="tableData.list">
|
||||||
|
<el-table-column fixed prop="userId" label="编号" width="80">
|
||||||
|
</el-table-column>
|
||||||
<el-table-column fixed prop="userName" label="昵称" width="150">
|
<el-table-column fixed prop="userName" label="昵称" width="150">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span style="color: #f56c6c;">{{ scope.row.userName ? scope.row.userName : '未绑定' }}</span>
|
<span style="color: #f56c6c;">{{ scope.row.userName ? scope.row.userName : '未绑定' }}</span>
|
||||||
@@ -407,7 +417,19 @@
|
|||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="sysUserName" label="分销商"></el-table-column>
|
<!-- <el-table-column prop="inviteCount" label="下级人数"></el-table-column> -->
|
||||||
|
<!-- <el-table-column prop="inviteAmount" label="下级每日达标奖励"></el-table-column> -->
|
||||||
|
<el-table-column prop="inviteAmount" label="下级每日达标奖励" width="150">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.inviteAmount ? scope.row.inviteAmount : '0' }}</span>
|
||||||
|
<el-button size="mini" :disabled="!isAuth('userList:updatebl')"
|
||||||
|
style="color: #4f9dec;background: #fff;border: none;"
|
||||||
|
@click="xiugai2(scope.row, 'inviteAmount')">
|
||||||
|
修改</el-button>
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column prop="invitationCode" label="邀请码"></el-table-column>
|
<el-table-column prop="invitationCode" label="邀请码"></el-table-column>
|
||||||
<el-table-column label="邀请人邀请码">
|
<el-table-column label="邀请人邀请码">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@@ -415,30 +437,35 @@
|
|||||||
scope.row.inviterCode ? scope.row.inviterCode : '未绑定' }}</span>
|
scope.row.inviterCode ? scope.row.inviterCode : '未绑定' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="qdCode" label="渠道码"></el-table-column>
|
<!-- <el-table-column prop="qdCode" label="渠道码"></el-table-column> -->
|
||||||
<el-table-column prop="rate" label="一级推广收益比例" width="150">
|
<el-table-column prop="vipType" label="会员类型">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.rate ? scope.row.rate : '0' }}</span>
|
<span v-if="scope.row.vipType == 2">充值会员</span>
|
||||||
|
<span v-else-if="scope.row.vipType == 1">赠送会员</span>
|
||||||
|
<span v-else> - </span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<!-- <el-table-column prop="rate" label="一级推广收益比例" width="150">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{scope.row.rate?scope.row.rate:'0'}}</span>
|
||||||
<el-button size="mini" :disabled="!isAuth('userList:updatebl')"
|
<el-button size="mini" :disabled="!isAuth('userList:updatebl')"
|
||||||
style="color: #4f9dec;background: #fff;border: none;"
|
style="color: #4f9dec;background: #fff;border: none;" @click="xiugai(scope.row,'rate')">
|
||||||
@click="xiugai(scope.row, 'rate')">
|
|
||||||
修改</el-button>
|
修改</el-button>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="twoRate" label="二级推广收益比例" width="150">
|
<el-table-column prop="twoRate" label="二级推广收益比例" width="150">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.twoRate ? scope.row.twoRate : '0' }}</span>
|
<span>{{scope.row.twoRate?scope.row.twoRate:'0'}}</span>
|
||||||
<el-button size="mini" :disabled="!isAuth('userList:updatebl')"
|
<el-button size="mini" :disabled="!isAuth('userList:updatebl')"
|
||||||
style="color: #4f9dec;background: #fff;border: none;"
|
style="color: #4f9dec;background: #fff;border: none;" @click="xiugai(scope.row,'twoRate')">
|
||||||
@click="xiugai(scope.row, 'twoRate')">
|
|
||||||
修改</el-button>
|
修改</el-button>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column> -->
|
||||||
<el-table-column prop="platform" label="渠道来源">
|
<el-table-column prop="platform" label="拉黑原因">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.platform ? scope.row.platform : '-' }}</span>
|
<span>{{ scope.row.platform=='IP频繁跳动' ? scope.row.platform : '-' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="zhifubaoName" label="支付宝名称">
|
<el-table-column prop="zhifubaoName" label="支付宝名称">
|
||||||
@@ -452,13 +479,29 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="createTime" label="创建时间" width="160"></el-table-column>
|
<el-table-column prop="createTime" label="创建时间" width="160"></el-table-column>
|
||||||
<el-table-column prop="state " label="状态">
|
<el-table-column prop="balance" label="余额" ></el-table-column>
|
||||||
|
<el-table-column prop="cashAmount" label="提现金额">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-switch v-model="scope.row.status" @change="change(scope.row.state, scope.row.userId)"
|
<span style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row,'sixth')">
|
||||||
|
{{ scope.row.cashAmount ? scope.row.cashAmount : '0' }}
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<!-- <el-table-column prop="state " label="状态">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-switch v-model="scope.row.status" @change="change(scope.row.status, scope.row.userId)"
|
||||||
:active-value="openValue" :inactive-value="closeValue" active-color="#13ce66"
|
:active-value="openValue" :inactive-value="closeValue" active-color="#13ce66"
|
||||||
inactive-color="#ff4949">
|
inactive-color="#ff4949">
|
||||||
</el-switch>
|
</el-switch>
|
||||||
</template>
|
</template>
|
||||||
|
</el-table-column> -->
|
||||||
|
<el-table-column prop="state" label="是否拉黑">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-switch v-model="scope.row.status" @change="releaseBlackout(scope.row)"
|
||||||
|
:active-value="1" :inactive-value="0" active-color="#13ce66"
|
||||||
|
inactive-color="#ff4949">
|
||||||
|
</el-switch>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column fixed="right" label="操作" width="120">
|
<el-table-column fixed="right" label="操作" width="120">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@@ -483,6 +526,8 @@
|
|||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="代理用户" name="second2">
|
<el-tab-pane label="代理用户" name="second2">
|
||||||
<el-table v-loading="tableDataLoading" :data="tableData.list">
|
<el-table v-loading="tableDataLoading" :data="tableData.list">
|
||||||
|
<el-table-column fixed prop="userId" label="编号" width="80">
|
||||||
|
</el-table-column>
|
||||||
<el-table-column fixed prop="userName" label="昵称" width="150">
|
<el-table-column fixed prop="userName" label="昵称" width="150">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span style="color: #f56c6c;">{{ scope.row.userName ? scope.row.userName : '未绑定' }}</span>
|
<span style="color: #f56c6c;">{{ scope.row.userName ? scope.row.userName : '未绑定' }}</span>
|
||||||
@@ -502,7 +547,25 @@
|
|||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="sysUserName" label="分销商"></el-table-column>
|
<el-table-column prop="inviteCount" label="下级人数">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row,'yaoqing')">
|
||||||
|
{{ scope.row.inviteCount ? scope.row.inviteCount : '0' }}
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<!-- <el-table-column prop="inviteAmount" label="下级每日达标奖励"></el-table-column> -->
|
||||||
|
<el-table-column prop="inviteAmount" label="下级每日达标奖励" width="150">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.inviteAmount ? scope.row.inviteAmount : '0' }}</span>
|
||||||
|
<el-button size="mini" :disabled="!isAuth('userList:updatebl')"
|
||||||
|
style="color: #4f9dec;background: #fff;border: none;"
|
||||||
|
@click="xiugai2(scope.row, 'inviteAmount')">
|
||||||
|
修改</el-button>
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column prop="invitationCode" label="邀请码"></el-table-column>
|
<el-table-column prop="invitationCode" label="邀请码"></el-table-column>
|
||||||
<el-table-column label="邀请人邀请码">
|
<el-table-column label="邀请人邀请码">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@@ -510,7 +573,7 @@
|
|||||||
scope.row.inviterCode ? scope.row.inviterCode : '未绑定' }}</span>
|
scope.row.inviterCode ? scope.row.inviterCode : '未绑定' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="qdCode" label="渠道码"></el-table-column>
|
<!-- <el-table-column prop="qdCode" label="渠道码"></el-table-column> -->
|
||||||
<el-table-column prop="vipType" label="会员类型">
|
<el-table-column prop="vipType" label="会员类型">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.vipType == 2">充值会员</span>
|
<span v-if="scope.row.vipType == 2">充值会员</span>
|
||||||
@@ -518,29 +581,27 @@
|
|||||||
<span v-else> - </span>
|
<span v-else> - </span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="rate" label="一级推广收益比例" width="150">
|
<!-- <el-table-column prop="rate" label="一级推广收益比例" width="150">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.rate ? scope.row.rate : '0' }}</span>
|
<span>{{scope.row.rate?scope.row.rate:'0'}}</span>
|
||||||
<el-button size="mini" :disabled="!isAuth('userList:updatebl')"
|
<el-button size="mini" :disabled="!isAuth('userList:updatebl')"
|
||||||
style="color: #4f9dec;background: #fff;border: none;"
|
style="color: #4f9dec;background: #fff;border: none;" @click="xiugai(scope.row,'rate')">
|
||||||
@click="xiugai(scope.row, 'rate')">
|
|
||||||
修改</el-button>
|
修改</el-button>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="twoRate" label="二级推广收益比例" width="150">
|
<el-table-column prop="twoRate" label="二级推广收益比例" width="150">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.twoRate ? scope.row.twoRate : '0' }}</span>
|
<span>{{scope.row.twoRate?scope.row.twoRate:'0'}}</span>
|
||||||
<el-button size="mini" :disabled="!isAuth('userList:updatebl')"
|
<el-button size="mini" :disabled="!isAuth('userList:updatebl')"
|
||||||
style="color: #4f9dec;background: #fff;border: none;"
|
style="color: #4f9dec;background: #fff;border: none;" @click="xiugai(scope.row,'twoRate')">
|
||||||
@click="xiugai(scope.row, 'twoRate')">
|
|
||||||
修改</el-button>
|
修改</el-button>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column> -->
|
||||||
<el-table-column prop="platform" label="渠道来源">
|
<el-table-column prop="platform" label="拉黑原因">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.platform ? scope.row.platform : '-' }}</span>
|
<span>{{ scope.row.platform=='IP频繁跳动' ? scope.row.platform : '-' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="zhifubaoName" label="支付宝名称">
|
<el-table-column prop="zhifubaoName" label="支付宝名称">
|
||||||
@@ -554,13 +615,29 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="createTime" label="创建时间" width="160"></el-table-column>
|
<el-table-column prop="createTime" label="创建时间" width="160"></el-table-column>
|
||||||
<el-table-column prop="state " label="状态">
|
<el-table-column prop="balance" label="余额" ></el-table-column>
|
||||||
|
<el-table-column prop="cashAmount" label="提现金额">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-switch v-model="scope.row.status" @change="change(scope.row.state, scope.row.userId)"
|
<span style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row,'sixth')">
|
||||||
|
{{ scope.row.cashAmount ? scope.row.cashAmount : '0' }}
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<!-- <el-table-column prop="state " label="状态">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-switch v-model="scope.row.status" @change="change(scope.row.status, scope.row.userId)"
|
||||||
:active-value="openValue" :inactive-value="closeValue" active-color="#13ce66"
|
:active-value="openValue" :inactive-value="closeValue" active-color="#13ce66"
|
||||||
inactive-color="#ff4949">
|
inactive-color="#ff4949">
|
||||||
</el-switch>
|
</el-switch>
|
||||||
</template>
|
</template>
|
||||||
|
</el-table-column> -->
|
||||||
|
<el-table-column prop="state" label="是否拉黑">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-switch v-model="scope.row.status" @change="releaseBlackout(scope.row)"
|
||||||
|
:active-value="1" :inactive-value="0" active-color="#13ce66"
|
||||||
|
inactive-color="#ff4949">
|
||||||
|
</el-switch>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column fixed="right" label="操作" width="120">
|
<el-table-column fixed="right" label="操作" width="120">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@@ -572,7 +649,7 @@
|
|||||||
<el-button size="mini" type="primary" @click="updates(scope.row)">用户详情</el-button>
|
<el-button size="mini" type="primary" @click="updates(scope.row)">用户详情</el-button>
|
||||||
<el-button size="mini" type="danger" :disabled="!isAuth('userList:delete')"
|
<el-button size="mini" type="danger" :disabled="!isAuth('userList:delete')"
|
||||||
@click="deleteuser(scope.row)">删除用户</el-button>
|
@click="deleteuser(scope.row)">删除用户</el-button>
|
||||||
|
<!-- <el-button size = "mini" type = "danger" @click = "updates1(scope.row)">封号</el-button> -->
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -893,6 +970,11 @@ export default {
|
|||||||
this.tableDataLoading = false
|
this.tableDataLoading = false
|
||||||
let returnData = data.data
|
let returnData = data.data
|
||||||
this.tableData = returnData
|
this.tableData = returnData
|
||||||
|
this.tableData.list.forEach(ele=>{
|
||||||
|
ele.status = ele.status == 1 ? 1 : 0
|
||||||
|
})
|
||||||
|
console.log(this.tableData,'shuiashd ')
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 设置会员
|
// 设置会员
|
||||||
|
|||||||
Reference in New Issue
Block a user