This commit is contained in:
2023-10-10 15:37:25 +08:00
parent 21cf4c9e5d
commit c53dcdb373
2 changed files with 37 additions and 97 deletions

View File

@ -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>

View File

@ -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;