fix: 首页卡片使用binds绑定click事件

This commit is contained in:
yumoqing 2026-06-12 00:48:03 +08:00
parent 136e7a7e57
commit 4de0be5b4b

View File

@ -121,12 +121,18 @@
"label": "产线管理",
"cwidth": 23,
"cheight": 8,
"css": "card",
"css": "card"
},
"binds": [{
"wid": "self",
"event": "click",
"actiontype": "urlwidget",
"target": "app.main_content",
"url": "{{entire_url('/pipeline_core/')}}",
"options": {
"url": "{{entire_url('/pipeline_core/')}}"
},
"mode": "replace"
}
}]
},
{
"widgettype": "Button",
@ -134,12 +140,18 @@
"label": "运营管理",
"cwidth": 23,
"cheight": 8,
"css": "card",
"css": "card"
},
"binds": [{
"wid": "self",
"event": "click",
"actiontype": "urlwidget",
"target": "app.main_content",
"url": "{{entire_url('/pipeline_ops/')}}",
"options": {
"url": "{{entire_url('/pipeline_ops/')}}"
},
"mode": "replace"
}
}]
},
{
"widgettype": "Button",
@ -147,12 +159,18 @@
"label": "分销管理",
"cwidth": 23,
"cheight": 8,
"css": "card",
"css": "card"
},
"binds": [{
"wid": "self",
"event": "click",
"actiontype": "urlwidget",
"target": "app.main_content",
"url": "{{entire_url('/pipeline_dist/')}}",
"options": {
"url": "{{entire_url('/pipeline_dist/')}}"
},
"mode": "replace"
}
}]
},
{
"widgettype": "Button",
@ -160,12 +178,18 @@
"label": "任务中心",
"cwidth": 23,
"cheight": 8,
"css": "card",
"css": "card"
},
"binds": [{
"wid": "self",
"event": "click",
"actiontype": "urlwidget",
"target": "app.main_content",
"url": "{{entire_url('/pipeline_task/')}}",
"options": {
"url": "{{entire_url('/pipeline_task/')}}"
},
"mode": "replace"
}
}]
}
]
}