|
|
@ -46,10 +46,14 @@ |
|
|
|
|
|
|
|
<el-row :gutter="10" class="mb8" style="margin-left:8px"> |
|
|
|
<el-col :span="1.5"> |
|
|
|
<el-button type="primary" plain icon="" size="medium" @click="handleAdd()">添加码商</el-button> |
|
|
|
<el-button type="primary" plain icon="" size="medium" @click="handleAdd()" |
|
|
|
v-hasPermi="['carddealer:carddealer:add']" |
|
|
|
>添加码商</el-button> |
|
|
|
</el-col> |
|
|
|
<el-col :span="1.5"> |
|
|
|
<el-button type="primary" plain icon="" size="medium" @click="handleExport()">导出</el-button> |
|
|
|
<el-button type="primary" plain icon="" size="medium" @click="handleExport()" |
|
|
|
v-hasPermi="['carddealer:carddealer:export']" |
|
|
|
>导出</el-button> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<!-- <el-row :gutter="10" class="mb8"> |
|
|
@ -59,14 +63,7 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
|
|
|
|
<div class="searchTop flexBet"> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="bg"> |
|
|
|
|
|
|
|
|
|
|
|
<el-table stripe :data="infoList" v-loading="loading" :row-class-name="tableRowClassName"> |
|
|
|
<el-table-column label="码商名称" align="center" prop="username" /> |
|
|
|
<el-table-column label="上级" align="center" prop="superiorUsername" /> |
|
|
@ -125,7 +122,7 @@ |
|
|
|
<el-table-column label="状态" align="center" prop="status" width="140px"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-switch v-model="scope.row.status" active-text="开" inactive-text="关" :active-value="1" :inactive-value="2" |
|
|
|
@change="switchStatusChange(scope.row, 'status')"> |
|
|
|
@change="switchStatusChange(scope.row, 'status')" v-hasPermi="['carddealer:carddealer:edit']"> |
|
|
|
</el-switch> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
@ -133,7 +130,9 @@ |
|
|
|
<el-table-column label="限卡" align="center" prop="status" width="140px"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-switch v-model="scope.row.limitReceiveStatus" active-text="开" inactive-text="关" :active-value="1" |
|
|
|
:inactive-value="2" @change="switchStatusChange(scope.row, scope.$index, 'limitReceiveStatus')"> |
|
|
|
:inactive-value="2" @change="switchStatusChange(scope.row, scope.$index, 'limitReceiveStatus')" |
|
|
|
v-hasPermi="['carddealer:carddealer:edit']"> |
|
|
|
|
|
|
|
</el-switch> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
@ -145,26 +144,32 @@ |
|
|
|
<!-- <el-button size="small" type="text" @click="switchStatusChangeShow(scope.row)" style="color: #006eff"> |
|
|
|
{{ scope.row.isShow == 1 ? '隐藏' : '显示' }} |
|
|
|
</el-button> --> |
|
|
|
<el-button size="small" type="text" @click="handleDelete(scope.row)" style="color: #006eff">删除</el-button> |
|
|
|
<el-button size="small" type="text" @click="handlePassword(scope.row, 'loginPassword')" |
|
|
|
style="color: #006eff">登录密码</el-button> |
|
|
|
<el-button size="small" type="text" @click="handlePassword(scope.row, 'payPassword')" |
|
|
|
style="color: #006eff">支付密码</el-button> |
|
|
|
<el-button size="small" type="text" @click="handlePassword(scope.row, 'operaPassword')" |
|
|
|
style="color: #006eff">设备密码</el-button> |
|
|
|
<el-button size="small" type="text" @click="handleBalance(scope.row, 'money')" |
|
|
|
style="color: #006eff">修改佣金</el-button> |
|
|
|
<el-button size="small" type="text" @click="handleBalance(scope.row, 'balance')" |
|
|
|
style="color: #006eff">修改押金</el-button> |
|
|
|
<el-button size="small" type="text" @click="handleDelete(scope.row)" style="color: #006eff" |
|
|
|
v-hasPermi="['carddealer:carddealer:del']">删除</el-button> |
|
|
|
<el-button size="small" type="text" @click="handlePassword(scope.row, 'loginPassword')" style="color: #006eff" |
|
|
|
v-hasPermi="['carddealer:carddealer:editLoginPwd']">登录密码</el-button> |
|
|
|
<el-button size="small" type="text" @click="handlePassword(scope.row, 'payPassword')" style="color: #006eff" |
|
|
|
v-hasPermi="['carddealer:carddealer:editPayPwd']">支付密码</el-button> |
|
|
|
<el-button size="small" type="text" @click="handlePassword(scope.row, 'operaPassword')" style="color: #006eff" |
|
|
|
v-hasPermi="['carddealer:carddealer:editDevicePassword']">设备密码</el-button> |
|
|
|
<el-button size="small" type="text" @click="handleBalance(scope.row, 'money')" style="color: #006eff" |
|
|
|
v-hasPermi="['carddealer:carddealer:operatingBalance']">修改佣金</el-button> |
|
|
|
<el-button size="small" type="text" @click="handleBalance(scope.row, 'balance')" style="color: #006eff" |
|
|
|
v-hasPermi="['carddealer:carddealer:operatingMargin']">修改押金</el-button> |
|
|
|
<el-button size="small" type="text" @click="handleBalance(scope.row, 'guBalance')" style="color: #006eff" |
|
|
|
v-hasPermi="['carddealer:carddealer:operatingDayMargin']">修改固定押金</el-button> |
|
|
|
|
|
|
|
<el-button size="small" type="text" @click="handleUpdate(scope.row)" style="color: #006eff">编辑</el-button> |
|
|
|
<el-button size="small" type="text" @click="handleUpdate(scope.row)" style="color: #006eff" |
|
|
|
v-hasPermi="['carddealer:carddealer:edit']">编辑</el-button> |
|
|
|
|
|
|
|
<el-button size="small" type="text" @click="handleIp(scope.row)" style="color: #006eff">登录白名单</el-button> |
|
|
|
<el-button size="small" type="text" @click="handleView(scope.row)" style="color: #006eff">下级</el-button> |
|
|
|
<el-button size="small" type="text" @click="handleControl(scope.row)" style="color: #006eff">风控</el-button> |
|
|
|
<el-button size="small" type="text" @click="handleViewRoad(scope.row)" style="color: #006eff">通道</el-button> |
|
|
|
<el-button size="small" type="text" @click="handleIp(scope.row)" style="color: #006eff" |
|
|
|
v-hasPermi="['carddealer:carddealer:getIpWhite']">登录白名单</el-button> |
|
|
|
<el-button size="small" type="text" @click="handleView(scope.row)" style="color: #006eff" |
|
|
|
v-hasPermi="['carddealer:carddealerChannel:getSubCardDealerList']">下级</el-button> |
|
|
|
<el-button size="small" type="text" @click="handleControl(scope.row)" style="color: #006eff" |
|
|
|
v-hasPermi="['carddealer:carddealer:query']">风控</el-button> |
|
|
|
<el-button size="small" type="text" @click="handleViewRoad(scope.row)" style="color: #006eff" |
|
|
|
v-hasPermi="['carddealer:carddealerChannel:getChannel']">通道</el-button> |
|
|
|
|
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|