From 62ab1a1038f3ab7ec32d0a86c2f07c4128accecf Mon Sep 17 00:00:00 2001 From: Guo XIn <371864209@qq.com> Date: Wed, 5 Jul 2023 18:10:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8C=96=E6=8E=98=E5=88=86?= =?UTF-8?q?=E6=9E=90=E5=8A=9F=E8=83=BD=E5=9C=A8=E7=9B=AE=E5=BD=95=E5=8F=B3?= =?UTF-8?q?=E9=94=AE=E8=8F=9C=E5=8D=95=E4=B8=AD=E7=9A=84=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/static/js/business/directory/directory.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shandan-bianmu/src/main/resources/static/js/business/directory/directory.js b/shandan-bianmu/src/main/resources/static/js/business/directory/directory.js index ca5bd09..42f6f85 100644 --- a/shandan-bianmu/src/main/resources/static/js/business/directory/directory.js +++ b/shandan-bianmu/src/main/resources/static/js/business/directory/directory.js @@ -419,7 +419,7 @@ function startRender() { // 根据数据操作权限判断是否显示相关按钮 if (!WritePermisDirIds.includes(basicData.id)) { - setDisabledButtons(['toolbar_dir_rename', 'toolbar_dir_delete', 'toolbar_dir_move', 'toolbar_dir_link', 'toolbar_dir_submit', 'toolbar_dir_mark', 'toolbar_dir_copy']); + setDisabledButtons(['toolbar_dir_rename', 'toolbar_dir_delete', 'toolbar_dir_move', 'toolbar_dir_link', 'toolbar_dir_submit', 'toolbar_dir_mark', 'toolbar_dir_copy', 'toolbar_dir_fenxi']); if (user.orgId !== basicData.ownerId) { // 如果当前用户所在部门 不是 选中目录所属部门ID,则禁用新建按钮 setDisabledButtons(['toolbar_dir_add']) @@ -435,7 +435,7 @@ function startRender() { setDisabledButtons([]); } } else { - setDisabledButtons(['toolbar_dir_rename', 'toolbar_dir_delete', 'toolbar_dir_move', 'toolbar_dir_link', 'toolbar_dir_submit', 'toolbar_dir_mark', 'toolbar_dir_copy']); + setDisabledButtons(['toolbar_dir_rename', 'toolbar_dir_delete', 'toolbar_dir_move', 'toolbar_dir_link', 'toolbar_dir_submit', 'toolbar_dir_mark', 'toolbar_dir_copy', 'toolbar_dir_fenxi']); } // 判断是否需要分析挖掘