Creating a control panel infrastructure

This commit is contained in:
2026-07-23 19:42:07 +03:30
parent 0f94a49b8d
commit 3371015b96
7 changed files with 712 additions and 29 deletions
+8
View File
@@ -10,11 +10,14 @@ type Tenant = {
product: 'hamkar' | 'khanegi'
slug: string
nameFa: string
nameEn?: string | null
domain: string
avatarUrl?: string | null
primaryColor?: string | null
isActive: boolean
nodeServer: string
notes?: string | null
hasAppUiConfig?: boolean
}
const route = useRoute()
@@ -133,9 +136,14 @@ onMounted(load)
<div class="domain">{{ item.domain }}</div>
<div style="margin-top: 8px">
<a-tag>{{ item.slug }}</a-tag>
<a-tag v-if="item.nameEn" color="blue">{{ item.nameEn }}</a-tag>
<a-tag :color="item.isActive ? 'success' : 'default'">
{{ item.isActive ? 'فعال' : 'غیرفعال' }}
</a-tag>
<a-tag v-if="item.notes?.includes('classifyConfidence:low')" color="orange">
بررسی محصول
</a-tag>
<a-tag v-if="item.hasAppUiConfig" color="purple">ظاهر اپ</a-tag>
</div>
</div>
</div>