From 7f20bd8825ba1f03890f543fedf4a988cca6a422 Mon Sep 17 00:00:00 2001 From: liutong <836164388@qq.com> Date: Tue, 1 Apr 2025 14:56:27 +0800 Subject: [PATCH] =?UTF-8?q?refactor(market):=20=E9=87=8D=E6=9E=84=E5=B8=82?= =?UTF-8?q?=E5=9C=BA=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 - 移除静态卡片数据,使用动态列表渲染- 优化卡片样式和布局- 添加意向等级动态显示 - 修复分页和筛选逻辑- 优化数据请求参数 --- pages/market/clue/index.vue | 163 +++++++----------------------------- 1 file changed, 29 insertions(+), 134 deletions(-) diff --git a/pages/market/clue/index.vue b/pages/market/clue/index.vue index 9f432a3..5a94ed5 100644 --- a/pages/market/clue/index.vue +++ b/pages/market/clue/index.vue @@ -14,151 +14,42 @@ 30天未成交(12) + - - - - - - - 包子皮 - 试听 - - - 首联系人:包念念 妈妈 - - - 08-30 14:25  跟进 - - - - - - 意向:低 - - - - - - - - - - - - - - - - - - 包子皮 - 试听 - - - 首联系人:包念念 妈妈 - - - 08-30 14:25  跟进 - - - - - - 意向:高 - - - - - - - - - - - - - - - - - - 包子皮 - 试听 - - - 首联系人:包念念 妈妈 - - - 08-30 14:25  跟进 - - - - - - 意向:中 - - - - - - - - - - - - + - 包子皮 - 试听 + {{v.student_name}} + {{v.is_status == 1 ? '试听' : '成交'}} - 首联系人:包念念 妈妈 + 首联系人:{{v.contact_name}} {{v.decision_maker}} - 待跟进 + {{ $util.formatToDateTime((v.follow && v.follow.follow_up_time || ''),'m-d H:i') }} 跟进 - + + + - 意向:低 - - - - - - - - - - - - - - - - - - 包子皮 - 试听 - - - 首联系人:包念念 妈妈 - - - 08-30 14:25  跟进 - - - - - - 意向:低 + 意向:{{ v.follow && v.follow.initial_customer_intent || '' }} @@ -171,6 +62,7 @@ + 今日待领(15/30) @@ -380,7 +272,8 @@ export default { page:1,//当前页码 limit:10,//每页返回数据条数 total:10,//数据总条数 - type: '',//''=全部,1=待跟进,2=7天,3=30天 + type: '0',//0=全部,1=待跟进,2=7天,3=30天 + is_gh: '1',//1=区域公海,2=我的客户 }, tableList:[],//表格数据 @@ -471,10 +364,11 @@ export default { this.select_type = type //重置为第一页 await this.resetFilteredData() + this.filteredData.is_gh = this.segmented_type switch (type) { //全部 case 1: - this.filteredData.type = '' + this.filteredData.type = '0' break //待跟进 case 2: @@ -497,7 +391,8 @@ export default { this.segmented_type = index.id//1=我的客户,2=区域公海 //重置为第一页 await this.resetFilteredData() - this.filteredData.type = '' + this.filteredData.is_gh = this.segmented_type + this.filteredData.type = '0' await this.getList() },