From 3b2540efbf8994d4a595bcd825315447103c2390 Mon Sep 17 00:00:00 2001
From: CODE <1650192445@qq.com>
Date: Wed, 13 Dec 2023 16:54:42 +0800
Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E5=88=86=E7=BB=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
 web/client/src/sections/fillion/nav-item.js | 22 +++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/web/client/src/sections/fillion/nav-item.js b/web/client/src/sections/fillion/nav-item.js
index 761d0d82..15ee696f 100644
--- a/web/client/src/sections/fillion/nav-item.js
+++ b/web/client/src/sections/fillion/nav-item.js
@@ -29,7 +29,7 @@ export function getNavItem (user, dispatch) {
         user?.username == 'SuperAdmin' || isshow ?
             } title={'数据管理'}>
                 {
-                    user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'REPORTMANAGE' || i.resourceId === 'BUILDINGPROJECT' || i.resourceId === 'FILEMANAGE') ?
+                    user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'REPORTMANAGE' || i.resourceId === 'BUILDINGPROJECT' || i.resourceId === 'FILEMANAGE' || i.resourceId === 'PUBLICITYVIDEO') ?
                         
                             {user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'REPORTMANAGE') ?
                                 
@@ -43,12 +43,16 @@ export function getNavItem (user, dispatch) {
                                 
                                     档案管理
                                  : ''}
+                            {user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'PUBLICITYVIDEO') ?
+                                
+                                    宣传视频
+                                 : ''}
                         
                         : ''
                 }
 
                 {
-                    user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'VIDEOCENTER' || i.resourceId === 'LUZHENG' || i.resourceId === 'ROADMANAGE' || i.resourceId === 'BRIDGEMANAGE') ?
+                    user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'VIDEOCENTER' || i.resourceId === 'LUZHENG' || i.resourceId === 'ROADMANAGE' || i.resourceId === 'BRIDGEMANAGE' || i.resourceId === 'OVERLOADMANAGE') ?
                         
                             {user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'VIDEOCENTER') ?
                                 
@@ -66,6 +70,10 @@ export function getNavItem (user, dispatch) {
                                 
                                     桥梁管理
                                  : ''}
+                            {user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'OVERLOADMANAGE') ?
+                                
+                                    治超管理
+                                 : ''}
                         
                         : ''
                 }
@@ -120,10 +128,7 @@ export function getNavItem (user, dispatch) {
                         : ''
                 }
 
-                {user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'OVERLOADMANAGE') ?
-                    
-                        治超管理
-                     : ''}
+
                 {/* 
                     任务管理
                  */}
@@ -139,10 +144,7 @@ export function getNavItem (user, dispatch) {
                 接口管理
              */}
 
-                {user?.username == 'SuperAdmin' || user?.userResources?.some(i => i.resourceId === 'PUBLICITYVIDEO') ?
-                    
-                        宣传视频
-                     : ''}
+
              : null
     );
 }