โครงสร้างอัตรากำลัง => structure org
This commit is contained in:
parent
9c5e024965
commit
89efce2830
4 changed files with 162 additions and 52 deletions
|
|
@ -16,6 +16,7 @@ import type { OrgRevision } from "@/modules/02_organization/interface/response/o
|
|||
*/
|
||||
import TreeView from "@/modules/02_organization/components/TreeView.vue";
|
||||
import StructureView from "@/modules/02_organization/components/StructureMain.vue";
|
||||
import StructureOrgMain from "@/modules/02_organization/components/StructureOrgMain.vue";
|
||||
import DialogFormNewStructure from "@/modules/02_organization/components/DialogNewStructure.vue";
|
||||
import DialogDateTime from "@/modules/02_organization/components/DialogFormDateTime.vue";
|
||||
|
||||
|
|
@ -323,6 +324,14 @@ onMounted(async () => {
|
|||
:color="store.statusView === 'tree' ? 'grey-7' : 'grey-4'"
|
||||
@click="store.statusView = 'tree'"
|
||||
/>
|
||||
<q-separator inset vertical />
|
||||
<q-btn
|
||||
flat
|
||||
dense
|
||||
icon="mdi-account-group"
|
||||
:color="store.statusView === 'org' ? 'grey-7' : 'grey-4'"
|
||||
@click="store.statusView = 'org'"
|
||||
/>
|
||||
</q-toolbar>
|
||||
</q-card-section>
|
||||
<q-separator />
|
||||
|
|
@ -339,6 +348,10 @@ onMounted(async () => {
|
|||
<q-tab-panel name="tree" style="padding: 0px">
|
||||
<StructureView v-if="store.statusView === 'tree'" />
|
||||
</q-tab-panel>
|
||||
|
||||
<q-tab-panel name="org" style="padding: 0px">
|
||||
<StructureOrgMain v-if="store.statusView === 'org'" />
|
||||
</q-tab-panel>
|
||||
</q-tab-panels>
|
||||
</q-card-section>
|
||||
</q-card>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue