From 6d5be9402c5fde327b8b25760939b766064f7916 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A7=9C=E7=8E=89=E7=90=A6?=
<7507756+jiang_yuqi@user.noreply.gitee.com>
Date: Mon, 31 Mar 2025 22:35:57 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
yanzhu-bigscreen/src/components/header.vue | 3 +
yanzhu-bigscreen/src/router/index.js | 9 +
yanzhu-bigscreen/src/views/projectDetail.vue | 47 ++++-
.../src/views/schedule/photography.vue | 183 ++++++++++++++++++
.../yanzhu/system/mapper/SysRoleMapper.java | 2 +-
.../resources/mapper/system/SysRoleMapper.xml | 2 +-
.../ProProjectInfoSubdeptsServiceImpl.java | 7 +-
.../system/controller/SysRoleController.java | 3 +-
.../service/impl/SysRoleServiceImpl.java | 8 +-
.../components/Process/panel/commonPanel.vue | 7 +-
10 files changed, 260 insertions(+), 11 deletions(-)
create mode 100644 yanzhu-bigscreen/src/views/schedule/photography.vue
diff --git a/yanzhu-bigscreen/src/components/header.vue b/yanzhu-bigscreen/src/components/header.vue
index 63ed95de..ae02d4b5 100644
--- a/yanzhu-bigscreen/src/components/header.vue
+++ b/yanzhu-bigscreen/src/components/header.vue
@@ -218,6 +218,9 @@ export default {
case 6:
this.$router.push("/greenCarbon");
break;
+ case 501:
+ this.$router.push("/photography");
+ break;
}
},
doLogout() {
diff --git a/yanzhu-bigscreen/src/router/index.js b/yanzhu-bigscreen/src/router/index.js
index 4f27cf84..2c0a8255 100644
--- a/yanzhu-bigscreen/src/router/index.js
+++ b/yanzhu-bigscreen/src/router/index.js
@@ -73,6 +73,15 @@ const routes = [
/* webpackChunkName: "safetyCheck" */ "../views/safety/towerCrane.vue"
),
},
+ {
+ path: "/photography",
+ name: "photography",
+ meta: { nav: 501 },
+ component: () =>
+ import(
+ /* webpackChunkName: "safetyCheck" */ "../views/schedule/photography.vue"
+ ),
+ },
];
const router = new VueRouter({
mode: "hash",
diff --git a/yanzhu-bigscreen/src/views/projectDetail.vue b/yanzhu-bigscreen/src/views/projectDetail.vue
index 1c6a4f10..e7bf5aea 100644
--- a/yanzhu-bigscreen/src/views/projectDetail.vue
+++ b/yanzhu-bigscreen/src/views/projectDetail.vue
@@ -698,7 +698,7 @@ export default {
this.$api.detail
.photographyList(this.selProject.id)
.then((d) => {
- this.photographyList = d.data||[];
+ this.photographyList = d.data;
});
},
loadCostOutput() {
@@ -820,7 +820,52 @@ export default {
diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/system/mapper/SysRoleMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/system/mapper/SysRoleMapper.java
index 2bc488dc..1e987715 100644
--- a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/system/mapper/SysRoleMapper.java
+++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/system/mapper/SysRoleMapper.java
@@ -73,7 +73,7 @@ public interface SysRoleMapper
* @param roleName 角色名称
* @return 角色信息
*/
- public SysRole checkRoleNameUnique(String roleName);
+ public SysRole checkRoleNameUnique(@Param("roleName") String roleName, @Param("deptId") Long deptId);
/**
* 校验角色权限是否唯一
diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/system/SysRoleMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/system/SysRoleMapper.xml
index 4b811740..891e8a80 100644
--- a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/system/SysRoleMapper.xml
+++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/system/SysRoleMapper.xml
@@ -149,7 +149,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"