fix:disable organization-chart
This commit is contained in:
parent
23cecba756
commit
c61edb3863
1 changed files with 12 additions and 5 deletions
|
|
@ -50,7 +50,8 @@ const items = ref<MenuMainList[]>([
|
||||||
icon: "mdi-account-group-outline",
|
icon: "mdi-account-group-outline",
|
||||||
title: "แผนผังองค์กร",
|
title: "แผนผังองค์กร",
|
||||||
sub: "ดูแผนผังองค์กร",
|
sub: "ดูแผนผังองค์กร",
|
||||||
color: "blue-3",
|
// color: "blue-3",
|
||||||
|
color: "grey-3",
|
||||||
path: "/organization-chart",
|
path: "/organization-chart",
|
||||||
active: false,
|
active: false,
|
||||||
},
|
},
|
||||||
|
|
@ -220,7 +221,7 @@ async function onClickOpenPopupDetail(data: InboxDetail) {
|
||||||
.get(config.API.msgInboxRead(data.no))
|
.get(config.API.msgInboxRead(data.no))
|
||||||
.then(() => {
|
.then(() => {
|
||||||
const filterDate = inboxList.value.filter(
|
const filterDate = inboxList.value.filter(
|
||||||
(r: InboxDetail) => r.no == data.no
|
(r: InboxDetail) => r.no == data.no,
|
||||||
);
|
);
|
||||||
for (const item of filterDate) {
|
for (const item of filterDate) {
|
||||||
item.isOpen = true;
|
item.isOpen = true;
|
||||||
|
|
@ -301,8 +302,14 @@ onMounted(async () => {
|
||||||
<q-card
|
<q-card
|
||||||
v-else
|
v-else
|
||||||
bordered
|
bordered
|
||||||
@click="goToPage(item.path)"
|
@click="
|
||||||
class="noactive col-12"
|
item.path === '/organization-chart' ? null : goToPage(item.path)
|
||||||
|
"
|
||||||
|
:class="
|
||||||
|
item.path === '/organization-chart'
|
||||||
|
? 'disabledcard col-12'
|
||||||
|
: 'noactive col-12'
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<q-avatar
|
<q-avatar
|
||||||
|
|
@ -507,7 +514,7 @@ onMounted(async () => {
|
||||||
border: 1px solid #6dbdb142;
|
border: 1px solid #6dbdb142;
|
||||||
}
|
}
|
||||||
.disabledcard {
|
.disabledcard {
|
||||||
color: rgba(209, 209, 209, 0.733) !important;
|
color: rgba(105, 104, 104, 0.733) !important;
|
||||||
border-color: rgba(207, 207, 207, 0.322) !important;
|
border-color: rgba(207, 207, 207, 0.322) !important;
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue