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