fix: color dark mode
This commit is contained in:
parent
7efdc066e8
commit
1aeb48e9d7
1 changed files with 29 additions and 26 deletions
|
|
@ -507,36 +507,38 @@ watch(locale, () => {
|
||||||
<template v-slot:before>
|
<template v-slot:before>
|
||||||
<div class="rounded surface-1 full-height">
|
<div class="rounded surface-1 full-height">
|
||||||
<div
|
<div
|
||||||
class="row bordered-b q-pl-sm text-weight-bold surface-2"
|
class="row bordered-b q-pl-sm text-weight-bold surface-2 items-center"
|
||||||
style="height: 50px; display: flex; align-items: center"
|
style="height: 50px"
|
||||||
>
|
>
|
||||||
<div class="col">จัดการสาขาทั้งหมด</div>
|
<div class="col">จัดการสาขาทั้งหมด</div>
|
||||||
|
|
||||||
<div>
|
<q-btn
|
||||||
<button
|
round
|
||||||
id="hq-add-btn"
|
flat
|
||||||
style="border: none; background: transparent"
|
size="md"
|
||||||
>
|
dense
|
||||||
<Icon
|
id="hq-add-btn"
|
||||||
icon="pixelarticons:plus"
|
class="q-mr-sm"
|
||||||
height="26"
|
>
|
||||||
class="cursor-pointer"
|
<Icon
|
||||||
@click="
|
icon="pixelarticons:plus"
|
||||||
() => {
|
class="cursor-pointer"
|
||||||
if (!currentHq.id) {
|
style="color: var(--foreground); scale: 1.5"
|
||||||
triggerCreate('headOffice');
|
@click="
|
||||||
} else {
|
() => {
|
||||||
triggerCreate(
|
if (!currentHq.id) {
|
||||||
'subBranch',
|
triggerCreate('headOffice');
|
||||||
currentHq.id,
|
} else {
|
||||||
currentHq.code,
|
triggerCreate(
|
||||||
);
|
'subBranch',
|
||||||
}
|
currentHq.id,
|
||||||
|
currentHq.code,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
"
|
}
|
||||||
/>
|
"
|
||||||
</button>
|
/>
|
||||||
</div>
|
</q-btn>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<q-tree
|
<q-tree
|
||||||
|
|
@ -544,6 +546,7 @@ watch(locale, () => {
|
||||||
node-key="id"
|
node-key="id"
|
||||||
label-key="name"
|
label-key="name"
|
||||||
children-key="branch"
|
children-key="branch"
|
||||||
|
style="color: var(--foreground)"
|
||||||
>
|
>
|
||||||
<template #default-header="{ node }">
|
<template #default-header="{ node }">
|
||||||
<div
|
<div
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue