| | |
| | | optionValue: 'id', |
| | | filterToQuery: buildFilter('name'), |
| | | }, |
| | | AREA: { |
| | | id: 'AREA', |
| | | labelKey: 'page.guarantee.scope.area', |
| | | valueType: 'reference', |
| | | reference: 'area', |
| | | optionText: 'name', |
| | | optionValue: 'id', |
| | | filterToQuery: buildFilter('name'), |
| | | }, |
| | | BIZ: { |
| | | id: 'BIZ', |
| | | labelKey: 'page.guarantee.scope.biz', |
| | | valueType: 'reference', |
| | | reference: 'taskType', |
| | | optionText: 'name', |
| | | optionValue: 'id', |
| | | filterToQuery: buildFilter('name'), |
| | | }, |
| | | AGV: { |
| | | id: 'AGV', |
| | | labelKey: 'page.guarantee.scope.agv', |
| | | valueType: 'reference', |
| | | reference: 'agv', |
| | | optionText: 'uuid', |
| | | optionValue: 'id', |
| | | filterToQuery: buildFilter('uuid'), |
| | | }, |
| | | }; |
| | | |
| | | export const DEFAULT_SCOPE_TYPE = SCOPE_CONFIGS.GLOBAL.id; |