main.html 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <meta http-equiv="x-ua-compatible" content="ie=edge">
  7. <title>材料信息价类别总表</title>
  8. <link rel="stylesheet" href="/lib/bootstrap/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="/web/maintain/price_info_summary/css/index.css">
  10. <link rel="stylesheet" href="/lib/font-awesome/font-awesome.min.css">
  11. <link rel="stylesheet" href="/lib/spreadjs/sheets/css/gc.spread.sheets.sc.css" type="text/css">
  12. <link rel="stylesheet" href="/lib/jquery-contextmenu/jquery.contextMenu.css" type="text/css">
  13. </head>
  14. <body>
  15. <div class="header">
  16. <nav class="navbar navbar-toggleable-lg navbar-light bg-faded p-0 ">
  17. <span class="header-logo px-2">材料信息价类别总表</span>
  18. <a class="lock" data-locked="true" href="javascript:void(0);" title="解锁"><i
  19. class="fa fa-unlock-alt"></i></a>
  20. <a id="export" class="btn btn-success btn-sm" href="javascript:void(0);" title="导出" style="margin-left: 10px;"><i class="fa fa-sign-out fa-rotate-270"></i>导出</a>
  21. <a id="import" class="btn btn-success btn-sm" href="javascript:void(0);" title="导入" style="margin-left: 10px;"><i class="fa fa-sign-in fa-rotate-270"></i>导入</a>
  22. </nav>
  23. </div>
  24. <div class="search">
  25. <input class="form-control form-control-sm search-input" id="summary-search" type="text" value="" placeholder="输入回车进行搜索">
  26. </div>
  27. <div class="main">
  28. <div class="sheet" id="summary-spread"></div>
  29. </div>
  30. <!--弹出导入数据-->
  31. <div class="modal fade" id="import-modal" data-backdrop="static" style="display: none;" aria-hidden="true">
  32. <div class="modal-dialog" role="document">
  33. <div class="modal-content">
  34. <div class="modal-header">
  35. <h5 class="modal-title">导入数据</h5>
  36. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  37. <span aria-hidden="true">×</span>
  38. </button>
  39. </div>
  40. <div class="modal-body">
  41. <div class="alert alert-warning" role="alert">
  42. 导入操作会覆盖数据,请谨慎操作!!
  43. </div>
  44. <form>
  45. <div class="form-group">
  46. <label>请选择Excel格式文件</label>
  47. <input class="form-control-file" type="file" accept=".xlsx,.xls" name="import_data" />
  48. </div>
  49. </form>
  50. </div>
  51. <div class="modal-footer">
  52. <button type="button" class="btn btn-primary" id="import-confirm">确定导入</button>
  53. <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. <!-- JS. -->
  59. <script src="/lib/jquery/jquery.min.js"></script>
  60. <script src="/lib/jquery-contextmenu/jquery.contextMenu.min.js"></script>
  61. <script src="/lib/jquery-contextmenu/jquery.ui.position.js"></script>
  62. <script src="/lib/tether/tether.min.js"></script>
  63. <script src="/lib/bootstrap/bootstrap.min.js"></script>
  64. <script src="/public/web/PerfectLoad.js"></script>
  65. <script src="/lib/spreadjs/sheets/gc.spread.sheets.all.11.1.2.min.js"></script>
  66. <script>GC.Spread.Sheets.LicenseKey = '<%- LicenseKey %>';</script>
  67. <script src="/public/web/uuid.js"></script>
  68. <script src="/lib/lodash/lodash.js"></script>
  69. <script src="/public/web/scMathUtil.js"></script>
  70. <script src="/public/web/treeDataHelper.js"></script>
  71. <script src="/public/web/common_ajax.js"></script>
  72. <script src="/public/web/lock_util.js"></script>
  73. <script src="/public/web/id_tree.js"></script>
  74. <script src="/public/web/tools_const.js"></script>
  75. <script src="/public/web/tree_sheet/tree_sheet_controller.js"></script>
  76. <script src="/public/web/tree_sheet/tree_sheet_helper.js"></script>
  77. <script src="/public/web/sheet/sheet_common.js"></script>
  78. <script src="/web/maintain/price_info_class/js/summarySheet.js"></script>
  79. <script src="/web/maintain/price_info_class/js/index.js"></script>
  80. </body>
  81. </html>