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}}
+
+
+
+
+ 筛选结果:{{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}}
+
+
+
+
+
+
+ 访客登记码
+
+
+
+
+
@@ -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 @@
-
+
-
+
-
+
-
-
+
+
@@ -28,29 +28,23 @@
- 电量:
+ 电量:
{{item.electricity}}%
{{item.electricity}}%
-
+
-
-
-
-
-
-
+
+
+
+
+
+
信号:0
信号:{{item.signalDevice}}
-
+
设备编号
@@ -59,12 +53,15 @@
录音状态
关闭
- 开启
- 关闭
+ 开启
+ 关闭
待上传
-
+
{{ item.fileCount }}条
@@ -91,7 +88,8 @@
export default {
data() {
return {
- tablist: [{
+ tablist: [
+ {
name: "全部(0)",
},
{
@@ -108,29 +106,35 @@
}
],
activeClass: 0,
- pageNum: 1,
- pageSize: 20,
- imei: "",
- orgcode: "",
- newListdata: [],
- buildingID: '',
- jump: ''
+ pageNum:1,
+ pageSize:20,
+ imei:"",
+ orgcode:"",
+ newListdata:[],
+ buildingID:'',
+ jump:''
};
},
onReachBottom() {
- this.pageNum += 1;
+ this.pageNum +=1;
this.init()
},
+ onPullDownRefresh(){
+ this.init()
+ setTimeout(function () {
+ uni.stopPullDownRefresh();
+ }, 1000);
+ },
onLoad(options) {
- if (options.active) {
- this.activeClass = options.active
- } else {
- this.activeClass = 0
+ if(options.active){
+ this.activeClass=options.active
+ }else{
+ this.activeClass=0
}
- this.newListdata = []
- this.pageNum = 1;
- this.pageSize = 20;
- this.init()
+ this.newListdata=[]
+ this.pageNum=1;
+ this.pageSize=20;
+ this.init()
},
filters: {
formatDate: (dateTimeStamp) => {
@@ -140,114 +144,113 @@
var day = hour * 24;
var halfamonth = day * 15;
var month = day * 30;
- var now = new Date().getTime();
+ var now = new Date().getTime();
var diffValue = now - newDate;
- if (diffValue < 0) {
- return;
- }
- var monthC = diffValue / month;
- var weekC = diffValue / (7 * day);
- var dayC = diffValue / day;
- var hourC = diffValue / hour;
- var minC = diffValue / minute;
+ if(diffValue < 0){return;}
+ var monthC =diffValue/month;
+ var weekC =diffValue/(7*day);
+ var dayC =diffValue/day;
+ var hourC =diffValue/hour;
+ var minC =diffValue/minute;
var result = '';
- if (weekC >= 1) {
- result = "1周前";
- } else if (dayC >= 1) {
- result = "" + parseInt(dayC) + "天前";
- } else if (hourC >= 1) {
- result = "" + parseInt(hourC) + "小时前";
- } else if (minC >= 1) {
- result = "" + parseInt(minC) + "分钟前";
- } else {
- result = "刚刚";
+ if(weekC>=1){
+ result= "1周前";
+ }else if(dayC>=1){
+ result=""+ parseInt(dayC) +"天前";
+ } else if(hourC>=1){
+ result=""+ parseInt(hourC) +"小时前";
+ }
+ else if(minC>=1){
+ result=""+ parseInt(minC) +"分钟前";
+ }else{
+ result="刚刚";
}
return result;
}
},
methods: {
- shecs() {
- this.newListdata = []
- this.pageNum = 1;
- this.pageSize = 20;
- this.init()
+ shecs(){
+ this.newListdata=[]
+ this.pageNum=1;
+ this.pageSize=20;
+ this.init()
},
// tab
clocktab(index) {
- this.activeClass = index;
- this.newListdata = []
- this.pageNum = 1;
- this.pageSize = 20;
+ this.activeClass=index;
+ this.newListdata=[]
+ this.pageNum=1;
+ this.pageSize=20;
this.init()
},
- init() {
- this.buildingID = uni.getStorageSync('buildingID').id;
+ init(){
+ this.buildingID=uni.getStorageSync('buildingID').id;
const parames = {
pageNum: this.pageNum,
pageSize: this.pageSize,
- query: {
- imei: this.imei,
- onLine: this.activeClass,
- propertyId: this.buildingID,
- orderType: 1
+ query:{
+ imei:this.imei,
+ onLine:this.activeClass,
+ propertyId:this.buildingID,
+ orderType:1
}
}
-
- if (this.activeClass == 0) {
- parames.query.onLine = null
+
+ if(this.activeClass==0){
+ parames.query.onLine=null
}
this.$u.post("/equipment/apiFindByPage", parames).then(res => {
- this.tablist[0].name = "全部(" + res.allCount + ")";
- this.tablist[1].name = "在线(" + res.eqOnLineCount + ")";
- this.tablist[2].name = "低电量(" + res.lowElectricityCount + ")";
- this.tablist[3].name = "今日活跃(" + res.activeCount + ")";
- this.tablist[4].name = "离线(" + res.eqOffLineCount + ")";
- if (res.obj.list.results == null) {
- if (this.pageNum == 1) {
+ this.tablist[0].name="全部("+res.allCount+")";
+ this.tablist[1].name="在线("+res.eqOnLineCount+")";
+ this.tablist[2].name="低电量("+res.lowElectricityCount+")";
+ this.tablist[3].name="今日活跃("+res.activeCount+")";
+ this.tablist[4].name="离线("+res.eqOffLineCount+")";
+ if(res.obj.list.results==null){
+ if (this.pageNum == 1){
return
- } else {
+ }else{
uni.showToast({
- title: '已经到底了!',
- duration: 2000
+ title: '已经到底了!',
+ duration: 2000
});
}
- } else {
- res.obj.list.results.forEach(item => {
- if (item.onLine == 0) {
- item.signalDevice = 0
+ }else{
+ res.obj.list.results.forEach(item=>{
+ if(item.onLine==0){
+ item.signalDevice=0
}
-
- if (item.electricity == '') {
- item.electricity = 0
+
+ if(item.electricity==''){
+ item.electricity=0
}
- if (item.electricity > 100) {
- item.electricity = 100
+ if(item.electricity>100){
+ item.electricity=100
}
- let num = this.ascformatDate(item.updateTime)
- if (num > 12) {
- item.electricity = 0
+ let num=this.ascformatDate(item.updateTime)
+ if(num>12){
+ item.electricity=0
}
-
+
})
-
+
if (this.pageNum == 1) {
- this.newListdata = res.obj.list.results
+ this.newListdata=res.obj.list.results
} else {
- this.newListdata = [...this.newListdata, ...res.obj.list.results];
+ this.newListdata = [...this.newListdata, ...res.obj.list.results];
}
}
})
},
- ascformatDate(dateTimeStamp) {
+ ascformatDate(dateTimeStamp){
let newDate = new Date(dateTimeStamp.replace(/-/g, '/')).getTime();
let minute = 1000 * 60;
let hour = minute * 60;
let day = hour * 24;
let halfamonth = day * 15;
let month = day * 30;
- let now = new Date().getTime();
+ let now = new Date().getTime();
let diffValue = now - newDate;
- let result = diffValue / hour;
+ let result =diffValue/hour;
return result;
}
},
@@ -372,7 +375,6 @@
background-color: #333333;
}
}
-
.you11 {
width: 20rpx;
height: 28rpx;
@@ -381,7 +383,7 @@
background-size: 100% 100%;
display: flex;
flex-direction: column-reverse;
-
+
.youimg {
width: 100%;
background-color: red;
@@ -396,7 +398,6 @@
color: #333333;
margin-left: 6rpx;
}
-
.you22 {
width: 114rpx;
height: 30rpx;
@@ -453,7 +454,7 @@
font-size: 24rpx;
color: #333333;
text-indent: 30rpx;
-
+
.stayupload {
color: #F41313;
}
diff --git a/pages/mine/registerCode.vue b/pages/mine/registerCode.vue
new file mode 100644
index 0000000..e54ad86
--- /dev/null
+++ b/pages/mine/registerCode.vue
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+ 保存图片到手机
+
+
+
+
+
+
+
diff --git a/pages/mine/registerForm.vue b/pages/mine/registerForm.vue
new file mode 100644
index 0000000..ceff6f6
--- /dev/null
+++ b/pages/mine/registerForm.vue
@@ -0,0 +1,329 @@
+
+
+
+
+ 姓名
+
+
+
+
+
+
+
+
+
+
+
+
+ 性别
+
+ 男士
+ 女士
+
+
+
+
+ 到访人数
+
+
+ {{i + 1}}
+
+
+
+
+ 到访途径
+
+
+ {{parames.sourceName}}
+ 请选择客户来源
+
+
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
+
+
+
diff --git a/pages/mine/registerResult.vue b/pages/mine/registerResult.vue
new file mode 100644
index 0000000..b7aafaa
--- /dev/null
+++ b/pages/mine/registerResult.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+ 提交成功
+
+
+
+
+
+
+
diff --git a/sdk/WXBizDataCrypt.js b/sdk/WXBizDataCrypt.js
new file mode 100644
index 0000000..aadef98
--- /dev/null
+++ b/sdk/WXBizDataCrypt.js
@@ -0,0 +1,35 @@
+var crypto = require('crypto')
+
+function WXBizDataCrypt(appId, sessionKey) {
+ this.appId = appId
+ this.sessionKey = sessionKey
+}
+
+WXBizDataCrypt.prototype.decryptData = function (encryptedData, iv) {
+ // base64 decode
+ var sessionKey = new Buffer(this.sessionKey, 'base64')
+ encryptedData = new Buffer(encryptedData, 'base64')
+ iv = new Buffer(iv, 'base64')
+
+ try {
+ // 解密
+ var decipher = crypto.createDecipheriv('aes-128-cbc', sessionKey, iv)
+ // 设置自动 padding 为 true,删除填充补位
+ decipher.setAutoPadding(true)
+ var decoded = decipher.update(encryptedData, 'binary', 'utf8')
+ decoded += decipher.final('utf8')
+
+ decoded = JSON.parse(decoded)
+
+ } catch (err) {
+ throw new Error('Illegal Buffer')
+ }
+
+ if (decoded.watermark.appid !== this.appId) {
+ throw new Error('Illegal Buffer')
+ }
+
+ return decoded
+}
+
+module.exports = WXBizDataCrypt
diff --git a/static/images/reg.png b/static/images/reg.png
new file mode 100644
index 0000000..6eed5a8
Binary files /dev/null and b/static/images/reg.png differ
diff --git a/static/images/scuess.png b/static/images/scuess.png
new file mode 100644
index 0000000..6a19182
Binary files /dev/null and b/static/images/scuess.png differ
diff --git a/utils/domain.js b/utils/domain.js
index b84db65..1ae4e7c 100644
--- a/utils/domain.js
+++ b/utils/domain.js
@@ -1,6 +1,8 @@
// http.js使用域名
// const baseUrl = 'http://192.168.31.57:8080/autoSR/api';// 本地
-// const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站/
+// const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站
+// const baseUrl = 'http://192.168.31.92:8080/api';// sh
+// const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 测试站
// const baseUrl = 'http://192.168.31.167:8080/autoSR/api'; // 长龙
// const baseUrl = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪
// const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