This commit is contained in:
曹辉 2022-11-15 15:37:32 +08:00
parent 9c94b1c9ba
commit 5b5fe6aabf

View File

@ -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() {