更新前端看板

This commit is contained in:
wangjiming
2026-08-03 16:33:08 +08:00
37 changed files with 1663 additions and 228 deletions

View File

@@ -46,6 +46,15 @@ function openDetail(id: string) {
router.push(`/tenants/${id}`)
}
function asTenant(row: unknown): Tenant {
return row as Tenant
}
function quotaText(row: unknown): string {
const quota = asTenant(row).quota || {}
return Object.keys(quota).length ? JSON.stringify(quota) : '—'
}
async function submitCreate() {
if (!form.value.name) {
ElMessage.warning('请填写租户名称')