Selaa lähdekoodia

have agent display

EthnaYeh 6 vuotta sitten
vanhempi
commit
8ef67a7443
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/views/room/wechatMember/index.vue

+ 1 - 1
src/views/room/wechatMember/index.vue

@@ -40,7 +40,7 @@
40 40
         </el-table-column>
41 41
         <el-table-column align="center" label="操作" width="350">
42 42
           <template slot-scope="scope">
43
-              <el-button type="primary" size="mini" icon="el-icon-edit" @click="handleChipsMangement(scope.row)">分數管理</el-button>
43
+              <el-button v-if="haveAgent(scope.row.WeChatUser.GambleMember)" type="primary" size="mini" icon="el-icon-edit" @click="handleChipsMangement(scope.row)">分數管理</el-button>
44 44
               <router-link to="/room/index/gambleMember/index/chipsHistory">
45 45
                 <el-button type="primary" size="mini" icon="el-icon-tickets" @click="handleLog(scope.row)">分數紀錄</el-button>            
46 46
               </router-link>