From 9c6405b7f23212866e5b2744dc921e18bd8cc5bb Mon Sep 17 00:00:00 2001 From: wangxiaohua <1214073490@qq.com> Date: Fri, 27 Aug 2021 17:54:23 +0800 Subject: [PATCH 1/2] init --- pages/center/consumer/consumerDetail.vue | 9 ++++++++- pages/center/consumer/consumerSearch.vue | 5 +++-- pages/center/records/recordSearch.vue | 5 ++--- utils/http.js | 2 +- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/pages/center/consumer/consumerDetail.vue b/pages/center/consumer/consumerDetail.vue index 73ef627..41e60f9 100644 --- a/pages/center/consumer/consumerDetail.vue +++ b/pages/center/consumer/consumerDetail.vue @@ -27,7 +27,7 @@ 客户标签: - 暂无 + 暂无 {{che.name}} @@ -249,6 +249,13 @@ if(res.fraction==null){ res.fraction='0'; } + if(res.demand.cusSemanticWordsList!=null){ + res.demand.cusSemanticWordsList.forEach(che=>{ + if(che.isInterval==0){ + che.name=che.name+che.unit+'-'+che.endName+che.unit; + } + }) + } this.customerInfo = res; }) }, diff --git a/pages/center/consumer/consumerSearch.vue b/pages/center/consumer/consumerSearch.vue index 3d3282b..8aee4fb 100644 --- a/pages/center/consumer/consumerSearch.vue +++ b/pages/center/consumer/consumerSearch.vue @@ -1,7 +1,7 @@