wangxiaohua 3 år sedan
förälder
incheckning
9c6405b7f2
4 ändrade filer med 14 tillägg och 7 borttagningar
  1. +8
    -1
      pages/center/consumer/consumerDetail.vue
  2. +3
    -2
      pages/center/consumer/consumerSearch.vue
  3. +2
    -3
      pages/center/records/recordSearch.vue
  4. +1
    -1
      utils/http.js

+ 8
- 1
pages/center/consumer/consumerDetail.vue Visa fil

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


+ 3
- 2
pages/center/consumer/consumerSearch.vue Visa fil

@@ -1,7 +1,7 @@
<template>
<view class="box">
<view style="width: 690rpx;margin: 0 auto;margin-top: 20rpx;">
<u-search @search='searchinfo()' placeholder="请输入" v-model="keyword"></u-search>
<u-search @search='searchinfo()' :show-action='false' placeholder="请输入" v-model="keyword"></u-search>
</view>
<!-- <view @click="searchinfo()">搜索</view> -->
<view class="content">
@@ -37,6 +37,7 @@
<view class="">{{item.fraction || '0'}}% | {{item.fraction || '0'}}分</view>
</view>
</view>
<view style="width: 100%;height: 20rpx;background: #F8F8F8;"></view>
</view>
</view>
</view>
@@ -123,7 +124,7 @@
.content-tips{
background: #fff;
// box-sizing: border-box;
margin-bottom: 20rpx;
// margin-bottom: 20rpx;
overflow: hidden;
.content-first{
padding: 19rpx 30rpx;


+ 2
- 3
pages/center/records/recordSearch.vue Visa fil

@@ -1,11 +1,10 @@
<template>
<view class="box">
<view style="width: 690rpx;margin: 0 auto;margin-top: 20rpx;">
<u-search @search='searchinfo()' placeholder="请输入" v-model="keyword"></u-search>
<u-search @search='searchinfo()' :show-action='false' placeholder="请输入" v-model="keyword"></u-search>
</view>
<!-- <view @click="searchinfo()">搜索</view> -->
<view class="content">
<view class="content" style="background: #F8F8F8;">
<view class="content-tips" v-for="(item,index) in recordList" :key='index' @click="tapThevisiting(item)">
<view class="content-first">
<view class="left">


+ 1
- 1
utils/http.js Visa fil

@@ -1,6 +1,6 @@

const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站
// const baseUrl = 'http://192.168.31.161:8080/autoSR/api'; // 长龙
// const baseUrl = 'http://192.168.31.161:8080/autoSR/api'; // 长龙
// const baseUrl = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪
// const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏
// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式


Laddar…
Avbryt
Spara