chooseApp.html 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <div id = "chooseAppModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="chooseAppModelLabel" aria-hidden="true" >
  2. <div class="modal-dialog modal-lg">
  3. <div class="modal-content">
  4. <div class="modal-header">
  5. <h3 class="modal-title" id="chooseAppModelLabel">选择应用</h3>
  6. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  7. <span aria-hidden="true">&times;</span>
  8. </button>
  9. </div>
  10. <div class="modal-body">
  11. <div class=" row">
  12. <div class="col-lg-12">
  13. <div class="ibox ">
  14. <div class="row">
  15. <div class="col-sm-7 m-b-xs">
  16. </div>
  17. <div class="col-sm-5">
  18. <div class="input-group">
  19. <input placeholder="输入应用名称" type="text" v-model="chooseAppInfo._currentAppName" class="form-control form-control-sm">
  20. <span class="input-group-append">
  21. <button type="button" class="btn btn-sm btn-primary" v-on:click="queryApps()">查询</button>
  22. </span>
  23. </div>
  24. </div>
  25. </div>
  26. <div class="table-responsive" style="margin-top:15px">
  27. <table class="table table-striped">
  28. <thead>
  29. <tr>
  30. <th>应用Id</th>
  31. <th>应用名称</th>
  32. <th>秘钥</th>
  33. <th>白名单</th>
  34. <th>黑名单</th>
  35. <th>备注</th>
  36. <th>操作</th>
  37. </tr>
  38. </thead>
  39. <tbody>
  40. <tr v-for="app in chooseAppInfo.apps">
  41. <td>{{app.appId}}</td>
  42. <td>{{app.name}}</td>
  43. <td>{{app.securityCode}}</td>
  44. <td>{{app.whileListIp}}</td>
  45. <td>{{app.blackListIp}}</td>
  46. <td>{{app.remark}}</td>
  47. <td>
  48. <button class="btn btn-primary btn-xs" v-on:click="chooseApp(app)">选择</button>
  49. </td>
  50. </tr>
  51. </tbody>
  52. </table>
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. </div>