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