DFiP_Budget_planing/web/src/constants.jsx
2026-05-21 11:09:31 +03:00

42 lines
1.2 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export const ROLES_ID_NAME = {
1: 'admin',
2: 'executor_dfip',
3: 'executor_rf',
};
export const ROLES_NAME_ID = { admin: 1, executor_dfip: 2, executor_rf: 3 };
export const ROLES_ID_RUSSIAN_NAME = {
1: 'Администратор',
2: 'Исполнитель ДФИП',
3: 'Исполнитель',
};
export const ROLES_ID_RUSSIAN_NAME_ARRAY = [
{ id: 1, role: 'Администратор' },
{ id: 2, role: 'Исполнитель ДФИП' },
{ id: 3, role: 'Исполнитель' },
];
export const TYPES_CELLS = { numeric: 'число', text: 'текст' };
export const EDIT_ACCESS = { 1: 'RESTRICT', 2: 'VIEW', 3: 'EDIT' };
export const EDIT_ACCESS_NAME_CODE = { RESTRICT: 1, VIEW: 2, EDIT: 3 };
export const EDIT_ACCESS_RUSSIAN = {
1: 'Запрет на все',
2: 'Только просмотр',
3: 'Просмотр и редактирование',
};
export const SHEET_NAME = {
"AHR": "АХР",
"CAP": "КВП",
"OPER": "Операц",
"AHR_LIMIT": "АХР Лимиты",
"AHR_RENT": "АХР Аренда",
"AHR_UTILITY": "АХР Коммунальные услуги",
"AHR_SECURITY": "АХР Безопасность",
"OTCH9F": "Отчет 9ф",
"SMETA": "Смета"
};