Merge branch 'feature/create_app' into razrab
This commit is contained in:
commit
8491195a5e
3 files changed
+22
-13
No files matched your search
@@ -106,11 +106,6 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const logging=async()=>{
|
const logging=async()=>{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (!v$.value.$error) {
|
if (!v$.value.$error) {
|
||||||
await accountStore.logging(anon)
|
await accountStore.logging(anon)
|
||||||
}
|
}
|
||||||
@@ -119,8 +114,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
v$.value.$validate()
|
v$.value.$validate()
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -112,6 +112,12 @@
|
|||||||
|
|
||||||
<template v-slot:prepend>
|
<template v-slot:prepend>
|
||||||
<v-icon :icon="x.ico"/>
|
<v-icon :icon="x.ico"/>
|
||||||
|
<v-tooltip
|
||||||
|
v-if="rail"
|
||||||
|
activator="parent"
|
||||||
|
location="top">
|
||||||
|
{{ x.name }}
|
||||||
|
</v-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
|
|
||||||
@@ -124,6 +130,12 @@
|
|||||||
v-bind="props"
|
v-bind="props"
|
||||||
:title="x.name"
|
:title="x.name"
|
||||||
:prepend-icon="x.ico" />
|
:prepend-icon="x.ico" />
|
||||||
|
<v-tooltip
|
||||||
|
v-if="rail"
|
||||||
|
activator="parent"
|
||||||
|
location="top">
|
||||||
|
{{ x.name }}
|
||||||
|
</v-tooltip>
|
||||||
</template>
|
</template>
|
||||||
<v-list-item v-for="(child, k) in x.submenu"
|
<v-list-item v-for="(child, k) in x.submenu"
|
||||||
|
|
||||||
@@ -147,6 +159,12 @@
|
|||||||
<template v-slot:prepend>
|
<template v-slot:prepend>
|
||||||
<v-icon
|
<v-icon
|
||||||
:icon="x.imagecode" />
|
:icon="x.imagecode" />
|
||||||
|
<v-tooltip
|
||||||
|
v-if="rail"
|
||||||
|
activator="parent"
|
||||||
|
location="top">
|
||||||
|
{{ x.name }}
|
||||||
|
</v-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
</v-list>
|
</v-list>
|
||||||
@@ -261,7 +279,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
import { ref, computed } from 'vue'
|
import { ref, computed, onMounted} from 'vue'
|
||||||
import uf from '@/utils/universal_functions'
|
import uf from '@/utils/universal_functions'
|
||||||
import { useAccountStore } from '@/store/AccountStore'
|
import { useAccountStore } from '@/store/AccountStore'
|
||||||
import { useMainmenuStore } from '@/store/MainmenuStore'
|
import { useMainmenuStore } from '@/store/MainmenuStore'
|
||||||
@@ -350,18 +368,17 @@ export default {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const imageSrc = computed(() => {
|
const imageSrc = computed(() => {
|
||||||
return new URL(`@/assets/FNS-logo-xs.png`, import.meta.url).href;
|
return new URL(`@/assets/FNS-logo-xs.png`, import.meta.url).href;
|
||||||
})
|
})
|
||||||
|
|
||||||
const getcard = async () => {
|
const getcard = async () => {
|
||||||
menuGetUserDialog.value = true
|
menuGetUserDialog.value = true
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
drawer.value = accountStore.cod2user ? true : false
|
||||||
|
})
|
||||||
|
|
||||||
return {
|
return {
|
||||||
theme,
|
theme,
|
||||||
|
|||||||
@@ -15,6 +15,5 @@ class PlanCalendarAdmin(admin.ModelAdmin):
|
|||||||
list_filter = ('start_work_period', 'end_work_period')
|
list_filter = ('start_work_period', 'end_work_period')
|
||||||
fields = ('name', 'start_work_period', 'end_work_period')
|
fields = ('name', 'start_work_period', 'end_work_period')
|
||||||
|
|
||||||
|
|
||||||
admin.site.register(GeneralVacation, GeneralVacationAdmin),
|
admin.site.register(GeneralVacation, GeneralVacationAdmin),
|
||||||
admin.site.register(PlanCalendar, PlanCalendarAdmin)
|
admin.site.register(PlanCalendar, PlanCalendarAdmin)
|
||||||
Reference in new issue
Block a user