yumeng 1 год назад
Родитель
Сommit
a29268b0f7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/supplyChain/channelList.vue

+ 1 - 1
src/views/supplyChain/channelList.vue

@@ -107,7 +107,7 @@
       >
         <template slot-scope="scope">
           {{ scope.row.promotersCount }}
-          <el-button size="mini" type="text" @click="editCount(scope.row)">编辑</el-button>
+          <el-button  v-if="$store.getters.roles[0] == 'admin' ||$store.getters.roles[0] == 'bdManager' || $store.getters.roles[0] == 'supplyChainAdmin' " size="mini" type="text" @click="editCount(scope.row)">编辑</el-button>
         </template>
       </el-table-column>