Browse Source

修改用错字段useSum

newStyle
风继续吹 1 year ago
parent
commit
40ebe57c0c
3 changed files with 21 additions and 19 deletions
  1. +5
    -5
      pages/center/consumer/consumerDetail.vue
  2. +3
    -3
      pages/center/consumer/edit.vue
  3. +13
    -11
      pages/index/consumer/index.vue

+ 5
- 5
pages/center/consumer/consumerDetail.vue View File

@@ -6,11 +6,11 @@
<view class="left"> <view class="left">
<view class="test"> <view class="test">
{{customerInfo.name || '--'}} {{customerInfo.name || '--'}}
<view v-if="customerInfo.level.length==0"></view>
<view class="img A" v-else-if="customerInfo.level==1">A</view>
<view class="img B" v-else-if="customerInfo.level==2">B</view>
<view class="img C" v-else-if="customerInfo.level==3">C</view>
<view class="img D" v-else-if="customerInfo.level==4">D</view>
<view v-if="customerInfo.showLevel.length==0"></view>
<view class="img A" v-else-if="customerInfo.showLevel==1">A</view>
<view class="img B" v-else-if="customerInfo.showLevel==2">B</view>
<view class="img C" v-else-if="customerInfo.showLevel==3">C</view>
<view class="img D" v-else-if="customerInfo.showLevel==4">D</view>
<view v-if="customerInfo.clientStageName" class="clientStageName"> <view v-if="customerInfo.clientStageName" class="clientStageName">
{{ customerInfo.clientStageName }} {{ customerInfo.clientStageName }}
</view> </view>


+ 3
- 3
pages/center/consumer/edit.vue View File

@@ -144,7 +144,7 @@
remarks: '', remarks: '',
}, },
selectform: { selectform: {
level: 'A',
level: '',
stage: '', stage: '',
demand: '', demand: '',
area: '', area: '',
@@ -242,8 +242,8 @@
if (idx != -1) { if (idx != -1) {
this.selectform.level = this.levellist[idx].label this.selectform.level = this.levellist[idx].label
} else { } else {
this.selectform.level = 'A';
this.form.level = 1;
this.selectform.level = '';
this.form.level = '';
} }
}) })
}, },


+ 13
- 11
pages/index/consumer/index.vue View File

@@ -9,8 +9,8 @@
<view class="search-text">输入客户姓名/手机号</view> <view class="search-text">输入客户姓名/手机号</view>
</view> </view>
</view> </view>
<template v-if="showFilterOption">
<template v-if="showFilterOption">
<image @click="screenShow = true" class="filter-icon" src="@/static/images/iconFilter.png" mode=""> <image @click="screenShow = true" class="filter-icon" src="@/static/images/iconFilter.png" mode="">
</image> </image>
</template> </template>
@@ -58,9 +58,11 @@
<view class="content-first"> <view class="content-first">
<view class="left"> <view class="left">
<view class="test">{{item.name}}</view> <view class="test">{{item.name}}</view>
<template v-if="item.level > 0">
<view class="img" :class="colorName[item.level]">{{ item.level | levelText }}</view>
</template>
<view v-if="item.level.length == 0"></view>
<view class="img A" v-else-if="item.level == 1">A</view>
<view class="img B" v-else-if="item.level == 2">B</view>
<view class="img C" v-else-if="item.level == 3">C</view>
<view class="img D" v-else-if="item.level == 4">D</view>
<view v-if="item.clientStageName" class="clientStageName">{{ item.clientStageName }}</view> <view v-if="item.clientStageName" class="clientStageName">{{ item.clientStageName }}</view>
</view> </view>
<view class="right"> <view class="right">
@@ -228,7 +230,7 @@
</block> </block>
</view> </view>
</view> </view>
<!-- 需求挖掘率 --> <!-- 需求挖掘率 -->
<view class="screen-record"> <view class="screen-record">
<view class="screen-record-text" @click="wajueArrows=!wajueArrows"> <view class="screen-record-text" @click="wajueArrows=!wajueArrows">
@@ -633,7 +635,7 @@
this.getWordMiningList(); this.getWordMiningList();
this.getCustomPhase(); this.getCustomPhase();
this.getFromSource(); this.getFromSource();
this.getMarketingBusiness();// 销讲业务
this.getMarketingBusiness(); // 销讲业务
this.isRefresh = false; this.isRefresh = false;
this.isnorefresh = 'refresh'; this.isnorefresh = 'refresh';
uni.setStorageSync('updatebuildingID', ''); uni.setStorageSync('updatebuildingID', '');
@@ -655,7 +657,7 @@
} }
}, },
methods: { methods: {
// 获取客户阶段数据 // 获取客户阶段数据
getCustomPhase() { getCustomPhase() {
this.phaseList = []; this.phaseList = [];
@@ -1066,7 +1068,7 @@
}) })
} }
}, },
chooseMores() { chooseMores() {
let change1 = this.templateList.some(item => item.isShow == true) let change1 = this.templateList.some(item => item.isShow == true)
let change2 = this.jiedaiList.some(item => item.isShow == true) let change2 = this.jiedaiList.some(item => item.isShow == true)
@@ -1083,7 +1085,7 @@
return false return false
} }
}, },
chooseMore() { chooseMore() {
let a = false let a = false
this.huaxiangList.forEach(item => { this.huaxiangList.forEach(item => {
@@ -1093,7 +1095,7 @@
}) })
return a return a
}, },
//筛选确认 //筛选确认
screensure() { screensure() {
this.showFilterOption = this.chooseMores() this.showFilterOption = this.chooseMores()


Loading…
Cancel
Save