fix: load_path.py补充discount_list.ui和discount_detail_list.ui路径
这两个是老表的直接.ui文件路径,menu.ui引用的是这些路径而非CRUD目录。 需要在logined和operator角色中都注册。
This commit is contained in:
parent
daa6e66d09
commit
b834b040de
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user