From 5aae8283743b5f044f302f89ff05b7afbd49310a Mon Sep 17 00:00:00 2001 From: zhc077 <565291854@qq.com> Date: Wed, 6 Nov 2024 10:34:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=8F=90=E4=BA=A4=E3=80=81?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E6=B5=81=E7=A8=8B=E3=80=81=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E6=97=A5=E5=BF=97=20=E5=8A=9F=E8=83=BD=E6=B7=BB=E5=8A=A0=2011.?= =?UTF-8?q?6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../project/controller/ProjectController.java | 13 +++--- .../project/ProjectList.vue | 27 ++++++++++-- .../views/projectLog/ProjectLogBasicModal.vue | 44 +++++++++++++++++++ 3 files changed, 76 insertions(+), 8 deletions(-) create mode 100644 jeecgboot-vue3/src/views/projectLog/ProjectLogBasicModal.vue diff --git a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/project/controller/ProjectController.java b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/project/controller/ProjectController.java index ff37a24..8234ee7 100644 --- a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/project/controller/ProjectController.java +++ b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/project/controller/ProjectController.java @@ -156,11 +156,12 @@ public class ProjectController extends JeecgController QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(project, req.getParameterMap(), customeRuleMap); Page page = new Page(pageNo, pageSize); - //('科技主管部门待提交', '1'); //('不受理', '3'); //('已受理', '4'); //('申请人待提交', '5'); //('申请单位待提交', '6'); + //('科技主管部门待提交(区/县管理员)', '1'); + //('市科技局待提交', '7'); //('市科技局已提交', '8'); //('财政主管理部门待审核', '9'); @@ -169,18 +170,19 @@ public class ProjectController extends JeecgController //申请单位数据 if ("faren_admin".equals(loginUser.getRoleCode())) { queryWrapper.eq("sys_org_code", loginUser.getOrgCode()); - queryWrapper.eq("project_status", 6); + queryWrapper.in("project_status", 6,1,7,8,9,10); + } // 区/县管理员数据 if ("quxian_admin".equals(loginUser.getRoleCode())) { queryWrapper.likeRight("sys_org_code", loginUser.getOrgCode()); - queryWrapper.eq("project_status", 1); + queryWrapper.in("project_status", 1,7,8,9,10); } if ("kejiju_admin".equals(loginUser.getRoleCode())) { - queryWrapper.in("project_status", 7, 8); + queryWrapper.in("project_status", 7,8,9,10); } if ("caizheng_admin".equals(loginUser.getRoleCode())) { - queryWrapper.in("budget_status", 9, 10); + queryWrapper.in("budget_status", 8,9,10); } IPage pageList = projectService.page(page, queryWrapper); return Result.OK(pageList); @@ -420,6 +422,7 @@ public class ProjectController extends JeecgController // project.setProjectStatus("10"); project.setBudgetStatus("10"); + project.setProjectStatus(project1.getProjectStatus()); log.setBudgetStatus("10"); log.setOperationMark("财政主管部门审核通过"); } diff --git a/jeecgboot-vue3/src/views/projectApplication/project/ProjectList.vue b/jeecgboot-vue3/src/views/projectApplication/project/ProjectList.vue index 9c224f1..9d569c4 100644 --- a/jeecgboot-vue3/src/views/projectApplication/project/ProjectList.vue +++ b/jeecgboot-vue3/src/views/projectApplication/project/ProjectList.vue @@ -42,10 +42,22 @@ +
+ +