فهرست منبع

外部单位-文件上传列表刷新调整

sangwenwei 9 ماه پیش
والد
کامیت
cd7ffc33fb

+ 1 - 0
src/main/java/com/jeeplus/modules/externalUnit/service/ExternalUnitProjectRecordsService.java

@@ -200,6 +200,7 @@ public class ExternalUnitProjectRecordsService extends CrudService<ExternalUnitP
         workClientAttachment.setAttachmentFlag("160");
         workClientAttachment.setDivIdType("_exterNoProcess");
         List<ExternalUnitWorkClientAttachment> attachmentList = workattachmentService.getAttachmentListExter(workClientAttachment);
+        workattachmentService.exterunitAttachmentManageOnUrl(attachmentList);
         projectRecords.setWorkAttachments(attachmentList);
     }
 

+ 6 - 3
src/main/webapp/webpage/modules/externalUnit/externalUnitProjectFile.jsp

@@ -112,10 +112,13 @@
 					}
 					inputForm.attr("target",top_iframe);//表单提交成功后,从服务器返回的url在当前tab中展示
 					if(iframeWin.contentWindow.doSubmit(1) ){
-						top.layer.close(index);//关闭对话框。
-						setTimeout(function(){top.layer.close(index)}, 100);//延时0.1秒,对应360 7.1版本bug
+						// top.layer.close(index);//关闭对话框。
+						setTimeout(function(){top.layer.close(index)
+                            setTimeout(function() {
+                                search(); // 调用search函数
+                            }, 100); }, 100);//延时0.1秒,对应360 7.1版本bug
 					}
-					search()
+
 				},
 				btn2: function(index){
 				}