Skip to content

Commit

Permalink
Fix: Support Windows, Process and Browser (PanJiaChen#2344)
Browse files Browse the repository at this point in the history
  • Loading branch information
elsiosanchez authored Jun 12, 2024
1 parent 89ca39e commit 32d8745
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,11 +310,10 @@ export default defineComponent({
})

function searchZoom(field) {
store.dispatch('getListZoomWindowsRequest', {
process_parameter_id: field.process_id,
field_id: field.id,
column_name: field.columnName,
table_name: field.tabTableName,
props.containerManager.searchFieldZoom({
id: field.id,
columnName: field.columnName,
tabTableName: field.tabTableName,
valueField: valueField.value
}).then(response => {
zoom.value = response
Expand Down
13 changes: 13 additions & 0 deletions src/utils/ADempiere/dictionary/browser/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -591,5 +591,18 @@ export const containerManager = {
levelValue,
fieldAttributes
})
},
searchFieldZoom({
id,
columnName,
tabTableName,
valueField
}) {
return store.dispatch('getListZoomWindowsRequest', {
browse_field_id: id,
column_name: columnName,
table_name: tabTableName,
valueField
})
}
}
13 changes: 13 additions & 0 deletions src/utils/ADempiere/dictionary/process.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,5 +333,18 @@ export const containerManager = {
levelValue,
fieldAttributes
})
},
searchFieldZoom({
id,
columnName,
tabTableName,
valueField
}) {
return store.dispatch('getListZoomWindowsRequest', {
process_parameter_id: id,
column_name: columnName,
table_name: tabTableName,
valueField
})
}
}
13 changes: 13 additions & 0 deletions src/utils/ADempiere/dictionary/window/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2273,5 +2273,18 @@ export const containerManager = {
levelValue,
fieldAttributes
})
},
searchFieldZoom({
id,
columnName,
tabTableName,
valueField
}) {
return store.dispatch('getListZoomWindowsRequest', {
id,
column_name: columnName,
table_name: tabTableName,
valueField
})
}
}

0 comments on commit 32d8745

Please sign in to comment.