user5 преди 4 години
родител
ревизия
2773fd11a4
променени са 100 файла, в които са добавени 150 реда и са изтрити 135 реда
  1. 17 8
      src/main/java/com/jeeplus/common/bos/BosController.java
  2. 8 2
      src/main/java/com/jeeplus/modules/ruralprojectrecords/service/SubProjectInfoService.java
  3. 2 2
      src/main/resources/jeeplus.properties
  4. 1 1
      src/main/webapp/webpage/modules/caseinfo/caseInfoAudit.jsp
  5. 1 1
      src/main/webapp/webpage/modules/caseinfo/caseInfoForm.jsp
  6. 1 1
      src/main/webapp/webpage/modules/caseinfo/caseInfoForms.jsp
  7. 1 1
      src/main/webapp/webpage/modules/caseinfo/caseInfoView.jsp
  8. 1 1
      src/main/webapp/webpage/modules/leaveapply/leaveApplyAudit.jsp
  9. 1 1
      src/main/webapp/webpage/modules/leaveapply/leaveApplyBackModifyApply.jsp
  10. 1 1
      src/main/webapp/webpage/modules/leaveapply/leaveApplyExtendForm.jsp
  11. 1 1
      src/main/webapp/webpage/modules/leaveapply/leaveApplyExtendModifyApply.jsp
  12. 1 1
      src/main/webapp/webpage/modules/leaveapply/leaveApplyForm.jsp
  13. 1 1
      src/main/webapp/webpage/modules/leaveapply/leaveApplyModifyApply.jsp
  14. 1 1
      src/main/webapp/webpage/modules/leaveapply/leaveApplyView.jsp
  15. 1 1
      src/main/webapp/webpage/modules/oa/oaNotifyAdminForm.jsp
  16. 1 1
      src/main/webapp/webpage/modules/oa/oaNotifyAudit.jsp
  17. 1 1
      src/main/webapp/webpage/modules/oa/oaNotifyForm.jsp
  18. 1 1
      src/main/webapp/webpage/modules/oa/oaNotifyModifyApply.jsp
  19. 1 1
      src/main/webapp/webpage/modules/oaall/oaAllForm.jsp
  20. 1 1
      src/main/webapp/webpage/modules/oabuy/oaBuyForm.jsp
  21. 1 1
      src/main/webapp/webpage/modules/officehonor/officehonorForm.jsp
  22. 1 1
      src/main/webapp/webpage/modules/officehonor/officehonorView.jsp
  23. 1 1
      src/main/webapp/webpage/modules/officeintroduce/officeintroduceForm.jsp
  24. 1 1
      src/main/webapp/webpage/modules/officeintroduce/officeintroduceView.jsp
  25. 1 1
      src/main/webapp/webpage/modules/officelicense/officeLicenseForm.jsp
  26. 1 1
      src/main/webapp/webpage/modules/officequalify/officequalifyForm.jsp
  27. 1 1
      src/main/webapp/webpage/modules/officequalify/officequalifyView.jsp
  28. 1 1
      src/main/webapp/webpage/modules/processProjectPlan/plan/processProjectPlanForm.jsp
  29. 1 1
      src/main/webapp/webpage/modules/processProjectPlan/plan/processProjectPlanView.jsp
  30. 1 1
      src/main/webapp/webpage/modules/processProjectReportRecord/projectReportRecordModifyApply.jsp
  31. 1 1
      src/main/webapp/webpage/modules/project/type/template/projectResultsFileTemplateForm.jsp
  32. 1 1
      src/main/webapp/webpage/modules/projectAccessory/workAttachmentForm.jsp
  33. 1 1
      src/main/webapp/webpage/modules/projectAccessory/workAttachmentView.jsp
  34. 1 1
      src/main/webapp/webpage/modules/projectConstruction/projectConstructionForm.jsp
  35. 1 1
      src/main/webapp/webpage/modules/projectcontentinfo/basedDataForm.jsp
  36. 1 1
      src/main/webapp/webpage/modules/projectcontentinfo/projectReportRecordForm.jsp
  37. 1 1
      src/main/webapp/webpage/modules/projectcontentinfo/projectReportRecordModifyApply.jsp
  38. 1 1
      src/main/webapp/webpage/modules/projectcontentinfo/reportChange.jsp
  39. 1 1
      src/main/webapp/webpage/modules/projectcontentinfo/reportChangeModifyApply.jsp
  40. 1 1
      src/main/webapp/webpage/modules/projectcontentinfo/reportForm.jsp
  41. 1 1
      src/main/webapp/webpage/modules/projectcontentinfo/reportModifyApply.jsp
  42. 1 1
      src/main/webapp/webpage/modules/projectcontentinfo/workContentForm.jsp
  43. 1 1
      src/main/webapp/webpage/modules/projectcontentinfo/workContentView.jsp
  44. 1 1
      src/main/webapp/webpage/modules/projectcontroltable/projectControlTableForm.jsp
  45. 2 2
      src/main/webapp/webpage/modules/projectrecord/armorForMaterials/armorForMaterialsForm.jsp
  46. 1 1
      src/main/webapp/webpage/modules/projectrecord/armorForMaterials/armorForMaterialsView.jsp
  47. 2 2
      src/main/webapp/webpage/modules/projectrecord/check/reportForm.jsp
  48. 2 2
      src/main/webapp/webpage/modules/projectrecord/claim/projectClaimForm.jsp
  49. 1 1
      src/main/webapp/webpage/modules/projectrecord/claim/projectClaimView.jsp
  50. 2 2
      src/main/webapp/webpage/modules/projectrecord/concealProject/workContentForm.jsp
  51. 1 1
      src/main/webapp/webpage/modules/projectrecord/concealProject/workContentView.jsp
  52. 1 1
      src/main/webapp/webpage/modules/projectrecord/contractMaterial/workContentForm.jsp
  53. 1 1
      src/main/webapp/webpage/modules/projectrecord/contractMaterial/workContentView.jsp
  54. 2 2
      src/main/webapp/webpage/modules/projectrecord/contractMaterial/workMaterialForm.jsp
  55. 2 2
      src/main/webapp/webpage/modules/projectrecord/design/projectDesignForm.jsp
  56. 1 1
      src/main/webapp/webpage/modules/projectrecord/design/projectDesignView.jsp
  57. 2 2
      src/main/webapp/webpage/modules/projectrecord/distributionSettlement/distributionSettlementForm.jsp
  58. 1 1
      src/main/webapp/webpage/modules/projectrecord/distributionSettlement/distributionSettlementView.jsp
  59. 1 1
      src/main/webapp/webpage/modules/projectrecord/ftlTemplate/ftlTemplateForm.jsp
  60. 1 1
      src/main/webapp/webpage/modules/projectrecord/implementStage/projectDesignChangeForm.jsp
  61. 2 2
      src/main/webapp/webpage/modules/projectrecord/implementStage/projectDesignForm.jsp
  62. 2 2
      src/main/webapp/webpage/modules/projectrecord/implementStage/projectInterimPaymentForm.jsp
  63. 1 1
      src/main/webapp/webpage/modules/projectrecord/implementStage/projectInterimPaymentFormView.jsp
  64. 2 2
      src/main/webapp/webpage/modules/projectrecord/implementStage/projectVisaForm.jsp
  65. 3 3
      src/main/webapp/webpage/modules/projectrecord/monthly/monthlyContentForm.jsp
  66. 3 3
      src/main/webapp/webpage/modules/projectrecord/monthly/monthlyContentView.jsp
  67. 1 1
      src/main/webapp/webpage/modules/projectrecord/plan/projectPlanForm.jsp
  68. 1 1
      src/main/webapp/webpage/modules/projectrecord/plan/projectPlanView.jsp
  69. 1 1
      src/main/webapp/webpage/modules/projectrecord/projectRecordsAlterForm.jsp
  70. 1 1
      src/main/webapp/webpage/modules/projectrecord/projectRecordsAlterModify.jsp
  71. 1 1
      src/main/webapp/webpage/modules/projectrecord/projectRecordsAudit.jsp
  72. 1 1
      src/main/webapp/webpage/modules/projectrecord/projectRecordsForm.jsp
  73. 1 1
      src/main/webapp/webpage/modules/projectrecord/projectRecordsModify.jsp
  74. 1 1
      src/main/webapp/webpage/modules/projectrecord/summarizing/workContentView.jsp
  75. 2 2
      src/main/webapp/webpage/modules/projectrecord/visa/projectVisaForm.jsp
  76. 1 1
      src/main/webapp/webpage/modules/projectrecord/visa/projectVisaView.jsp
  77. 1 1
      src/main/webapp/webpage/modules/projectrecord/workContentFromAndView/projectEarlyForm.jsp
  78. 1 1
      src/main/webapp/webpage/modules/projectrecord/workContentFromAndView/projectReportRecordForm.jsp
  79. 2 2
      src/main/webapp/webpage/modules/projectrecord/workContentFromAndView/reportForm.jsp
  80. 2 2
      src/main/webapp/webpage/modules/projectrecord/workContentFromAndView/workContentForm.jsp
  81. 1 1
      src/main/webapp/webpage/modules/projectrecord/workContentFromAndView/workContentView.jsp
  82. 2 2
      src/main/webapp/webpage/modules/projectrecord/workContentFromAndView/workFollowAudit.jsp
  83. 2 2
      src/main/webapp/webpage/modules/projectrecord/workContentFromAndView/workFollowForm.jsp
  84. 2 2
      src/main/webapp/webpage/modules/projectrecord/workContentFromAndView/workFollowModify.jsp
  85. 2 2
      src/main/webapp/webpage/modules/projectrecord/workContentFromAndView/workFollowView.jsp
  86. 1 1
      src/main/webapp/webpage/modules/ruralprojectrecords/cost/projectReportRecord/projectReportRecordForm.jsp
  87. 1 1
      src/main/webapp/webpage/modules/ruralprojectrecords/cost/projectReportRecord/projectReportRecordModify.jsp
  88. 3 3
      src/main/webapp/webpage/modules/ruralprojectrecords/cost/projectcontentinfo/adminReportModifyForm.jsp
  89. 1 1
      src/main/webapp/webpage/modules/ruralprojectrecords/cost/projectcontentinfo/projectRecordsMessageAudit.jsp
  90. 1 1
      src/main/webapp/webpage/modules/ruralprojectrecords/cost/projectcontentinfo/projectRecordsMessageModify.jsp
  91. 3 3
      src/main/webapp/webpage/modules/ruralprojectrecords/cost/projectcontentinfo/reportForm.jsp
  92. 3 3
      src/main/webapp/webpage/modules/ruralprojectrecords/cost/projectcontentinfo/reportModify.jsp
  93. 1 1
      src/main/webapp/webpage/modules/ruralprojectrecords/cost/ruralCostProjectRecordsAdminModify.jsp
  94. 1 1
      src/main/webapp/webpage/modules/ruralprojectrecords/cost/ruralCostProjectRecordsForm.jsp
  95. 1 1
      src/main/webapp/webpage/modules/ruralprojectrecords/cost/ruralCostProjectRecordsModify.jsp
  96. 1 1
      src/main/webapp/webpage/modules/ruralprojectrecords/down/projectReportRecordDownForm.jsp
  97. 1 1
      src/main/webapp/webpage/modules/ruralprojectrecords/down/projectReportRecordDownModify.jsp
  98. 1 1
      src/main/webapp/webpage/modules/ruralprojectrecords/down/projectReportRecordDownModifyApply.jsp
  99. 1 1
      src/main/webapp/webpage/modules/ruralprojectrecords/projectReportRecord/projectReportRecordForm.jsp
  100. 0 0
      src/main/webapp/webpage/modules/ruralprojectrecords/projectReportRecord/projectReportRecordModify.jsp

