浏览代码

修改权限

lex-xin 4 年之前
父节点
当前提交
1db0bc0f58

文件差异内容过多而无法显示
+ 0 - 0
dist/index.html


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-6c82cba2.781af9ad.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-6c82cba2.a8d5cfb1.js


+ 3 - 3
src/views/adapayAccount/index.vue

@@ -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>

部分文件因为文件数量过多而无法显示