瀏覽代碼

完成登记表

dev
jyt 2 年之前
父節點
當前提交
8ce93c1ad9
共有 5 個文件被更改,包括 494 次插入505 次删除
  1. +2
    -2
      manifest.json
  2. +473
    -473
      pages.json
  3. +6
    -19
      pages/mine/registerCode.vue
  4. +10
    -8
      pages/mine/registerForm.vue
  5. +3
    -3
      utils/domain.js

+ 2
- 2
manifest.json 查看文件

@@ -1,5 +1,5 @@
{
"name" : "去房智控管家",
"name" : "数智工牌",
"appid" : "__UNI__D88F14A",
"description" : "AI营销助理",
"versionName" : "1.1.0",
@@ -91,7 +91,7 @@
},
"quickapp" : {},
"mp-weixin" : {
"appid" : "wx8f883dca5ecc5510",
"appid" : "wxe044603515ff2cb5",
"setting" : {
"urlCheck" : false,
"es6" : true,


+ 473
- 473
pages.json 查看文件

@@ -4,26 +4,26 @@
},
//这个pages里只放这五个页面,新增页面时请对应的放到下面的分包里
"pages": [
// {
// "path" : "pages/mine/registerForm",
// "style" :
// {
// "navigationBarTitleText": "访客登记表",
// "navigationBarBackgroundColor": "#2671E2",
// "navigationBarTextStyle": "white"
// }
{
"path" : "pages/mine/registerForm",
"style" :
{
"navigationBarTitleText": "访客登记表",
"navigationBarBackgroundColor": "#2671E2",
"navigationBarTextStyle": "white"
}
// },
// {
// "path" : "pages/mine/registerResult",
// "style" :
// {
// "navigationBarTitleText": "访客登记表",
// "navigationBarBackgroundColor": "#2671E2",
// "navigationBarTextStyle": "white"
// }
},
{
"path" : "pages/mine/registerResult",
"style" :
{
"navigationBarTitleText": "访客登记表",
"navigationBarBackgroundColor": "#2671E2",
"navigationBarTextStyle": "white"
}
// },
},
{
"path": "pages/index/guide",
"style": {
@@ -66,475 +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",
"enablePullDownRefresh":true
}
},
{
"path": "equipment/index",
"style": {
"navigationBarTitleText": "设备管理",
"navigationBarBackgroundColor": "#FFFFFF",
"navigationBarTextStyle": "black",
"enablePullDownRefresh":true
}
},
{
"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"
// }
}
,{
"path" : "registerCode",
"style" :
{
"navigationBarTitleText": "访客登记码",
"navigationBarBackgroundColor": "#2671E2",
"navigationBarTextStyle": "white"
}
// }
// ,{
// "path" : "registerCode",
// "style" :
// {
// "navigationBarTitleText": "访客登记码",
// "navigationBarBackgroundColor": "#2671E2",
// "navigationBarTextStyle": "white"
// }
}
,{
"path" : "registerForm",
"style" :
{
"navigationBarTitleText": "访客登记表",
"navigationBarBackgroundColor": "#2671E2",
"navigationBarTextStyle": "white"
}
// }
// ,{
// "path" : "registerForm",
// "style" :
// {
// "navigationBarTitleText": "访客登记表",
// "navigationBarBackgroundColor": "#2671E2",
// "navigationBarTextStyle": "white"
// }
},
{
"path" : "registerResult",
"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/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",
"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
}
},
// ]
// },
// {
// "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",
"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",
// "enablePullDownRefresh":true
// }
// },
{
"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"
}
}
]
}
],
// {
// "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": {


+ 6
- 19
pages/mine/registerCode.vue 查看文件

@@ -1,7 +1,7 @@
<template>
<view class="registerCode">
<view class="registerImg">
<image :src="qrCodeUrl+'/customer/getQrCode?appid=wx8f883dca5ecc5510&page=pages/mine/registerForm&scene='+projectId" mode=""></image>
<image :src="qrCodeUrl+'/customer/getQrCode?appid='+appid+'&page=pages/mine/registerForm&scene='+projectId" mode=""></image>
</view>
<view class="registerBtn" @click="down">
保存图片到手机
@@ -15,15 +15,18 @@
data() {
return {
qrCodeUrl: "",
projectId:""
projectId:"",
appid:"",
};
},
onShow() {
this.projectId = uni.getStorageSync('buildingID').id;
this.appid = uni.getAccountInfoSync().miniProgram.appId;
this.qrCodeUrl = domain.baseUrl;
},
methods: {
down() {
let url = this.qrCodeUrl+'/customer/getQrCode?appid=wx8f883dca5ecc5510&page=pages/mine/registerForm&scene='+this.projectId
let url = this.qrCodeUrl+'/customer/getQrCode?appid='+this.appid+'&page=pages/mine/registerForm&scene='+this.projectId
console.log(url)
uni.getImageInfo({
src:url,
@@ -108,22 +111,6 @@
}
},
onLoad() {
this.qrCodeUrl = domain.baseUrl
// let urlData = {
// page:'pages/mine/registerForm',
// scene:'556',
// width:300
// }
// uni.request({
// url:this.qrCodeUrl + '/customer/getQrCode',
// method:"POST",
// data:urlData,
// success(res) {
// console.log(res)
// }
// })
}
}
</script>


+ 10
- 8
pages/mine/registerForm.vue 查看文件

@@ -33,7 +33,6 @@
</view>
</view>
</view>

<view class="title" @click="Buildingselection()">
<view class="titletext">到访途径</view>
<view class="titletext2"
@@ -67,7 +66,6 @@
<u-select :mask-close-able="false" v-model="Showhiddenunits" mode="single-column" :list="list"
@cancel="cancel" @confirm="confirm"></u-select>
</view>
</view>
</template>

@@ -122,27 +120,28 @@
},
methods: {
save() {
save() {
if (this.parames.name.length == 0) {
uni.showToast({
uni.showToast({
icon: "none",
title: "姓名不能为空"
})
return;
}
},
getPhoneNumber(e){
console.log(e)
getPhoneNumber(e){
this.qrCodeUrl = domain.baseUrl
if(e.detail.errMsg=="getPhoneNumber:ok"){
let data = {
code:e.detail.code,
appid:uni.getAccountInfoSync().miniProgram.appId,
}
uni.request({
url:this.qrCodeUrl + '/code/loginSessionKey',
method:"GET",
data,
success:(res)=> {
console.log(res.data.data)
let phoneNum = JSON.parse(res.data.data).phone_info.phoneNumber
this.parames.phone = phoneNum
if(this.parames.phone!=null && this.parames.phone!=""){
@@ -161,11 +160,15 @@
'Access-Token': uni.getStorageSync('weapp_session_login_data').token
},
success: (addres) => {
console.log(addres.data,111)
if(addres.data.code == 10000){
uni.reLaunch({
url:'/pages/mine/registerResult'
})
}else{
uni.showToast({
icon: "none",
title: addres.data.message
})
}
}
})
@@ -178,7 +181,6 @@
}else{
return;
}
},
changeSex(sex) {
this.parames.sex = sex;


+ 3
- 3
utils/domain.js 查看文件

@@ -2,12 +2,12 @@
// const baseUrl = 'http://192.168.31.57:8080/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';// 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'; // 刘敏
const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式
// const baseUrl = 'https://hfju.com/api'; // 数智正式
// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式
const baseUrl = 'https://hfju.com/api'; // 数智正式


// config使用域名


Loading…
取消
儲存