Commit a33bae35 authored by dcy's avatar dcy

客户跟进接口修改

parent afc4f2f7
......@@ -37,7 +37,7 @@ export function getCustomerFollow(id) {
// 获得跟进分页
export function getCustomerFollowPage(query) {
return request({
url: '/ecw/customer-follow/page',
url: '/customer/detail/infoList/followPage',
method: 'get',
params: query
})
......
......@@ -53,7 +53,8 @@
>
</el-table-column>
</el-table>
<pagination :total="total" :page.sync="pageNo" :limit.sync="pageSize"
@pagination="getCustomerFollowList"/>
<el-dialog
append-to-body
title="客户跟进"
......@@ -154,6 +155,9 @@ export default {
dialogVisible: false,
form: {}
},
pageNo:1,
pageSize:10,
total:10,
}
},
......@@ -231,7 +235,7 @@ export default {
this.$refs.dictMethod.changeValue(this.customerFollow.form.followMethod);
},
getCustomerFollowList() {
getCustomerFollowPage({bizId: this.id}).then(r => {
getCustomerFollowPage({customerId: this.customerId,pageNo:this.pageNo,pageSize:this.pageSize}).then(r => {
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