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 @@ + + + + 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 @@ + + + + + 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 @@ + + + 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 @@ + + + + + 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 @@ + + + + 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 @@ + + + +