refactor(crm): 更新客户信息模块的导入路径和类型定义

- 将 getCrmCustomerInfoList 的导入路径从 '@/api/oa/crm/crmCustomerInfo' 修改为 '@/api/oa/crm/customerInfo'
- 将 CrmCustomerInfoVO 类型替换为 CustomerInfoVO 类型
- 移除 crmCustomerInfo/types.ts 文件中的 CrmCustomerInfoVO 相关类型定义
- 更新 edit.vue 中 customerList 的类型声明以匹配新的类型定义
dev
zangch@mesnac.com 2 days ago
parent ecd59a01d5
commit 2697bf1c99

@ -1,65 +0,0 @@
/**
*
*/
export interface CrmCustomerInfoVO {
customerId: number;
customerName: string;
mnemonicName?: string;
industryId?: number;
customerType?: number;
customerStatus?: number;
customerLevel?: number;
customerSource?: number;
ownerId?: number;
ownerName?: string;
detailedAddress?: string;
customerScale?: number;
parentCustomerId?: number;
customerRelationship?: string;
legalRepresentative?: string;
businessLicenseNumber?: string;
taxNumber?: string;
bankAccountOpening?: string;
bankNumber?: string;
ossId?: string;
remark?: string;
activeFlag?: string;
ourCompanyFlag?: string;
}
export interface CrmCustomerInfoQuery {
pageNum?: number;
pageSize?: number;
customerName?: string;
mnemonicName?: string;
customerType?: number;
customerStatus?: number;
customerLevel?: number;
activeFlag?: string;
ourCompanyFlag?: string;
}
export interface CrmCustomerInfoForm {
customerId?: number;
customerName?: string;
mnemonicName?: string;
industryId?: number;
customerType?: number;
customerStatus?: number;
customerLevel?: number;
customerSource?: number;
ownerId?: number;
detailedAddress?: string;
customerScale?: number;
parentCustomerId?: number;
customerRelationship?: string;
legalRepresentative?: string;
businessLicenseNumber?: string;
taxNumber?: string;
bankAccountOpening?: string;
bankNumber?: string;
ossId?: string;
remark?: string;
activeFlag?: string;
ourCompanyFlag?: string;
}

@ -193,8 +193,8 @@ import { addCrmGiftApply, getCrmGiftApply, giftApplySubmitAndFlowStart, updateCr
import { CrmGiftApplyForm } from '@/api/oa/crm/crmGiftApply/types';
import GiftSelect from '@/components/GiftSelect/index.vue';
import { CrmGiftInfoVO } from '@/api/oa/crm/crmGiftInfo/types';
import { getCrmCustomerInfoList } from '@/api/oa/crm/crmCustomerInfo';
import { CrmCustomerInfoVO } from '@/api/oa/crm/crmCustomerInfo/types';
import { getCrmCustomerInfoList } from '@/api/oa/crm/customerInfo';
import { CustomerInfoVO } from '@/api/oa/crm/customerInfo/types';
import { getInfo } from '@/api/login';
import { listUser } from '@/api/system/user';
import SubmitVerify from '@/components/Process/submitVerify.vue';
@ -224,7 +224,7 @@ const buttonLoading = ref(false);
//
const giftSelectRef = ref<InstanceType<typeof GiftSelect>>();
const currentRowIndex = ref<number>(-1);
const customerList = ref<CrmCustomerInfoVO[]>([]);
const customerList = ref<CustomerInfoVO[]>([]);
const userList = ref<any[]>([]); //
// ID

Loading…
Cancel
Save