From 42ad00f8d7d4c21b6e7d38c939929dbabbfc68c4 Mon Sep 17 00:00:00 2001 From: wangxiaohua <1214073490@qq.com> Date: Fri, 27 Aug 2021 17:21:34 +0800 Subject: [PATCH] init --- pages/center/consumer/consumerSearch.vue | 13 ++++++++++++- pages/center/consumer/index.vue | 12 +++++++++++- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/pages/center/consumer/consumerSearch.vue b/pages/center/consumer/consumerSearch.vue index e0aff2e..3d3282b 100644 --- a/pages/center/consumer/consumerSearch.vue +++ b/pages/center/consumer/consumerSearch.vue @@ -23,7 +23,8 @@ 客户标签: - + 暂无 + {{che.name}} 顾问姓名:{{item.agentName}} @@ -92,6 +93,16 @@ }; this.$u.post("/customer/customerManagement", parames).then(data => { var list = data.results || []; + + list.forEach(item=>{ + if(item.demand.cusSemanticWordsList!=null){ + item.demand.cusSemanticWordsList.forEach(che=>{ + if(che.isInterval==0){ + che.name=che.name+che.unit+'-'+che.endName+che.unit; + } + }) + } + }) this.recordList = [...this.recordList, ...list]; this.totalRecord=data.totalPage; }) diff --git a/pages/center/consumer/index.vue b/pages/center/consumer/index.vue index 09babe3..0d4c702 100644 --- a/pages/center/consumer/index.vue +++ b/pages/center/consumer/index.vue @@ -46,7 +46,7 @@ 客户标签: - 暂无 + 暂无 {{che.name}} @@ -259,6 +259,16 @@ item.isshow=false; } }) + + list.forEach(item=>{ + if(item.demand.cusSemanticWordsList!=null){ + item.demand.cusSemanticWordsList.forEach(che=>{ + if(che.isInterval==0){ + che.name=che.name+che.unit+'-'+che.endName+che.unit; + } + }) + } + }) this.recordList = [...this.recordList, ...list]; this.totalRecord=data.totalPage; })