Просмотр исходного кода

项目申报添加部分项目小类的提示

hzh 4 лет назад
Родитель
Сommit
442a505152

+ 2 - 2
src/main/java/platform/modules/company/service/ProjectApplicationService.java

@@ -974,7 +974,7 @@ public class ProjectApplicationService extends BaseService<ProjectApplication> {
      * @param apply
      */
     private FileDown annexThree(ProjectApplication apply) {
-        final String annexName = "苏州高新区工业经济发展专项扶持资金申报表";
+        final String annexName = "苏州高新区工业高质量发展扶持资金申报表";
         String date = DateUtil.getCurrentDateString("yyyy年MM月dd日");
 
 //        String annexTempUrl = "/Users/xikaiwen/Downloads/annex3.docx";
@@ -1052,7 +1052,7 @@ public class ProjectApplicationService extends BaseService<ProjectApplication> {
      */
     private FileDown annexOne(ProjectApplication apply) {
 //        final String annexName = "2019年苏州高新区工业经济发展专项扶持资金申请资料";
-        final String annexName = "2020年苏州高新区工业经济发展专项扶持资金申报材料(封面)";
+        final String annexName = "2021年苏州高新区工业高质量发展扶持资金申报材料(封面)";
 //        String annexTempUrl = "/Users/xikaiwen/Downloads/annex1.docx";
         String annexTempUrl = repositoryPath + "/docs/annex_template/annex1.docx";
         //文件数据库存储路径

+ 1 - 1
src/main/java/platform/modules/government/service/ProjectApplicationSynthesisService.java

@@ -118,7 +118,7 @@ public class ProjectApplicationSynthesisService {
         dataMap.put("name", ShiroUtils.getUserName());
         dataMap.put("date", DateUtil.getCurrentDateString("yyyy-MM-dd"));
 
-        String annexName = paramApplication.getProject_year() + "年苏州高新区工业经济发展专项扶持资金申报项目汇总表.docx";
+        String annexName = paramApplication.getProject_year() + "年苏州高新区工业高质量发展扶持资金申报项目汇总表.docx";
 //        String annexTempUrl = "/Users/xikaiwen/Downloads/annex6.docx";
         String annexTempUrl = repositoryPath + "/docs/annex_template/annex6.docx";
         try {

+ 0 - 1
src/main/java/platform/modules/home/service/HomeRefactorService.java

@@ -346,7 +346,6 @@ public class HomeRefactorService {
     public User getCurrentLoginUser(String token) throws Exception {
 
         User res = null;
-        //String url = "http://180.108.205.61:8080/epoint-smartcity-sso/rest/smartcitysso/getCurrentLoginUser";
         Map header = new HashMap(), param = new HashMap();
         header.put("Content-Type", "application/x-www-form-urlencoded");
         header.put("Authorization", "Bearer " + token);

+ 32 - 1
src/main/resources/templates/admin/company/projectApplication/apply_add.html

@@ -267,7 +267,11 @@
 					</select>
 					</span>
                 </div>
-                <label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span><span class="c-red">*</span>项目小类:</label>
+
+                <label class="form-label col-xs-4 col-sm-2">
+                    <span class="icon-question-sign" id="tips" title="" hidden>?</span>
+                    <span class="c-red">*</span>项目小类:
+                </label>
                 <div class="formControls col-xs-8 col-sm-4">
 					<span class="select-box">
 					<input type="hidden" th:id="project_name" th:name="project_name"/>
@@ -515,6 +519,7 @@
                         $("#project_name").val(projects[0].project_name);
                         //获取材料模板
                         // getTemplateFiles(null ,projects[0].id);
+                        weatherTips()
                     } else {
                         $("#project_id").find("option").remove();
                         $("#project_name").val("");
@@ -533,6 +538,32 @@
     function changeProject(obj) {
         $("#project_name").val($(obj).find("option:selected").attr("project_name"));
         // getTemplateFiles(obj);
+        weatherTips()
+    }
+
+    function weatherTips(){
+        var text = $("#project_id").find("option:selected").text();
+        if(text == "鼓励企业创新发展(1)"){
+            $("#tips").attr("title","获评企国家、省工业企业质量标杆的。");
+            $("#tips").show();
+        }else if(text == "鼓励企业创新发展(2)"){
+            $("#tips").attr("title","获评省自主工业品牌50强的。");
+            $("#tips").show();
+        }else if(text == "鼓励企业创新发展(3)"){
+            $("#tips").attr("title","获得国家级单项冠军示范企业、培育企业、单项冠军产品企业称号。");
+            $("#tips").show();
+        }else if(text == "鼓励企业创新发展(4)"){
+            $("#tips").attr("title","获得国家级专精特新小巨人企业、省专精特新企业(含省专精特新产品企业、科技小巨人企业、隐形冠军企业、隐形小巨人企业)、市专精特新企业称号的。");
+            $("#tips").show();
+        }else if(text == "鼓励企业创新发展(5)"){
+            $("#tips").attr("title","列入省重点推广应用目录的新产品新技术、省重点技术创新导向性计划奖励项目的。");
+            $("#tips").show();
+        }else if(text == "鼓励企业创新发展(6)"){
+            $("#tips").attr("title","获评中国优秀工业设计奖(产品设计)金奖、优秀奖产品,获评省工业设计产品金奖、银奖、铜奖的产品。");
+            $("#tips").show();
+        }else{
+            $("#tips").hide();
+        }
     }
 
     function getTemplateFiles(obj, pid) {

+ 32 - 1
src/main/resources/templates/admin/company/projectApplication/apply_edit.html

@@ -296,7 +296,10 @@
                     </select>
                     </span>
                 </div>
-                <label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span>项目小类:</label>
+                <label class="form-label col-xs-4 col-sm-2">
+                    <span class="icon-question-sign" id="tips" title="" hidden>?</span>
+                    <span class="c-red"></span>项目小类:
+                </label>
                 <div class="formControls col-xs-8 col-sm-4">
                     <!--<input readonly="readonly" type="text" class="input-text" th:id="project_name" th:name="project_name" th:value="${projectApply.project_name}"/>-->
                     <span class="select-box">
@@ -483,6 +486,7 @@
                         $("#project_id").append(options);
                         //获取材料模板
                         // getTemplateFiles(null, projects[0].id);
+                        weatherTips()
                     }
                 } else {
                     errorMessage(result.message);
@@ -498,8 +502,35 @@
         var pName = $.trim($(obj).find("option:selected").text());
         $("#project_name").val(pName);
         // getTemplateFiles(obj);
+        weatherTips()
     }
 
+    function weatherTips(){
+        var text = $("#project_id").find("option:selected").text();
+        if(text == "鼓励企业创新发展(1)"){
+            $("#tips").attr("title","获评企国家、省工业企业质量标杆的。");
+            $("#tips").show();
+        }else if(text == "鼓励企业创新发展(2)"){
+            $("#tips").attr("title","获评省自主工业品牌50强的。");
+            $("#tips").show();
+        }else if(text == "鼓励企业创新发展(3)"){
+            $("#tips").attr("title","获得国家级单项冠军示范企业、培育企业、单项冠军产品企业称号。");
+            $("#tips").show();
+        }else if(text == "鼓励企业创新发展(4)"){
+            $("#tips").attr("title","获得国家级专精特新小巨人企业、省专精特新企业(含省专精特新产品企业、科技小巨人企业、隐形冠军企业、隐形小巨人企业)、市专精特新企业称号的。");
+            $("#tips").show();
+        }else if(text == "鼓励企业创新发展(5)"){
+            $("#tips").attr("title","列入省重点推广应用目录的新产品新技术、省重点技术创新导向性计划奖励项目的。");
+            $("#tips").show();
+        }else if(text == "鼓励企业创新发展(6)"){
+            $("#tips").attr("title","获评中国优秀工业设计奖(产品设计)金奖、优秀奖产品,获评省工业设计产品金奖、银奖、铜奖的产品。");
+            $("#tips").show();
+        }else{
+            $("#tips").hide();
+        }
+    }
+
+
     function getTemplateFiles(obj, pid) {
         var projectId = 0;
         if (pid) {