diff --git a/pages.json b/pages.json
index ff56e10..5c6942e 100644
--- a/pages.json
+++ b/pages.json
@@ -34,7 +34,8 @@
"style": {
"navigationBarTitleText": "接待",
"navigationBarBackgroundColor": "#2671E2",
- "navigationBarTextStyle": "white"
+ "navigationBarTextStyle": "white",
+ "enablePullDownRefresh":true
}
}, {
"path": "pages/index/learning",
@@ -192,7 +193,8 @@
"style": {
"navigationBarTitleText": "值班顾问",
"navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black"
+ "navigationBarTextStyle": "black",
+ "enablePullDownRefresh":true
}
},
{
@@ -200,7 +202,8 @@
"style": {
"navigationBarTitleText": "设备管理",
"navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black"
+ "navigationBarTextStyle": "black",
+ "enablePullDownRefresh": true
}
}
,{
@@ -233,6 +236,16 @@
}
}
+ ,{
+ "path" : "selectBuilding",
+ "style" :
+ {
+ "navigationBarTitleText": "切换楼盘",
+ "navigationBarBackgroundColor": "#2671E2",
+ "navigationBarTextStyle": "white"
+ }
+
+ }
]
},
{
@@ -306,7 +319,8 @@
"style": {
"navigationBarTitleText": "销讲数据",
"navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black"
+ "navigationBarTextStyle": "black",
+ "enablePullDownRefresh":true
}
},
{
@@ -314,7 +328,8 @@
"style": {
"navigationBarTitleText": "集团对比",
"navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black"
+ "navigationBarTextStyle": "black",
+ "enablePullDownRefresh":true
}
},
{
@@ -322,7 +337,8 @@
"style": {
"navigationBarTitleText": "团队对比",
"navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black"
+ "navigationBarTextStyle": "black",
+ "enablePullDownRefresh":true
}
},
{
@@ -346,7 +362,8 @@
"style": {
"navigationBarTitleText": "客户画像",
"navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black"
+ "navigationBarTextStyle": "black",
+ "enablePullDownRefresh":true
}
},
{
@@ -354,7 +371,8 @@
"style": {
"navigationBarTitleText": "趋势分析",
"navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black"
+ "navigationBarTextStyle": "black",
+ "enablePullDownRefresh":true
}
},
{
@@ -362,7 +380,8 @@
"style": {
"navigationBarTitleText": "员工分析",
"navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black"
+ "navigationBarTextStyle": "black",
+ "enablePullDownRefresh":true
}
},
@@ -395,7 +414,8 @@
"style": {
"navigationBarTitleText": "顾问排名",
"navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black"
+ "navigationBarTextStyle": "black",
+ "enablePullDownRefresh":true
}
},
@@ -404,7 +424,8 @@
"style": {
"navigationBarTitleText": "接待记录",
"navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black"
+ "navigationBarTextStyle": "black",
+ "enablePullDownRefresh": true
}
},
{
@@ -420,7 +441,8 @@
"style": {
"navigationBarTitleText": "违禁记录",
"navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black"
+ "navigationBarTextStyle": "black",
+ "enablePullDownRefresh": true
}
},
{
diff --git a/pages/center/Piabodata/Employeesstatistics.vue b/pages/center/Piabodata/Employeesstatistics.vue
index 1df9581..c4d0cf9 100644
--- a/pages/center/Piabodata/Employeesstatistics.vue
+++ b/pages/center/Piabodata/Employeesstatistics.vue
@@ -201,6 +201,12 @@
this.houseId = uni.getStorageSync('buildingID').id;
this.init()
},
+ onPullDownRefresh(){
+ this.init()
+ setTimeout(function () {
+ uni.stopPullDownRefresh();
+ }, 1000);
+ },
methods: {
init(){
this.newlisttabinfo1={
diff --git a/pages/center/Piabodata/Groupcontrast.vue b/pages/center/Piabodata/Groupcontrast.vue
index 3708868..7e2c72c 100644
--- a/pages/center/Piabodata/Groupcontrast.vue
+++ b/pages/center/Piabodata/Groupcontrast.vue
@@ -298,6 +298,12 @@
this.getSectionList()
+ },
+ onPullDownRefresh(){
+ this.getSectionList()
+ setTimeout(function () {
+ uni.stopPullDownRefresh();
+ }, 1000);
},
methods: {
// 获取部门列表
diff --git a/pages/center/Piabodata/StaffAnalysis.vue b/pages/center/Piabodata/StaffAnalysis.vue
index 4e1d5d5..de87339 100644
--- a/pages/center/Piabodata/StaffAnalysis.vue
+++ b/pages/center/Piabodata/StaffAnalysis.vue
@@ -243,6 +243,12 @@
// 请求接口获取所有置业顾问员工的列表
this.getStaffList()
},
+ onPullDownRefresh(){
+ this.getStaffList()
+ setTimeout(function () {
+ uni.stopPullDownRefresh();
+ }, 1000);
+ },
methods: {
//是否对比
checkboxChange(){
diff --git a/pages/center/Piabodata/Theteamcompared.vue b/pages/center/Piabodata/Theteamcompared.vue
index 0382630..26e51b3 100644
--- a/pages/center/Piabodata/Theteamcompared.vue
+++ b/pages/center/Piabodata/Theteamcompared.vue
@@ -370,6 +370,12 @@
this.getSectionList()
},
+ onPullDownRefresh(){
+ this.getSectionList()
+ setTimeout(function () {
+ uni.stopPullDownRefresh();
+ }, 1000);
+ },
methods: {
//是否对比
checkboxChange() {
diff --git a/pages/center/Piabodata/TrendAnalysis.vue b/pages/center/Piabodata/TrendAnalysis.vue
index f964d32..1fdc528 100644
--- a/pages/center/Piabodata/TrendAnalysis.vue
+++ b/pages/center/Piabodata/TrendAnalysis.vue
@@ -334,6 +334,12 @@
this.pamect.houseId = uni.getStorageSync('buildingID').id;
this.init()
},
+ onPullDownRefresh(){
+ this.init()
+ setTimeout(function () {
+ uni.stopPullDownRefresh();
+ }, 1000);
+ },
watch: {
Showhiddenunits(newValue, oldValue) {
this.showCanvas = !newValue
diff --git a/pages/center/Piabodata/Userinsightinto.vue b/pages/center/Piabodata/Userinsightinto.vue
index 100a5dc..c550fb6 100644
--- a/pages/center/Piabodata/Userinsightinto.vue
+++ b/pages/center/Piabodata/Userinsightinto.vue
@@ -113,6 +113,12 @@
this.buildingID=uni.getStorageSync('buildingID').id;
this.gitinit()
},
+ onPullDownRefresh(){
+ this.gitinit()
+ setTimeout(function () {
+ uni.stopPullDownRefresh();
+ }, 1000);
+ },
methods: {
anclick(i){
console.log(i)
diff --git a/pages/center/Piabodata/index.vue b/pages/center/Piabodata/index.vue
index efd1b28..cfe2a7d 100644
--- a/pages/center/Piabodata/index.vue
+++ b/pages/center/Piabodata/index.vue
@@ -362,6 +362,23 @@
// 获取维度
this.getindexZxl()
},
+ onPullDownRefresh(){
+ // 获取员工
+ this.getStaffList()
+ // 获取团队
+ this.getSectionList()
+ // 获取团队是否显示权限
+
+ // 获取简报
+ this.getReport()
+ // 获取接待趋势
+ this.getRtrent()
+ // 获取维度
+ this.getindexZxl()
+ setTimeout(function () {
+ uni.stopPullDownRefresh();
+ }, 1000);
+ },
methods: {
diff --git a/pages/center/prohibited/index.vue b/pages/center/prohibited/index.vue
index 5b39658..8692c21 100644
--- a/pages/center/prohibited/index.vue
+++ b/pages/center/prohibited/index.vue
@@ -150,6 +150,12 @@
this.isnorefresh = '';
}
},
+ onPullDownRefresh(){
+ this.getMyCustom()
+ setTimeout(function () {
+ uni.stopPullDownRefresh();
+ }, 1000);
+ },
onReachBottom() {
if (this.totalRecord == this.nextPage) {
uni.showToast({
diff --git a/pages/center/records/index.vue b/pages/center/records/index.vue
index ab250da..4571289 100644
--- a/pages/center/records/index.vue
+++ b/pages/center/records/index.vue
@@ -149,7 +149,13 @@
到访次数
-
+
+ {{item.label}}
+
+
+