unit.html 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <div id="component" class="wrapper wrapper-content animated fadeInRight ecommerce">
  2. <vc:create name="unitSelectFloor"></vc:create>
  3. <div class="row">
  4. <div class="col-lg-12">
  5. <div class="ibox">
  6. <div class="ibox-content">
  7. <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
  8. <thead>
  9. <tr>
  10. <th>单元ID</th>
  11. <th data-hide="phone">单元编号</th>
  12. <th data-hide="phone">总层数</th>
  13. <th data-hide="phone">是否有电梯</th>
  14. <th data-hide="phone,tablet" >创建人</th>
  15. <th data-hide="phone">备注</th>
  16. <th class="text-right">操作</th>
  17. </tr>
  18. </thead>
  19. <tbody>
  20. <tr v-for="unit in unitInfo.units">
  21. <td>
  22. {{unit.unitId}}
  23. </td>
  24. <td>
  25. {{unit.unitNum}}
  26. </td>
  27. <td>
  28. {{unit.layerCount}}
  29. </td>
  30. <td>
  31. {{unit.lift == '1010'?'有':'无'}}
  32. </td>
  33. <td>
  34. {{unit.userName}}
  35. </td>
  36. <td>
  37. {{unit.remark}}
  38. </td>
  39. <td class="text-right">
  40. <div class="btn-group">
  41. <button class="btn-white btn btn-xs" v-on:click="_openEditUnitModel(unit)">修改</button>
  42. </div>
  43. <div class="btn-group">
  44. <button class="btn-white btn btn-xs" v-on:click="_openDeleteUnitModel(unit)">删除</button>
  45. </div>
  46. </td>
  47. </tr>
  48. </tbody>
  49. <tfoot>
  50. <tr>
  51. <td colspan="7">
  52. <ul class="pagination float-right"></ul>
  53. </td>
  54. </tr>
  55. </tfoot>
  56. </table>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. <!-- 删除员工权限 -->
  62. <vc:create name="editUnit"></vc:create>
  63. <vc:create name="deleteUnit"></vc:create>
  64. </div>