project_progress.blade.php 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. @extends('admin/layout')
  2. @section('content')
  3. <style>
  4. .btn-primary, .btn-info {
  5. background: #009688 !important;
  6. border-color: #009688 !important;
  7. }
  8. </style>
  9. <body class="gray-bg">
  10. <div class="wrapper wrapper-content animated fadeInRight">
  11. <div class="row">
  12. <div class="col-sm-12">
  13. <div class="ibox float-e-margins">
  14. <div class="ibox-content">
  15. <form class="row" id="searchForm" onsubmit="units.search();return false;">
  16. <div class="col-md-4">
  17. <div class="input-group">
  18. <span class="input-group-btn">
  19. <button type="button" class="btn btn-md btn-info" onclick="units.Export()"> 全部导出</button>
  20. </span>
  21. </div>
  22. </div>
  23. <div class="input-group">
  24. <input type="text" placeholder="请输入域名或项目名称" class="input-md form-control"
  25. name="keyword"
  26. id="keyword" style="width: 260px;float: right">
  27. <span class="input-group-btn">
  28. <button type="button" class="btn btn-md btn-primary"
  29. onclick="units.search()"> 搜索</button>
  30. <button type="button" class="btn btn-md" style="margin-left: 10px"
  31. name="btnReset"> 重置</button>
  32. </span>
  33. </div>
  34. </form>
  35. <hr>
  36. <div class="table-responsive">
  37. <table id="table" class="table table-condensed" data-mobile-responsive="true"></table>
  38. </div>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. </body>
  45. @endsection
  46. @section('footer')
  47. <script>
  48. var units = {
  49. search: function () {
  50. tips.selectPage();
  51. },
  52. Export: function () {
  53. window.open('/admin/analyze/index/projectProgressExport');
  54. },
  55. };
  56. var config = {};
  57. config.url = '/admin/analyze/index/projectProgress';
  58. config.pageSize = 300;
  59. config.showColumns = true;
  60. config.columns = [ //字段
  61. {
  62. title: '序号', align: 'center', formatter: function (value, item, index) {
  63. return index + 1;
  64. },
  65. width: '10px'
  66. },
  67. {title: '项目名称', field: 'project', align: 'center'},
  68. {title: '项目经理', field: 'project_manager', align: 'center'},
  69. {title: '项目资料搜集', field: 'is_project_data_collection', align: 'center'},
  70. {title: '完成时间', field: 'project_data_collection_date', align: 'center', width: '240px',sortable: true},
  71. {title: '网站架构', field: 'is_site_architecture', align: 'center', width: '160px'},
  72. {title: '完成时间', field: 'site_architecture_date', align: 'center', width: '160px',sortable: true},
  73. {title: '首页设计', field: 'is_homepage_design', align: 'center', width: '160px'},
  74. {title: '完成时间', field: 'homepage_design_date', align: 'center', width: '160px',sortable: true},
  75. {title: '内页设计', field: 'is_inside_page_design', align: 'center', width: '160px'},
  76. {title: '完成时间', field: 'inside_page_design_date', align: 'center', width: '160px',sortable: true},
  77. {title: '测试站', field: 'is_test_station', align: 'center', width: '160px'},
  78. {title: '完成时间', field: 'test_station_date', align: 'center', width: '160px',sortable: true},
  79. {title: '关键词', field: 'is_key_words', align: 'center', width: '160px'},
  80. {title: '完成时间', field: 'key_words_date', align: 'center', width: '160px',sortable: true},
  81. {title: 'SEO完善', field: 'is_seo_perfect', align: 'center', width: '160px'},
  82. {title: '完成时间', field: 'seo_perfect_date', align: 'center', width: '160px',sortable: true},
  83. {title: '上线', field: 'is_online', align: 'center', width: '160px'},
  84. {title: '完成时间', field: 'online_date', align: 'center', width: '160px',sortable: true},
  85. {title: '整站资料提供', field: 'is_entire_site_information_provision', align: 'center', width: '160px'},
  86. {title: '完成时间', field: 'entire_site_information_provision_date', align: 'center', width: '160px',sortable: true}
  87. ];
  88. tips.bootstrapTable(config);
  89. </script>
  90. @endsection