优化达人工作台

This commit is contained in:
2026-04-28 17:33:39 +08:00
parent ff25bb3922
commit acb93c09f9
6 changed files with 511 additions and 33 deletions

View File

@@ -239,6 +239,7 @@ import { getCountryName } from "@/utils/countryUtil";
import { ElMessage, ElMessageBox, ElLoading } from "element-plus";
import { useI18n } from 'vue-i18n';
import { useCountryInfo } from '@/composables/useCountryInfo';
import { isExpertPoolTenant } from '@/utils/tenantFeature';
// Mock API calls if not present
// Ideally we should import these from api file, but for simplicity I will mock them or use empty callbacks
@@ -488,7 +489,7 @@ function stopTimerfun() {
// Specify Room Logic
// 动态计算最大行数限制tenantId=12741 为 5000 条,其他为 50 条
const maxSpecifyLines = computed(() => {
return userInfo.value.tenantId == 12384 || userInfo.value.tenantId == 12741 ? 5000 : 50;
return isExpertPoolTenant(userInfo.value.tenantId) || userInfo.value.tenantId == 12741 ? 5000 : 50;
});
// 当前行数