fix: CRUD路径改为tablename/index.ui格式,清理错误的.ui路径
This commit is contained in:
parent
b834b040de
commit
c9372ae2c6
@ -65,8 +65,6 @@ 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",
|
||||
@ -117,8 +115,6 @@ 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",
|
||||
|
||||
@ -8,12 +8,12 @@
|
||||
{
|
||||
"name":"discount_list",
|
||||
"label": "折扣管理",
|
||||
"url": "{{entire_url('discount_list.ui')}}"
|
||||
"url": "{{entire_url('discount_list/index.ui')}}"
|
||||
},
|
||||
{
|
||||
"name":"discount_detail_list",
|
||||
"label": "折扣产品明细",
|
||||
"url": "{{entire_url('discount_detail_list.ui')}}"
|
||||
"url": "{{entire_url('discount_detail_list/index.ui')}}"
|
||||
},
|
||||
{
|
||||
"name":"discount_marketing_list",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user