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