Commit b8348db0 by 李长胜

接口地址url更改

1 parent 7d1aa2a9
......@@ -9,7 +9,7 @@
import { http } from '@/main'
//获取数据概览上方的数据 /rop-scrm-datahub
export function getDataOverview(params){
params.method='org.ore.api.customer.view.data'
params.method='entmicro.api.Customer.getCustomerDataView'
return http({
url: '/rop-scrm-entmicro/router',
......@@ -21,7 +21,7 @@
//获取数据概览下方柱状图的数据
export function getDataOverviewBarMap(params){
params.method='org.ore.api.customer.view.chart'
params.method='entmicro.api.Customer.getCustomerChart'
return http({
url: '/rop-scrm-entmicro/router',
method: 'POST',
......
......@@ -9,7 +9,7 @@
import { http } from '@/main'
export function getTableList (params){
params.method='org.ore.api.customer.base.page'
params.method='entmicro.api.CustomerBase.getCustomerBasePage'
return http({
url: '/rop-scrm-entmicro/router',
......@@ -19,7 +19,7 @@
})
}
export function syncCustomerBase(params){
params.method='cn.com.glsx.entmicro.synchro.syncCustomerBase'
params.method='entmicro.api.synchro.syncCustomerBase'
return http({
url: '/rop-scrm-entmicro/router',
method: 'POST',
......@@ -28,7 +28,7 @@
})
}
export function getTableDetail(params){
params.method='org.ore.api.customer.base.detail'
params.method='entmicro.api.CustomerBase.getCustomerBaseDetail'
return http({
url: '/rop-scrm-entmicro/router',
method: 'POST',
......@@ -39,7 +39,7 @@
// 客户群的客户列表获取分页数据接口
export function getDetailTableList(params){
params.method='org.ore.api.customer.base.cust.page'
params.method='entmicro.api.CustomerBase.getCustomerBaseCustList'
return http({
url: '/rop-scrm-entmicro/router',
method: 'POST',
......
......@@ -60,19 +60,19 @@
})
}
export function getTableList (params){
params.method='org.ore.api.customer.page'
params.method='entmicro.api.Customer.getCustomerPage'
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
// params.timestamp=new Date().getTime()
// +'?method=org.ore.api.customer.page'
return http({
url: '/rop-scrm-entmicro/router',
method: 'GET',
method: 'POST',
data: params,
sign: true
})
}
export function syncCustomer(params){
params.method='cn.com.glsx.entmicro.synchro.syncCustomer'
params.method='entmicro.api.synchro.syncCustomer'
return http({
url: '/rop-scrm-entmicro/router',
method: 'POST',
......@@ -81,7 +81,7 @@
})
}
export function getTableDetail(params){
params.method='org.ore.api.customer.detail'
params.method='entmicro.api.Customer.getCustomerDetail'
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
return http({
......@@ -95,7 +95,7 @@
/*获取来源字典的
*/
export function getDictionaryFun(params){
params.method='org.ore.api.common.dictdata.list'
params.method='entmicro.api.common.dictdata.list'
return http({
url: '/rop-scrm-entmicro/router',
method: 'GET',
......@@ -103,8 +103,3 @@
sign: true
})
}
// export default {
// // GETCLIENTTABLELIST,
// GETLISTDEVICEFILEUNSTOCK1
// }
\ No newline at end of file
......@@ -9,7 +9,7 @@
import { http } from '@/main'
//计算是第几次接触该页面
export function getLoginCount (params){
params.method='org.ore.api.common.findLoginCount'
params.method='entmicro.api.common.findLoginCount'
return http({
url: '/rop-scrm-entmicro/router',
method: 'POST',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!