policyRecommend.html 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <!DOCTYPE html>
  2. <html lang="en"
  3. xmlns:th="http://www.thymeleaf.org"
  4. xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
  5. layout:decorate="~{home/common/common}">
  6. <head>
  7. <meta charset="UTF-8">
  8. <title th:text="${navigation_name}"></title>
  9. </head>
  10. <body layout:fragment="content">
  11. <!-- 头部导航 -->
  12. <div th:replace="~{home/common/header :: header}"></div>
  13. <!--nav-->
  14. <div class="center_nav">
  15. <div th:replace="~{home/common/header :: nav}"></div>
  16. </div>
  17. <div class="policy-bg">
  18. <div class="policy-content">
  19. <!--面包屑-->
  20. <div class="row">
  21. <div class="col-sm-6 col-md-6 col-lg-8 hidden-xs" style="padding-left: 0;">
  22. <ol class="breadcrumb" style="padding-top: 15px;border-bottom: 0px solid #fff;margin-bottom: 0;">
  23. <li>
  24. <a th:href="@{/home}">首页</a>
  25. </li>
  26. <li class="active"><a th:href="@{/home/informList/3}"><cite>[[${navigation_name}]]</cite></a></li>
  27. <li>推荐项目申报</li>
  28. </ol>
  29. </div>
  30. <!--搜索框-->
  31. <div class="col-sm-6 col-md-6 col-lg-4 col-xs-12">
  32. <div style="display: inline-block;float: right;padding-top: 10px;width: 100%;">
  33. <span style="display: inline-block;width:100%">
  34. <input type="text" id="keyWord" name="keyword" placeholder="请输入政策搜索关键词" class="layui-input" style="width: 100%;display: inline-block">
  35. </span>
  36. <button id="keywordSearch"style="display: inline-block;float: right;background:none;border:none;">
  37. <i class=" iconfont icon-sousuo"></i>
  38. </button>
  39. </div>
  40. </div>
  41. </div>
  42. <!--内容-->
  43. <div>
  44. <input type="hidden" id="satisfaction_score" th:name="satisfaction_score" th:value="${diagnosticReport.satisfaction_score}"/>
  45. <input type="hidden" id="report_feedback" th:name="feedback" th:value="${diagnosticReport.feedback}"/>
  46. <script th:src="@{/js/government/policy/leftBase.js}"></script>
  47. <form id="scoreForm">
  48. <input type="hidden" id="cid" th:name="company_id" th:value="${cid}"/>
  49. <input type="hidden" id="diagnostic_score" th:name="diagnostic_score" th:value="${cj}"/>
  50. <input type="hidden" id="startVal" th:name="satisfaction_score"/>
  51. <input type="hidden" id="id" th:name="id" th:value="${diagnosticReport.id}"/>
  52. </form>
  53. <div class="project-list">
  54. <div class="project-list-title">根据您当前的诊断结果,系统推荐您申报如下项目:</div>
  55. <div>
  56. <div class="project-list-item" th:each="item,iterStat: ${rpList}">
  57. <div>
  58. <span class="fsx">分数线:[[${item.minjf}]]</span>
  59. <span class="project-name">[[${item.title}]]</span>
  60. </div>
  61. <div class="hdpf">
  62. <div class="hdpf-active">诊断得分:[[${item.sumzdcj}]]分</div>
  63. </div>
  64. <div class="clearfix">
  65. <div class="project-img"><img th:src="${item.icon}" alt=""></div>
  66. <div class="project-item-text">
  67. <div>
  68. [[${item.msg}]]
  69. </div>
  70. <p class="project-view-more"><a th:href="@{'/policy/toProjectDetail/'+${cid}+'-'+${item.bno}}" class="ft-color-blue">了解详情>></a></p>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. <!--页底-->
  80. <div th:replace="~{home/common/footer :: footer}"></div>
  81. <script th:inline="javascript">
  82. $(function(){
  83. //头部导航栏
  84. $("li[role='presentation']").removeClass();
  85. var id = [[${navigation_id}]];
  86. $("#" + id).parent().attr("class", "active");
  87. var pagePath = $("meta[name='_ctx']").attr("content");
  88. pagePath = pagePath.substring(0, pagePath.length - 1);
  89. var type = "", criteria = "0", isinvalid = "0";
  90. layui.use('element', function () {
  91. var element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块
  92. });
  93. // 搜索
  94. $("#keywordSearch").on("click",function () {
  95. var keywordVal = encodeURI($("#keyWord").val());
  96. window.location.href = pagePath +"/home/policySearchList?lkey="+keywordVal;
  97. });
  98. console.log([[${rpList}]]);
  99. })
  100. </script>
  101. </body>
  102. </html>