chooseService.html 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <div id = "chooseServiceModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="chooseServiceModelLabel" 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="chooseServiceModelLabel">选择服务</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="chooseServiceInfo._currentServiceName" 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="queryServices()">查询</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 class="text-center">服务ID</th>
  31. <th class="text-center">服务名称</th>
  32. <th class="text-center">服务编码</th>
  33. <th class="text-center">序列</th>
  34. <th class="text-center">消息队列</th>
  35. <th class="text-center">调用地址</th>
  36. <th class="text-center">调用方式</th>
  37. <th>操作</th>
  38. </tr>
  39. </thead>
  40. <tbody>
  41. <tr v-for="service in chooseServiceInfo.services">
  42. <td class="text-center">{{service.serviceId}}</td>
  43. <td class="text-center">{{service.name}}</td>
  44. <td class="text-center">{{service.serviceCode}}</td>
  45. <td class="text-center">{{service.seq}}</td>
  46. <td class="text-center">{{service.messageQueueName}}</td>
  47. <td class="text-center">{{service.url}}</td>
  48. <td class="text-center">{{service.method}}</td>
  49. <td>
  50. <button class="btn btn-primary btn-xs" v-on:click="chooseService(service)">选择</button>
  51. </td>
  52. </tr>
  53. </tbody>
  54. </table>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. </div>