|
|
@ -10,6 +10,7 @@ import { |
|
|
|
isEeUI, |
|
|
|
isEeUI, |
|
|
|
message, |
|
|
|
message, |
|
|
|
navigateTo, |
|
|
|
navigateTo, |
|
|
|
|
|
|
|
parseProp, |
|
|
|
ref, |
|
|
|
ref, |
|
|
|
storeToRefs, |
|
|
|
storeToRefs, |
|
|
|
useBases, |
|
|
|
useBases, |
|
|
@ -17,7 +18,6 @@ import { |
|
|
|
useNuxtApp, |
|
|
|
useNuxtApp, |
|
|
|
useRoles, |
|
|
|
useRoles, |
|
|
|
useWorkspace, |
|
|
|
useWorkspace, |
|
|
|
parseProp, |
|
|
|
|
|
|
|
} from '#imports' |
|
|
|
} from '#imports' |
|
|
|
|
|
|
|
|
|
|
|
const workspaceStore = useWorkspace() |
|
|
|
const workspaceStore = useWorkspace() |
|
|
@ -251,7 +251,7 @@ const setColor = async (hue: number, base: BaseType) => { |
|
|
|
<template v-if="column.dataIndex === 'title'"> |
|
|
|
<template v-if="column.dataIndex === 'title'"> |
|
|
|
<div class="flex items-center nc-base-title gap-2.5 max-w-full -ml-1.5"> |
|
|
|
<div class="flex items-center nc-base-title gap-2.5 max-w-full -ml-1.5"> |
|
|
|
<div class="flex items-center gap-2 text-center"> |
|
|
|
<div class="flex items-center gap-2 text-center"> |
|
|
|
<LazyGeneralBaseColorPicker |
|
|
|
<LazyGeneralBaseIconColorPicker |
|
|
|
:key="parseProp(record.meta).iconHue" |
|
|
|
:key="parseProp(record.meta).iconHue" |
|
|
|
:hue="parseProp(record.meta).iconHue" |
|
|
|
:hue="parseProp(record.meta).iconHue" |
|
|
|
size="small" |
|
|
|
size="small" |
|
|
@ -261,7 +261,7 @@ const setColor = async (hue: number, base: BaseType) => { |
|
|
|
<template #default> |
|
|
|
<template #default> |
|
|
|
<GeneralProjectIcon :type="record.type" /> |
|
|
|
<GeneralProjectIcon :type="record.type" /> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</LazyGeneralBaseColorPicker> |
|
|
|
</LazyGeneralBaseIconColorPicker> |
|
|
|
<!-- todo: replace with switch --> |
|
|
|
<!-- todo: replace with switch --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|