refactor: branch
This commit is contained in:
parent
f062a25c27
commit
af986e0ae9
1 changed files with 17 additions and 14 deletions
|
|
@ -467,26 +467,29 @@ onMounted(async () => {
|
||||||
</AppBox>
|
</AppBox>
|
||||||
|
|
||||||
<AppBox bordered style="width: 100%" v-if="!branchData?.total">
|
<AppBox bordered style="width: 100%" v-if="!branchData?.total">
|
||||||
<div class="column">
|
<div class="row justify-end">
|
||||||
<div class="col-1 self-end">
|
<TooltipComponent
|
||||||
<TooltipComponent
|
title="branchNoMainOfficeYet"
|
||||||
title="branchNoMainOfficeYet"
|
caption="branchClickToCreateMainOffice"
|
||||||
caption="branchClickToCreateMainOffice"
|
imgSrc="img-table-"
|
||||||
imgSrc="img-table-"
|
/>
|
||||||
/>
|
</div>
|
||||||
</div>
|
<div
|
||||||
<div class="col self-center" style="display: flex; align-items: center">
|
style="
|
||||||
<AddButton
|
display: flex;
|
||||||
:label="'สร้างสำนักงานใหญ่'"
|
align-items: center;
|
||||||
@trigger="() => openDialog()"
|
justify-content: center;
|
||||||
/>
|
height: 40vh;
|
||||||
</div>
|
"
|
||||||
|
>
|
||||||
|
<AddButton :label="'สร้างสำนักงานใหญ่'" @trigger="() => openDialog()" />
|
||||||
</div>
|
</div>
|
||||||
</AppBox>
|
</AppBox>
|
||||||
|
|
||||||
<AppBox
|
<AppBox
|
||||||
class="bordered branch-container no-padding"
|
class="bordered branch-container no-padding"
|
||||||
:class="{ dark: $q.dark.isActive }"
|
:class="{ dark: $q.dark.isActive }"
|
||||||
|
v-if="branchData && branchData.total > 0"
|
||||||
>
|
>
|
||||||
<AppBox class="bg-card-branch-title" style="border-radius: 0">
|
<AppBox class="bg-card-branch-title" style="border-radius: 0">
|
||||||
<div class="row items-center">
|
<div class="row items-center">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue