소스 검색

修改权限

lex-xin 4 년 전
부모
커밋
1db0bc0f58
4개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 0
      dist/index.html
  2. 0 0
      dist/static/js/chunk-6c82cba2.781af9ad.js
  3. 0 0
      dist/static/js/chunk-6c82cba2.a8d5cfb1.js
  4. 3 3
      src/views/adapayAccount/index.vue

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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>

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.