Ver código fonte

修改用错字段useSum

newStyle
风继续吹 1 ano atrás
pai
commit
40ebe57c0c
3 arquivos alterados com 21 adições e 19 exclusões
  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 Ver arquivo

@@ -6,11 +6,11 @@
<view class="left">
<view class="test">
{{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">
{{ customerInfo.clientStageName }}
</view>


+ 3
- 3
pages/center/consumer/edit.vue Ver arquivo

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


+ 13
- 11
pages/index/consumer/index.vue Ver arquivo

@@ -9,8 +9,8 @@
<view class="search-text">输入客户姓名/手机号</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>
</template>
@@ -58,9 +58,11 @@
<view class="content-first">
<view class="left">
<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>
<view class="right">
@@ -228,7 +230,7 @@
</block>
</view>
</view>
<!-- 需求挖掘率 -->
<view class="screen-record">
<view class="screen-record-text" @click="wajueArrows=!wajueArrows">
@@ -633,7 +635,7 @@
this.getWordMiningList();
this.getCustomPhase();
this.getFromSource();
this.getMarketingBusiness();// 销讲业务
this.getMarketingBusiness(); // 销讲业务
this.isRefresh = false;
this.isnorefresh = 'refresh';
uni.setStorageSync('updatebuildingID', '');
@@ -655,7 +657,7 @@
}
},
methods: {
// 获取客户阶段数据
getCustomPhase() {
this.phaseList = [];
@@ -1066,7 +1068,7 @@
})
}
},
chooseMores() {
let change1 = this.templateList.some(item => item.isShow == true)
let change2 = this.jiedaiList.some(item => item.isShow == true)
@@ -1083,7 +1085,7 @@
return false
}
},
chooseMore() {
let a = false
this.huaxiangList.forEach(item => {
@@ -1093,7 +1095,7 @@
})
return a
},
//筛选确认
screensure() {
this.showFilterOption = this.chooseMores()


Carregando…
Cancelar
Salvar