diff --git a/pages.json b/pages.json index 65070f6..5c6942e 100644 --- a/pages.json +++ b/pages.json @@ -236,6 +236,16 @@ } } + ,{ + "path" : "selectBuilding", + "style" : + { + "navigationBarTitleText": "切换楼盘", + "navigationBarBackgroundColor": "#2671E2", + "navigationBarTextStyle": "white" + } + + } ] }, { diff --git a/pages/center/records/index.vue b/pages/center/records/index.vue index 4ea74c4..d65de1e 100644 --- a/pages/center/records/index.vue +++ b/pages/center/records/index.vue @@ -149,7 +149,13 @@ 到访次数 - + + {{item.label}} + + + @@ -266,7 +272,7 @@ agentId: '', //顾问id record: '0', markAdvisor: null, - visitRecord: null, + visitRecord: [], validInvalid: null }, freeList: [], //顾问 @@ -287,6 +293,23 @@ startFilterTime: '接待时间', // s筛选状态展示 receptionDuration: '接待时长', // 筛选状态展示 sortText: '排序', // + visitList: [{ + label: '首次到访', + value: 1, + isShow: false, + }, { + label: '2次到访', + value: 2, + isShow: false, + }, { + label: '3次到访', + value: 3, + isShow: false, + }, { + label: '3次以上', + value: 4, + isShow: false, + }, ] } }, onLoad(options) { @@ -488,7 +511,7 @@ time: 1, staDate: this.staTime, endDate: this.endtime, - visitRecord: this.screen.visitRecord, + visitRecords: this.screen.visitRecord.join(","), markAdvisor: this.screen.markAdvisor, dateType: dateType, recDurationInterval: recDurationInterval, @@ -545,6 +568,19 @@ this.recordList = []; this.getMyCustom(); }, + choice(index,e) { + if (this.visitList[index].isShow == true) { + this.visitList[index].isShow = false; + for (var i = 0; i < this.screen.visitRecord.length; i++) { + if (this.screen.visitRecord[i] === e) { + this.screen.visitRecord.splice(i, 1); + } + } + } else { + this.visitList[index].isShow = true; + this.screen.visitRecord.push(e) + } + }, recordclick(i) { if (this.screen.visitRecord == i) { this.screen.visitRecord = null diff --git a/pages/index/consumer/index.vue b/pages/index/consumer/index.vue index 2391044..0b6f02c 100644 --- a/pages/index/consumer/index.vue +++ b/pages/index/consumer/index.vue @@ -1,1074 +1,1128 @@ - - - - - diff --git a/pages/index/index.vue b/pages/index/index.vue index 48d405b..7776c44 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -743,7 +743,10 @@ }, //选择楼盘弹框 piskbuilding() { - this.Showhiddenunits = true; + // this.Showhiddenunits = true; + uni.navigateTo({ + url:"../mine/selectBuilding" + }) }, // 楼盘选择确认 confirm(e) { diff --git a/pages/mine/selectBuilding.vue b/pages/mine/selectBuilding.vue new file mode 100644 index 0000000..6d7ff38 --- /dev/null +++ b/pages/mine/selectBuilding.vue @@ -0,0 +1,96 @@ + + + + +