diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/filemanager/TdFileReceiveController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/filemanager/TdFileReceiveController.java index 48f15cd..80400a5 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/filemanager/TdFileReceiveController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/filemanager/TdFileReceiveController.java @@ -1,6 +1,9 @@ package com.ruoyi.web.controller.system.filemanager; import java.util.List; + +import com.ruoyi.common.core.domain.entity.SysDept; +import com.ruoyi.system.service.ISysDeptService; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; @@ -21,7 +24,7 @@ import com.ruoyi.common.core.page.TableDataInfo; /** * 涉密文件接收Controller - * + * * @author ruoyi * @date 2024-05-14 */ @@ -98,6 +101,7 @@ public class TdFileReceiveController extends BaseController { TdFileReceive tdFileReceive = tdFileReceiveService.selectTdFileReceiveByReceiveId(receiveId); mmap.put("tdFileReceive", tdFileReceive); + mmap.put("user",getSysUser()); return prefix + "/edit"; } diff --git a/ruoyi-admin/src/main/resources/templates/system/fileprovide/add.html b/ruoyi-admin/src/main/resources/templates/system/fileprovide/add.html index 1a39fe8..e392283 100644 --- a/ruoyi-admin/src/main/resources/templates/system/fileprovide/add.html +++ b/ruoyi-admin/src/main/resources/templates/system/fileprovide/add.html @@ -23,13 +23,13 @@