<div class="table-responsive custom-scrollbar" style="max-height: calc(100vh - 110px);overflow:auto;overflow-x:hidden;max-width:850px;">
  <table class="display supplyquery table-xs" style="width:100%;">
    <tbody>
    <?php foreach ($ds as $row) { ?>
      <tr>
        <td><?php echo $row['rolename']; ?></td>
        <td style="white-space:nowrap;text-align: right;"><a class="btn-primary btn-sm" href="javascript:" onclick='select_role(<?php echo json_encode($row); ?>)'>选择</a>
        </td>
      </tr>