Commit 05ff7e51 by 李长胜

导出接口

1 parent c93f7f33
...@@ -111,7 +111,7 @@ export function getDetailPotentialTableList(params){ ...@@ -111,7 +111,7 @@ export function getDetailPotentialTableList(params){
//客户群管理(群聊管理)导出 //客户群管理(群聊管理)导出
export function clientGroupExportApi(params){ export function clientGroupExportApi(params){
params.method=`entmicro.api.customer.base.list.export` params.method=`entmicro.api.customer.base.list.export`
return http2({ return http3({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'GET', method: 'GET',
data: params, data: params,
...@@ -121,7 +121,7 @@ export function clientGroupExportApi(params){ ...@@ -121,7 +121,7 @@ export function clientGroupExportApi(params){
// 全部客户导出 // 全部客户导出
export function clientExportApi(params){ export function clientExportApi(params){
params.method=`entmicro.api.customer.base.cust.export` params.method=`entmicro.api.customer.base.cust.export`
return http2({ return http3({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'GET', method: 'GET',
data: params, data: params,
...@@ -132,7 +132,7 @@ export function clientExportApi(params){ ...@@ -132,7 +132,7 @@ export function clientExportApi(params){
//跟进员工导出 //跟进员工导出
export function followEmployeeExportApi(params){ export function followEmployeeExportApi(params){
params.method=`entmicro.api.customer.base.staff.export` params.method=`entmicro.api.customer.base.staff.export`
return http2({ return http3({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'GET', method: 'GET',
data: params, data: params,
...@@ -142,7 +142,7 @@ export function followEmployeeExportApi(params){ ...@@ -142,7 +142,7 @@ export function followEmployeeExportApi(params){
//退群客户导出 //退群客户导出
export function leaveGroupExportApi(params){ export function leaveGroupExportApi(params){
params.method=`entmicro.api.customer.base.quit.export` params.method=`entmicro.api.customer.base.quit.export`
return http2({ return http3({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'GET', method: 'GET',
data: params, data: params,
...@@ -153,7 +153,7 @@ export function leaveGroupExportApi(params){ ...@@ -153,7 +153,7 @@ export function leaveGroupExportApi(params){
export function potentialClientExportApi(params){ export function potentialClientExportApi(params){
params.method=`entmicro.api.customer.base.potential.export` params.method=`entmicro.api.customer.base.potential.export`
return http2({ return http3({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'GET', method: 'GET',
data: params, data: params,
......
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
//客户信息管理导出 //客户信息管理导出
export function clientManageExportApi(params){ export function clientManageExportApi(params){
params.method=`entmicro.api.customer.customerListExport` params.method=`entmicro.api.customer.customerListExport`
return http2({ return http3({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'GET', method: 'GET',
data: params, data: params,
......
...@@ -12,7 +12,7 @@ import 'glsx-components/dist/glsx-components.css' ...@@ -12,7 +12,7 @@ import 'glsx-components/dist/glsx-components.css'
let routes = [] let routes = []
let router = null let router = null
let instance = null let instance = null
// http:调的是新版标签的接口,http2:调的是客户相关接口;http3:企微授权那边的接口 // http:调的是新版标签的接口,http2:调的是客户相关接口;http3:企微授权那边的接口 目前导出接口都测试的:http3
export async function bootstrap({ name, id, history, common, messenger, globalState,routerBase }) { export async function bootstrap({ name, id, history, common, messenger, globalState,routerBase }) {
const { response, request,request2,request3, sign, secret, sign_common, request_common } = await fetchConfig(globalState.configSwitch)//globalState.configSwitch const { response, request,request2,request3, sign, secret, sign_common, request_common } = await fetchConfig(globalState.configSwitch)//globalState.configSwitch
Vue.prototype.$history = history Vue.prototype.$history = history
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!