- create_tables.py: 加 current_handler_role/agentid,废弃 escalation_path/pos 清理 - init_data.py: 移除团队角色/问题类型种子(保留 getConfig 根目录修复) - index.ui: 移除团队角色/问题类型菜单项
377 lines
16 KiB
XML
377 lines
16 KiB
XML
{
|
|
"id": "app",
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"width": "100%",
|
|
"height": "100%",
|
|
"padding": "0"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "HBox",
|
|
"options": {
|
|
"width": "100%",
|
|
"cheight": 2,
|
|
"bgcolor": "#1e293b",
|
|
"padding": "0 16px",
|
|
"alignItems": "center",
|
|
"gap": "12px"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Button",
|
|
"id": "btn_toggle_sidebar",
|
|
"options": {
|
|
"label": "☰",
|
|
"css": "text",
|
|
"color": "#fff",
|
|
"cfontsize": 1.4
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "method",
|
|
"target": "app.sidebar_menu",
|
|
"method": "toggle_collapse"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "Title4",
|
|
"options": {
|
|
"text": "产线平台",
|
|
"color": "#fff"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Filler"
|
|
},
|
|
{
|
|
"widgettype": "urlwidget",
|
|
"options": {
|
|
"url": "{{entire_url('i18n/language.ui')}}"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "urlwidget",
|
|
"options": {
|
|
"url": "{{entire_url('/rbac/user/user_panel.ui')}}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "HBox",
|
|
"options": {
|
|
"css": "filler",
|
|
"padding": "0",
|
|
"gap": "0"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"width": "220px",
|
|
"minWidth": "200px",
|
|
"height": "100%",
|
|
"bgcolor": "#f8fafc"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Menu",
|
|
"id": "sidebar_menu",
|
|
"options": {
|
|
"width": "100%",
|
|
"height": "100%",
|
|
"target": "app.main_content",
|
|
"items": [
|
|
{
|
|
"name": "pipeline_core",
|
|
"label": "产线管理",
|
|
"icon": "{{entire_url('/imgs/cubes.svg')}}",
|
|
"script": "this.open_tab({name:'pipeline_core',label:'产线管理',url:'/pipeline_core',removable:true})"
|
|
},
|
|
{
|
|
"name": "llm_manage",
|
|
"label": "模型管理",
|
|
"icon": "",
|
|
"script": "this.open_tab({name:'llm_manage',label:'模型管理',url:'/pipeline_core/llm',removable:true})"
|
|
},
|
|
{
|
|
"name": "generic_agent",
|
|
"label": "通用助手",
|
|
"icon": "",
|
|
"script": "this.open_tab({name:'generic_agent',label:'通用助手',url:'/pipeline_core/agent_generic',removable:true})"
|
|
},
|
|
{
|
|
"name": "skill_manage",
|
|
"label": "技能管理",
|
|
"icon": "{{entire_url('/imgs/cubes.svg')}}",
|
|
"script": "this.open_tab({name:'skill_manage',label:'技能管理',url:'/pipeline_core/skill_proposals',removable:true})"
|
|
},
|
|
{
|
|
"name": "pipeline_sdlc",
|
|
"label": "开发产线",
|
|
"icon": "{{entire_url('/imgs/workflow.svg')}}",
|
|
"script": "this.open_tab({name:'pipeline_sdlc',label:'开发产线',url:'/pipeline_core/agent',removable:true})"
|
|
},
|
|
{
|
|
"name": "wechat_channel",
|
|
"label": "微信通道",
|
|
"icon": "",
|
|
"script": "this.open_tab({name:'wechat_channel',label:'微信通道',url:'/pipeline-sdlc/wechat_config/index.ui',removable:true})"
|
|
},
|
|
{
|
|
"name": "pipeline_ops",
|
|
"label": "运营管理",
|
|
"icon": "{{entire_url('/imgs/dashboard.svg')}}",
|
|
"script": "this.open_tab({name:'pipeline_ops',label:'运营管理',url:'/pipeline_ops',removable:true})"
|
|
},
|
|
{
|
|
"name": "pipeline_dist",
|
|
"label": "分销管理",
|
|
"icon": "{{entire_url('/imgs/truck.svg')}}",
|
|
"script": "this.open_tab({name:'pipeline_dist',label:'分销管理',url:'/pipeline_dist',removable:true})"
|
|
},
|
|
{
|
|
"name": "pipeline_task",
|
|
"label": "任务中心",
|
|
"icon": "{{entire_url('/imgs/rocket.svg')}}",
|
|
"script": "this.open_tab({name:'pipeline_task',label:'任务中心',url:'/pipeline_task',removable:true})"
|
|
},
|
|
{
|
|
"name": "pipeline_ktv",
|
|
"label": "KTV产线",
|
|
"icon": "{{entire_url('/imgs/mic.svg')}}",
|
|
"script": "this.open_tab({name:'pipeline_ktv',label:'KTV产线',url:'/pipeline_task/task_submit.ui',removable:true})"
|
|
},
|
|
{
|
|
"name": "showcase",
|
|
"label": "展示平台",
|
|
"icon": "{{entire_url('/imgs/user-circle.svg')}}",
|
|
"script": "this.open_tab({name:'showcase',label:'展示平台',url:'/showcase',removable:true})"
|
|
},
|
|
{
|
|
"name": "tenant",
|
|
"label": "租户管理",
|
|
"icon": "{{entire_url('/imgs/globe.svg')}}",
|
|
"script": "this.open_tab({name:'tenant',label:'租户管理',url:'/tenant',removable:true})"
|
|
},
|
|
{
|
|
"name": "app_audit",
|
|
"label": "审计日志",
|
|
"icon": "{{entire_url('/imgs/database.svg')}}",
|
|
"script": "this.open_tab({name:'app_audit',label:'审计日志',url:'/app_audit',removable:true})"
|
|
},
|
|
{
|
|
"name": "org_remote",
|
|
"label": "远程空间",
|
|
"icon": "",
|
|
"script": "this.open_tab({name:'org_remote',label:'远程空间',url:'/pipeline-sdlc/sd_org_remote',removable:true})"
|
|
},
|
|
{
|
|
"name": "product_management",
|
|
"label": "产品管理",
|
|
"icon": "",
|
|
"items": [
|
|
{
|
|
"name": "pm_category",
|
|
"label": "产品类别管理",
|
|
"script": "this.open_tab({name:'pm_category',label:'产品类别管理',url:'/product_management/product_category_tree',removable:true})"
|
|
},
|
|
{
|
|
"name": "pm_product",
|
|
"label": "产品管理",
|
|
"script": "this.open_tab({name:'pm_product',label:'产品管理',url:'/product_management/product_list',removable:true})"
|
|
},
|
|
{
|
|
"name": "pm_resource",
|
|
"label": "产品资源绑定",
|
|
"script": "this.open_tab({name:'pm_resource',label:'产品资源绑定',url:'/product_management/product_resource_list',removable:true})"
|
|
},
|
|
{
|
|
"name": "pm_supplier",
|
|
"label": "资源供应商关联",
|
|
"script": "this.open_tab({name:'pm_supplier',label:'资源供应商关联',url:'/product_management/product_resource_supplier_list',removable:true})"
|
|
},
|
|
{
|
|
"name": "pm_subscription",
|
|
"label": "客户订购管理",
|
|
"script": "this.open_tab({name:'pm_subscription',label:'客户订购管理',url:'/product_management/product_subscription_list',removable:true})"
|
|
},
|
|
{
|
|
"name": "pm_usage",
|
|
"label": "产品消费记录",
|
|
"script": "this.open_tab({name:'pm_usage',label:'产品消费记录',url:'/product_management/product_usage_log_list',removable:true})"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "discount",
|
|
"label": "折扣管理",
|
|
"icon": "",
|
|
"items": [
|
|
{
|
|
"name": "d_list",
|
|
"label": "折扣管理",
|
|
"script": "this.open_tab({name:'d_list',label:'折扣管理',url:'/discount/discount_list/index.ui',removable:true})"
|
|
},
|
|
{
|
|
"name": "d_marketing",
|
|
"label": "营销方案",
|
|
"script": "this.open_tab({name:'d_marketing',label:'营销方案',url:'/discount/discount_marketing_list/index.ui',removable:true})"
|
|
},
|
|
{
|
|
"name": "d_promo",
|
|
"label": "促销码",
|
|
"script": "this.open_tab({name:'d_promo',label:'促销码',url:'/discount/discount_promo_code_list/index.ui',removable:true})"
|
|
},
|
|
{
|
|
"name": "d_bind",
|
|
"label": "客户归属",
|
|
"script": "this.open_tab({name:'d_bind',label:'客户归属',url:'/discount/discount_customer_bind_list/index.ui',removable:true})"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "pricing",
|
|
"label": "定价管理",
|
|
"icon": "",
|
|
"items": [
|
|
{
|
|
"name": "pricing_program",
|
|
"label": "定价管理",
|
|
"script": "this.open_tab({name:'pricing_program',label:'定价管理',url:'/pricing/pricing_program',removable:true})"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "unipay",
|
|
"label": "支付管理",
|
|
"icon": "",
|
|
"items": [
|
|
{
|
|
"name": "pay_recharge",
|
|
"label": "充值",
|
|
"script": "this.open_tab({name:'pay_recharge',label:'充值',url:'/unipay/recharge.ui',removable:true})"
|
|
},
|
|
{
|
|
"name": "pay_refund",
|
|
"label": "退款",
|
|
"script": "this.open_tab({name:'pay_refund',label:'退款',url:'/unipay/refund.ui',removable:true})"
|
|
},
|
|
{
|
|
"name": "pay_manual",
|
|
"label": "手动充值",
|
|
"script": "this.open_tab({name:'pay_manual',label:'手动充值',url:'/unipay/manual_recharge.ui',removable:true})"
|
|
},
|
|
{
|
|
"name": "pay_transfer",
|
|
"label": "转账信息",
|
|
"script": "this.open_tab({name:'pay_transfer',label:'转账信息',url:'/unipay/transfer_info.ui',removable:true})"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "sysmgr",
|
|
"label": "系统管理",
|
|
"icon": "",
|
|
"items": [
|
|
{
|
|
"name": "rbac_users",
|
|
"label": "用户管理",
|
|
"script": "this.open_tab({name:'rbac_users',label:'用户管理',url:'/rbac/users',removable:true})"
|
|
},
|
|
{
|
|
"name": "rbac_addadmin",
|
|
"label": "添加管理员",
|
|
"script": "this.open_tab({name:'rbac_addadmin',label:'添加管理员',url:'/rbac/add_adminuser.ui',removable:true})"
|
|
},
|
|
{
|
|
"name": "rbac_list_path",
|
|
"label": "查询路径权限角色",
|
|
"script": "this.open_tab({name:'rbac_list_path',label:'查询路径权限角色',url:'/rbac/list_path_roles.ui',removable:true})"
|
|
},
|
|
{
|
|
"name": "rbac_find_unauth",
|
|
"label": "扫描未授权文件",
|
|
"script": "this.open_tab({name:'rbac_find_unauth',label:'扫描未授权文件',url:'/rbac/find_unauth_files.dspy',removable:true})"
|
|
},
|
|
{
|
|
"name": "rbac_refresh",
|
|
"label": "刷新权限缓存",
|
|
"script": "this.open_tab({name:'rbac_refresh',label:'刷新权限缓存',url:'/rbac/refresh_userperm.dspy',removable:true})"
|
|
},
|
|
{
|
|
"name": "ab_svgicon",
|
|
"label": "图标管理",
|
|
"script": "this.open_tab({name:'ab_svgicon',label:'图标管理',url:'/appbase/svgicon',removable:true})"
|
|
},
|
|
{
|
|
"name": "ab_codemgr",
|
|
"label": "代码管理",
|
|
"script": "this.open_tab({name:'ab_codemgr',label:'代码管理',url:'/appbase/appcodes',removable:true})"
|
|
},
|
|
{
|
|
"name": "ab_params",
|
|
"label": "参数管理",
|
|
"script": "this.open_tab({name:'ab_params',label:'参数管理',url:'/appbase/params',removable:true})"
|
|
},
|
|
{
|
|
"name": "ab_jsonapi",
|
|
"label": "json应用接口",
|
|
"script": "this.open_tab({name:'ab_jsonapi',label:'json应用接口',url:'/appbase/jsonhttpapi',removable:true})"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "TabPanel",
|
|
"id": "main_content",
|
|
"options": {
|
|
"css": "filler",
|
|
"width": "100%",
|
|
"height": "100%",
|
|
"tab_pos": "top",
|
|
"items": [
|
|
{
|
|
"name": "home",
|
|
"label": "主页",
|
|
"removable": false,
|
|
"content": {
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"width": "100%",
|
|
"padding": "40px",
|
|
"spacing": "16px"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Title2",
|
|
"options": {
|
|
"text": "产线平台"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"text": "管理产线定义、运营配置、分销渠道与任务执行",
|
|
"cfontsize": 1.2,
|
|
"color": "#64748b"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |