list.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <?php
  2. use common\services\xhCommonService;
  3. ?>
  4. <div class="page-title">
  5. <div class="title-env">
  6. <h1 class="title">帐号申请</h1>
  7. </div>
  8. <div class="breadcrumb-env">
  9. <ol class="breadcrumb bc-1">
  10. <li>
  11. <a href="/"><i class="fa-home"></i>Home</a>
  12. </li>
  13. <li>
  14. <a href="javascript:void(0)">商家管理</a>
  15. </li>
  16. <li class="active">
  17. <strong>帐号申请</strong>
  18. </li>
  19. </ol>
  20. </div>
  21. </div>
  22. <div class="panel panel-default">
  23. <div class="panel-body">
  24. <div class="dataTables_wrapper form-inline dt-bootstrap no-footer">
  25. <div class="table-responsive">
  26. <table class="table table-bordered table-striped table-hover" >
  27. <thead>
  28. <tr class="active">
  29. <th class="no-sorting hidden-xs"><input type="checkbox"></th>
  30. <th class="hidden-xs">编号</th>
  31. <th>名称</th>
  32. <th>邮箱</th>
  33. <th>电话</th>
  34. <th>执照</th>
  35. <th>身份证</th>
  36. <th>银行卡</th>
  37. <th>座机</th>
  38. <th>时间</th>
  39. <th>操作</th>
  40. </tr>
  41. </thead>
  42. <tbody class="middle-align">
  43. <?php if(!empty($models)){ foreach($models as $key => $val){ ?>
  44. <tr>
  45. <td class="hidden-xs"><input type="checkbox"></td>
  46. <td class="hidden-xs"><?= $val['id'] ?></td>
  47. <td class="hidden-xs"><?= $val['applyName'] ?></td>
  48. <td class="hidden-xs"><?= $val['email'] ?></td>
  49. <td class="hidden-xs"><?= $val['mobile'] ?></td>
  50. <td class="hidden-xs">
  51. <?php $b = xhCommonService::getImgList($val['businessLicense']); ?>
  52. <a target="_blank" href="<?= Yii::$app->params['imgUrl'].$b['large'] ?>">
  53. <img width="30" src="<?= Yii::$app->params['imgUrl'].$b['small'] ?>" />
  54. </a>
  55. </td>
  56. <td class="hidden-xs">
  57. <?php $idCard = xhCommonService::getImgList($val['idCard']); ?>
  58. <a target="_blank" href="<?= Yii::$app->params['imgUrl'].$idCard['large'] ?>">
  59. <img width="30" src="<?= Yii::$app->params['imgUrl'].$idCard['small'] ?>" />
  60. </a>
  61. <?php $idCardBack = xhCommonService::getImgList($val['idCardBack']); ?>
  62. <a target="_blank" href="<?= Yii::$app->params['imgUrl'].$idCardBack['large'] ?>">
  63. <img width="30" src="<?= Yii::$app->params['imgUrl'].$idCardBack['small'] ?>" />
  64. </a>
  65. </td>
  66. <td class="hidden-xs">
  67. <?= $val['bankCardNo'] ?>
  68. <!--
  69. <?php $bankCard = xhCommonService::getImgList($val['bankCard']); ?>
  70. <img width="30" src="<?= Yii::$app->params['imgUrl'].$bankCard['small'] ?>" />
  71. -->
  72. </td>
  73. <td class="hidden-xs"><?= $val['telephone'] ?></td>
  74. <td class="hidden-xs"><?= date("Y-m-d",strtotime($val['createTime'])) ?></td>
  75. <td class="hidden-xs"></td>
  76. </tr>
  77. <?php } }?>
  78. </tbody>
  79. </table>
  80. </div>
  81. <div class="row">
  82. <div>
  83. <!--
  84. <div style="display:inline-block;margin-left:15px;">
  85. <label><select name="example-1_length"
  86. aria-controls="example-1" class="form-control">
  87. <option value="0">批量操作</option>
  88. <option value="1">批量下架</option>
  89. <option value="2">批量删除</option>
  90. </select>
  91. </label>
  92. <input class="btn btn-secondary btn-single" type="submit" name="" value="确认" />
  93. </div>
  94. -->
  95. <div class="dataTables_paginate paging_simple_numbers" style="float:right;padding-top:0px;margin-right:15px;">
  96. <?= $paging ?>
  97. </div>
  98. </div>
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103. <!-- footer -->
  104. <?php
  105. use backend\widgets\FooterWidget;
  106. ?>
  107. <?= FooterWidget::widget()?>
  108. <!-- footer -->