修改
This commit is contained in:
parent
21cf4c9e5d
commit
c53dcdb373
@ -119,54 +119,32 @@
|
||||
url: '/pages/login/login'
|
||||
})
|
||||
},
|
||||
// 是否签约
|
||||
parentinfo() {
|
||||
this.$refs.uToast.show({
|
||||
title: '未签约,请先签约',
|
||||
type: 'error',
|
||||
duration: '1000',
|
||||
// url: '/pages/login/login'
|
||||
// 签约信息
|
||||
detailinfo(url1, url2) {
|
||||
detail(this.identity, this.region).then(res => {
|
||||
if (res.code == 500) {
|
||||
this.$refs.uToast.show({
|
||||
title: '未签约,请先签约',
|
||||
type: 'error',
|
||||
duration: '1000',
|
||||
url: url1
|
||||
})
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: url2
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
// 签约信息
|
||||
// detailinfo(){
|
||||
// detail(this.identity,this.region).then(res => {
|
||||
// this.Code=res.code
|
||||
// if(this.Code==500){
|
||||
// this.$refs.uToast.show({
|
||||
// title: res.msg,
|
||||
// type: 'error',
|
||||
// duration: '1000',
|
||||
// // url: '/pages/login/login'
|
||||
// })
|
||||
|
||||
// }
|
||||
|
||||
// })
|
||||
|
||||
// },
|
||||
// 家医签约
|
||||
goonline() {
|
||||
uni.navigateTo({
|
||||
url: '/pagesC/Signingagency/Signingagency'
|
||||
url: '/pagesC/Onlinesigning/Onlinesigning'
|
||||
})
|
||||
if (!this.userinfo && !this.identity) {
|
||||
// this.gologin();
|
||||
} else {
|
||||
detail(this.identity, this.region).then(res => {
|
||||
if (res.code == 500) {
|
||||
this.$refs.uToast.show({
|
||||
title: '未签约,请先签约',
|
||||
type: 'error',
|
||||
duration: '1000',
|
||||
url: '/pagesC/Signingagency/Signingagency'
|
||||
})
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: '/pagesB/mysigning/mysigning'
|
||||
})
|
||||
}
|
||||
})
|
||||
this.detailinfo('/pagesC/Onlinesigning/Onlinesignin', '/pagesB/mysigning/mysigning')
|
||||
}
|
||||
},
|
||||
// 积分兑换
|
||||
@ -174,22 +152,7 @@
|
||||
if (!this.userinfo && !this.identity) {
|
||||
this.gologin();
|
||||
} else {
|
||||
detail(this.identity, this.region).then(res => {
|
||||
this.Code = res.code
|
||||
if (this.Code == 500) {
|
||||
this.$refs.uToast.show({
|
||||
title: '未签约,请先签约',
|
||||
type: 'error',
|
||||
duration: '1000',
|
||||
|
||||
})
|
||||
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: ''
|
||||
})
|
||||
}
|
||||
})
|
||||
this.detailinfo('', '')
|
||||
}
|
||||
},
|
||||
// 健康档案
|
||||
@ -197,6 +160,7 @@
|
||||
if (!this.userinfo && !this.identity) {
|
||||
this.gologin();
|
||||
} else {
|
||||
// this.detailinfo('', '')
|
||||
uni.navigateTo({
|
||||
url: '/pagesC/Healthrecords/Healthrecords'
|
||||
})
|
||||
@ -207,6 +171,7 @@
|
||||
if (!this.userinfo && !this.identity) {
|
||||
this.gologin();
|
||||
} else {
|
||||
// this.detailinfo('', '')
|
||||
uni.navigateTo({
|
||||
url: '/pagesC/Screeningrecords/Screeningrecords'
|
||||
})
|
||||
@ -217,6 +182,7 @@
|
||||
if (!this.userinfo && !this.identity) {
|
||||
this.gologin();
|
||||
} else {
|
||||
// this.detailinfo('', '')
|
||||
uni.navigateTo({
|
||||
url: '/pagesC/healthtest/healthtest'
|
||||
})
|
||||
@ -227,6 +193,7 @@
|
||||
if (!this.userinfo && !this.identity) {
|
||||
this.gologin();
|
||||
} else {
|
||||
// this.detailinfo('', '')
|
||||
uni.navigateTo({
|
||||
url: '/pagesC/Physicalexamination/Physicalexamination'
|
||||
})
|
||||
@ -237,20 +204,7 @@
|
||||
if (!this.userinfo && !this.identity) {
|
||||
this.gologin();
|
||||
} else {
|
||||
detail(this.identity, this.region).then(res => {
|
||||
this.Code = res.code
|
||||
if (this.Code == 500) {
|
||||
this.$refs.uToast.show({
|
||||
title: '未签约,请先签约',
|
||||
type: 'error',
|
||||
duration: '1000',
|
||||
})
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: '/pagesC/ServiceAppointment/ServiceAppointment'
|
||||
})
|
||||
}
|
||||
})
|
||||
this.detailinfo('', '/pagesC/ServiceAppointment/ServiceAppointment')
|
||||
}
|
||||
},
|
||||
// 服务记录
|
||||
@ -258,38 +212,23 @@
|
||||
if (!this.userinfo && !this.identity) {
|
||||
this.gologin();
|
||||
} else {
|
||||
// this.detailinfo('', '')
|
||||
uni.navigateTo({
|
||||
url: '/pagesC/servicerecord/servicerecord'
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
// 我的预约
|
||||
myappointment() {
|
||||
if (!this.userinfo && !this.identity) {
|
||||
this.gologin();
|
||||
} else {
|
||||
// this.detailinfo('', '')
|
||||
uni.navigateTo({
|
||||
url: '/pagesC/Myappointment/Myappointment'
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
// login() {
|
||||
// const _this = this
|
||||
// uni.login({
|
||||
// success(res) {
|
||||
// getOpenId(res.code).then(Res => {
|
||||
// if (Res.code == 200) {
|
||||
// _this.isWxBing(Res.msg, '1')
|
||||
// }
|
||||
// })
|
||||
// }
|
||||
// })
|
||||
// },
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
<template>
|
||||
<view class="app">
|
||||
<view class="content">
|
||||
<view class="numberone">1
|
||||
<view class="numberone">
|
||||
1
|
||||
<view class="information">
|
||||
填写个人信息
|
||||
</view>
|
||||
@ -180,7 +181,7 @@
|
||||
.submititem {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
margin: 47rpx 0px 20rpx 0px;
|
||||
margin: 47rpx 0px 20rpx 0px;
|
||||
|
||||
.submit {
|
||||
width: 289rpx;
|
||||
@ -204,15 +205,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
.radio-content {
|
||||
width: 56%;
|
||||
text-align: center;
|
||||
font-size: 19rpx;
|
||||
position: relative;
|
||||
left: 54%;
|
||||
-webkit-transform: translateX(-50%);
|
||||
transform: translateX(-50%);
|
||||
|
||||
.radio-content {
|
||||
width: 56%;
|
||||
text-align: center;
|
||||
font-size: 19rpx;
|
||||
position: relative;
|
||||
left: 54%;
|
||||
-webkit-transform: translateX(-50%);
|
||||
transform: translateX(-50%);
|
||||
|
||||
|
||||
.agreement {
|
||||
position: absolute;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user