This commit is contained in:
parent
e3e0439d7e
commit
c2675bfe56
|
@ -1,19 +1,15 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import { onMounted, ref,computed, watch, } from 'vue';
|
import { onMounted, ref } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
import { useRouter } from 'vue-router';
|
|
||||||
import { useState } from 'src/composables/useState';
|
import { useState } from 'src/composables/useState';
|
||||||
import { useQuasar } from 'quasar';
|
import { useQuasar } from 'quasar';
|
||||||
import DepartmentSummaryDialog from 'src/pages/Department/Card/DepartmentSummaryDialog.vue';
|
|
||||||
import DepartmentDescriptorProxy from 'src/pages/Department/Card/DepartmentDescriptorProxy.vue';
|
import DepartmentDescriptorProxy from 'src/pages/Department/Card/DepartmentDescriptorProxy.vue';
|
||||||
import CreateDepartmentChild from '../CreateDepartmentChild.vue';
|
import CreateDepartmentChild from '../CreateDepartmentChild.vue';
|
||||||
|
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import useNotify from 'src/composables/useNotify.js';
|
import useNotify from 'src/composables/useNotify.js';
|
||||||
|
|
||||||
const quasar = useQuasar();
|
const quasar = useQuasar();
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const router = useRouter();
|
|
||||||
const { notify } = useNotify();
|
const { notify } = useNotify();
|
||||||
const state = useState();
|
const state = useState();
|
||||||
|
|
||||||
|
@ -117,19 +113,16 @@ onMounted(async () => {
|
||||||
<template #default-header="{ node }">
|
<template #default-header="{ node }">
|
||||||
<div
|
<div
|
||||||
class="row justify-between full-width q-pr-md cursor-pointer"
|
class="row justify-between full-width q-pr-md cursor-pointer"
|
||||||
|
|
||||||
>
|
|
||||||
<a
|
|
||||||
:href="node.id && `#/department/department/${node.id}/summary`"
|
|
||||||
color: inherit
|
|
||||||
@click.stop.exact="`#/department/department/${node.id}/summary`"
|
@click.stop.exact="`#/department/department/${node.id}/summary`"
|
||||||
@click.ctrl.stop="`#/department/department/${node.id}/summary`"
|
@click.ctrl.stop="`#/department/department/${node.id}/summary`"
|
||||||
|
:href="node.id && `#/department/department/${node.id}/summary`"
|
||||||
|
color: inherit
|
||||||
>
|
>
|
||||||
|
<a>
|
||||||
|
<DepartmentDescriptorProxy :id="node.id" />
|
||||||
{{ node.name }}
|
{{ node.name }}
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
<DepartmentSummaryDialog :id="node.id" />
|
|
||||||
|
|
||||||
<div class="row justify-between" style="max-width: max-content">
|
<div class="row justify-between" style="max-width: max-content">
|
||||||
<QIcon
|
<QIcon
|
||||||
v-if="node.id"
|
v-if="node.id"
|
||||||
|
|
Loading…
Reference in New Issue