Parcourir la source

边民手机号修改

qzy il y a 6 mois
Parent
commit
56336deda5
1 fichiers modifiés avec 5 ajouts et 3 suppressions
  1. 5 3
      sa-view/tb-people/tb-people-list.html

+ 5 - 3
sa-view/tb-people/tb-people-list.html

@@ -72,11 +72,13 @@
 					</sa-td>-->
 					<sa-td name="创建时间" prop="createTime"></sa-td>
 					<el-table-column label="操作" width="240px" fixed="right">
-						<template slot-scope="s">
+						<template slot-scope="s"> 
 							<el-button class="c-btn" type="success" icon="el-icon-view"
 								@click="get(s.row)">查看</el-button>
-							<el-button class="c-btn" type="primary" icon="el-icon-edit"
-								@click="updateBankInfo(s.row.id)">银行卡修改</el-button>
+								<el-button v-if="sa.isAuth('tb-people-edit')" class="c-btn" type="primary" icon="el-icon-edit"
+									@click="editFn(s.row)">手机号</el-button>
+							<el-button v-if="sa.isAuth('tb-people-edit')" class="c-btn" type="primary" icon="el-icon-edit"
+								@click="updateBankInfo(s.row.id)">银行卡</el-button>
 						</template>
 					</el-table-column>
 				</el-table>