From ee8df9424fc4e3fb30a8b8e39436b26c902defb7 Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期二, 24 十二月 2024 13:37:15 +0800 Subject: [PATCH] 角色的资源过滤掉删除的 --- app/config/const.py | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/app/config/const.py b/app/config/const.py index 800ebf0..7a0a328 100644 --- a/app/config/const.py +++ b/app/config/const.py @@ -23,6 +23,8 @@ USER_STATSU_OFF = "0" Dialog_STATSU_DELETE = "2" +Dialog_STATSU_ON = "1" +Dialog_STATSU_OFF = "0" DEPT_STATUS_DELETE = "2" DEPT_STATUS_ON = "1" @@ -30,4 +32,8 @@ ROLE_STATUS_DELETE = "2" ROLE_STATUS_ON = "1" -ROLE_STATUS_OFF = "0" \ No newline at end of file +ROLE_STATUS_OFF = "0" + +RESOURCE_STATUS_DELETE = "2" +RESOURCE_STATUS_ON = "1" +RESOURCE_STATUS_OFF = "0" \ No newline at end of file -- Gitblit v1.8.0