fix
This commit is contained in:
parent
7b5f2a8ab5
commit
b6f546e78c
@ -594,6 +594,82 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"type": "ia.input.checkbox"
|
"type": "ia.input.checkbox"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"custom": {
|
||||||
|
"buttonid": "status_filters/fio"
|
||||||
|
},
|
||||||
|
"events": {
|
||||||
|
"component": {
|
||||||
|
"onActionPerformed": {
|
||||||
|
"config": {
|
||||||
|
"script": "\tif not self.props.selected:\n\t\tbuttonid \u003d self.custom.buttonid\n\t\tactivityLog.logger.callLogger(self.view, \u0027click\u0027, buttonid)\n\t\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
|
||||||
|
},
|
||||||
|
"scope": "G",
|
||||||
|
"type": "script"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"meta": {
|
||||||
|
"name": "Show-Fios",
|
||||||
|
"tooltip": {
|
||||||
|
"delay": 250
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"position": {
|
||||||
|
"basis": "36px"
|
||||||
|
},
|
||||||
|
"propConfig": {
|
||||||
|
"props.enabled": {
|
||||||
|
"binding": {
|
||||||
|
"config": {
|
||||||
|
"expression": "if ({session.custom.alarm_filter.show_map}\u003dTrue \u0026\u0026 {session.custom.view_in_focus}\u003d\u0027/MAP-Home\u0027, True, False)"
|
||||||
|
},
|
||||||
|
"enabled": false,
|
||||||
|
"type": "expr"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"props.selected": {
|
||||||
|
"binding": {
|
||||||
|
"config": {
|
||||||
|
"bidirectional": true,
|
||||||
|
"path": "session.custom.alarm_filter.show_fio"
|
||||||
|
},
|
||||||
|
"type": "property"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"props": {
|
||||||
|
"checkedIcon": {
|
||||||
|
"color": {
|
||||||
|
"disabled": "#FFFFFF",
|
||||||
|
"enabled": "#FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"style": {
|
||||||
|
"color": "#FFFFFF",
|
||||||
|
"fontFamily": "Arial",
|
||||||
|
"fontSize": 12,
|
||||||
|
"fontWeight": "bold",
|
||||||
|
"marginLeft": 10,
|
||||||
|
"marginRight": 10
|
||||||
|
},
|
||||||
|
"text": "Show Fio"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"customMethods": [],
|
||||||
|
"extensionFunctions": null,
|
||||||
|
"messageHandlers": [
|
||||||
|
{
|
||||||
|
"messageType": "select-all-filters",
|
||||||
|
"pageScope": false,
|
||||||
|
"script": "\tdata \u003d payload[\"data\"]\n\tself.props.selected \u003d data",
|
||||||
|
"sessionScope": false,
|
||||||
|
"viewScope": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"type": "ia.input.checkbox"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"meta": {
|
"meta": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user