Browse Source

需求挖掘功能

yun
corala 2 years ago
parent
commit
6a6b0f014a
1 changed files with 17 additions and 41 deletions
  1. +17
    -41
      pages/center/consumer/index.vue

+ 17
- 41
pages/center/consumer/index.vue View File

@@ -304,7 +304,7 @@
/>
</view>
<view class="screen-record-tab" v-if="jieduanArrow">
<block v-for="(item, index) in stageList" :key="index">
<block v-for="(item, index) in phaseList" :key="index">
<view
class="screen-record-item"
:class="[
@@ -426,11 +426,11 @@
@confirm="actionSelectCallback"
></u-select>
<!-- 客户阶段 -->
<u-select
<!-- <u-select
v-model="selectPhaseShow"
:list="phaseList"
@confirm="selectPhase"
></u-select>
></u-select> -->
<u-calendar
v-model="totalTimeShow"
mode="range"
@@ -707,33 +707,6 @@ export default {
validInvalid: null,// 录音标识
clientStage: [],// 客户阶段 clientStage
},
stageList: [
{
label: "未知",
value: 1,
isShow: false,
},
{
label: "到访",
value: 2,
isShow: false,
},
{
label: "意向",
value: 3,
isShow: false,
},
{
label: "定金",
value: 4,
isShow: false,
},
{
label: "成交",
value: 5,
isShow: false,
},
],//客户阶段
recordList: [],
nextPage: 1,
totalRecord: "",
@@ -984,7 +957,7 @@ export default {
if(i.isShow) this.screen.level.push(i.value)
})
//客户阶段
this.stageList.forEach(i => {
this.phaseList.forEach(i => {
if(i.isShow) this.screen.clientStage.push(i.value)
})
// 客户来源
@@ -1099,7 +1072,7 @@ export default {
})
});
},
// 获取客户阶段数据
// 获取客户阶段数据
getCustomPhase() {
this.phaseList = [];
this.$u
@@ -1107,14 +1080,17 @@ export default {
houseId: this.buildingID,
})
.then((res) => {
let tempArr = [];
res.forEach((item) => {
let tempObj = {};
tempObj.label = item.stageName;
tempObj.value = item.id;
tempArr.push(tempObj);
});
this.phaseList = tempArr;
if(res.length){
this.phaseList = res.map(item=>{
return {
label: item.stageName,
value: item.id,
isShow: false
}
})
}else{
this.phaseList =[]
}
});
},
//选择顾问
@@ -1148,7 +1124,7 @@ export default {
this.wajueList.map((i) => {
i.isShow = false;
});
this.stageList.map((i) => {
this.phaseList.map((i) => {
i.isShow = false;
});
this.jiedaiList.map((i) => {


Loading…
Cancel
Save