diff --git a/src/api/crm/permission/index.ts b/src/api/crm/permission/index.ts index 4f88b14fc..205c76278 100644 --- a/src/api/crm/permission/index.ts +++ b/src/api/crm/permission/index.ts @@ -36,7 +36,6 @@ export enum BizTypeEnum { CRM_RECEIVABLE = 7, // 回款 CRM_RECEIVABLE_PLAN = 8 // 回款计划 } - /** * CRM 数据权限级别枚举 */ diff --git a/src/api/system/user/index.ts b/src/api/system/user/index.ts index 715d4c7ec..baaf2b8de 100644 --- a/src/api/system/user/index.ts +++ b/src/api/system/user/index.ts @@ -1,9 +1,11 @@ import request from '@/config/axios' +import { da } from 'element-plus/es/locale' export interface UserVO { id: number username: string nickname: string + sort: number deptId: number postIds: string[] email: string @@ -73,4 +75,4 @@ export const updateUserStatus = (id: number, status: number) => { // 获取用户精简信息列表 export const getSimpleUserList = (): Promise => { return request.get({ url: '/system/user/simple-list' }) -} +} \ No newline at end of file diff --git a/src/views/crm/contact/components/ContactList.vue b/src/views/crm/contact/components/ContactList.vue index 61a423c9c..ecb5adf47 100644 --- a/src/views/crm/contact/components/ContactList.vue +++ b/src/views/crm/contact/components/ContactList.vue @@ -58,7 +58,7 @@ import * as ContactApi from '@/api/crm/contact' import ContactForm from './../ContactForm.vue' import { DICT_TYPE } from '@/utils/dict' import { BizTypeEnum } from '@/api/crm/permission' -import ContactListModal from './ContactListModal.vue' + defineOptions({ name: 'CrmContactList' }) const props = defineProps<{ diff --git a/src/views/crm/contract/detail/index.vue b/src/views/crm/contract/detail/index.vue index 5a3eeb0e9..3b7c72c1f 100644 --- a/src/views/crm/contract/detail/index.vue +++ b/src/views/crm/contract/detail/index.vue @@ -62,7 +62,7 @@ import { getOperateLogPage } from '@/api/crm/operateLog' import ContractForm from '@/views/crm/contract/ContractForm.vue' import CrmTransferForm from '@/views/crm/permission/components/TransferForm.vue' import PermissionList from '@/views/crm/permission/components/PermissionList.vue' -import FollowUpList from '@/views/crm/followup/index.vue' +import FollowUpList from '@/views/crm/followup/components/FollowUpList.vue' import ReceivableList from '@/views/crm/receivable/components/ReceivableList.vue' import ReceivablePlanList from '@/views/crm/receivable/plan/components/ReceivablePlanList.vue' diff --git a/src/views/crm/customer/detail/CustomerDetailsHeader.vue b/src/views/crm/customer/detail/CustomerDetailsHeader.vue index 2aa864dd8..4ae2012ee 100644 --- a/src/views/crm/customer/detail/CustomerDetailsHeader.vue +++ b/src/views/crm/customer/detail/CustomerDetailsHeader.vue @@ -16,23 +16,19 @@ - + - {{ customer.ownerUserName }} - + {{ customer.ownerUserName }} {{ formatDate(customer.contactNextTime, 'YYYY-MM-DD') }} - - {{ formatDate(customer.createTime) }} - - {{ customer.areaName }} {{ customer.detailAddress }} + {{ customer.areaName }}{{ customer.detailAddress }} diff --git a/src/views/crm/customer/detail/index.vue b/src/views/crm/customer/detail/index.vue index 7835a4354..76b3e9a78 100644 --- a/src/views/crm/customer/detail/index.vue +++ b/src/views/crm/customer/detail/index.vue @@ -25,6 +25,7 @@ > 锁定 + {{ customerId }} - - + + - - + + + + - + @@ -17,9 +31,6 @@ 重置 - - 写跟进 - @@ -32,6 +43,10 @@ placement="top" > 跟进人:{{ item.creatorName }} + + 客户名称:{{ item.customer[0].name }} + +