master
yuan 7 years ago
parent 4ceef6abb1
commit 573ae86bff

@ -16,6 +16,7 @@
<tr> <tr>
<th>Username</th> <th>Username</th>
<th>Display Name</th> <th>Display Name</th>
<th>OpenId</th>
<th>Role</th> <th>Role</th>
<th>Create Time</th> <th>Create Time</th>
<th>Operation</th> <th>Operation</th>
@ -25,6 +26,10 @@
<tr ng-repeat="account in accounts"> <tr ng-repeat="account in accounts">
<td ng-bind="account.username"></td> <td ng-bind="account.username"></td>
<td ng-bind="account.display_name"></td> <td ng-bind="account.display_name"></td>
<td>
<img ng-src="{{account.wechat_headimg}}" style="height: 30px;width:30px;" class="img-circle" ng-if="account.wechat_headimg">
{{account.wechat_openid}}
</td>
<td> <td>
<select ng-change="updateAccountRole(account)" ng-model="account.role" ng-options="role.code as role.label for role in partnerRoles" title="Account Role"></select> <select ng-change="updateAccountRole(account)" ng-model="account.role" ng-options="role.code as role.label for role in partnerRoles" title="Account Role"></select>
</td> </td>

Loading…
Cancel
Save