listDemo.html 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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>DEMO信息</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. 添加DEMO
  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 class="text-right">操作</th>
  23. </tr>
  24. </thead>
  25. <tbody>
  26. <tr v-for="demo in listDemoInfo.demos">
  27. <td>
  28. {{demo.demoId}}
  29. </td>
  30. <td>
  31. {{demo.demoName}}
  32. </td>
  33. <td>
  34. {{demo.demoValue}}
  35. </td>
  36. <td>
  37. {{demo.demoRemark}}
  38. </td>
  39. <td class="text-right">
  40. <div class="btn-group">
  41. <button class="btn-white btn btn-xs" v-on:click="_openEditOwnerModel(owner)">修改</button>
  42. </div>
  43. <div class="btn-group">
  44. <button class="btn-white btn btn-xs" v-on:click="_openDelOwnerModel(owner)">删除</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. <!-- 分页 -->
  58. <vc:create name="pagination"></vc:create>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. <vc:create
  64. name="addDemo"
  65. ></vc:create>
  66. <vc:create
  67. name="addDemo"
  68. ></vc:create>
  69. </div>