|
@@ -5,7 +5,7 @@
|
|
|
<div class="squrt"></div>汇付账号管理
|
|
|
</h2>
|
|
|
<div class="topWrap">
|
|
|
- <div class="newBand" @click="onOperationAccount('create')" >创建账号</div>
|
|
|
+ <div class="newBand" v-permission="'adapay/createMember'" @click="onOperationAccount('create')" >创建账号</div>
|
|
|
</div>
|
|
|
<div class="m-core">
|
|
|
<el-form :inline="true"
|
|
@@ -69,8 +69,8 @@
|
|
|
align="center"
|
|
|
fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button v-if="scope.row.status === 'failed'" @click="onOperationAccount('update', scope.row)" type="text">修改</el-button>
|
|
|
- <el-button v-if="scope.row.status === 'succeeded'" @click="onUpdateAccount(scope.row)" type="text">修改结算账户</el-button>
|
|
|
+ <el-button v-if="scope.row.status === 'failed'" v-permission="'adapay/updateMember'" @click="onOperationAccount('update', scope.row)" type="text">修改</el-button>
|
|
|
+ <el-button v-if="scope.row.status === 'succeeded'" v-permission="'adapay/createSettleAccount'" @click="onUpdateAccount(scope.row)" type="text">修改结算账户</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|