@@ -51,7 +51,7 @@
personRoleId: '',
roleName: '',
name: '',
- telephone: '',
+ telephone: this.$route.query.telephone,
personId: '',
companyId: '',
companyName: '请选择',
@@ -180,12 +180,15 @@
},
//注册
confirmRegister() {
+ var _this = this;
var btnArray = ['否', '是'];
mui.confirm('当前用户不存在,是否立即注册?', '提示', btnArray, function(e) {
if (e.index == 1) {
- this.$router.push({
+ _this.$router.push({
name: 'RegisterHome',
- query: {}
+ query: {
+ telephone: _this.subForm.phone
+ }
})
}