From 3a3c413bd6e6fb89d80f7a9487ba9fabbd12e8bb Mon Sep 17 00:00:00 2001 From: xuyonghao <898441624@qq.com> Date: 星期二, 31 十二月 2024 11:16:49 +0800 Subject: [PATCH] 调度器删除文件 --- app/models/resource_model.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/app/models/resource_model.py b/app/models/resource_model.py index c819bd9..c1c6960 100644 --- a/app/models/resource_model.py +++ b/app/models/resource_model.py @@ -58,6 +58,7 @@ 'menuName': self.name, 'menuType': self.resource_type_id, 'parentId': self.get_pid(), + 'status': self.status, 'parentName': self.get_pName(), 'children': [res.to_tree_select_json() for res in self.children if res if res.status != RESOURCE_STATUS_DELETE] } @@ -103,6 +104,7 @@ 'alwaysShow': True, 'perms': self.perms, 'resourceType': self.get_type_json(), + 'seq': self.seq, 'meta': { 'title': self.name, 'icon': self.icon, -- Gitblit v1.8.0