Commit a33bae35 authored by dcy's avatar dcy

客户跟进接口修改

parent afc4f2f7
...@@ -37,7 +37,7 @@ export function getCustomerFollow(id) { ...@@ -37,7 +37,7 @@ export function getCustomerFollow(id) {
// 获得跟进分页 // 获得跟进分页
export function getCustomerFollowPage(query) { export function getCustomerFollowPage(query) {
return request({ return request({
url: '/ecw/customer-follow/page', url: '/customer/detail/infoList/followPage',
method: 'get', method: 'get',
params: query params: query
}) })
......
...@@ -53,7 +53,8 @@ ...@@ -53,7 +53,8 @@
> >
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination :total="total" :page.sync="pageNo" :limit.sync="pageSize"
@pagination="getCustomerFollowList"/>
<el-dialog <el-dialog
append-to-body append-to-body
title="客户跟进" title="客户跟进"
...@@ -154,6 +155,9 @@ export default { ...@@ -154,6 +155,9 @@ export default {
dialogVisible: false, dialogVisible: false,
form: {} form: {}
}, },
pageNo:1,
pageSize:10,
total:10,
} }
}, },
...@@ -231,7 +235,7 @@ export default { ...@@ -231,7 +235,7 @@ export default {
this.$refs.dictMethod.changeValue(this.customerFollow.form.followMethod); this.$refs.dictMethod.changeValue(this.customerFollow.form.followMethod);
}, },
getCustomerFollowList() { getCustomerFollowList() {
getCustomerFollowPage({bizId: this.id}).then(r => { getCustomerFollowPage({customerId: this.customerId,pageNo:this.pageNo,pageSize:this.pageSize}).then(r => {
this.customerFollowList = r.data.list this.customerFollowList = r.data.list
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment