feat [P-279]: сделана шапка, добавлены пути в левом списке меню для отображения справочника
This commit is contained in:
1 parent
467cc3c468
commit
1051b69dd5
7 files changed
+50
-6
No files matched your search
@@ -21,9 +21,9 @@ class Settings:
|
||||
self.db = {
|
||||
"default": {
|
||||
"ENGINE": "django.db.backends.mysql",
|
||||
"NAME": "portal_test", # Имя базы данных
|
||||
"NAME": os.getenv("DB_NAME"), # Имя базы данных
|
||||
"USER": os.getenv("DB_USER"), # Имя пользователя
|
||||
"PASSWORD": "P@sw0rd", # Пароль
|
||||
"PASSWORD": os.getenv("DB_PASSWORD"), # Пароль
|
||||
"HOST": os.getenv("DB_HOST"), # Хост
|
||||
"PORT": os.getenv("DB_INTERNAL_PORT"), # Порт
|
||||
}
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
<template>
|
||||
<v-row>
|
||||
<v-col cols="2">
|
||||
<v-select
|
||||
variant="outlined"
|
||||
density="compact"
|
||||
clearable
|
||||
hide-details
|
||||
bg-color="grey-lighten-4"
|
||||
label="Список отделов">
|
||||
</v-select>
|
||||
</v-col>
|
||||
<v-col class="d-flex justify-center">Title сюда</v-col>
|
||||
<v-col cols="3">
|
||||
<v-row>
|
||||
<v-col class="">
|
||||
<v-text-field
|
||||
append-inner-icon="mdi-magnify"
|
||||
label="Поиск сотрудников"
|
||||
variant="outlined"
|
||||
density="comfortable"
|
||||
bg-color="grey-lighten-4"
|
||||
hide-details clearable />
|
||||
<v-switch :model-value="true" color="teal" label="on" hide-details></v-switch>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</template>
|
||||
@@ -273,7 +273,7 @@ export default {
|
||||
submenu: [
|
||||
{
|
||||
name: "Справочник",
|
||||
link: "http://10.252.44.33/accounting6/members.php",
|
||||
path: "/employee_directory",
|
||||
},
|
||||
|
||||
// {
|
||||
|
||||
@@ -4,7 +4,7 @@ import { VCalendar } from 'vuetify/labs/VCalendar'
|
||||
|
||||
import { createVuetify } from 'vuetify'
|
||||
import { ru } from 'vuetify/locale'
|
||||
import { VTimePicker } from 'vuetify/labs/VTimePicker'
|
||||
// import { VTimePicker } from 'vuetify/labs/VTimePicker'
|
||||
|
||||
export default createVuetify({
|
||||
|
||||
@@ -13,7 +13,7 @@ export default createVuetify({
|
||||
},
|
||||
components: {
|
||||
VCalendar,
|
||||
VTimePicker,
|
||||
// VTimePicker,
|
||||
},
|
||||
theme: {
|
||||
defaultTheme: 'light',
|
||||
|
||||
@@ -192,7 +192,13 @@ const routes = [
|
||||
name: 'Secret Page',
|
||||
component: () =>
|
||||
import("@/views/secret/SecretPage.vue")
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/employee_directory',
|
||||
name: 'EmployeeDirectory',
|
||||
component: () =>
|
||||
import("@/views/employee_directory/EmployeeDirectoryMain.vue")
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
File renamed without changes.
@@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<v-container fluid>
|
||||
<HeaderEmployeeDirectory />
|
||||
</v-container>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import HeaderEmployeeDirectory from '../../components/EmployeeDirectory/HeaderEmployeeDirectory.vue';
|
||||
</script>
|
||||
Reference in new issue
Block a user