forked from PanJiaChen/vue-element-admin
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add field preference * minimal changes * remove input * fix error * raname service * add information * rename descrition the preference Co-authored-by: Elsio Sanchez <elsiosanche@gmail.com>
- Loading branch information
1 parent
44077e4
commit 7617bdb
Showing
8 changed files
with
469 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
export function getPreference({ | ||
parentUuid, | ||
containerUuid, | ||
panelType, | ||
attribute, | ||
value, | ||
level | ||
}) { | ||
return getPreference({ | ||
parentUuid, | ||
containerUuid, | ||
panelType, | ||
attribute, | ||
value, | ||
level | ||
}) | ||
} | ||
|
||
export function updatePreference({ | ||
parentUuid, | ||
containerUuid, | ||
panelType, | ||
attribute, | ||
value, | ||
level | ||
}) { | ||
return updatePreference({ | ||
parentUuid, | ||
containerUuid, | ||
panelType, | ||
attribute, | ||
value, | ||
level | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
src/components/ADempiere/Field/popover/preference/filelistPreference.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
export default [ | ||
{ | ||
elementColumnName: 'AD_Client_ID', | ||
columnName: 'AD_Client_ID', | ||
isFromDictionary: true, | ||
overwriteDefinition: { | ||
size: 24, | ||
sequence: 0, | ||
isReadOnly: true, | ||
handleActionPerformed: true, | ||
handleContentSelection: true, | ||
handleActionKeyPerformed: true, | ||
componentPath: 'FieldYesNo', | ||
value: true | ||
} | ||
}, | ||
{ | ||
elementColumnName: 'AD_Org_ID', | ||
columnName: 'AD_Org_ID', | ||
isFromDictionary: true, | ||
overwriteDefinition: { | ||
size: 24, | ||
sequence: 1, | ||
handleActionPerformed: true, | ||
handleContentSelection: true, | ||
handleActionKeyPerformed: true, | ||
componentPath: 'FieldYesNo', | ||
value: false | ||
} | ||
}, | ||
{ | ||
elementColumnName: 'AD_User_ID', | ||
columnName: 'AD_User_ID', | ||
isFromDictionary: true, | ||
overwriteDefinition: { | ||
size: 24, | ||
sequence: 2, | ||
isReadOnly: true, | ||
handleActionPerformed: true, | ||
handleContentSelection: true, | ||
handleActionKeyPerformed: true, | ||
componentPath: 'FieldYesNo', | ||
value: true | ||
} | ||
}, | ||
{ | ||
elementColumnName: 'AD_Window_ID', | ||
columnName: 'AD_Window_ID', | ||
isFromDictionary: true, | ||
overwriteDefinition: { | ||
size: 24, | ||
sequence: 3, | ||
isReadOnly: true, | ||
handleActionPerformed: true, | ||
handleContentSelection: true, | ||
handleActionKeyPerformed: true, | ||
componentPath: 'FieldYesNo', | ||
value: true | ||
} | ||
} | ||
] |
Oops, something went wrong.