From 390c386c67e5e53576e4604dfbfef69537b730e2 Mon Sep 17 00:00:00 2001 From: liutong <836164388@qq.com> Date: Tue, 1 Apr 2025 11:27:03 +0800 Subject: [PATCH] =?UTF-8?q?feat(market):=20=E6=B7=BB=E5=8A=A0=E6=88=91?= =?UTF-8?q?=E7=9A=84=E5=AE=A2=E6=88=B7=E5=8A=9F=E8=83=BD=E5=B9=B6=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E7=BA=BF=E7=B4=A2=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 market.js 中添加 myClient 方法,用于获取我的客户数据 - 重构线索页面,增加筛选条件和分页功能 - 优化下拉刷新和加载更多逻辑 -调整筛选按钮点击事件,实现条件筛选 --- api/market.js | 9 ++++ pages/market/clue/index.vue | 103 +++++++++++++++++++++++++++++++++--- 2 files changed, 106 insertions(+), 6 deletions(-) diff --git a/api/market.js b/api/market.js index 106e6b3..81d1d66 100644 --- a/api/market.js +++ b/api/market.js @@ -59,5 +59,14 @@ export default { }) }, + //我的客户 + myClient(data) { + let url = '/member/my_client' + return http.post(url, data).then(res => { + return res; + }) + }, + + } \ No newline at end of file diff --git a/pages/market/clue/index.vue b/pages/market/clue/index.vue index ae994a6..67a3ae0 100644 --- a/pages/market/clue/index.vue +++ b/pages/market/clue/index.vue @@ -3,14 +3,14 @@ - 全部(320) + 全部(320) - 待跟进(8) + 待跟进(8) - + 7天未跟进(15) - + 30天未成交(12) @@ -363,6 +363,7 @@