From d9fe53ca5b39985d8fd94d753fc0b5adb8436958 Mon Sep 17 00:00:00 2001 From: wersd <1523826083@qq.com> Date: Thu, 12 Jun 2025 20:20:57 +0800 Subject: [PATCH] =?UTF-8?q?CRM=20=E5=AE=A2=E6=88=B7=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 2 +- .env.local | 2 +- src/views/crm/contact/ContactForm.vue | 3 +- src/views/crm/contract/detail/index.vue | 5 +- .../customer/detail/CustomerDetailsHeader.vue | 16 +++--- src/views/crm/customer/detail/index.vue | 4 +- src/views/crm/followup/index.vue | 52 +++++++++++++------ src/views/crm/stationsite/StationSiteForm.vue | 5 ++ 8 files changed, 59 insertions(+), 30 deletions(-) diff --git a/.env.dev b/.env.dev index 6218b2a4e..e85b68c85 100644 --- a/.env.dev +++ b/.env.dev @@ -4,7 +4,7 @@ NODE_ENV=production VITE_DEV=true # 请求路径 -VITE_BASE_URL='http://192.168.6.122:48080' +VITE_BASE_URL='http://www.sujieguanli.top:48080' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务 VITE_UPLOAD_TYPE=client diff --git a/.env.local b/.env.local index aa7982fa5..90f7da7fa 100644 --- a/.env.local +++ b/.env.local @@ -4,7 +4,7 @@ NODE_ENV=development VITE_DEV=true # 请求路径 -VITE_BASE_URL='http://www.woyaoshouchong.asia:48080' +VITE_BASE_URL='http://www.sujieguanli.top:48080' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务 VITE_UPLOAD_TYPE=client diff --git a/src/views/crm/contact/ContactForm.vue b/src/views/crm/contact/ContactForm.vue index b842ee615..2dc88c33a 100644 --- a/src/views/crm/contact/ContactForm.vue +++ b/src/views/crm/contact/ContactForm.vue @@ -144,8 +144,7 @@ const formData = ref({ }) const formRules = reactive({ name: [{ required: true, message: '姓名不能为空', trigger: 'blur' }], - customerId: [{ required: true, message: '客户不能为空', trigger: 'blur' }], - ownerUserId: [{ required: true, message: '负责人不能为空', trigger: 'blur' }] + customerId: [{ required: true, message: '客户不能为空', trigger: 'blur' }] }) const formRef = ref() // 表单 Ref const userOptions = ref([]) // 用户列表 diff --git a/src/views/crm/contract/detail/index.vue b/src/views/crm/contract/detail/index.vue index 0e1af5fd7..5a3eeb0e9 100644 --- a/src/views/crm/contract/detail/index.vue +++ b/src/views/crm/contract/detail/index.vue @@ -74,7 +74,10 @@ const message = useMessage() const contractId = ref(0) // 编号 const loading = ref(true) // 加载中 const contract = ref({} as ContractApi.ContractVO) // 详情 -const permissionListRef = ref>() // 团队成员列表 Ref +// 初始化 +const permissionListRef = ref>( + +) /** 编辑 */ const formRef = ref() diff --git a/src/views/crm/customer/detail/CustomerDetailsHeader.vue b/src/views/crm/customer/detail/CustomerDetailsHeader.vue index 9a9d71189..f8671a9d0 100644 --- a/src/views/crm/customer/detail/CustomerDetailsHeader.vue +++ b/src/views/crm/customer/detail/CustomerDetailsHeader.vue @@ -20,20 +20,22 @@ + + + {{ customer.ownerUserName }} + + + {{ formatDate(customer.contactNextTime, 'YYYY-MM-DD') }} + {{ formatDate(customer.createTime) }} {{ customer.areaName }} {{ customer.detailAddress }} - - - - - {{ formatDate(customer.contactNextTime, 'YYYY-MM-DD') }} - - {{ customer.remark }} + + diff --git a/src/views/crm/customer/detail/index.vue b/src/views/crm/customer/detail/index.vue index bc97ba819..5ca0d2e56 100644 --- a/src/views/crm/customer/detail/index.vue +++ b/src/views/crm/customer/detail/index.vue @@ -54,8 +54,8 @@ - - + + diff --git a/src/views/crm/followup/index.vue b/src/views/crm/followup/index.vue index e50dbc508..98bc53524 100644 --- a/src/views/crm/followup/index.vue +++ b/src/views/crm/followup/index.vue @@ -37,7 +37,15 @@ 跟进方式: - + + +
+ + 编辑 + + + 删除 +
@@ -66,12 +74,6 @@ - - 编辑 - - - 删除 -