listOwner.html 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <div id="component" class="wrapper wrapper-content animated fadeInRight ecommerce">
  2. <div class="row">
  3. <div class="col-lg-12">
  4. <div class="ibox">
  5. <div class="ibox-title">
  6. <h5>业主信息</h5>
  7. <div class="ibox-tools" style="top:10px;">
  8. <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddOwnerModal(-1)">
  9. <i class="glyphicon glyphicon-plus"></i>
  10. 添加业主
  11. </button>
  12. </div>
  13. </div>
  14. <div class="ibox-content">
  15. <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
  16. <thead>
  17. <tr>
  18. <th>业主ID</th>
  19. <th data-hide="phone">名称</th>
  20. <th data-hide="phone">性别</th>
  21. <th data-hide="phone">年龄</th>
  22. <th data-hide="phone">联系方式</th>
  23. <th data-hide="phone">创建员工</th>
  24. <th data-hide="phone">备注</th>
  25. <th class="text-right">操作</th>
  26. </tr>
  27. </thead>
  28. <tbody>
  29. <tr v-for="owner in listOwnerInfo.owners">
  30. <td>
  31. {{owner.memberId}}
  32. </td>
  33. <td>
  34. {{owner.name}}
  35. </td>
  36. <td>
  37. {{owner.sex == 0 ? '男' : '女'}}
  38. </td>
  39. <td>
  40. {{owner.age}}
  41. </td>
  42. <td>
  43. {{owner.link}}
  44. </td>
  45. <td>
  46. {{owner.userName}}
  47. </td>
  48. <td>
  49. {{owner.remark}}
  50. </td>
  51. <td class="text-right">
  52. <div class="btn-group">
  53. <button class="btn-white btn btn-xs" v-on:click="_openEditOwnerModel(owner)">修改</button>
  54. </div>
  55. <div class="btn-group">
  56. <button class="btn-white btn btn-xs" v-on:click="_openDelOwnerModel(owner)">删除</button>
  57. </div>
  58. </td>
  59. </tr>
  60. </tbody>
  61. <tfoot>
  62. <tr>
  63. <td colspan="7">
  64. <ul class="pagination float-right"></ul>
  65. </td>
  66. </tr>
  67. </tfoot>
  68. </table>
  69. <!-- 分页 -->
  70. <vc:create name="pagination"></vc:create>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. <vc:create
  76. name="addOwner"
  77. notifyLoadDataComponentName="listOwner"
  78. ></vc:create>
  79. <vc:create
  80. name="editOwner"
  81. notifyLoadDataComponentName="listOwner"
  82. ></vc:create>
  83. <vc:create name="deleteOwner"
  84. notifyLoadDataComponentName="listOwner"
  85. ></vc:create>
  86. </div>