fixed the control navigation

This commit is contained in:
Salijoghli 2025-09-02 12:39:56 +04:00
parent 31b83dcbe7
commit e1ba03589d

View File

@ -4,57 +4,21 @@
"$": [ "$": [
"ds", "ds",
192, 192,
1755595218713 1756802337271
], ],
"$columns": [ "$columns": [
{ {
"data": [ "data": [],
"MCM01",
"MCM01",
"MCM01",
"MCM02",
"MCM03",
"MCM04",
"MCM04",
"MCM05",
"MCM06",
"MCM07",
"MCM07"
],
"name": "Location", "name": "Location",
"type": "String" "type": "String"
}, },
{ {
"data": [ "data": [],
"Diagnostic",
"High",
"Medium",
"Diagnostic",
"Diagnostic",
"Diagnostic",
"High",
"Diagnostic",
"Diagnostic",
"Diagnostic",
"High"
],
"name": "Priority", "name": "Priority",
"type": "String" "type": "String"
}, },
{ {
"data": [ "data": [],
3,
5,
2,
2,
1,
2,
5,
1,
1,
2,
3
],
"name": "Count", "name": "Count",
"type": "Long" "type": "Long"
} }
@ -102,6 +66,12 @@
"params.value": { "params.value": {
"paramDirection": "input", "paramDirection": "input",
"persistent": true "persistent": true
},
"params.value.tagProps[0]": {
"onChange": {
"enabled": null,
"script": "\tsystem.perspective.print(currentValue.value)"
}
} }
}, },
"props": { "props": {
@ -117,7 +87,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tnavigation.navigate_to_page.detailed_view(self, self.view.params.value.tagProps[0],self.view.params.value.tagProps[0], self.view.params.value.tagProps[3])" "script": "\tsystem.perspective.navigate(self.view.params.value.tagProps[0])"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"