index.html 4.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <style>
  2. /* 表格铺满内容区,表头与单元格强制居中 */
  3. .supplierservicescore-page .bootstrap-table > .fixed-table-container,
  4. .supplierservicescore-page .bootstrap-table > .fixed-table-pagination {
  5. max-width: none;
  6. width: 100%;
  7. }
  8. .supplierservicescore-page .bootstrap-table .fixed-table-container .table,
  9. .supplierservicescore-page .bootstrap-table .fixed-table-body .table,
  10. .supplierservicescore-page .bootstrap-table .fixed-table-header .table {
  11. width: 100% !important;
  12. max-width: none;
  13. table-layout: fixed;
  14. }
  15. .supplierservicescore-page .bootstrap-table .table > thead > tr > th,
  16. .supplierservicescore-page .bootstrap-table .table > tbody > tr > td,
  17. .supplierservicescore-page .bootstrap-table .fixed-table-header .table > thead > tr > th,
  18. .supplierservicescore-page .bootstrap-table .fixed-table-body .table > tbody > tr > td,
  19. .supplierservicescore-page .bootstrap-table .fixed-table-container thead th,
  20. .supplierservicescore-page .bootstrap-table .fixed-table-container tbody td {
  21. white-space: nowrap;
  22. overflow: hidden;
  23. text-overflow: ellipsis;
  24. vertical-align: middle !important;
  25. text-align: center !important;
  26. }
  27. .supplierservicescore-page .bootstrap-table .fixed-table-container thead th .th-inner,
  28. .supplierservicescore-page .bootstrap-table .fixed-table-container thead th .th-inner.sortable,
  29. .supplierservicescore-page .bootstrap-table .fixed-table-container thead th .sortable,
  30. .supplierservicescore-page .bootstrap-table .table > thead > tr > th .th-inner,
  31. .supplierservicescore-page .bootstrap-table .fixed-table-header .table > thead > tr > th .th-inner {
  32. display: block !important;
  33. width: 100% !important;
  34. box-sizing: border-box !important;
  35. text-align: center !important;
  36. padding-left: 8px !important;
  37. padding-right: 8px !important;
  38. margin: 0 auto !important;
  39. float: none !important;
  40. }
  41. .supplierservicescore-page .bootstrap-table .table td .ssc-final-score-input,
  42. .supplierservicescore-page .bootstrap-table .table td .ssc-score-grade-select {
  43. overflow: visible;
  44. }
  45. /* 分数输入、评分等级下拉在单元格内水平居中 */
  46. .supplierservicescore-page .bootstrap-table .table td .ssc-quality-score-input,
  47. .supplierservicescore-page .bootstrap-table .table td .ssc-price-score-input,
  48. .supplierservicescore-page .bootstrap-table .table td .ssc-delivery-score-input,
  49. .supplierservicescore-page .bootstrap-table .table td .ssc-value-added-score-input,
  50. .supplierservicescore-page .bootstrap-table .table td .ssc-final-score-input,
  51. .supplierservicescore-page .bootstrap-table .table td .ssc-performance-score-input {
  52. display: block !important;
  53. width: 96px !important;
  54. max-width: 96px;
  55. margin: 0 auto !important;
  56. float: none !important;
  57. text-align: center;
  58. height: 28px;
  59. padding: 2px 6px;
  60. }
  61. .supplierservicescore-page .bootstrap-table .table td .ssc-score-grade-select {
  62. display: block !important;
  63. width: 96px !important;
  64. max-width: 96px;
  65. margin: 0 auto !important;
  66. float: none !important;
  67. height: 28px;
  68. padding: 2px 6px;
  69. text-align: center;
  70. text-align-last: center;
  71. -moz-text-align-last: center;
  72. }
  73. .supplierservicescore-page .bootstrap-table .table td .ssc-score-grade-select option {
  74. text-align: center;
  75. }
  76. </style>
  77. <div class="panel panel-default panel-intro supplierservicescore-page">
  78. {:build_heading()}
  79. <div class="panel-body">
  80. <div class="widget-body no-padding">
  81. <div id="toolbar" class="toolbar">
  82. <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i class="fa fa-refresh"></i> 刷新</a>
  83. <span style="display:inline-block;margin-left:10px;vertical-align:middle;">
  84. <a href="javascript:;" class="btn btn-success btn-export-review" id="btn-export-review" title="按月份导出供应商评审表">
  85. <i class="fa fa-download"></i> 导出供应商评审表
  86. </a>
  87. <a href="javascript:;" class="btn btn-info" id="btn-save-final-score" title="保存当前页最终得分">
  88. <i class="fa fa-save"></i> 保存
  89. </a>
  90. <label style="margin:0 6px 0 10px;font-weight:normal;" for="export-review-ym">查询月份</label>
  91. <input type="month" id="export-review-ym" class="form-control input-sm" style="display:inline-block;width:150px;height:30px;vertical-align:middle;" title="选择月份后自动查询该月评分"/>
  92. </span>
  93. </div>
  94. <table id="table" class="table table-striped table-bordered table-hover table-nowrap text-center"></table>
  95. </div>
  96. </div>
  97. </div>