diff --git a/src/api/crm/contract/index.ts b/src/api/crm/contract/index.ts index 3d64c4256..6434b95a7 100644 --- a/src/api/crm/contract/index.ts +++ b/src/api/crm/contract/index.ts @@ -5,14 +5,18 @@ export interface ContractVO { id: number name: string no: string - customerId: number[] - customer?:{ + customerId: number + customerName?: string + otherCustomerId: number[] + otherCustomer?:{ id: number name: string } businessId: number businessName: string + deptId: number + deptName?: string contactLastTime: Date ownerUserId: number ownerUserName?: string @@ -38,6 +42,8 @@ export interface ContractVO { creator: string creatorName: string updateTime?: Date + picUrls?: string[] + fileUrls?: string[] products?: [ { id: number diff --git a/src/api/crm/receivable/index.ts b/src/api/crm/receivable/index.ts index 32ecd25aa..dff6dfd72 100644 --- a/src/api/crm/receivable/index.ts +++ b/src/api/crm/receivable/index.ts @@ -4,6 +4,7 @@ export interface ReceivableVO { id: number no: string planId?: number + period?: number // 期数 customerId?: number customerName?: string contractId?: number diff --git a/src/api/crm/receivable/plan/index.ts b/src/api/crm/receivable/plan/index.ts index 770b3477b..60344ffef 100644 --- a/src/api/crm/receivable/plan/index.ts +++ b/src/api/crm/receivable/plan/index.ts @@ -11,6 +11,8 @@ export interface ReceivablePlanVO { remindTime: Date customerId: number customerName?: string + deptId: number + deptName?: string contractId?: number contractNo?: string ownerUserId: number diff --git a/src/api/system/dept/index.ts b/src/api/system/dept/index.ts index 04d5c8807..0f5de12f0 100644 --- a/src/api/system/dept/index.ts +++ b/src/api/system/dept/index.ts @@ -10,6 +10,7 @@ export interface DeptVO { phone: string email: string createTime: Date + type: number } // 查询部门(精简)列表 @@ -17,6 +18,11 @@ export const getSimpleDeptList = async (): Promise => { return await request.get({ url: '/system/dept/simple-list' }) } +// 查询部门(精简)列表 +export const querySimpleDeptList = async () => { + return await request.get({ url: '/system/dept/query-list?type=2'}) +} + // 查询部门列表 export const getDeptPage = async (params: PageParam) => { return await request.get({ url: '/system/dept/list', params }) diff --git a/src/components/AttachmentFile/index.vue b/src/components/AttachmentFile/index.vue new file mode 100644 index 000000000..8a71aed0e --- /dev/null +++ b/src/components/AttachmentFile/index.vue @@ -0,0 +1,147 @@ + + + + + \ No newline at end of file diff --git a/src/utils/dict.ts b/src/utils/dict.ts index 03ee71489..81b951fad 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -129,6 +129,7 @@ export enum DICT_TYPE { SYSTEM_MAIL_SEND_STATUS = 'system_mail_send_status', SYSTEM_NOTIFY_TEMPLATE_TYPE = 'system_notify_template_type', SYSTEM_SOCIAL_TYPE = 'system_social_type', + SYSTEM_DEPT_TYPE = 'system_dept_type', // ========== INFRA 模块 ========== INFRA_BOOLEAN_STRING = 'infra_boolean_string', diff --git a/src/views/crm/contract/ContractForm.vue b/src/views/crm/contract/ContractForm.vue index e63fcb4cf..7bc470ffe 100644 --- a/src/views/crm/contract/ContractForm.vue +++ b/src/views/crm/contract/ContractForm.vue @@ -14,7 +14,12 @@ --> - + + + + + + + + + + + + + - + - - - - - - - - - - - - @@ -147,7 +151,7 @@ - + @@ -167,7 +171,7 @@ - + - + + + + + + +