Commit df024a26 by 李长胜

接口改动

1 parent 852b915c
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
import { http } from '@/main' import { http } from '@/main'
//获取数据概览上方的数据 /rop-scrm-datahub //获取数据概览上方的数据 /rop-scrm-datahub
export function getDataOverview(params){ export function getDataOverview(params){
params.method='entmicro.api.Customer.getCustomerDataView' params.method='entmicro.api.Customer.customer.view.data'
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
//获取数据概览下方柱状图的数据 //获取数据概览下方柱状图的数据
export function getDataOverviewBarMap(params){ export function getDataOverviewBarMap(params){
params.method='entmicro.api.Customer.getCustomerChart' params.method='entmicro.api.customer.view.chart'
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'POST', method: 'POST',
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
import { http } from '@/main' import { http } from '@/main'
export function getTableList (params){ export function getTableList (params){
params.method='entmicro.api.CustomerBase.getCustomerBasePage' params.method='entmicro.api.customer.base.page'
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
}) })
} }
export function getTableDetail(params){ export function getTableDetail(params){
params.method='entmicro.api.CustomerBase.getCustomerBaseDetail' params.method='entmicro.api.customer.base.detail'
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'POST', method: 'POST',
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
// 客户群的客户列表获取分页数据接口 // 客户群的客户列表获取分页数据接口
export function getDetailTableList(params){ export function getDetailTableList(params){
params.method='entmicro.api.CustomerBase.getCustomerBaseCustList' params.method='entmicro.api.customer.base.cust.page'
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'POST', method: 'POST',
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
}) })
} }
export function getTableList (params){ export function getTableList (params){
params.method='entmicro.api.Customer.getCustomerPage' params.method='entmicro.api.customer.page'
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop" // params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
// params.timestamp=new Date().getTime() // params.timestamp=new Date().getTime()
// +'?method=org.ore.api.customer.page' // +'?method=org.ore.api.customer.page'
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
}) })
} }
export function getTableDetail(params){ export function getTableDetail(params){
params.method='entmicro.api.Customer.getCustomerDetail' params.method='entmicro.api.customer.detail'
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop" // params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
return http({ return http({
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
*/ */
import { http } from '@/main' import { http } from '@/main'
const URL = '/rop-scrm-entmicro/router' const URL = '/rop-scrm-entmicro/router'
const PATH = 'org.ore.api.one.template.' const PATH = 'entmicro.api.one.template.'
const templateList = params => { const templateList = params => {
params.method = `${PATH}page` params.method = `${PATH}page`
...@@ -61,7 +61,7 @@ const status = params => { ...@@ -61,7 +61,7 @@ const status = params => {
} }
const listDepartmentTree = params => { const listDepartmentTree = params => {
params.method = 'cn.com.glsx.entmicro.department.listDepartmentTree' params.method = 'entmicro.api.department.listDepartmentTree'
return http({ return http({
url: URL, url: URL,
method: 'GET', method: 'GET',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!