From 7390416c5d66cd3f818eb56efc9f92cec57bd0d4 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Wed, 10 Jul 2024 15:46:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=AE=A2=E6=88=B7=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../customerManagement/customerArchives.js | 27 + .../customerManagement/customerFollowUp.js | 45 ++ .../customerManagement/customerInformation.js | 43 ++ src/router/index.js | 18 +- .../customerArchives/customerArchives.vue | 261 ++++++++ .../customerFollowUp/customerFollowUp.vue | 323 +++++++++ .../customerFollowUp/customerFollowUpAdd.vue | 265 ++++++++ .../customerInformation.vue | 488 ++++++++++++++ .../customerInformationAdd.vue | 614 ++++++++++++++++++ .../customerInformationInfo.vue | 299 +++++++++ 10 files changed, 2382 insertions(+), 1 deletion(-) create mode 100644 src/api/customerManagement/customerArchives.js create mode 100644 src/api/customerManagement/customerFollowUp.js create mode 100644 src/api/customerManagement/customerInformation.js create mode 100644 src/views/customerManagement/customerArchives/customerArchives.vue create mode 100644 src/views/customerManagement/customerFollowUp/customerFollowUp.vue create mode 100644 src/views/customerManagement/customerFollowUp/customerFollowUpAdd.vue create mode 100644 src/views/customerManagement/customerInformation/customerInformation.vue create mode 100644 src/views/customerManagement/customerInformation/customerInformationAdd.vue create mode 100644 src/views/customerManagement/customerInformation/customerInformationInfo.vue diff --git a/src/api/customerManagement/customerArchives.js b/src/api/customerManagement/customerArchives.js new file mode 100644 index 0000000..969e83c --- /dev/null +++ b/src/api/customerManagement/customerArchives.js @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +export default { + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/oms/v1/crmcustomerfile/listPage', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + fetchBySid: function(data) { + return request({ + url: '/oms/v1/crmcustomerfile/fetchFileListBySid/' + data, + method: 'get' + }) + }, + save: function(data) { + return request({ + url: '/oms/v1/crmfile/save', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + } +} diff --git a/src/api/customerManagement/customerFollowUp.js b/src/api/customerManagement/customerFollowUp.js new file mode 100644 index 0000000..f5fe5e8 --- /dev/null +++ b/src/api/customerManagement/customerFollowUp.js @@ -0,0 +1,45 @@ +import request from '@/utils/request' + +export default { + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/oms/v1/crmvisit/pagerList', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + fetchBySid: function(data) { + return request({ + url: '/oms/v1/crmvisit/fetchSid/' + data, + method: 'get' + }) + }, + save: function(data) { + return request({ + url: '/oms/v1/crmvisit/save', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + update: function(data) { + return request({ + url: '/oms/v1/crmvisit/update', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + del: function(data) { + return request({ + url: '/oms/v1/crmvisit/del', + method: 'DELETE', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }) + } +} diff --git a/src/api/customerManagement/customerInformation.js b/src/api/customerManagement/customerInformation.js new file mode 100644 index 0000000..6fd4bdb --- /dev/null +++ b/src/api/customerManagement/customerInformation.js @@ -0,0 +1,43 @@ +import request from '@/utils/request' + +export default { + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/oms/v1/crmcustomertemp/listPage', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + fetchBySid: function(data) { + return request({ + url: '/oms/v1/crmcustomertemp/fetchSid/' + data, + method: 'get' + }) + }, + deleteBySids: function(data) { + return request({ + url: '/oms/v1/crmcustomertemp/del', + method: 'DELETE', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + save: function(data) { + return request({ + url: '/oms/v1/crmcustomertemp/save', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + update: function(data) { + return request({ + url: '/oms/v1/crmcustomertemp/save', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + } +} diff --git a/src/router/index.js b/src/router/index.js index a283b57..0846731 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -49,7 +49,23 @@ export const constantRoutes = [ } }] }, - + { + path: '/customerInformation', + component: Layout, + redirect: '/customerInformation', + meta: { + title: '客户信息管理' + }, + children: [{ + path: '/customerInformation/customerInformation', + component: () => import('@/views/customerManagement/customerInformation/customerInformation'), + name: 'CustomerInformation', + meta: { + title: '客户信息管理', + noCache: true + } + }] + }, { path: '/salesOrder', component: Layout, diff --git a/src/views/customerManagement/customerArchives/customerArchives.vue b/src/views/customerManagement/customerArchives/customerArchives.vue new file mode 100644 index 0000000..18f08af --- /dev/null +++ b/src/views/customerManagement/customerArchives/customerArchives.vue @@ -0,0 +1,261 @@ + + + + + + + + + {{ searchxianshitit }} + + + + + + + + + + + 查询 + 重置 + + + + + + {{ customerName }}客户档案资料 + + + + + + + + + + + 上传 + 查看 + + + + + + + + + + + + + + + + + + + + 文件类型 + + + + 文件名称 + + + + + + 附件 + + + + + + + + + + + + + + + + + diff --git a/src/views/customerManagement/customerFollowUp/customerFollowUp.vue b/src/views/customerManagement/customerFollowUp/customerFollowUp.vue new file mode 100644 index 0000000..6e52762 --- /dev/null +++ b/src/views/customerManagement/customerFollowUp/customerFollowUp.vue @@ -0,0 +1,323 @@ + + + + + + + {{ searchxianshitit }} + + + + + 至 + + + + + + + + + + + + + + + 查询 + 重置 + + + + + 客户跟进记录列表 + + + + + + + + + + + + + + + + + 查看 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/customerManagement/customerFollowUp/customerFollowUpAdd.vue b/src/views/customerManagement/customerFollowUp/customerFollowUpAdd.vue new file mode 100644 index 0000000..b060659 --- /dev/null +++ b/src/views/customerManagement/customerFollowUp/customerFollowUpAdd.vue @@ -0,0 +1,265 @@ + + + + {{viewTitle}} + + 保存 + 关闭 + + + + + + + *跟进形式 + + + + + + + + 跟进时间 + + + + + + *跟进结果 + + + + + + 跟进状态 + + + + + + + + + + 是否开启提醒 + + + 是 + 否 + + + + + + 提醒日期 + + + + + + + 提醒备注 + + + + + + 见证材料 + + + + + + + + + + + diff --git a/src/views/customerManagement/customerInformation/customerInformation.vue b/src/views/customerManagement/customerInformation/customerInformation.vue new file mode 100644 index 0000000..6d73a11 --- /dev/null +++ b/src/views/customerManagement/customerInformation/customerInformation.vue @@ -0,0 +1,488 @@ + + + + + + + {{ searchxianshitit }} + + + + + + + + + + + + + + + + + + + + + 至 + + + + + 查询 + 重置 + + + + + 客户信息列表 + + + + + + + + + + + {{ scope.row.name }} + + + + + + + + + + {{ scope.row.gjcounts }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ item.dictValue }} + + + + + + + + + + + + diff --git a/src/views/customerManagement/customerInformation/customerInformationAdd.vue b/src/views/customerManagement/customerInformation/customerInformationAdd.vue new file mode 100644 index 0000000..4c70032 --- /dev/null +++ b/src/views/customerManagement/customerInformation/customerInformationAdd.vue @@ -0,0 +1,614 @@ + + + + + {{ viewTitle }} + + 保存 + 关闭 + + + + + 基础信息 + + + *客户名称 + + + + + + 客户类型 + {{ temp.customerType }} + + + + + *联系电话 + + + + + + 微信号 + + + + + + + + 公司名称 + + + + + + + + 客户地址 + + + + + + + + + + + + + + + + + + + 客户级别 + + + + + + + + 是否开启提醒 + + + 是 + 否 + + + + + + + 提醒日期 + + + + 提醒备注 + + + + + + + + + 客户生日 + + + + 性别 + + + 男 + 女 + + + + + + + 证件类型 + {{ temp.certificateType }} + + + + 证件号码 + + + + + + 证件有效期 + + + + 电子邮箱 + + + + + + 紧急联系人 + + + + 紧急联系电话 + + + + + + 客户来源 + + + + + + + + 客户分类 + + + + + + + + + + 备注 + + + + + + + + 附件 + + + + + + + + + + + + + + 是否更新用户 + + + + + + + + diff --git a/src/views/customerManagement/customerInformation/customerInformationInfo.vue b/src/views/customerManagement/customerInformation/customerInformationInfo.vue new file mode 100644 index 0000000..d1a25fa --- /dev/null +++ b/src/views/customerManagement/customerInformation/customerInformationInfo.vue @@ -0,0 +1,299 @@ + + + + + {{ viewTitle }} + + 关闭 + + + + + 基础信息 + + + 客户名称 + {{ temp.name }} + + + 客户类型 + {{ temp.customerType }} + + + + + 联系电话 + {{ temp.mobile }} + + + 微信号 + {{ temp.weixin }} + + + + + 公司名称 + {{ temp.companyName }} + + + + + 客户地址 + {{ temp.province }}{{ temp.city }}{{ temp.county }}{{ temp.address }} + + + + + 客户级别 + {{ temp.level }} + + + 是否开启提醒 + {{ temp.isOnRemind }} + + + + + 提醒日期 + {{ temp.remind_day }} + + + 提醒备注 + {{ temp.remind_remark }} + + + + + + + + 客户生日 + {{ temp.birthday }} + + + 性别 + {{ temp.sex }} + + + + + 证件类型 + {{ temp.certificateType }} + + + 证件号码 + {{ temp.idnumber }} + + + + + 证件有效期 + {{ temp.endDate }} + + + 电子邮箱 + {{ temp.e_mail }} + + + + + 紧急联系人 + {{ temp.emergencyContact }} + + + 紧急联系电话 + {{ temp.emergencyMobile }} + + + + + 客户来源 + {{ temp.source }} + + + 客户分类 + {{ temp.customerClass }} + + + + + 备注 + {{ temp.remarks }} + + + + + + + 附件 + + + + + + + + + + + + +