Эх сурвалжийг харах

放开政策诊断报告菜单

ZHIHAO HU 5 жил өмнө
parent
commit
ce25506594

+ 2 - 2
src/main/resources/templates/home/common/common.html

@@ -122,7 +122,7 @@
         }
 
         function toIndustrial() {
-            window.open(pagePath.substring(0, pagePath.lastIndexOf("/")) + '/industry/home/#/industrialReserve');
+            window.open(pagePath.substring(0, pagePath.lastIndexOf("/")).replace("/snd-escloud", "") + '/industry/home/#/industrialReserve');
         }
 
         function checkLogin1(e) {
@@ -149,7 +149,7 @@
                                 }
                             } else if (e == 'gycf') {
                                 // window.location.href = pagePath.substring(0,pagePath.lastIndexOf("/")) + '/industry/home';
-                                window.open(pagePath.substring(0, pagePath.lastIndexOf("/")) + '/industry/home/#/home');
+                                window.open(pagePath.substring(0, pagePath.lastIndexOf("/")).replace("/snd-escloud", "") + '/industry/home/#/home');
                                 $.ajax({
                                     url: pagePath + "/token/create",
                                     type: "get",

+ 1 - 1
src/main/resources/templates/home/common/header.html

@@ -77,7 +77,7 @@
 						<a href="/serviceleague/home/policy" data-title="政策雷达" target="_blank">政策雷达</a>
 					</li>
 					<li role="presentation" >
-						<a th:href="@{/home/informList/69}" data-title="申报服务">申报服务</a>
+						<a th:href="@{/index/#/projectList}" data-title="申报服务">申报服务</a>
 					</li>
 					<li role="presentation" >
 						<a th:href="@{/index/#/activityHome}" data-title="专题活动">专题活动</a>

+ 2 - 1
src/main/resources/templates/home/html/policy/policyExamination.html

@@ -80,7 +80,8 @@
                         <input type="hidden" id="id" th:name="id" th:value="${diagnosticReport.id}"/>
                         <p style="margin-bottom: 20px;">诊断评分:<span id="cj" name="diagnostic_score" class="ft-color-red">0</span>分</p><!--(诊断后显示)-->
                         <a onclick="checkLogin()" class="btn btn-warning radius btn-bg">我要诊断</a><!--(诊断后不显示)-->
-                        <a class="btn btn-default radius btn-bg" th:href="@{/home/informList/3}">以后再说</a><!--(诊断后不显示)-->
+                        <!--<a class="btn btn-default radius btn-bg" th:href="@{/home/informList/3}">以后再说</a>--><!--(诊断后不显示)-->
+                        <a class="btn btn-default radius btn-bg" href="/serviceleague/home/policy">以后再说</a>
                     </div>
                     <div class="fl-pa" style="width: 800px; margin: 0 auto; display: none;">
 

+ 8 - 6
src/main/resources/templates/home/html/policy/policyImprove.html

@@ -33,9 +33,10 @@
             <div class="col-sm-6 col-md-6 col-lg-4 col-xs-12">
                 <div style="display: inline-block;float: right;padding-top: 10px;width: 100%;">
 					<span style="display: inline-block;width:100%">
-					    <input type="text" id="keyWord" name="keyword" placeholder="请输入政策搜索关键词" class="layui-input" style="width: 100%;display: inline-block">
+					    <input type="text" id="keyWord" name="keyword" placeholder="请输入政策搜索关键词" class="layui-input"
+                               style="width: 100%;display: inline-block">
 				    </span>
-                    <button id="keywordSearch"style="display: inline-block;float: right;background:none;border:none;">
+                    <button id="keywordSearch" style="display: inline-block;float: right;background:none;border:none;">
                         <i class=" iconfont icon-sousuo"></i>
                     </button>
                 </div>
@@ -55,7 +56,8 @@
             </div>
             <div style="text-align: center; margin-top: 40px;">
                 <a th:href="@{'/policy/toPerfectInformation'}" class="btn btn-primary radius">现在就输入完整</a>
-                <a th:href="@{/home/informList/3}" class="btn btn-default radius">以后再说</a>
+                <!--<a th:href="@{/home/informList/3}" class="btn btn-default radius">以后再说</a>-->
+                <a href="/serviceleague/home/policy" class="btn btn-default radius">以后再说</a>
             </div>
         </div>
     </div>
@@ -64,7 +66,7 @@
 <!--页底-->
 <div th:replace="~{home/common/footer :: footer}"></div>
 <script>
-    $(function(){
+    $(function () {
         //头部导航栏
         $("li[role='presentation']").removeClass();
         var id = [[${navigation_id}]];
@@ -77,9 +79,9 @@
         });
 
         // 搜索
-        $("#keywordSearch").on("click",function () {
+        $("#keywordSearch").on("click", function () {
             var keywordVal = encodeURI($("#keyWord").val());
-            window.location.href = pagePath +"/home/policySearchList?lkey="+keywordVal;
+            window.location.href = pagePath + "/home/policySearchList?lkey=" + keywordVal;
         });
     })
 </script>