Organigramm und Dokumente kompakter
All checks were successful
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 2m31s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 2m26s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 3m9s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 3m16s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 4m3s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 4m1s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 4m16s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 4m21s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m26s
All checks were successful
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 2m31s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 2m26s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 3m9s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 3m16s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 4m3s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 4m1s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 4m16s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 4m21s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m26s
- Organigramm: zwei Ebenen offen, Fläche so hoch wie der Inhalt, kleinere Abstände; Fokus-Ansicht in voller Breite mit Seitenspalte und Team-Vorschau - Dokumente: dichtere Zeilen, Unterordner in den Bereichen, Infospalte „Über diesen Ordner“ mit den pflegenden Rollen - Etwas weniger Randabstand im Seitenlayout Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ab0384ceb1
commit
33862183bf
80 changed files with 475 additions and 352 deletions
|
|
@ -10,7 +10,7 @@ import OrgChartNode from './OrgChartNode.vue';
|
|||
const props = defineProps({
|
||||
roots: { type: Array, required: true },
|
||||
teams: { type: Object, default: () => ({}) },
|
||||
path: { type: Array, default: () => [] },
|
||||
open: { type: Array, default: () => [] },
|
||||
focus: { type: Number, default: null },
|
||||
});
|
||||
|
||||
|
|
@ -89,15 +89,15 @@ watch(() => props.focus, center);
|
|||
|
||||
<div
|
||||
ref="canvas"
|
||||
class="org-canvas h-[calc(100vh-17rem)] min-h-[28rem] cursor-grab overflow-auto active:cursor-grabbing"
|
||||
class="org-canvas max-h-[calc(100vh-12rem)] min-h-[18rem] cursor-grab overflow-auto active:cursor-grabbing"
|
||||
@pointerdown="onPointerDown"
|
||||
@pointermove="onPointerMove"
|
||||
@pointerup="onPointerUp"
|
||||
@pointercancel="onPointerUp"
|
||||
>
|
||||
<div class="inline-block min-w-full p-10" :style="{ zoom: scale }">
|
||||
<div class="inline-block min-w-full px-6 pt-5 pb-6" :style="{ zoom: scale }">
|
||||
<ul class="org-tree">
|
||||
<OrgChartNode v-for="person in roots" :key="person.id" :person="person" :teams="teams" :path="path" :focus="focus" @focus="$emit('focus', $event)" />
|
||||
<OrgChartNode v-for="person in roots" :key="person.id" :person="person" :teams="teams" :open="open" :focus="focus" @focus="$emit('focus', $event)" />
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -124,7 +124,7 @@ watch(() => props.focus, center);
|
|||
|
||||
.org-tree ul {
|
||||
position: relative;
|
||||
padding-top: 22px;
|
||||
padding-top: 16px;
|
||||
}
|
||||
|
||||
.org-tree li {
|
||||
|
|
@ -132,7 +132,7 @@ watch(() => props.focus, center);
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 22px 10px 0;
|
||||
padding: 16px 5px 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
|
|
@ -143,7 +143,7 @@ watch(() => props.focus, center);
|
|||
top: 0;
|
||||
right: 50%;
|
||||
width: 50%;
|
||||
height: 22px;
|
||||
height: 16px;
|
||||
border-top: 1.5px solid var(--org-line);
|
||||
}
|
||||
|
||||
|
|
@ -188,7 +188,7 @@ watch(() => props.focus, center);
|
|||
position: absolute;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
height: 22px;
|
||||
height: 16px;
|
||||
border-left: 1.5px solid var(--org-line);
|
||||
}
|
||||
|
||||
|
|
@ -196,7 +196,7 @@ watch(() => props.focus, center);
|
|||
.org-members {
|
||||
position: relative;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.org-members::before {
|
||||
|
|
@ -213,7 +213,7 @@ watch(() => props.focus, center);
|
|||
}
|
||||
|
||||
.org-members-wide {
|
||||
grid-template-columns: repeat(2, 15rem);
|
||||
column-gap: 24px;
|
||||
grid-template-columns: repeat(2, 13.5rem);
|
||||
column-gap: 16px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue