Commit 7fd8cdc6 by xinla

客户列表新老接口问题

1 parent 3edd6ae7
...@@ -15,7 +15,7 @@ const service = window.CONFIG.services.wecom + '/customer' ...@@ -15,7 +15,7 @@ const service = window.CONFIG.services.wecom + '/customer'
status: 0 客户状态 0正常 1删除 status: 0 客户状态 0正常 1删除
} }
*/ */
export function getList(params) { export function getListNew(params) {
return request({ return request({
url: service + '/findWeCustomerList', url: service + '/findWeCustomerList',
method: 'get', method: 'get',
...@@ -23,6 +23,14 @@ export function getList(params) { ...@@ -23,6 +23,14 @@ export function getList(params) {
}) })
} }
export function getList(params) {
return request({
url: service + '/list',
method: 'get',
params
})
}
/** /**
* 客户同步接口 * 客户同步接口
*/ */
......
...@@ -75,7 +75,7 @@ export default { ...@@ -75,7 +75,7 @@ export default {
page && (this.query.pageNum = page) page && (this.query.pageNum = page)
this.loading = true this.loading = true
api api
.getList(this.query) .getListNew(this.query)
.then(({ rows, total }) => { .then(({ rows, total }) => {
this.list = rows this.list = rows
this.total = +total this.total = +total
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!