log.html 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta charset="UTF-8"/>
  5. <title>事务补偿</title>
  6. <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
  7. <link rel="stylesheet" href="./bootstrap/css/bootstrap.min.css"/>
  8. <script src="./jquery/jquery.min.js"></script>
  9. <script src="./bootstrap/js/bootstrap.min.js"></script>
  10. <script src="./jquery/jquery.blockUI.min.js"></script>
  11. <script src="./jquery/jquery.blockUI-css.js"></script>
  12. <script src="./common/jbase64.js"></script>
  13. <script src="./common/common.js"></script>
  14. <script src="./common/http.js"></script>
  15. <link rel="shortcut icon" href="./images/logo.png">
  16. <style>
  17. .container-fluid {
  18. margin-top: 20px;
  19. }
  20. .table-responsive {
  21. margin-top: 30px;
  22. text-align: center;
  23. }
  24. th{
  25. text-align: center;
  26. }
  27. </style>
  28. </head>
  29. <body>
  30. <div class="container-fluid">
  31. <a class="pull-right" href="index.html">返回上一页</a>
  32. <div class="text text-danger">
  33. 说明:</br>
  34. 补偿记录展示的数据是分布事务发起方的切面数据信息。</br>
  35. 记录时间是指发起方出现补偿时记录下的时间,并非是TxManager的记录数据的时间。</br>
  36. </div>
  37. <input type="hidden" id="model"/>
  38. <div class="row">
  39. <div class="col-lg-2 col-md-2">
  40. <div class="table-responsive">
  41. <table class="table table-bordered table-striped">
  42. <colgroup>
  43. <col class="col-xs-8"/>
  44. <col class="col-xs-4"/>
  45. </colgroup>
  46. <thead>
  47. <tr>
  48. <th>模块名称</th>
  49. <th>条数</th>
  50. </tr>
  51. </thead>
  52. <tbody id="list">
  53. <tr>
  54. <td><span></span></td>
  55. <td><span></span></td>
  56. </tr>
  57. </tbody>
  58. </table>
  59. </div>
  60. </div>
  61. <div class="col-lg-1 col-md-1" style="margin: 0;padding: 0">
  62. <div class="table-responsive">
  63. <table class="table table-bordered table-striped" >
  64. <colgroup>
  65. <col class="col-xs-12"/>
  66. </colgroup>
  67. <thead>
  68. <tr>
  69. <th>记录日期</th>
  70. </tr>
  71. </thead>
  72. <tbody id="logs">
  73. <tr>
  74. <td><span></span></td>
  75. </tr>
  76. </tbody>
  77. </table>
  78. </div>
  79. </div>
  80. <div class="col-lg-9 col-md-9">
  81. <div class="table-responsive">
  82. <table class="table table-bordered table-striped">
  83. <colgroup>
  84. <col class="col-xs-2"/>
  85. <col class="col-xs-6"/>
  86. <col class="col-xs-1"/>
  87. <col class="col-xs-3"/>
  88. </colgroup>
  89. <thead>
  90. <tr>
  91. <th>记录时间</th>
  92. <th>执行方法</th>
  93. <th>执行时间</th>
  94. <th>操作</th>
  95. </tr>
  96. </thead>
  97. <tbody id="compensate">
  98. <tr>
  99. <td><span></span></td>
  100. <td><span></span></td>
  101. <td><span></span></td>
  102. <td><span></span></td>
  103. </tr>
  104. </tbody>
  105. </table>
  106. </div>
  107. </div>
  108. </div>
  109. <!-- Modal -->
  110. <div class="modal fade " style="width: 95%;margin: 0 2% 0 2%" id="show-modal" tabindex="-1" role="dialog"
  111. aria-labelledby="myModalLabel">
  112. <div class="modal-dialog" role="document" style="width: 100%">
  113. <div class="modal-content">
  114. <div class="modal-header">
  115. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
  116. aria-hidden="true">&times;</span></button>
  117. <h4 class="modal-title" id="myModalLabel">详细信息</h4>
  118. </div>
  119. <div class="modal-body">
  120. <div class="text text-danger" style="padding: 0 0 5px 12px">
  121. 补偿详细说明:</br>
  122. 模块唯一标示:是由模块的ip+port然后md5加密得来,用于事务协调器的模块唯一识别码</br>
  123. 事务ID:事务组信息的唯一标示</br>
  124. 模块名称列表说明,该记录的数据未必是模块的完整调用曲线数据,没有事务的业务模块是不记录数据的。</br>
  125. 例如:参与模块 a b c d ,若a模块是发起方,执行顺序是a->b->c->d,若b事务是只读的,c没有事务,仅有d模块有事务。那么实际记录的模块数据仅会记录d模块的数据。
  126. </div>
  127. <table class="table table-bordered table-striped">
  128. <colgroup>
  129. <col class="col-xs-2"/>
  130. <col class="col-xs-4"/>
  131. <col class="col-xs-2"/>
  132. <col class="col-xs-4"/>
  133. </colgroup>
  134. <thead>
  135. <tr>
  136. <th>属性名称</th>
  137. <th>属性值</th>
  138. <th>属性名称</th>
  139. <th>属性值</th>
  140. </tr>
  141. </thead>
  142. <tbody id="body">
  143. </tbody>
  144. </table>
  145. </div>
  146. <div class="modal-footer">
  147. <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
  148. </div>
  149. </div>
  150. </div>
  151. </div>
  152. <!-- Modal -->
  153. <div class="modal fade " id="show-alert" tabindex="-1" role="dialog"
  154. aria-labelledby="myModalLabel">
  155. <div class="modal-dialog" role="document">
  156. <div class="modal-content">
  157. <div class="modal-header">
  158. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
  159. aria-hidden="true">&times;</span></button>
  160. <h4 class="modal-title">提醒</h4>
  161. </div>
  162. <div class="modal-body" id="content">
  163. 确认要执行吗?
  164. </div>
  165. <div class="modal-footer">
  166. <button type="button" class="btn btn-success" data-event="button" data-dismiss="modal">确认</button>
  167. <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
  168. </div>
  169. </div>
  170. </div>
  171. </div>
  172. <script src="./log.js"></script>
  173. </div>
  174. </body>
  175. </html>