wangxiaohua 3 年前
父节点
当前提交
42ad00f8d7
共有 2 个文件被更改,包括 23 次插入2 次删除
  1. +12
    -1
      pages/center/consumer/consumerSearch.vue
  2. +11
    -1
      pages/center/consumer/index.vue

+ 12
- 1
pages/center/consumer/consumerSearch.vue 查看文件

@@ -23,7 +23,8 @@
</view>
<view class="content-sec-lab">
客户标签:
<!-- <view class="content-sec-tips" v-for="(che,ind) in item.demand.cusSemanticWords" :key='ind'>{{che.name}}</view> -->
<text v-if="item.demand.cusSemanticWordsList==null">暂无</text>
<view v-else class="content-sec-tips" v-for="(che,ind) in item.demand.cusSemanticWordsList" :key='ind'>{{che.name}}</view>
</view>
<view class="content-sec-lab">
顾问姓名:<view class="content-sec-lab1">{{item.agentName}}</view>
@@ -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;
})


+ 11
- 1
pages/center/consumer/index.vue 查看文件

@@ -46,7 +46,7 @@
</view>
<view class="content-sec-lab" style="line-height: 46rpx;">
客户标签:
<text v-if="item.demand.cusSemanticWordsList.length==0">暂无</text>
<text v-if="item.demand.cusSemanticWordsList==null">暂无</text>
<view v-else class="content-sec-tips" v-for="(che,ind) in item.demand.cusSemanticWordsList" :key='ind'>{{che.name}}</view>
</view>
@@ -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;
})


正在加载...
取消
保存