@@ -34,7 +34,8 @@ | |||||
"style": { | "style": { | ||||
"navigationBarTitleText": "接待", | "navigationBarTitleText": "接待", | ||||
"navigationBarBackgroundColor": "#2671E2", | "navigationBarBackgroundColor": "#2671E2", | ||||
"navigationBarTextStyle": "white" | |||||
"navigationBarTextStyle": "white", | |||||
"enablePullDownRefresh":true | |||||
} | } | ||||
}, { | }, { | ||||
"path": "pages/index/learning", | "path": "pages/index/learning", | ||||
@@ -192,7 +193,8 @@ | |||||
"style": { | "style": { | ||||
"navigationBarTitleText": "值班顾问", | "navigationBarTitleText": "值班顾问", | ||||
"navigationBarBackgroundColor": "#FFFFFF", | "navigationBarBackgroundColor": "#FFFFFF", | ||||
"navigationBarTextStyle": "black" | |||||
"navigationBarTextStyle": "black", | |||||
"enablePullDownRefresh":true | |||||
} | } | ||||
}, | }, | ||||
{ | { | ||||
@@ -200,7 +202,8 @@ | |||||
"style": { | "style": { | ||||
"navigationBarTitleText": "设备管理", | "navigationBarTitleText": "设备管理", | ||||
"navigationBarBackgroundColor": "#FFFFFF", | "navigationBarBackgroundColor": "#FFFFFF", | ||||
"navigationBarTextStyle": "black" | |||||
"navigationBarTextStyle": "black", | |||||
"enablePullDownRefresh": true | |||||
} | } | ||||
} | } | ||||
,{ | ,{ | ||||
@@ -306,7 +309,8 @@ | |||||
"style": { | "style": { | ||||
"navigationBarTitleText": "销讲数据", | "navigationBarTitleText": "销讲数据", | ||||
"navigationBarBackgroundColor": "#FFFFFF", | "navigationBarBackgroundColor": "#FFFFFF", | ||||
"navigationBarTextStyle": "black" | |||||
"navigationBarTextStyle": "black", | |||||
"enablePullDownRefresh":true | |||||
} | } | ||||
}, | }, | ||||
{ | { | ||||
@@ -314,7 +318,8 @@ | |||||
"style": { | "style": { | ||||
"navigationBarTitleText": "集团对比", | "navigationBarTitleText": "集团对比", | ||||
"navigationBarBackgroundColor": "#FFFFFF", | "navigationBarBackgroundColor": "#FFFFFF", | ||||
"navigationBarTextStyle": "black" | |||||
"navigationBarTextStyle": "black", | |||||
"enablePullDownRefresh":true | |||||
} | } | ||||
}, | }, | ||||
{ | { | ||||
@@ -322,7 +327,8 @@ | |||||
"style": { | "style": { | ||||
"navigationBarTitleText": "团队对比", | "navigationBarTitleText": "团队对比", | ||||
"navigationBarBackgroundColor": "#FFFFFF", | "navigationBarBackgroundColor": "#FFFFFF", | ||||
"navigationBarTextStyle": "black" | |||||
"navigationBarTextStyle": "black", | |||||
"enablePullDownRefresh":true | |||||
} | } | ||||
}, | }, | ||||
{ | { | ||||
@@ -346,7 +352,8 @@ | |||||
"style": { | "style": { | ||||
"navigationBarTitleText": "客户画像", | "navigationBarTitleText": "客户画像", | ||||
"navigationBarBackgroundColor": "#FFFFFF", | "navigationBarBackgroundColor": "#FFFFFF", | ||||
"navigationBarTextStyle": "black" | |||||
"navigationBarTextStyle": "black", | |||||
"enablePullDownRefresh":true | |||||
} | } | ||||
}, | }, | ||||
{ | { | ||||
@@ -354,7 +361,8 @@ | |||||
"style": { | "style": { | ||||
"navigationBarTitleText": "趋势分析", | "navigationBarTitleText": "趋势分析", | ||||
"navigationBarBackgroundColor": "#FFFFFF", | "navigationBarBackgroundColor": "#FFFFFF", | ||||
"navigationBarTextStyle": "black" | |||||
"navigationBarTextStyle": "black", | |||||
"enablePullDownRefresh":true | |||||
} | } | ||||
}, | }, | ||||
{ | { | ||||
@@ -362,7 +370,8 @@ | |||||
"style": { | "style": { | ||||
"navigationBarTitleText": "员工分析", | "navigationBarTitleText": "员工分析", | ||||
"navigationBarBackgroundColor": "#FFFFFF", | "navigationBarBackgroundColor": "#FFFFFF", | ||||
"navigationBarTextStyle": "black" | |||||
"navigationBarTextStyle": "black", | |||||
"enablePullDownRefresh":true | |||||
} | } | ||||
}, | }, | ||||
@@ -395,7 +404,8 @@ | |||||
"style": { | "style": { | ||||
"navigationBarTitleText": "顾问排名", | "navigationBarTitleText": "顾问排名", | ||||
"navigationBarBackgroundColor": "#FFFFFF", | "navigationBarBackgroundColor": "#FFFFFF", | ||||
"navigationBarTextStyle": "black" | |||||
"navigationBarTextStyle": "black", | |||||
"enablePullDownRefresh":true | |||||
} | } | ||||
}, | }, | ||||
@@ -404,7 +414,8 @@ | |||||
"style": { | "style": { | ||||
"navigationBarTitleText": "接待记录", | "navigationBarTitleText": "接待记录", | ||||
"navigationBarBackgroundColor": "#FFFFFF", | "navigationBarBackgroundColor": "#FFFFFF", | ||||
"navigationBarTextStyle": "black" | |||||
"navigationBarTextStyle": "black", | |||||
"enablePullDownRefresh": true | |||||
} | } | ||||
}, | }, | ||||
{ | { | ||||
@@ -420,7 +431,8 @@ | |||||
"style": { | "style": { | ||||
"navigationBarTitleText": "违禁记录", | "navigationBarTitleText": "违禁记录", | ||||
"navigationBarBackgroundColor": "#FFFFFF", | "navigationBarBackgroundColor": "#FFFFFF", | ||||
"navigationBarTextStyle": "black" | |||||
"navigationBarTextStyle": "black", | |||||
"enablePullDownRefresh": true | |||||
} | } | ||||
}, | }, | ||||
{ | { | ||||
@@ -201,6 +201,12 @@ | |||||
this.houseId = uni.getStorageSync('buildingID').id; | this.houseId = uni.getStorageSync('buildingID').id; | ||||
this.init() | this.init() | ||||
}, | }, | ||||
onPullDownRefresh(){ | |||||
this.init() | |||||
setTimeout(function () { | |||||
uni.stopPullDownRefresh(); | |||||
}, 1000); | |||||
}, | |||||
methods: { | methods: { | ||||
init(){ | init(){ | ||||
this.newlisttabinfo1={ | this.newlisttabinfo1={ | ||||
@@ -298,6 +298,12 @@ | |||||
this.getSectionList() | this.getSectionList() | ||||
}, | |||||
onPullDownRefresh(){ | |||||
this.getSectionList() | |||||
setTimeout(function () { | |||||
uni.stopPullDownRefresh(); | |||||
}, 1000); | |||||
}, | }, | ||||
methods: { | methods: { | ||||
// 获取部门列表 | // 获取部门列表 | ||||
@@ -243,6 +243,12 @@ | |||||
// 请求接口获取所有置业顾问员工的列表 | // 请求接口获取所有置业顾问员工的列表 | ||||
this.getStaffList() | this.getStaffList() | ||||
}, | }, | ||||
onPullDownRefresh(){ | |||||
this.getStaffList() | |||||
setTimeout(function () { | |||||
uni.stopPullDownRefresh(); | |||||
}, 1000); | |||||
}, | |||||
methods: { | methods: { | ||||
//是否对比 | //是否对比 | ||||
checkboxChange(){ | checkboxChange(){ | ||||
@@ -370,6 +370,12 @@ | |||||
this.getSectionList() | this.getSectionList() | ||||
}, | }, | ||||
onPullDownRefresh(){ | |||||
this.getSectionList() | |||||
setTimeout(function () { | |||||
uni.stopPullDownRefresh(); | |||||
}, 1000); | |||||
}, | |||||
methods: { | methods: { | ||||
//是否对比 | //是否对比 | ||||
checkboxChange() { | checkboxChange() { | ||||
@@ -334,6 +334,12 @@ | |||||
this.pamect.houseId = uni.getStorageSync('buildingID').id; | this.pamect.houseId = uni.getStorageSync('buildingID').id; | ||||
this.init() | this.init() | ||||
}, | }, | ||||
onPullDownRefresh(){ | |||||
this.init() | |||||
setTimeout(function () { | |||||
uni.stopPullDownRefresh(); | |||||
}, 1000); | |||||
}, | |||||
watch: { | watch: { | ||||
Showhiddenunits(newValue, oldValue) { | Showhiddenunits(newValue, oldValue) { | ||||
this.showCanvas = !newValue | this.showCanvas = !newValue | ||||
@@ -113,6 +113,12 @@ | |||||
this.buildingID=uni.getStorageSync('buildingID').id; | this.buildingID=uni.getStorageSync('buildingID').id; | ||||
this.gitinit() | this.gitinit() | ||||
}, | }, | ||||
onPullDownRefresh(){ | |||||
this.gitinit() | |||||
setTimeout(function () { | |||||
uni.stopPullDownRefresh(); | |||||
}, 1000); | |||||
}, | |||||
methods: { | methods: { | ||||
anclick(i){ | anclick(i){ | ||||
console.log(i) | console.log(i) | ||||
@@ -362,6 +362,23 @@ | |||||
// 获取维度 | // 获取维度 | ||||
this.getindexZxl() | this.getindexZxl() | ||||
}, | }, | ||||
onPullDownRefresh(){ | |||||
// 获取员工 | |||||
this.getStaffList() | |||||
// 获取团队 | |||||
this.getSectionList() | |||||
// 获取团队是否显示权限 | |||||
// 获取简报 | |||||
this.getReport() | |||||
// 获取接待趋势 | |||||
this.getRtrent() | |||||
// 获取维度 | |||||
this.getindexZxl() | |||||
setTimeout(function () { | |||||
uni.stopPullDownRefresh(); | |||||
}, 1000); | |||||
}, | |||||
methods: { | methods: { | ||||
@@ -150,6 +150,12 @@ | |||||
this.isnorefresh = ''; | this.isnorefresh = ''; | ||||
} | } | ||||
}, | }, | ||||
onPullDownRefresh(){ | |||||
this.getMyCustom() | |||||
setTimeout(function () { | |||||
uni.stopPullDownRefresh(); | |||||
}, 1000); | |||||
}, | |||||
onReachBottom() { | onReachBottom() { | ||||
if (this.totalRecord == this.nextPage) { | if (this.totalRecord == this.nextPage) { | ||||
uni.showToast({ | uni.showToast({ | ||||
@@ -324,6 +324,12 @@ | |||||
this.isnorefresh = ''; | this.isnorefresh = ''; | ||||
} | } | ||||
}, | }, | ||||
onPullDownRefresh(){ | |||||
this.getMyCustom() | |||||
setTimeout(function () { | |||||
uni.stopPullDownRefresh(); | |||||
}, 1000); | |||||
}, | |||||
onReachBottom() { | onReachBottom() { | ||||
if (this.totalRecord == this.nextPage) { | if (this.totalRecord == this.nextPage) { | ||||
uni.showToast({ | uni.showToast({ | ||||
@@ -215,6 +215,13 @@ | |||||
this.init() | this.init() | ||||
this.queryHaveDept() | this.queryHaveDept() | ||||
}, | }, | ||||
onPullDownRefresh(){ | |||||
this.init() | |||||
setTimeout(function () { | |||||
uni.stopPullDownRefresh(); | |||||
}, 1000); | |||||
}, | |||||
methods: { | methods: { | ||||
reshCustom() { | reshCustom() { | ||||
this.init() | this.init() | ||||
@@ -66,6 +66,13 @@ | |||||
this.changeAgentListShow() | this.changeAgentListShow() | ||||
this.changePausedAgentListShow() | this.changePausedAgentListShow() | ||||
}, | }, | ||||
onPullDownRefresh(){ | |||||
this.changeAgentListShow() | |||||
this.changePausedAgentListShow() | |||||
setTimeout(function () { | |||||
uni.stopPullDownRefresh(); | |||||
}, 1000); | |||||
}, | |||||
computed: { | computed: { | ||||
activeAgentList() { | activeAgentList() { | ||||
return this.activeTotal == 1 ? this.agentList : this.pausedAgentList | return this.activeTotal == 1 ? this.agentList : this.pausedAgentList | ||||
@@ -122,6 +122,12 @@ | |||||
this.pageNum +=1; | this.pageNum +=1; | ||||
this.init() | this.init() | ||||
}, | }, | ||||
onPullDownRefresh(){ | |||||
this.init() | |||||
setTimeout(function () { | |||||
uni.stopPullDownRefresh(); | |||||
}, 1000); | |||||
}, | |||||
onLoad(options) { | onLoad(options) { | ||||
if(options.active){ | if(options.active){ | ||||
this.activeClass=options.active | this.activeClass=options.active | ||||