优化达人工作台
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
// 当前行数
|
||||
|
||||
Reference in New Issue
Block a user