This commit is contained in:
yumoqing 2026-06-12 15:36:02 +08:00
parent dd8f2d23f6
commit 6bc04897ab

View File

@ -75,7 +75,7 @@
"wid": "self", "wid": "self",
"event": "click", "event": "click",
"actiontype": "script", "actiontype": "script",
"target": "failed_table", "target": "body.failed_table",
"script": "var root = bricks.app.root; var sd = bricks.getWidgetById('start_date', root); var ed = bricks.getWidgetById('end_date', root); var hf = bricks.getWidgetById('handled_filter', root); var params = {}; if(hf && hf.getValue()) params.handled = hf.getValue(); if(sd && sd.getValue()) params.start_date = sd.getValue(); if(ed && ed.getValue()) params.end_date = ed.getValue(); await this.render(params);" "script": "var root = bricks.app.root; var sd = bricks.getWidgetById('start_date', root); var ed = bricks.getWidgetById('end_date', root); var hf = bricks.getWidgetById('handled_filter', root); var params = {}; if(hf && hf.getValue()) params.handled = hf.getValue(); if(sd && sd.getValue()) params.start_date = sd.getValue(); if(ed && ed.getValue()) params.end_date = ed.getValue(); await this.render(params);"
}] }]
} }