fix: 修复大包文件引入报错

This commit is contained in:
Zzz1zz
2025-07-31 23:43:28 +08:00
parent ff528ae7ef
commit 40a28f38cb
17 changed files with 351 additions and 229 deletions
@@ -66,7 +66,8 @@
disableCodeSetting,
delCodeSetting,
} from '@/api/setting';
import { ContractTermInfo, UserStatus } from '@/types/setting';
import { ContractTermInfo } from '@/types/setting';
import { UserStatus } from '@/types/comm';
import { camelToSnake } from '@/utils/caseConvert';
import contractNumberFormDrawer from './drawer/contract-number-form-drawer.vue';
@@ -66,7 +66,8 @@
disableTermsSetting,
delTermsSetting,
} from '@/api/setting';
import { TermSettingItem, UserStatus } from '@/types/setting';
import { TermSettingItem } from '@/types/setting';
import { UserStatus } from '@/types/comm';
import contractNumberFormDrawer from './drawer/contract-terms-form-drawer.vue';
const {
@@ -108,11 +108,8 @@
getUseFeeList,
} from '@/api/setting';
import { feeTypeList, financeFeeFeriodicityList } from '@/utils/constant';
import {
FeeManagementType,
CreateTermSettingParam,
FeeManagement,
} from '@/types/setting';
import { CreateTermSettingParam, FeeManagement } from '@/types/setting';
import { FeeManagementType } from '@/types/comm';
const props = defineProps<{
visible: boolean;
@@ -69,7 +69,8 @@
<script setup lang="ts">
import { ref, reactive, watch } from 'vue';
import type { FormInstance } from '@arco-design/web-vue';
import { DictionaryForm, TenantDictionaryType } from '@/types/setting';
import { DictionaryForm } from '@/types/setting';
import { TenantDictionaryType } from '@/types/comm';
import { HttpResponse } from '@/api/interceptor';
import { Message } from '@arco-design/web-vue';
@@ -105,11 +105,8 @@
updateProjectType,
delProjectType,
} from '@/api/setting';
import {
projectTypeInfo,
ProvinceItem,
ProjectTypeChecked,
} from '@/types/setting';
import { projectTypeInfo, ProvinceItem } from '@/types/setting';
import { ProjectTypeChecked } from '@/types/comm';
import useLoading from '@/hooks/loading';
import { Message } from '@arco-design/web-vue';
import labelFormModal from './label-form-modal.vue';
@@ -72,7 +72,8 @@
updateRoomTag,
delRoomTag,
} from '@/api/setting';
import { projectTypeInfo, ProjectTypeChecked } from '@/types/setting';
import { projectTypeInfo } from '@/types/setting';
import { ProjectTypeChecked } from '@/types/comm';
import useLoading from '@/hooks/loading';
import { Message } from '@arco-design/web-vue';
import labelFormModal from './label-form-modal.vue';
@@ -197,15 +197,14 @@
import { ref, onMounted } from 'vue';
import {
getAllTenantDictionaryList,
projectTypeInfo,
checkTenantDictionary,
checkAllTenantDictionary,
ProjectTypeChecked,
TenantDictionaryType,
createTenantDictionary,
updateTenantDictionary,
delTenantDictionary,
} from '@/api/setting';
import { ProjectTypeChecked, TenantDictionaryType } from '@/types/comm';
import { projectTypeInfo } from '@/types/setting';
import useLoading from '@/hooks/loading';
import { Message } from '@arco-design/web-vue';
import labelFormModal from './label-form-modal.vue';
@@ -44,7 +44,8 @@
import useDataTable from '@/composables/useDataTable';
import type { TableColumnData } from '@arco-design/web-vue';
import { getFeeList, disableFee, delFee } from '@/api/setting';
import { FeeType, FeeManagement, UserStatus } from '@/types/setting';
import { FeeManagement } from '@/types/setting';
import { FeeType, UserStatus } from '@/types/comm';
import { Message } from '@arco-design/web-vue';
const props = defineProps<{