修改
This commit is contained in:
parent
9c94b1c9ba
commit
5b5fe6aabf
@ -31,8 +31,8 @@
|
|||||||
<span>护理站</span>
|
<span>护理站</span>
|
||||||
<text class='addition'>{{nurseStationName}}</text>
|
<text class='addition'>{{nurseStationName}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="radio-content" @tap="changeRadio">
|
<view class="radio-content" >
|
||||||
<view class="radio-right">
|
<view class="radio-right" @tap="changeRadio">
|
||||||
<view class="radio" :class="radio == 2 ? 'radio-default':''">
|
<view class="radio" :class="radio == 2 ? 'radio-default':''">
|
||||||
<view :class="radio == 2 ? 'radio-active':''"></view>
|
<view :class="radio == 2 ? 'radio-active':''"></view>
|
||||||
</view>
|
</view>
|
||||||
@ -116,34 +116,39 @@
|
|||||||
},
|
},
|
||||||
//注册功能
|
//注册功能
|
||||||
getInfo() {
|
getInfo() {
|
||||||
nurseAppLoginSysUser(this.appPersonallist).then(res => {
|
if (this.radio == 1) {
|
||||||
console.log(res)
|
this.$refs.uToast.show({
|
||||||
if (this.appPersonallist.stationPersonPassword !== this.appPersonallist.newpassword) {
|
title: '请审核并同意用户协议',
|
||||||
this.$refs.uToast.show({
|
type: 'error'
|
||||||
title: '密码输入不一致,请重新输入',
|
})
|
||||||
type: 'error',
|
} else {
|
||||||
duration: '1500'
|
nurseAppLoginSysUser(this.appPersonallist).then(res => {
|
||||||
})
|
console.log(res)
|
||||||
} else if (res.code == 200) {
|
if (this.appPersonallist.stationPersonPassword !== this.appPersonallist.newpassword) {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '注册成功,前往登录',
|
title: '密码输入不一致,请重新输入',
|
||||||
type: 'success',
|
type: 'error',
|
||||||
url: '/pages/login/login',
|
duration: '1500'
|
||||||
duration: '1500'
|
})
|
||||||
})
|
} else if (res.code == 200) {
|
||||||
} else if (this.radio == 1) {
|
this.$refs.uToast.show({
|
||||||
this.$refs.uToast.show({
|
title: '注册成功,前往登录',
|
||||||
title: '请审核并同意用户协议',
|
type: 'success',
|
||||||
type: 'error'
|
url: '/pages/login/login',
|
||||||
})
|
duration: '1500'
|
||||||
} else {
|
})
|
||||||
this.$refs.uToast.show({
|
} else {
|
||||||
title: res.msg,
|
this.$refs.uToast.show({
|
||||||
type: 'error'
|
title: res.msg,
|
||||||
})
|
type: 'error'
|
||||||
}
|
})
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
tapradio() {
|
||||||
|
this.radio = 2;
|
||||||
|
this.maskshow = false;
|
||||||
},
|
},
|
||||||
//跳转登录页
|
//跳转登录页
|
||||||
gologin() {
|
gologin() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user