index.html 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <div class="panel-content">
  2. <div class="panel-title fluid">
  3. <div class="title-main">
  4. <h2>工具</h2>
  5. </div>
  6. </div>
  7. <div class="content-wrap">
  8. <div class="row">
  9. <div class="col-xs-6 mb-30 ">
  10. <div class="c-body">
  11. <h2>清单规则编辑器
  12. <a href="/stdBillsmain" class="btn btn-primary pull-right">进入</a></h2>
  13. </div>
  14. </div>
  15. <div class="col-xs-6 mb-30 ">
  16. <div class="c-body">
  17. <h2>定额编辑器
  18. <a href="/rationRepository/main" class="btn btn-primary pull-right">进入</a></h2>
  19. </div>
  20. </div>
  21. <div class="col-xs-6 mb-30 ">
  22. <div class="c-body">
  23. <h2>报表模板
  24. <a href="/rpt_tpl" class="btn btn-primary pull-right">进入</a></h2>
  25. </div>
  26. </div>
  27. <div class="col-xs-6 mb-30 ">
  28. <div class="c-body">
  29. <h2>工料机库
  30. <a href="/stdGljRepository/main" class="btn btn-primary pull-right">进入</a></h2>
  31. </div>
  32. </div>
  33. <div class="col-xs-6 mb-30 ">
  34. <div class="c-body">
  35. <h2>清除项目残留数据
  36. <a href="javascript:void(0);" id="clearJunkBtn" class="btn btn-primary pull-right">清除</a></h2>
  37. </div>
  38. </div>
  39. </div>
  40. </div>
  41. </div>
  42. <!--弹出 是否清除数据-->
  43. <div class="modal fade" id="clearJunkModal" data-backdrop="static">
  44. <div class="modal-dialog" role="document">
  45. <div class="modal-content">
  46. <div class="modal-header">
  47. <h5 class="modal-title">删除确认</h5>
  48. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  49. <span aria-hidden="true">&times;</span>
  50. </button>
  51. </div>
  52. <div class="modal-body">
  53. <div class="form-group">
  54. <div id="delete_showinfo">
  55. <label>确认要清除数据库中项目残留数据吗?(每周日03:30自动清除)</label>
  56. </div>
  57. </div>
  58. </div>
  59. <div class="modal-footer" style="justify-content: center">
  60. <button type="button" class="btn btn-primary" data-dismiss="modal" id="clearJunkY" >是</button>
  61. <button type="button" class="btn btn-primary" data-dismiss="modal">否</button>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. <script type="text/javascript" src="/public/web/common_ajax.js"></script>
  67. <script type="text/javascript" src="/public/web/PerfectLoad.js"></script>
  68. <script type="text/javascript">
  69. $(document).ready(function () {
  70. $('#clearJunkBtn').click(function () {
  71. $('#clearJunkModal').modal('show');
  72. });
  73. $('#clearJunkY').click(function () {
  74. $.bootstrapLoading.start();
  75. CommonAjax.post('/sysTools/api/clearJunkData', '', function (rstData) {
  76. $.bootstrapLoading.end();
  77. }, function () {
  78. $.bootstrapLoading.end();
  79. })
  80. });
  81. });
  82. </script>