diff --git a/pages.json b/pages.json index 95bdc89..35f8d22 100644 --- a/pages.json +++ b/pages.json @@ -3,7 +3,28 @@ "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue" }, //这个pages里只放这五个页面,新增页面时请对应的放到下面的分包里 - "pages": [{ + "pages": [ + { + "path" : "pages/mine/registerForm", + "style" : + { + "navigationBarTitleText": "访客登记表", + "navigationBarBackgroundColor": "#2671E2", + "navigationBarTextStyle": "white" + } + + }, + { + "path" : "pages/mine/registerResult", + "style" : + { + "navigationBarTitleText": "访客登记表", + "navigationBarBackgroundColor": "#2671E2", + "navigationBarTextStyle": "white" + } + + }, + { "path": "pages/index/guide", "style": { "navigationBarBackgroundColor": "#008EF2", @@ -16,7 +37,8 @@ "style": { "navigationBarTitleText": "智控管家", "navigationBarBackgroundColor": "#2671E2", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "enablePullDownRefresh":true } }, { @@ -31,7 +53,8 @@ "style": { "navigationBarTitleText": "学习", "navigationBarBackgroundColor": "#2671E2", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "enablePullDownRefresh":true } },{ "path": "pages/index/personal", @@ -43,432 +66,475 @@ } ], //这下面是分包 - "subPackages": [ - { - "root": "pages/login",//登录相关 - "name": "login", - "pages": [ - { - "path": "index" - }, - { - "path": "Verification", - "style": { - "navigationBarTitleText": "验证码登录", - "navigationBarBackgroundColor": "#008EF2", - "navigationBarTextStyle": "white", - "navigationStyle": "custom" - } - }, - { - "path": "yinzhongmalogin", - "style": { - "navigationBarTitleText": "验证码登录", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Setthepassword", - "style": { - "navigationBarTitleText": "设置密码", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Verifythelogin", - "style": { - "navigationBarTitleText": "验证码登录", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - } + // "subPackages": [ + // { + // "root": "pages/login",//登录相关 + // "name": "login", + // "pages": [ + // { + // "path": "index" + // }, + // { + // "path": "Verification", + // "style": { + // "navigationBarTitleText": "验证码登录", + // "navigationBarBackgroundColor": "#008EF2", + // "navigationBarTextStyle": "white", + // "navigationStyle": "custom" + // } + // }, + // { + // "path": "yinzhongmalogin", + // "style": { + // "navigationBarTitleText": "验证码登录", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "Setthepassword", + // "style": { + // "navigationBarTitleText": "设置密码", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "Verifythelogin", + // "style": { + // "navigationBarTitleText": "验证码登录", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // } - ] - }, - { - "root": "pages/mine",//个人中心 - "name": "mine", - "pages": [ - { - "path": "details", - "style": { - "navigationBarTitleText": "详情", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "details2", - "style": { - "navigationBarTitleText": "详情", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "detailsNew", - "style": { - "navigationBarTitleText": "详情", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "calibration", - "style": { - "navigationBarTitleText": "校验", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "ScoringPlaylist", - "style": { - "navigationBarTitleText": "匹配标签", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, + // ] + // }, + // { + // "root": "pages/mine",//个人中心 + // "name": "mine", + // "pages": [ + // { + // "path": "details", + // "style": { + // "navigationBarTitleText": "详情", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "details2", + // "style": { + // "navigationBarTitleText": "详情", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "detailsNew", + // "style": { + // "navigationBarTitleText": "详情", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "calibration", + // "style": { + // "navigationBarTitleText": "校验", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "ScoringPlaylist", + // "style": { + // "navigationBarTitleText": "匹配标签", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, - { - "path": "Myprofile", - "style": { - "navigationBarTitleText": "编辑资料", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "nickname", - "style": { - "navigationBarTitleText": "编辑昵称", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "signature", - "style": { - "navigationBarTitleText": "编辑签名", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Changehepassword", - "style": { - "navigationBarTitleText": "修改密码", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "subscribe", - "style": { - "navigationBarTitleText": "消息订阅", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, + // { + // "path": "Myprofile", + // "style": { + // "navigationBarTitleText": "编辑资料", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "nickname", + // "style": { + // "navigationBarTitleText": "编辑昵称", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "signature", + // "style": { + // "navigationBarTitleText": "编辑签名", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "Changehepassword", + // "style": { + // "navigationBarTitleText": "修改密码", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "subscribe", + // "style": { + // "navigationBarTitleText": "消息订阅", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, - { - "path": "reception/addreception", - "style": { - "navigationBarTitleText": "新增接待", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "reception/consultant", - "style": { - "navigationBarTitleText": "选择顾问", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "consultanonduty/index", - "style": { - "navigationBarTitleText": "值班顾问", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "equipment/index", - "style": { - "navigationBarTitleText": "设备管理", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path" : "messageList", - "style" :{ - "navigationBarTitleText": "消息", - "navigationBarBackgroundColor": "#2671E2", - "navigationBarTextStyle": "white" - } + // { + // "path": "reception/addreception", + // "style": { + // "navigationBarTitleText": "新增接待", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "reception/consultant", + // "style": { + // "navigationBarTitleText": "选择顾问", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "consultanonduty/index", + // "style": { + // "navigationBarTitleText": "值班顾问", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black", + // "enablePullDownRefresh":true + // } + // }, + // { + // "path": "equipment/index", + // "style": { + // "navigationBarTitleText": "设备管理", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black", + // "enablePullDownRefresh":true + // } + // }, + // { + // "path" : "messageList", + // "style" :{ + // "navigationBarTitleText": "消息", + // "navigationBarBackgroundColor": "#2671E2", + // "navigationBarTextStyle": "white" + // } - } - ,{ - "path" : "selectBuilding", - "style" : - { - "navigationBarTitleText": "切换项目", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } + // } + // ,{ + // "path" : "selectBuilding", + // "style" : + // { + // "navigationBarTitleText": "切换项目", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } - } - ] - }, - { - "root": "pages/learning",//学习 - "name": "learning", - "pages": [ - { - "path": "Thefulltext/index", - "style": { - "navigationBarTitleText": "全文学习", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Thefulltext/index2", - "style": { - "navigationBarTitleText": "全文学习", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Thefulltext/search", - "style": { - "navigationBarTitleText": "搜索", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Keywordsearch", - "style": { - "navigationBarTitleText": "搜索", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Equinoctiallearning", - "style": { - "navigationBarTitleText": "分点学习", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Equinoctial/index", - "style": { - "navigationBarTitleText": "分点学习", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Equinoctial/index2", - "style": { - "navigationBarTitleText": "分点学习", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - } + // } + // ,{ + // "path" : "registerCode", + // "style" : + // { + // "navigationBarTitleText": "访客登记码", + // "navigationBarBackgroundColor": "#2671E2", + // "navigationBarTextStyle": "white" + // } + + // } + // ,{ + // "path" : "registerForm", + // "style" : + // { + // "navigationBarTitleText": "访客登记表", + // "navigationBarBackgroundColor": "#2671E2", + // "navigationBarTextStyle": "white" + // } + + // }, + // { + // "path" : "registerResult", + // "style" : + // { + // "navigationBarTitleText": "访客登记表", + // "navigationBarBackgroundColor": "#2671E2", + // "navigationBarTextStyle": "white" + // } + + // } + // ] + // }, + // { + // "root": "pages/learning",//学习 + // "name": "learning", + // "pages": [ + // { + // "path": "Thefulltext/index", + // "style": { + // "navigationBarTitleText": "全文学习", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "Thefulltext/index2", + // "style": { + // "navigationBarTitleText": "全文学习", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "Thefulltext/search", + // "style": { + // "navigationBarTitleText": "搜索", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "Keywordsearch", + // "style": { + // "navigationBarTitleText": "搜索", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "Equinoctiallearning", + // "style": { + // "navigationBarTitleText": "分点学习", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black", + // "enablePullDownRefresh":true + // } + // }, + // { + // "path": "Equinoctial/index", + // "style": { + // "navigationBarTitleText": "分点学习", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "Equinoctial/index2", + // "style": { + // "navigationBarTitleText": "分点学习", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // } - ] - }, - { - "root": "pages/center",//中心逻辑的模块都放到这里 - "name": "center", - "pages": [ - { - "path": "Piabodata/index", - "style": { - "navigationBarTitleText": "销讲数据", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Piabodata/Groupcontrast", - "style": { - "navigationBarTitleText": "集团对比", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Piabodata/Theteamcompared", - "style": { - "navigationBarTitleText": "团队对比", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Piabodata/selectTeam", - "style": { - "navigationBarTitleText": "选择团队", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Piabodata/selectGroup", - "style": { - "navigationBarTitleText": "选择项目", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Piabodata/Userinsightinto", - "style": { - "navigationBarTitleText": "客户画像", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Piabodata/TrendAnalysis", - "style": { - "navigationBarTitleText": "趋势分析", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Piabodata/StaffAnalysis", - "style": { - "navigationBarTitleText": "员工分析", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, + // ] + // }, + // { + // "root": "pages/center",//中心逻辑的模块都放到这里 + // "name": "center", + // "pages": [ + // { + // "path": "Piabodata/index", + // "style": { + // "navigationBarTitleText": "销讲数据", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black", + // "enablePullDownRefresh":true + // } + // }, + // { + // "path": "Piabodata/Groupcontrast", + // "style": { + // "navigationBarTitleText": "集团对比", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black", + // "enablePullDownRefresh":true + // } + // }, + // { + // "path": "Piabodata/Theteamcompared", + // "style": { + // "navigationBarTitleText": "团队对比", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black", + // "enablePullDownRefresh":true + // } + // }, + // { + // "path": "Piabodata/selectTeam", + // "style": { + // "navigationBarTitleText": "选择团队", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "Piabodata/selectGroup", + // "style": { + // "navigationBarTitleText": "选择项目", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "Piabodata/Userinsightinto", + // "style": { + // "navigationBarTitleText": "客户画像", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black", + // "enablePullDownRefresh":true + // } + // }, + // { + // "path": "Piabodata/TrendAnalysis", + // "style": { + // "navigationBarTitleText": "趋势分析", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black", + // "enablePullDownRefresh":true + // } + // }, + // { + // "path": "Piabodata/StaffAnalysis", + // "style": { + // "navigationBarTitleText": "员工分析", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black", + // "enablePullDownRefresh":true + // } + // }, - { - "path": "Piabodata/Customerportrait/Detailsofthesearch", - "style": { - "navigationBarTitleText": "搜索", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Piabodata/Customerportrait/Receivedetailabout", - "style": { - "navigationBarTitleText": "详情", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Piabodata/Customerportrait/Receivingrecords", - "style": { - "navigationBarTitleText": "列表", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Piabodata/Employeesstatistics", - "style": { - "navigationBarTitleText": "顾问排名", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, + // { + // "path": "Piabodata/Customerportrait/Detailsofthesearch", + // "style": { + // "navigationBarTitleText": "搜索", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "Piabodata/Customerportrait/Receivedetailabout", + // "style": { + // "navigationBarTitleText": "详情", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "Piabodata/Customerportrait/Receivingrecords", + // "style": { + // "navigationBarTitleText": "列表", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "Piabodata/Employeesstatistics", + // "style": { + // "navigationBarTitleText": "顾问排名", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black", + // "enablePullDownRefresh":true + // } + // }, - { - "path": "records/index", - "style": { - "navigationBarTitleText": "接待记录", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "records/recordSearch", - "style": { - "navigationBarTitleText": "搜索", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "prohibited/index", - "style": { - "navigationBarTitleText": "违禁记录", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "consumer/index", - "style": { - "navigationBarTitleText": "客户管理", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "consumer/consumerSearch", - "style": { - "navigationBarTitleText": "搜索", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "consumer/consumerDetail", - "style": { - "navigationBarTitleText": "客户详情", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "consumer/remind", - "style": { - "navigationBarTitleText": "添加提醒", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "consumer/edit", - "style": { - "navigationBarTitleText": "编辑客户", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "consumer/newFollowup/newFollowup", - "style": { - "navigationBarTitleText": "写跟进", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - } - ] - } - ], + // { + // "path": "records/index", + // "style": { + // "navigationBarTitleText": "接待记录", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black", + // "enablePullDownRefresh":true + // } + // }, + // { + // "path": "records/recordSearch", + // "style": { + // "navigationBarTitleText": "搜索", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "prohibited/index", + // "style": { + // "navigationBarTitleText": "违禁记录", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black", + // "enablePullDownRefresh":true + // } + // }, + // { + // "path": "consumer/index", + // "style": { + // "navigationBarTitleText": "客户管理", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black", + // "enablePullDownRefresh":true + // } + // }, + // { + // "path": "consumer/consumerSearch", + // "style": { + // "navigationBarTitleText": "搜索", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "consumer/consumerDetail", + // "style": { + // "navigationBarTitleText": "客户详情", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "consumer/remind", + // "style": { + // "navigationBarTitleText": "添加提醒", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "consumer/edit", + // "style": { + // "navigationBarTitleText": "编辑客户", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // }, + // { + // "path": "consumer/newFollowup/newFollowup", + // "style": { + // "navigationBarTitleText": "写跟进", + // "navigationBarBackgroundColor": "#FFFFFF", + // "navigationBarTextStyle": "black" + // } + // } + // ] + // } + // ], "permission": { "scope.userLocation": { diff --git a/pages/center/Piabodata/Employeesstatistics.vue b/pages/center/Piabodata/Employeesstatistics.vue index 9c554ae..47e1e1c 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 42e77bd..26d0b3e 100644 --- a/pages/center/Piabodata/Groupcontrast.vue +++ b/pages/center/Piabodata/Groupcontrast.vue @@ -300,6 +300,19 @@ this.getSectionList() + }, + onPullDownRefresh(){ + let that=this + uni.$on('updateGroup',function(data){ + console.log(data) + that.houseId=data.arr.join(',') + // 获取销奖能力 + that.getPowerList() + }) + this.getSectionList() + setTimeout(function () { + uni.stopPullDownRefresh(); + }, 1000); }, methods: { // 获取部门列表 diff --git a/pages/center/Piabodata/StaffAnalysis.vue b/pages/center/Piabodata/StaffAnalysis.vue index b4eecfa..372f59d 100644 --- a/pages/center/Piabodata/StaffAnalysis.vue +++ b/pages/center/Piabodata/StaffAnalysis.vue @@ -242,6 +242,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 04cad0e..fee1539 100644 --- a/pages/center/Piabodata/Theteamcompared.vue +++ b/pages/center/Piabodata/Theteamcompared.vue @@ -471,6 +471,23 @@ this.getSectionList() }, + onPullDownRefresh() { + let that=this + uni.$on('update',function(data){ + // console.log(data) + that.deptids=data.arr.join(',') + // 获取销奖能力 + that.getPowerList() + }) + // 获取项目id + this.houseId = uni.getStorageSync('buildingID').id; + // this.buildingname = uni.getStorageSync('buildingID').name; + // 请求接口获取所有置业顾问员工的列表 + this.getSectionList() + setTimeout(function () { + uni.stopPullDownRefresh(); + }, 1000); + }, methods: { //是否对比 checkboxChange(){ diff --git a/pages/center/Piabodata/TrendAnalysis.vue b/pages/center/Piabodata/TrendAnalysis.vue index fd2541f..717147f 100644 --- a/pages/center/Piabodata/TrendAnalysis.vue +++ b/pages/center/Piabodata/TrendAnalysis.vue @@ -322,6 +322,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 51e4818..2fad9ce 100644 --- a/pages/center/Piabodata/Userinsightinto.vue +++ b/pages/center/Piabodata/Userinsightinto.vue @@ -106,6 +106,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 a74946b..ca8a579 100644 --- a/pages/center/Piabodata/index.vue +++ b/pages/center/Piabodata/index.vue @@ -336,6 +336,23 @@ // 获取维度 this.getindexZxl() }, + onPullDownRefresh(){ + // 获取员工 + this.getStaffList() + // 获取团队 + this.getSectionList() + // 获取团队是否显示权限 + + // 获取简报 + this.getReport() + // 获取接待趋势 + this.getRtrent() + // 获取维度 + this.getindexZxl() + setTimeout(function () { + uni.stopPullDownRefresh(); + }, 1000); + }, methods: { queryHaveDept() { return new Promise((resolve, reject) => { diff --git a/pages/center/consumer/index.vue b/pages/center/consumer/index.vue index e98a168..8a5a1fa 100644 --- a/pages/center/consumer/index.vue +++ b/pages/center/consumer/index.vue @@ -26,7 +26,9 @@ 更多筛选 - + + 筛选结果:{{totalRecords}} 条 + @@ -116,8 +118,14 @@ 客户等级 - - + + + + {{item.label}} + + + @@ -225,8 +239,8 @@ screen:{ agentId:'', agentIdtext:'', - visitRecord:'', - record:null, + visitRecord:[], + record:[], cunsumerTips:'', cunsumerTipsid:'', clientStage:'', @@ -249,7 +263,43 @@ soltishow:false, staTime:'', endtime:'', - orderBy:'' + orderBy:'', + totalRecords:'', + visitList: [{ + label: '首次到访', + value: 1, + isShow: false, + }, { + label: '2次到访', + value: 2, + isShow: false, + }, { + label: '3次到访', + value: 3, + isShow: false, + }, { + label: '3次以上', + value: 4, + isShow: false, + }, ], + levelList: [{ + label: 'A', + value: 0, + isShow: false, + }, { + label: 'B', + value: 1, + isShow: false, + }, { + label: 'C', + value: 2, + isShow: false, + }, { + label: 'D', + value: 3, + isShow: false, + }, ], + isRefresh:false } }, onLoad(options) { @@ -260,6 +310,7 @@ this.buildingID = uni.getStorageSync('buildingID').id; this.nextPage=1; this.recordList=[] + this.isRefresh = false; this.getMyCustom() this.getFreeList() this.getfindKeywordsList() @@ -267,6 +318,14 @@ this.isnorefresh=''; } }, + onPullDownRefresh(){ + this.isRefresh = true; + this.nextPage = 1; + this.getMyCustom() + setTimeout(() => { + uni.stopPullDownRefresh() + }, 1000) + }, onReachBottom() { if(this.totalRecord==this.nextPage){ uni.showToast({ @@ -277,10 +336,37 @@ return }else{ this.nextPage+=1; + this.isRefresh = false; this.getMyCustom(); } }, methods:{ + 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) + } + }, + choiceLevel(index,e) { + if (this.levelList[index].isShow == true) { + this.levelList[index].isShow = false; + for (var i = 0; i < this.screen.record.length; i++) { + if (this.screen.record[i] === e) { + this.screen.record.splice(i, 1); + } + } + } else { + this.levelList[index].isShow = true; + this.screen.record.push(e) + } + }, tapsoltishow(){ this.soltishow=true; }, @@ -295,6 +381,7 @@ this.orderBy=e[0].value; this.nextPage=1; this.recordList=[]; + this.isRefresh = false; this.getMyCustom(); }, //选择录音时长 @@ -303,6 +390,7 @@ this.activeTotal2=index; this.nextPage=1; this.recordList=[]; + this.isRefresh = false; this.getMyCustom(); }, //时间选择 @@ -316,6 +404,7 @@ this.endtime=''; this.nextPage=1; this.recordList=[]; + this.isRefresh = false; this.getMyCustom(); } }, @@ -326,6 +415,7 @@ this.activeTotal=4; this.nextPage=1; this.recordList=[]; + this.isRefresh = false; this.getMyCustom(); }, recordclick(i){ @@ -387,20 +477,23 @@ orderBy:orderBy } }; - if (this.screen.visitRecord > 0) { - parames.query.visitRecord = this.screen.visitRecord; + if (this.screen.visitRecord.length > 0) { + parames.query.visitRecords = this.screen.visitRecord.join(','); } - if(this.screen.record==0){ - parames.query.levels= ["1"] - }else if(this.screen.record==1){ - parames.query.levels= ["2"] - }else if(this.screen.record==2){ - parames.query.levels= ["3"] - }else if(this.screen.record==3){ - parames.query.levels= ["4"] - }else{ - parames.query.levels='' + if (this.screen.record.length > 0) { + parames.query.level = this.screen.record.join(','); } + // if(this.screen.record==0){ + // parames.query.levels= ["1"] + // }else if(this.screen.record==1){ + // parames.query.levels= ["2"] + // }else if(this.screen.record==2){ + // parames.query.levels= ["3"] + // }else if(this.screen.record==3){ + // parames.query.levels= ["4"] + // }else{ + // parames.query.levels='' + // } this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); this.$u.post("/customer/customerManagement", parames).then(data => { var list = data.results || []; @@ -421,8 +514,13 @@ }) } }) - this.recordList = [...this.recordList, ...list]; + if(this.isRefresh){ + this.recordList = list; + }else{ + this.recordList = [...this.recordList, ...list]; + } this.totalRecord=data.totalPage; + this.totalRecords = data.totalRecord; }) }, //获取顾问列表 @@ -488,16 +586,22 @@ agentId:'', agentIdtext:'', visitRecord:'', - record:null, + record:[], cunsumerTips:'', cunsumerTipsid:'', clientStage:'', clientStageName:'' - } + this.visitList.map(i=>{ + i.isShow = false + }) + this.levelList.map(i=>{ + i.isShow = false + }) this.nextPage=1; this.recordList=[]; this.screenShow=false; + this.isRefresh = false; this.getMyCustom(); }, //筛选确认 @@ -505,6 +609,7 @@ this.nextPage=1; this.recordList=[]; this.screenShow=false; + this.isRefresh = false; this.getMyCustom(); }, goSearch(){ @@ -527,7 +632,18 @@ height: 100%; background: #F8F8F8; } - + .count { + width: 100%; + height: 90rpx; + display: flex; + align-items: center; + justify-content: center; + background-color: #FBE4E4; + + text { + color: #F71616; + } + } .timeview{ height: 80rpx; line-height: 80rpx; diff --git a/pages/center/prohibited/index.vue b/pages/center/prohibited/index.vue index bfcb5b4..3f43ba1 100644 --- a/pages/center/prohibited/index.vue +++ b/pages/center/prohibited/index.vue @@ -14,6 +14,9 @@ 顾问 + + 筛选结果:{{totalRecords}} 条 + @@ -93,8 +96,9 @@ timeshow:false, soltishow:false, orderBy:'', - userInfo:{} - + userInfo:{}, + totalRecords:'', + isRefresh:false } }, onLoad(options) { @@ -113,6 +117,7 @@ this.buildingID = uni.getStorageSync('buildingID').id; this.recordList=[]; this.nextPage=1; + this.isRefresh = false; this.getMyCustom() this.getFreeList(); this.isnorefresh=''; @@ -121,6 +126,14 @@ pages[0].$vm.path='/pages/index/index' console.log(pages[0].$vm.path) }, + onPullDownRefresh(){ + this.nextPage=1; + this.isRefresh = true; + this.getMyCustom() + setTimeout(function () { + uni.stopPullDownRefresh(); + }, 1000); + }, onReachBottom() { if(this.totalRecord==this.nextPage){ uni.showToast({ @@ -131,6 +144,7 @@ return }else{ this.nextPage+=1; + this.isRefresh = false; this.getMyCustom(); } }, @@ -147,6 +161,7 @@ this.orderBy=e[0].value; this.nextPage=1; this.recordList=[]; + this.isRefresh = false; this.getMyCustom(); }, //时间选择 @@ -160,6 +175,7 @@ this.endtime=''; this.nextPage=1; this.recordList=[]; + this.isRefresh = false; this.getMyCustom(); } }, @@ -170,6 +186,7 @@ this.activeTotal=4; this.nextPage=1; this.recordList=[]; + this.isRefresh = false; this.getMyCustom(); }, tapThevisiting(item) { @@ -254,8 +271,13 @@ this.$u.post("/customer/findbypage", parames).then(data => { var list = data.results || []; - this.recordList = [...this.recordList, ...list]; + if(this.isRefresh){ + this.recordList = list; + }else{ + this.recordList = [...this.recordList, ...list]; + } this.totalRecord=data.totalPage; + this.totalRecords = data.totalRecord; }) }, //获取顾问列表 @@ -274,6 +296,7 @@ this.recordList=[]; this.nextPage=1; this.selectshow=false; + this.isRefresh = false; this.getMyCustom(); }, @@ -291,6 +314,18 @@ height: 100%; background: #F8F8F8; } + .count { + width: 100%; + height: 90rpx; + display: flex; + align-items: center; + justify-content: center; + background-color: #FBE4E4; + + text { + color: #F71616; + } + } .timeview{ height: 80rpx; line-height: 80rpx; diff --git a/pages/center/records/index.vue b/pages/center/records/index.vue index 2d2298d..3988b1a 100644 --- a/pages/center/records/index.vue +++ b/pages/center/records/index.vue @@ -27,6 +27,9 @@ 更多筛选 + + 筛选结果:{{totalRecords}} 条 + @@ -78,7 +81,7 @@ - + @@ -111,6 +114,9 @@ 无效接待 + + 无录音 + @@ -131,7 +137,13 @@ 到访次数 - + + + {{item.label}} + + + @@ -208,7 +220,7 @@ agentId:'',//顾问id record:'0', markAdvisor:null, - visitRecord:null, + visitRecord:[], validInvalid:null, clientStage:'', clientStageName:'' @@ -228,6 +240,25 @@ orderBy:'', methodsisshow:false, userInfo:{}, + visitList: [{ + label: '首次到访', + value: 1, + isShow: false, + }, { + label: '2次到访', + value: 2, + isShow: false, + }, { + label: '3次到访', + value: 3, + isShow: false, + }, { + label: '3次以上', + value: 4, + isShow: false, + }, ], + totalRecords: '', + isRefresh:false } }, onLoad(options) { @@ -260,6 +291,7 @@ this.buildingID = uni.getStorageSync('buildingID').id; this.recordList=[]; this.nextPage=1; + this.isRefresh = false; this.getMyCustom() this.getFreeList(); this.isnorefresh=''; @@ -267,6 +299,14 @@ this.getCustomPhase() }, + onPullDownRefresh(){ + this.isRefresh = true; + this.nextPage = 1; + this.getMyCustom() + setTimeout(function () { + uni.stopPullDownRefresh(); + }, 1000); + }, onReachBottom() { if(this.totalRecord==this.nextPage){ uni.showToast({ @@ -278,9 +318,23 @@ }else{ this.nextPage+=1; this.getMyCustom(); + this.isRefresh = false; } }, methods:{ + 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) + } + }, getCustomPhase(){ this.phaseList=[] this.$u.post("/customer/lifeTrackDefineList",{houseId:this.buildingID}).then(res => { @@ -312,6 +366,7 @@ this.orderBy=e[0].value; this.nextPage=1; this.recordList=[]; + this.isRefresh = false; this.getMyCustom(); }, //选择录音时长 @@ -320,6 +375,7 @@ this.activeTotal2=index; this.nextPage=1; this.recordList=[]; + this.isRefresh = false; this.getMyCustom(); }, //时间选择 @@ -333,6 +389,7 @@ this.endtime=''; this.nextPage=1; this.recordList=[]; + this.isRefresh = false; this.getMyCustom(); } }, @@ -343,6 +400,7 @@ this.activeTotal=4; this.nextPage=1; this.recordList=[]; + this.isRefresh = false; this.getMyCustom(); }, tapThevisiting(item) { @@ -433,13 +491,14 @@ time:1, staTime:this.staTime, endtime:this.endtime, - visitRecord:this.screen.visitRecord, + visitRecords:this.screen.visitRecord.join(','), markAdvisor:this.screen.markAdvisor, dateType:dateType, recDurationInterval:recDurationInterval, orderBy:orderBy, - validInvalid:this.screen.validInvalid, + validInvalid:this.screen.validInvalid==2?null:this.screen.validInvalid, clientStage:this.screen.clientStage, + recording:this.screen.validInvalid==2?0:null } }; if(this.screen.agentId){ @@ -449,8 +508,13 @@ this.$u.post("/customer/findbypage", parames).then(data => { var list = data.results || []; - this.recordList = [...this.recordList, ...list]; + if(this.isRefresh){ + this.recordList = list; + }else{ + this.recordList = [...this.recordList, ...list]; + } this.totalRecord=data.totalPage; + this.totalRecords = data.totalRecord; }) }, //获取顾问列表 @@ -472,6 +536,7 @@ this.screenShow=false; this.recordList=[]; this.nextPage=1; + this.isRefresh = false; this.getMyCustom(); }, reset(){ @@ -479,11 +544,16 @@ counselorName:'', record:'0', markAdvisor:null, - visitRecord:null, + visitRecord:[], validInvalid:null, clientStage:'', - clientStageName:'' + clientStageName:'', + recording:null, + visitRecords:"", } + this.visitList.map(i=>{ + i.isShow = false + }) this.screenShow=false; this.nextPage=1; this.recordList=[]; @@ -515,6 +585,7 @@ this.screenShow=false; this.recordList=[]; this.nextPage=1; + this.isRefresh = false; this.getMyCustom(); }, goSearch(){ @@ -532,6 +603,18 @@ height: 100%; background: #F8F8F8; } + .count { + width: 100%; + height: 90rpx; + display: flex; + align-items: center; + justify-content: center; + background-color: #FBE4E4; + + text { + color: #F71616; + } + } .timeview{ height: 80rpx; line-height: 80rpx; diff --git a/pages/index/index.vue b/pages/index/index.vue index 9dc25f2..daa39d5 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -306,6 +306,45 @@ this.initworkThisWeek() this.initrealTimeStatistics() }, + onPullDownRefresh() { + this.getMenu() + + this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); + if (this.userInfo.dataCode == 6 || this.userInfo.dataCode == 3) { + this.methodsisshow = false; + } else { + this.methodsisshow = true; + } + if (this.userInfo.zkProperties.length == 1) { + this.buildingID = uni.getStorageSync('buildingID').id; + this.buildingname = uni.getStorageSync('buildingID').name; + this.buildingishow = false; + } else { + this.buildingishow = true; + this.buildingname = uni.getStorageSync('buildingID').name; + this.buildingID = uni.getStorageSync('buildingID').id; + this.userInfo.zkProperties.forEach(item => { + item.label = item.propertyName; + item.value = item.id + }) + this.lpanlist = this.userInfo.zkProperties + } + if (this.userInfo.dataCode == 6) { + // this.Myworkcard = true; + this.equipmentisshow = false; + this.iniodianloang() + } else { + this.equipmentisshow = true; + // this.Myworkcard = false; + this.initequipment() + // this.waitForOperation() + } + this.initworkThisWeek() + this.initrealTimeStatistics() + setTimeout(() => { + uni.stopPullDownRefresh() + }, 3000) + }, methods: { //获取权限 getMenu(){ diff --git a/pages/index/learning.vue b/pages/index/learning.vue index 02989d5..676f4cd 100644 --- a/pages/index/learning.vue +++ b/pages/index/learning.vue @@ -76,6 +76,13 @@ this.buildingID=uni.getStorageSync('buildingID').id; this.clocktab(i) }, + onPullDownRefresh() { + var i=uni.getStorageSync('fendianindex') + this.clocktab(i) + setTimeout(function () { + uni.stopPullDownRefresh(); + }, 1000); + }, methods: { //全部学习跳转 quclick(item){ diff --git a/pages/index/personal.vue b/pages/index/personal.vue index a301b77..0616d9e 100644 --- a/pages/index/personal.vue +++ b/pages/index/personal.vue @@ -50,6 +50,15 @@ + + + + 访客登记码 + + + + + @@ -101,6 +110,11 @@ this.mobile = userInfos.loginName }, methods: { + scan(){ + uni.navigateTo({ + url:"../mine/registerCode" + }) + }, //拨打电话 phone() { wx.makePhoneCall({ diff --git a/pages/learning/Equinoctiallearning.vue b/pages/learning/Equinoctiallearning.vue index 04ccbc2..cd4756e 100644 --- a/pages/learning/Equinoctiallearning.vue +++ b/pages/learning/Equinoctiallearning.vue @@ -38,6 +38,12 @@ this.biaoqian=options.biaoqian this.ceninit() }, + onPullDownRefresh() { + this.ceninit() + setTimeout(function () { + uni.stopPullDownRefresh(); + }, 1000); + }, methods: { quclick(item) { uni.showLoading({ diff --git a/pages/mine/consultanonduty/index.vue b/pages/mine/consultanonduty/index.vue index baa13ff..96796ac 100644 --- a/pages/mine/consultanonduty/index.vue +++ b/pages/mine/consultanonduty/index.vue @@ -67,6 +67,13 @@ this.changeAgentListShow() this.changePausedAgentListShow() }, + onPullDownRefresh() { + this.changeAgentListShow() + this.changePausedAgentListShow() + setTimeout(function () { + uni.stopPullDownRefresh(); + }, 1000); + }, computed: { activeAgentList() { return this.activeTotal == 1 ? this.agentList : this.pausedAgentList diff --git a/pages/mine/equipment/index.vue b/pages/mine/equipment/index.vue index a2dbea8..1ddd389 100644 --- a/pages/mine/equipment/index.vue +++ b/pages/mine/equipment/index.vue @@ -1,9 +1,9 @@