瀏覽代碼

修改权限

lex-xin 4 年之前
父節點
當前提交
1db0bc0f58

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-6c82cba2.781af9ad.js


File diff suppressed because it is too large
+ 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>

Some files were not shown because too many files changed in this diff