- 删除 models/product_type_config.json
- 删除 json/product_type_config_list.json (CRUD定义)
- 删除 wwwroot/product_type_config_manage.ui 和 product_type_config_list/ 目录
- 删除 wwwroot/api/product_type_config_{create,update,delete}.dspy
- core.py: 移除 get_operator_config/set_operator_config 方法
- core.py: get_product_detail 不再查询 operator_config
- __init__.py: 移除 wrapper 函数和 env 注册
- product_detail.dspy: 移除 operator_config 查询逻辑
- scripts/load_path.py: 移除所有 product_type_config 权限路径
- menu.ui: 移除"运营商配置"菜单项
- index.ui: 移除"运营商配置"卡片,更新标题描述
- README.md: 移除相关文档
19 lines
1.0 KiB
XML
19 lines
1.0 KiB
XML
{
|
|
"widgettype": "Menu",
|
|
"options": {
|
|
"target": "PopupWindow",
|
|
"popup_options": {"archor": "cc", "width": "70%", "height": "70%"},
|
|
"cwidth": 10,
|
|
"items": [
|
|
{% if get_user() %}
|
|
{"name": "category", "label": "产品类别管理", "url": "{{entire_url('/product_management/product_category_tree')}}"},
|
|
{"name": "product", "label": "产品管理", "url": "{{entire_url('/product_management/product_list')}}"},
|
|
{"name": "resource", "label": "产品资源绑定", "url": "{{entire_url('/product_management/product_resource_list')}}"},
|
|
{"name": "supplier", "label": "资源供应商关联", "url": "{{entire_url('/product_management/product_resource_supplier_list')}}"},
|
|
{"name": "subscription", "label": "客户订购管理", "url": "{{entire_url('/product_management/product_subscription_list')}}"},
|
|
{"name": "usage", "label": "产品消费记录", "url": "{{entire_url('/product_management/product_usage_log_list')}}"}
|
|
{% endif %}
|
|
]
|
|
}
|
|
}
|