Commit b8348db0 by 李长胜

接口地址url更改

1 parent 7d1aa2a9
...@@ -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='org.ore.api.customer.view.data' params.method='entmicro.api.Customer.getCustomerDataView'
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='org.ore.api.customer.view.chart' params.method='entmicro.api.Customer.getCustomerChart'
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='org.ore.api.customer.base.page' params.method='entmicro.api.CustomerBase.getCustomerBasePage'
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
}) })
} }
export function syncCustomerBase(params){ export function syncCustomerBase(params){
params.method='cn.com.glsx.entmicro.synchro.syncCustomerBase' params.method='entmicro.api.synchro.syncCustomerBase'
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'POST', method: 'POST',
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
}) })
} }
export function getTableDetail(params){ export function getTableDetail(params){
params.method='org.ore.api.customer.base.detail' params.method='entmicro.api.CustomerBase.getCustomerBaseDetail'
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='org.ore.api.customer.base.cust.page' params.method='entmicro.api.CustomerBase.getCustomerBaseCustList'
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'POST', method: 'POST',
......
...@@ -60,19 +60,19 @@ ...@@ -60,19 +60,19 @@
}) })
} }
export function getTableList (params){ 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.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'
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'GET', method: 'POST',
data: params, data: params,
sign: true sign: true
}) })
} }
export function syncCustomer(params){ export function syncCustomer(params){
params.method='cn.com.glsx.entmicro.synchro.syncCustomer' params.method='entmicro.api.synchro.syncCustomer'
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'POST', method: 'POST',
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
}) })
} }
export function getTableDetail(params){ 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" // params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
return http({ return http({
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
/*获取来源字典的 /*获取来源字典的
*/ */
export function getDictionaryFun(params){ export function getDictionaryFun(params){
params.method='org.ore.api.common.dictdata.list' params.method='entmicro.api.common.dictdata.list'
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'GET', method: 'GET',
...@@ -103,8 +103,3 @@ ...@@ -103,8 +103,3 @@
sign: true sign: true
}) })
} }
// export default {
// // GETCLIENTTABLELIST,
// GETLISTDEVICEFILEUNSTOCK1
// }
\ No newline at end of file \ No newline at end of file
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
import { http } from '@/main' import { http } from '@/main'
//计算是第几次接触该页面 //计算是第几次接触该页面
export function getLoginCount (params){ export function getLoginCount (params){
params.method='org.ore.api.common.findLoginCount' params.method='entmicro.api.common.findLoginCount'
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'POST', method: 'POST',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!