From 5a9d0ba0f6ea45bfca0d1f7cf2f11e8045405d38 Mon Sep 17 00:00:00 2001 From: dshclm <3321914460@qq.com> Date: Wed, 15 May 2024 10:37:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=89=E5=AF=86=E6=96=87=E4=BB=B6=E6=8E=A5?= =?UTF-8?q?=E6=94=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../filemanager/TdFileReceiveController.java | 6 +- .../templates/system/fileprovide/add.html | 4 +- .../templates/system/filereceive/edit.html | 76 +++---------------- .../system/filereceive/filereceive.html | 4 +- 4 files changed, 19 insertions(+), 71 deletions(-) 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 48f15cd3..80400a51 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 1a39fe81..e3922835 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 @@
- +
- +
diff --git a/ruoyi-admin/src/main/resources/templates/system/filereceive/edit.html b/ruoyi-admin/src/main/resources/templates/system/filereceive/edit.html index 0f71128c..e2aa39c6 100644 --- a/ruoyi-admin/src/main/resources/templates/system/filereceive/edit.html +++ b/ruoyi-admin/src/main/resources/templates/system/filereceive/edit.html @@ -8,91 +8,47 @@
+
- +
- +
- +
-
- - -
+
- -
-
-
- -
- +
- +
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- +
@@ -110,19 +66,7 @@ $.operate.save(prefix + "/edit", $('#form-filereceive-edit').serialize()); } } - - $("input[name='provideDate']").datetimepicker({ - format: "yyyy-mm-dd", - minView: "month", - autoclose: true - }); - - $("input[name='receiveDate']").datetimepicker({ - format: "yyyy-mm-dd", - minView: "month", - autoclose: true - }); - + $("input[name='receiveDate']").val($.common.dateFormat(new Date(),"yyyy-MM-dd")); $("input[name='extractDate']").datetimepicker({ format: "yyyy-mm-dd", minView: "month", @@ -130,4 +74,4 @@ }); - \ No newline at end of file + diff --git a/ruoyi-admin/src/main/resources/templates/system/filereceive/filereceive.html b/ruoyi-admin/src/main/resources/templates/system/filereceive/filereceive.html index 7f59bc02..e9af5213 100644 --- a/ruoyi-admin/src/main/resources/templates/system/filereceive/filereceive.html +++ b/ruoyi-admin/src/main/resources/templates/system/filereceive/filereceive.html @@ -114,7 +114,7 @@ align: 'center', formatter: function(value, row, index) { var actions = []; - actions.push('编辑 '); + actions.push('接收 '); actions.push('删除'); return actions.join(''); } @@ -124,4 +124,4 @@ }); - \ No newline at end of file +