+ 17 - 8
src/main/java/com/jeeplus/common/bos/BosController.java

@@ -19,15 +19,18 @@ import java.util.Map;
 @RequestMapping(value = "${adminPath}/bos/")
 public class BosController {
     private final static String uploadMode = Global.getConfig("remoteServer.uploadMode");
+    private final static String directory = Global.getConfig("remoteServer.directory");
     @RequestMapping("upload")
     @ResponseBody
     public Map upload(HttpServletRequest request, MultipartFile file){
         Map map = new HashMap();
-       // 文件存储方式(0:本地服务器存储。1:云端存储)
+        String storeAs = request.getParameter("storeAs");
+        // 文件存储方式(0:本地服务器存储。1:云端存储)
         if("1".equals(uploadMode)){
-            String storeAs = request.getParameter("storeAs");
             try {
-                String path = "/"+storeAs;
+                //MultipartFile转File
+                File srcFile = transformMultipartFile(file);
+                String path = directory+"/"+storeAs+datePath()+"/"+srcFile.getName();
                 BOSClientUtil bosClientUtil = new BOSClientUtil();
                 InputStream inputStream = file.getInputStream();
                 String upload = bosClientUtil.upload(path, inputStream);
@@ -44,11 +47,7 @@ public class BosController {
                 //MultipartFile转File
                 File srcFile = transformMultipartFile(file);
                 SftpClientUtil fileUploadUtil = new SftpClientUtil();
-                Calendar date = Calendar.getInstance();
-                String year = String.valueOf(date.get(Calendar.YEAR));
-                String month = String.valueOf(date.get(Calendar.MONTH)+1);
-                String day = String.valueOf(date.get(Calendar.DAY_OF_MONTH));
-                String uploadPath = "/"+year+"/"+month+"/"+day;
+                String uploadPath = "/" + storeAs + datePath();
                 String uploadFile = fileUploadUtil.uploadFile(uploadPath, srcFile, srcFile.getName());
                 map.put("msg","上传成功");
                 map.put("code","1");
@@ -215,4 +214,14 @@ public class BosController {
         return srcFile;
     }
 
+    public static String datePath(){
+
+        Calendar date = Calendar.getInstance();
+        String year = String.valueOf(date.get(Calendar.YEAR));
+        String month = String.valueOf(date.get(Calendar.MONTH)+1);
+        String day = String.valueOf(date.get(Calendar.DAY_OF_MONTH));
+        String path = "/"+year+"/"+month+"/"+day;
+        return path;
+    }
+
 }

+ 8 - 2
src/main/java/com/jeeplus/modules/ruralprojectrecords/service/SubProjectInfoService.java

@@ -420,10 +420,16 @@ public class SubProjectInfoService extends CrudService<SubProjectInfoDao, SubPro
     /**
      * 附件上传
      * @param file
-     * @return
+     * @returngetSessionTimeout
      */
     public static String uploadUrl(MultipartFile file){
-        String path = "/"+"newxgccpm-test/attachment-file/basedData/" + new Date().getTime() + "/" + file.getName();
+        String path = "";
+        if(System.getProperty("os.name").toLowerCase().contains("win")){
+            path = Global.getConfig("remoteServer.winDirectory");
+        }else{
+            path = Global.getConfig("remoteServer.directory");
+        }
+        path = path+ "/"+"subProject" + new Date().getTime() + "/" + file.getName();
         BOSClientUtil bosClientUtil = new BOSClientUtil();
         InputStream inputStream = null;
         try {

+ 2 - 2
src/main/resources/jeeplus.properties

@@ -269,9 +269,9 @@ remoteServer.username =root
 #\u5BC6\u7801
 remoteServer.password =asd1234567@
 #linux\u76EE\u5F55
-remoteServer.directory =/simple
+remoteServer.directory =/attachment-file
 #windows\u76EE\u5F55
-remoteServer.winDirectory =d:/simple
+remoteServer.winDirectory =d:/attachment-file
 
 
 #\u6587\u4EF6\u5B58\u50A8\u65B9\u5F0F\uFF080\uFF1A\u672C\u5730\u670D\u52A1\u5668\u5B58\u50A8\u30021\uFF1A\u4E91\u7AEF\u5B58\u50A8\uFF09

+ 1 - 1
src/main/webapp/webpage/modules/caseinfo/caseInfoAudit.jsp

@@ -48,7 +48,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/caseInfo/"+timestamp+"/"+file['name'];
+            var storeAs = "caseInfo";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/caseinfo/caseInfoForm.jsp

@@ -160,7 +160,7 @@
             //console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/caseInfo/"+timestamp+"/"+file['name'];
+            var storeAs = "caseInfo";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/caseinfo/caseInfoForms.jsp

@@ -160,7 +160,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/caseInfo/"+timestamp+"/"+file['name'];
+			var storeAs = "caseInfo";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/caseinfo/caseInfoView.jsp

@@ -79,7 +79,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/caseInfo/"+timestamp+"/"+file['name'];
+            var storeAs = "caseInfo";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/leaveapply/leaveApplyAudit.jsp

@@ -66,7 +66,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/leaveApply/"+timestamp+"/"+file['name'];
+            var storeAs = "leaveApply";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/leaveapply/leaveApplyBackModifyApply.jsp

@@ -89,7 +89,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/leaveApply/"+timestamp+"/"+file['name'];
+            var storeAs = "leaveApply";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/leaveapply/leaveApplyExtendForm.jsp

@@ -276,7 +276,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/leaveApply/"+timestamp+"/"+file['name'];
+            var storeAs = "leaveApply";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/leaveapply/leaveApplyExtendModifyApply.jsp

@@ -276,7 +276,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/leaveApply/"+timestamp+"/"+file['name'];
+            var storeAs = "leaveApply";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/leaveapply/leaveApplyForm.jsp

@@ -295,7 +295,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/leaveApply/"+timestamp+"/"+file['name'];
+			var storeAs = "leaveApply";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/leaveapply/leaveApplyModifyApply.jsp

@@ -287,7 +287,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/leaveApply/"+timestamp+"/"+file['name'];
+			var storeAs = "leaveApply";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/leaveapply/leaveApplyView.jsp

@@ -89,7 +89,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/leaveApply/"+timestamp+"/"+file['name'];
+            var storeAs = "leaveApply";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/oa/oaNotifyAdminForm.jsp

@@ -73,7 +73,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/oaNotify/" + timestamp + "/" + file['name'];
+                var storeAs = "oaNotify";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";

+ 1 - 1
src/main/webapp/webpage/modules/oa/oaNotifyAudit.jsp

@@ -62,7 +62,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/oaNotify/" + timestamp + "/" + file['name'];
+                var storeAs = "oaNotify";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";

+ 1 - 1
src/main/webapp/webpage/modules/oa/oaNotifyForm.jsp

@@ -88,7 +88,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/oaNotify/" + timestamp + "/" + file['name'];
+                var storeAs = "oaNotify";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";

+ 1 - 1
src/main/webapp/webpage/modules/oa/oaNotifyModifyApply.jsp

@@ -83,7 +83,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/oaNotify/" + timestamp + "/" + file['name'];
+                var storeAs = "oaNotify";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";

+ 1 - 1
src/main/webapp/webpage/modules/oaall/oaAllForm.jsp

@@ -71,7 +71,7 @@
             var attachmentFlag = "5";
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/workClientInfo/"+timestamp+"/"+file['name'];
+            var storeAs = "oa";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/oabuy/oaBuyForm.jsp

@@ -83,7 +83,7 @@
             var attachmentFlag = "69";
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/workClientInfo/"+timestamp+"/"+file['name'];
+				var storeAs = "oaBuy";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/officehonor/officehonorForm.jsp

@@ -78,7 +78,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/officehonor/"+timestamp+"/"+file['name'];
+            var storeAs = "officehonor";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/officehonor/officehonorView.jsp

@@ -65,7 +65,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/officehonor/"+timestamp+"/"+file['name'];
+            var storeAs = "officehonor";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/officeintroduce/officeintroduceForm.jsp

@@ -69,7 +69,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/officeintroduce/"+timestamp+"/"+file['name'];
+				var storeAs = "officehonor";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/officeintroduce/officeintroduceView.jsp

@@ -65,7 +65,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/officeintroduce/"+timestamp+"/"+file['name'];
+            var storeAs = "officeintroduce";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/officelicense/officeLicenseForm.jsp

@@ -86,7 +86,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/officeLicense/"+timestamp+"/"+file['name'];
+            var storeAs = "officeLicense";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/officequalify/officequalifyForm.jsp

@@ -82,7 +82,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/officequalify/"+timestamp+"/"+file['name'];
+            var storeAs = "officequalify";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/officequalify/officequalifyView.jsp

@@ -69,7 +69,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/officequalify/"+timestamp+"/"+file['name'];
+				var storeAs = "officequalify";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/processProjectPlan/plan/processProjectPlanForm.jsp

@@ -62,7 +62,7 @@
                 /*console.log(file);*/
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectRecords/"+timestamp+"/"+file['name'];
+                var storeAs = "projectPlan";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/processProjectPlan/plan/processProjectPlanView.jsp

@@ -62,7 +62,7 @@
                 /*console.log(file);*/
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectRecords/"+timestamp+"/"+file['name'];
+                var storeAs = "projectPlan";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/processProjectReportRecord/projectReportRecordModifyApply.jsp

@@ -45,7 +45,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/workContractRd/"+timestamp+"/"+file['name'];
+            var storeAs = "projectRecords";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/project/type/template/projectResultsFileTemplateForm.jsp

@@ -39,7 +39,7 @@
 				/*console.log(file);*/
 				var timestamp=new Date().getTime();
 
-				var storeAs = "attachment-file/projectRecords/"+timestamp+"/"+file['name'];
+				var storeAs = "projectResult";
 				var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
 				var divId = "_attachment";
 				$("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectAccessory/workAttachmentForm.jsp

@@ -78,7 +78,7 @@
 				console.log(file);
 				var timestamp=new Date().getTime();
 
-				var storeAs = "attachment-file/workIncomingMessage/"+timestamp+"/"+file['name'];
+				var storeAs = "workAttachment";
 				var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
 				var divId = "_attachment";
 				$("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectAccessory/workAttachmentView.jsp

@@ -44,7 +44,7 @@
 				console.log(file);
 				var timestamp=new Date().getTime();
 
-				var storeAs = "attachment-file/workIncomingMessage/"+timestamp+"/"+file['name'];
+				var storeAs = "workAttachment";
 				var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
 				var divId = "_attachment";
 				$("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectConstruction/projectConstructionForm.jsp

@@ -174,7 +174,7 @@
                 /*console.log(file);*/
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectRecords/"+timestamp+"/"+file['name'];
+                var storeAs = "projectRecords";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectcontentinfo/basedDataForm.jsp

@@ -61,7 +61,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/basedData/"+timestamp+"/"+file['name'];
+            var storeAs = "basedData";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectcontentinfo/projectReportRecordForm.jsp

@@ -57,7 +57,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/workContractRd/"+timestamp+"/"+file['name'];
+            var storeAs = "projectRecords";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectcontentinfo/projectReportRecordModifyApply.jsp

@@ -126,7 +126,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/workContractRd/"+timestamp+"/"+file['name'];
+            var storeAs = "projectRecords";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectcontentinfo/reportChange.jsp

@@ -151,7 +151,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/basedData/"+timestamp+"/"+file['name'];
+				var storeAs = "projectRecords";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectcontentinfo/reportChangeModifyApply.jsp

@@ -56,7 +56,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/basedData/"+timestamp+"/"+file['name'];
+            var storeAs = "projectRecords";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectcontentinfo/reportForm.jsp

@@ -166,7 +166,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+				var storeAs = "basedData";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";

+ 1 - 1
src/main/webapp/webpage/modules/projectcontentinfo/reportModifyApply.jsp

@@ -75,7 +75,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/basedData/"+timestamp+"/"+file['name'];
+				var storeAs = "projectRecords";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectcontentinfo/workContentForm.jsp

@@ -275,7 +275,7 @@
             /*console.log(file);*/
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+            var storeAs = "workContent";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectcontentinfo/workContentView.jsp

@@ -303,7 +303,7 @@
             /*console.log(file);*/
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+            var storeAs = "projectContentData";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectcontroltable/projectControlTableForm.jsp

@@ -331,7 +331,7 @@
             /*console.log(file);*/
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectRecords/"+timestamp+"/"+file['name'];
+            var storeAs = "projectControlTable";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 2 - 2
src/main/webapp/webpage/modules/projectrecord/armorForMaterials/armorForMaterialsForm.jsp

@@ -248,7 +248,7 @@
             var attachmentFlag = "94";
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+            var storeAs = "armorForMaterials";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();
@@ -471,7 +471,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+                var storeAs = "armorForMaterials";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/armorForMaterials/armorForMaterialsView.jsp

@@ -184,7 +184,7 @@
             var attachmentFlag = "94";
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+            var storeAs = "armorForMaterials";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 2 - 2
src/main/webapp/webpage/modules/projectrecord/check/reportForm.jsp

@@ -189,7 +189,7 @@
 				console.log(file);
 				var timestamp = new Date().getTime();
 
-				var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+				var storeAs = "projectRecords";
 				var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
 				/*将这段字符串存到数据库即可*/
 				var divId = "_attachment";
@@ -207,7 +207,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+                var storeAs = "projectRecords";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";

+ 2 - 2
src/main/webapp/webpage/modules/projectrecord/claim/projectClaimForm.jsp

@@ -242,7 +242,7 @@
                 var attachmentFlag = "94";
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "projectClaim";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();
@@ -465,7 +465,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+                var storeAs = "projectClaim";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/claim/projectClaimView.jsp

@@ -216,7 +216,7 @@
                 var attachmentFlag = "94";
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "projectClaim";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();

+ 2 - 2
src/main/webapp/webpage/modules/projectrecord/concealProject/workContentForm.jsp

@@ -257,7 +257,7 @@
             var attachmentFlag = "94";
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "workContent";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();
@@ -480,7 +480,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+                var storeAs = "workContent";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/concealProject/workContentView.jsp

@@ -184,7 +184,7 @@
             var attachmentFlag = "94";
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "workContent";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/contractMaterial/workContentForm.jsp

@@ -184,7 +184,7 @@
             var attachmentFlag = "94";
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+            var storeAs = "workContent";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/contractMaterial/workContentView.jsp

@@ -184,7 +184,7 @@
                 var attachmentFlag = "94";
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "workContent";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();

+ 2 - 2
src/main/webapp/webpage/modules/projectrecord/contractMaterial/workMaterialForm.jsp

@@ -243,7 +243,7 @@
             var attachmentFlag = "94";
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+            var storeAs = "workMaterial";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();
@@ -465,7 +465,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+                var storeAs = "workMaterial";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";

+ 2 - 2
src/main/webapp/webpage/modules/projectrecord/design/projectDesignForm.jsp

@@ -242,7 +242,7 @@
                 var attachmentFlag = "94";
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "projectRecords";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();
@@ -465,7 +465,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+                var storeAs = "projectRecords";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/design/projectDesignView.jsp

@@ -216,7 +216,7 @@
                 var attachmentFlag = "94";
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "projectRecords";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();

+ 2 - 2
src/main/webapp/webpage/modules/projectrecord/distributionSettlement/distributionSettlementForm.jsp

@@ -246,7 +246,7 @@
             var attachmentFlag = "94";
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+            var storeAs = "distribution";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();
@@ -469,7 +469,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+                var storeAs = "distribution";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/distributionSettlement/distributionSettlementView.jsp

@@ -184,7 +184,7 @@
             var attachmentFlag = "94";
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "distribution";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/ftlTemplate/ftlTemplateForm.jsp

@@ -75,7 +75,7 @@
                 var attachmentFlag = "82";
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectRecords/"+timestamp+"/"+file['name'];
+                var storeAs = "ftlTemplate";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/implementStage/projectDesignChangeForm.jsp

@@ -350,7 +350,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/workClientInfo/" + timestamp + "/" + file['name'];
+                var storeAs = "projectDesign";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";

+ 2 - 2
src/main/webapp/webpage/modules/projectrecord/implementStage/projectDesignForm.jsp

@@ -170,7 +170,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+                var storeAs = "projectDesign";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
@@ -190,7 +190,7 @@
                 var attachmentFlag = "94";
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "projectDesign";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();

+ 2 - 2
src/main/webapp/webpage/modules/projectrecord/implementStage/projectInterimPaymentForm.jsp

@@ -247,7 +247,7 @@
                 var attachmentFlag = "94";
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "projectInterimPayment";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();
@@ -470,7 +470,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+                var storeAs = "projectInterimPayment";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/implementStage/projectInterimPaymentFormView.jsp

@@ -184,7 +184,7 @@
                 var attachmentFlag = "94";
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "projectPayment";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();

+ 2 - 2
src/main/webapp/webpage/modules/projectrecord/implementStage/projectVisaForm.jsp

@@ -170,7 +170,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+                var storeAs = "projectVisa";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
@@ -190,7 +190,7 @@
                 var attachmentFlag = "94";
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "projectVisa";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();

+ 3 - 3
src/main/webapp/webpage/modules/projectrecord/monthly/monthlyContentForm.jsp

@@ -189,7 +189,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+                var storeAs = "monthlyContent";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
@@ -213,7 +213,7 @@
             var attachmentFlag = "94";
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "monthlyContent";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();
@@ -226,7 +226,7 @@
             var monthlyFlag = "94";
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "monthlyContent";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_monthly";
             $("#addFile"+divId).show();

+ 3 - 3
src/main/webapp/webpage/modules/projectrecord/monthly/monthlyContentView.jsp

@@ -189,7 +189,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+                var storeAs = "monthlyContent";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
@@ -213,7 +213,7 @@
             var attachmentFlag = "94";
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "monthlyContent";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();
@@ -226,7 +226,7 @@
             var monthlyFlag = "94";
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "monthlyContent";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_monthly";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/plan/projectPlanForm.jsp

@@ -62,7 +62,7 @@
                 /*console.log(file);*/
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectRecords/"+timestamp+"/"+file['name'];
+                var storeAs = "projectPlan";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/plan/projectPlanView.jsp

@@ -62,7 +62,7 @@
                 /*console.log(file);*/
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectRecords/"+timestamp+"/"+file['name'];
+                var storeAs = "projectPlan";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/projectRecordsAlterForm.jsp

@@ -392,7 +392,7 @@
             /*console.log(file);*/
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectRecords/"+timestamp+"/"+file['name'];
+                var storeAs = "projectRecords";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/projectRecordsAlterModify.jsp

@@ -290,7 +290,7 @@
             /*console.log(file);*/
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectRecords/"+timestamp+"/"+file['name'];
+                var storeAs = "projectRecords";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/projectRecordsAudit.jsp

@@ -63,7 +63,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectRecords/"+timestamp+"/"+file['name'];
+				var storeAs = "projectRecords";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/projectRecordsForm.jsp

@@ -382,7 +382,7 @@
                 /*console.log(file);*/
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectRecords/"+timestamp+"/"+file['name'];
+                var storeAs = "projectRecords";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/projectRecordsModify.jsp

@@ -273,7 +273,7 @@
             /*console.log(file);*/
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectRecords/"+timestamp+"/"+file['name'];
+            var storeAs = "projectRecords";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/summarizing/workContentView.jsp

@@ -243,7 +243,7 @@
             /*console.log(file);*/
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+            var storeAs = "workContent";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 2 - 2
src/main/webapp/webpage/modules/projectrecord/visa/projectVisaForm.jsp

@@ -242,7 +242,7 @@
                 var attachmentFlag = "94";
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "projectVisa";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();
@@ -465,7 +465,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+                var storeAs = "projectVisa";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/visa/projectVisaView.jsp

@@ -216,7 +216,7 @@
                 var attachmentFlag = "94";
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "projectVisa";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/workContentFromAndView/projectEarlyForm.jsp

@@ -57,7 +57,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/workContractRd/"+timestamp+"/"+file['name'];
+            var storeAs = "projectEarly";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/workContentFromAndView/projectReportRecordForm.jsp

@@ -57,7 +57,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/workContractRd/"+timestamp+"/"+file['name'];
+            var storeAs = "projectRecords";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 2 - 2
src/main/webapp/webpage/modules/projectrecord/workContentFromAndView/reportForm.jsp

@@ -194,7 +194,7 @@
 				console.log(file);
 				var timestamp = new Date().getTime();
 
-				var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+				var storeAs = "workContent";
 				var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
 				/*将这段字符串存到数据库即可*/
 				var divId = "_attachment";
@@ -212,7 +212,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+				var storeAs = "workContent";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";

+ 2 - 2
src/main/webapp/webpage/modules/projectrecord/workContentFromAndView/workContentForm.jsp

@@ -197,7 +197,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+                var storeAs = "workContent";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
@@ -357,7 +357,7 @@
             var attachmentFlag = "94";
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "workContent";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/projectrecord/workContentFromAndView/workContentView.jsp

@@ -304,7 +304,7 @@
             /*console.log(file);*/
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+            var storeAs = "workContent";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 2 - 2
src/main/webapp/webpage/modules/projectrecord/workContentFromAndView/workFollowAudit.jsp

@@ -191,7 +191,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+                var storeAs = "workFloolw";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
@@ -348,7 +348,7 @@
             var attachmentFlag = "94";
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "workFloolw";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 2 - 2
src/main/webapp/webpage/modules/projectrecord/workContentFromAndView/workFollowForm.jsp

@@ -194,7 +194,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+                var storeAs = "workFloolw";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
@@ -351,7 +351,7 @@
             var attachmentFlag = "94";
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+                var storeAs = "workFloolw";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 2 - 2
src/main/webapp/webpage/modules/projectrecord/workContentFromAndView/workFollowModify.jsp

@@ -194,7 +194,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+                var storeAs = "workFloolw";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
@@ -351,7 +351,7 @@
             var attachmentFlag = "94";
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+            var storeAs = "workFloolw";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 2 - 2
src/main/webapp/webpage/modules/projectrecord/workContentFromAndView/workFollowView.jsp

@@ -194,7 +194,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "attachment-file/basedData/" + timestamp + "/" + file['name'];
+                var storeAs = "workFollow";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
@@ -351,7 +351,7 @@
             var attachmentFlag = "94";
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectContentData/"+timestamp+"/"+file['name'];
+            var storeAs = "workFollow";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/ruralprojectrecords/cost/projectReportRecord/projectReportRecordForm.jsp

@@ -151,7 +151,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/workContractRd/"+timestamp+"/"+file['name'];
+            var storeAs = "projectRecords";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/ruralprojectrecords/cost/projectReportRecord/projectReportRecordModify.jsp

@@ -151,7 +151,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/workContractRd/"+timestamp+"/"+file['name'];
+            var storeAs = "projectRecords";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 3 - 3
src/main/webapp/webpage/modules/ruralprojectrecords/cost/projectcontentinfo/adminReportModifyForm.jsp

@@ -154,7 +154,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "newxgccpm-test/attachment-file/basedData/" + timestamp + "/" + file['name'];
+				var storeAs = "projectRecords";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
@@ -172,7 +172,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "newxgccpm-test/attachment-file/basedData/" + timestamp + "/" + file['name'];
+				var storeAs = "projectRecords";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_gistdata";
@@ -190,7 +190,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "newxgccpm-test/attachment-file/basedData/" + timestamp + "/" + file['name'];
+				var storeAs = "projectRecords";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_other";

+ 1 - 1
src/main/webapp/webpage/modules/ruralprojectrecords/cost/projectcontentinfo/projectRecordsMessageAudit.jsp

@@ -63,7 +63,7 @@
                 console.log(file);
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectRecords/"+timestamp+"/"+file['name'];
+				var storeAs = "projectRecords";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/ruralprojectrecords/cost/projectcontentinfo/projectRecordsMessageModify.jsp

@@ -63,7 +63,7 @@
                 console.log(file);
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectRecords/"+timestamp+"/"+file['name'];
+                var storeAs = "projectRecords";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();

+ 3 - 3
src/main/webapp/webpage/modules/ruralprojectrecords/cost/projectcontentinfo/reportForm.jsp

@@ -156,7 +156,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "newxgccpm-test/attachment-file/basedData/" + timestamp + "/" + file['name'];
+				var storeAs = "projectRecords";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
@@ -174,7 +174,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "newxgccpm-test/attachment-file/basedData/" + timestamp + "/" + file['name'];
+				var storeAs = "projectRecords";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_gistdata";
@@ -192,7 +192,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "newxgccpm-test/attachment-file/basedData/" + timestamp + "/" + file['name'];
+				var storeAs = "projectRecords";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_other";

+ 3 - 3
src/main/webapp/webpage/modules/ruralprojectrecords/cost/projectcontentinfo/reportModify.jsp

@@ -155,7 +155,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "newxgccpm-test/attachment-file/basedData/" + timestamp + "/" + file['name'];
+				var storeAs = "projectRecords";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
@@ -173,7 +173,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "newxgccpm-test/attachment-file/basedData/" + timestamp + "/" + file['name'];
+				var storeAs = "projectRecords";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_gistdata";
@@ -191,7 +191,7 @@
                 console.log(file);
                 var timestamp = new Date().getTime();
 
-                var storeAs = "newxgccpm-test/attachment-file/basedData/" + timestamp + "/" + file['name'];
+				var storeAs = "projectRecords";
                 var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
                 /*将这段字符串存到数据库即可*/
                 var divId = "_other";

+ 1 - 1
src/main/webapp/webpage/modules/ruralprojectrecords/cost/ruralCostProjectRecordsAdminModify.jsp

@@ -324,7 +324,7 @@
                 /*console.log(file);*/
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectRecords/"+timestamp+"/"+file['name'];
+                var storeAs = "projectRecords";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/ruralprojectrecords/cost/ruralCostProjectRecordsForm.jsp

@@ -434,7 +434,7 @@
                 /*console.log(file);*/
                 var timestamp=new Date().getTime();
 
-                var storeAs = "attachment-file/projectRecords/"+timestamp+"/"+file['name'];
+                var storeAs = "projectRecords";
                 var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
                 var divId = "_attachment";
                 $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/ruralprojectrecords/cost/ruralCostProjectRecordsModify.jsp

@@ -428,7 +428,7 @@
             /*console.log(file);*/
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/projectRecords/"+timestamp+"/"+file['name'];
+            var storeAs = "projectRecords";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/ruralprojectrecords/down/projectReportRecordDownForm.jsp

@@ -77,7 +77,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/workContractRd/"+timestamp+"/"+file['name'];
+				var storeAs = "projectRd";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/ruralprojectrecords/down/projectReportRecordDownModify.jsp

@@ -74,7 +74,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/workContractRd/"+timestamp+"/"+file['name'];
+            var storeAs = "projectRd";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/ruralprojectrecords/down/projectReportRecordDownModifyApply.jsp

@@ -52,7 +52,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/workContractRd/"+timestamp+"/"+file['name'];
+            var storeAs = "projectRd";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 1 - 1
src/main/webapp/webpage/modules/ruralprojectrecords/projectReportRecord/projectReportRecordForm.jsp

@@ -152,7 +152,7 @@
             console.log(file);
             var timestamp=new Date().getTime();
 
-            var storeAs = "attachment-file/workContractRd/"+timestamp+"/"+file['name'];
+				var storeAs = "projectRecords";
             var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
             var divId = "_attachment";
             $("#addFile"+divId).show();

+ 0 - 0
src/main/webapp/webpage/modules/ruralprojectrecords/projectReportRecord/projectReportRecordModify.jsp


Някои файлове не бяха показани, защото твърде много файлове са промени