From b834b040de204b01520290acf5a6701cf734b90f Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Wed, 24 Jun 2026 01:19:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20load=5Fpath.py=E8=A1=A5=E5=85=85discount?= =?UTF-8?q?=5Flist.ui=E5=92=8Cdiscount=5Fdetail=5Flist.ui=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 这两个是老表的直接.ui文件路径,menu.ui引用的是这些路径而非CRUD目录。 需要在logined和operator角色中都注册。 --- scripts/load_path.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/load_path.py b/scripts/load_path.py index 4e3c4ce..70d7f18 100644 --- a/scripts/load_path.py +++ b/scripts/load_path.py @@ -65,6 +65,8 @@ PATHS_LOGINED = [ f"/{MOD}", f"/{MOD}/index.ui", # 功能页面 + f"/{MOD}/discount_list.ui", + f"/{MOD}/discount_detail_list.ui", f"/{MOD}/generate_qr.dspy", f"/{MOD}/promote", f"/{MOD}/promote.ui", @@ -115,6 +117,8 @@ PATHS_LOGINED = [ # 角色专属权限 — operator 可管理折扣方案、营销方案、客户归属 PATHS_OPERATOR = [ # 折扣方案管理 + f"/{MOD}/discount_list.ui", + f"/{MOD}/discount_detail_list.ui", f"/{MOD}/discount_list", f"/{MOD}/discount_list/index.ui", f"/{MOD}/discount_list/get_discount.dspy",