wangxiaohua pirms 3 gadiem
vecāks
revīzija
42ad00f8d7
2 mainītis faili ar 23 papildinājumiem un 2 dzēšanām
  1. +12
    -1
      pages/center/consumer/consumerSearch.vue
  2. +11
    -1
      pages/center/consumer/index.vue

+ 12
- 1
pages/center/consumer/consumerSearch.vue Parādīt failu

@@ -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 Parādīt failu

@@ -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;
})


Notiek ielāde…
Atcelt
Saglabāt