fix: 首页卡片使用binds绑定click事件
This commit is contained in:
parent
136e7a7e57
commit
4de0be5b4b
@ -121,12 +121,18 @@
|
|||||||
"label": "产线管理",
|
"label": "产线管理",
|
||||||
"cwidth": 23,
|
"cwidth": 23,
|
||||||
"cheight": 8,
|
"cheight": 8,
|
||||||
"css": "card",
|
"css": "card"
|
||||||
|
},
|
||||||
|
"binds": [{
|
||||||
|
"wid": "self",
|
||||||
|
"event": "click",
|
||||||
"actiontype": "urlwidget",
|
"actiontype": "urlwidget",
|
||||||
"target": "app.main_content",
|
"target": "app.main_content",
|
||||||
"url": "{{entire_url('/pipeline_core/')}}",
|
"options": {
|
||||||
|
"url": "{{entire_url('/pipeline_core/')}}"
|
||||||
|
},
|
||||||
"mode": "replace"
|
"mode": "replace"
|
||||||
}
|
}]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"widgettype": "Button",
|
"widgettype": "Button",
|
||||||
@ -134,12 +140,18 @@
|
|||||||
"label": "运营管理",
|
"label": "运营管理",
|
||||||
"cwidth": 23,
|
"cwidth": 23,
|
||||||
"cheight": 8,
|
"cheight": 8,
|
||||||
"css": "card",
|
"css": "card"
|
||||||
|
},
|
||||||
|
"binds": [{
|
||||||
|
"wid": "self",
|
||||||
|
"event": "click",
|
||||||
"actiontype": "urlwidget",
|
"actiontype": "urlwidget",
|
||||||
"target": "app.main_content",
|
"target": "app.main_content",
|
||||||
"url": "{{entire_url('/pipeline_ops/')}}",
|
"options": {
|
||||||
|
"url": "{{entire_url('/pipeline_ops/')}}"
|
||||||
|
},
|
||||||
"mode": "replace"
|
"mode": "replace"
|
||||||
}
|
}]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"widgettype": "Button",
|
"widgettype": "Button",
|
||||||
@ -147,12 +159,18 @@
|
|||||||
"label": "分销管理",
|
"label": "分销管理",
|
||||||
"cwidth": 23,
|
"cwidth": 23,
|
||||||
"cheight": 8,
|
"cheight": 8,
|
||||||
"css": "card",
|
"css": "card"
|
||||||
|
},
|
||||||
|
"binds": [{
|
||||||
|
"wid": "self",
|
||||||
|
"event": "click",
|
||||||
"actiontype": "urlwidget",
|
"actiontype": "urlwidget",
|
||||||
"target": "app.main_content",
|
"target": "app.main_content",
|
||||||
"url": "{{entire_url('/pipeline_dist/')}}",
|
"options": {
|
||||||
|
"url": "{{entire_url('/pipeline_dist/')}}"
|
||||||
|
},
|
||||||
"mode": "replace"
|
"mode": "replace"
|
||||||
}
|
}]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"widgettype": "Button",
|
"widgettype": "Button",
|
||||||
@ -160,12 +178,18 @@
|
|||||||
"label": "任务中心",
|
"label": "任务中心",
|
||||||
"cwidth": 23,
|
"cwidth": 23,
|
||||||
"cheight": 8,
|
"cheight": 8,
|
||||||
"css": "card",
|
"css": "card"
|
||||||
|
},
|
||||||
|
"binds": [{
|
||||||
|
"wid": "self",
|
||||||
|
"event": "click",
|
||||||
"actiontype": "urlwidget",
|
"actiontype": "urlwidget",
|
||||||
"target": "app.main_content",
|
"target": "app.main_content",
|
||||||
"url": "{{entire_url('/pipeline_task/')}}",
|
"options": {
|
||||||
|
"url": "{{entire_url('/pipeline_task/')}}"
|
||||||
|
},
|
||||||
"mode": "replace"
|
"mode": "replace"
|
||||||
}
|
}]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user