Skip to content

Commit

Permalink
Merge pull request #4069 from mikhailprivalov/doy-rename-filters
Browse files Browse the repository at this point in the history
ДОУ - переименование
  • Loading branch information
urchinpro authored Jul 5, 2024
2 parents 91e88be + ae3a082 commit 1fefabd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion context_processors/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def menu(request):
"access": ["Счет: проект, Счет: закрытие"],
},
{"url": "/ui/utils", "title": "Инструменты", "nt": False, "access": ["Инструменты"]},
{"url": "/ui/document-manager", "title": "Документы", "nt": False, "access": ["Документооборот: просмотр документов"]},
{"url": "/ui/document-manager", "title": "ДОУ", "nt": False, "access": ["ДОУ: просмотр документов"]},
]

hp = SettingManager.get(key="home_page", default="false")
Expand Down
4 changes: 2 additions & 2 deletions l2-frontend/src/mainWithRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -765,9 +765,9 @@ const router = new Router({
name: 'Billing',
component: () => import('@/pages/DocumentManagement/DocumentManager.vue'),
meta: {
title: 'Документы',
title: 'ДОУ',
fullPageLayout: true,
groups: ['Документооборот: просмотр документов'],
groups: ['ДОУ: просмотр документов'],
},
},
{
Expand Down
11 changes: 6 additions & 5 deletions l2-frontend/src/pages/DocumentManagement/DocumentsFilters.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@ import { ref } from 'vue';
import RadioFieldById from '@/fields/RadioFieldById.vue';
const filterButtons = ref([
{ id: 'my', label: 'Мои' },
{ id: 'wrote', label: 'Отписал' },
{ id: 'onControl', label: 'На контроле' },
{ id: 'toBeAgreed', label: 'На согласовании' },
{ id: 'onSignature', label: 'На подписи' },
{ id: 'created', label: 'Я создал' },
{ id: 'doing', label: 'Я исполняю' },
{ id: 'wrote', label: 'Я поручил' },
{ id: 'onControl', label: 'Я контролирую' },
{ id: 'toBeAgreed', label: 'Мне согласовать' },
{ id: 'onSignature', label: 'Мне подписать' },
]);
</script>

Expand Down

0 comments on commit 1fefabd

Please sign in to comment.