From d804171fed36ae005ed2609e0ffd77150ff28647 Mon Sep 17 00:00:00 2001 From: wersd <1523826083@qq.com> Date: Sun, 15 Jun 2025 15:40:16 +0800 Subject: [PATCH] =?UTF-8?q?CRM=20=E5=AE=A2=E6=88=B7=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E6=9D=83=E9=99=90=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/crm/permission/index.ts | 1 - src/api/system/user/index.ts | 4 +- .../crm/contact/components/ContactList.vue | 2 +- src/views/crm/contract/detail/index.vue | 2 +- .../customer/detail/CustomerDetailsHeader.vue | 10 +-- src/views/crm/customer/detail/index.vue | 7 ++- src/views/crm/customer/index.vue | 34 ++++++++-- .../crm/followup/components/FollowUpList.vue | 62 ++++++++++++------- .../components/FollowUpRecordForm.vue | 22 +++---- .../permission/components/TransferForm.vue | 2 +- src/views/crm/stationsite/index.vue | 15 +++-- src/views/system/post/index.vue | 3 +- src/views/system/role/index.vue | 3 +- src/views/system/user/UserForm.vue | 10 +++ src/views/system/user/index.vue | 2 +- 15 files changed, 108 insertions(+), 71 deletions(-) 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 }} + +