This commit is contained in:
2024-01-23 11:49:47 +08:00
parent 0a14553558
commit ec21a0127c
4 changed files with 15 additions and 15 deletions

View File

@ -114,7 +114,7 @@
this.userinfo = uni.getStorageSync('userinfo')
this.address = uni.getStorageSync('location')
this.openid = uni.getStorageSync('openid');
this.region = uni.getStorageSync('region')
this.region = Number(uni.getStorageSync('region'))
if (this.userinfo && this.region != 3) {
checkSignApply(this.userinfo.cardNo).then(res => {
if (res.data) {
@ -189,13 +189,13 @@
this.$refs.uToast.show({
title: '未签约,请先签约',
type: 'error',
duration:'1500',
duration: '1500',
url: "/pagesC/Onlinesigning/Onlinesigning"
})
} else if (this.checkSign == "01") {
this.$refs.uToast.show({
title: this.infotitle,
duration:'1500',
duration: '1500',
type: 'error',
})
} else {
@ -223,14 +223,14 @@
this.$refs.uToast.show({
title: this.infotitle,
type: 'error',
duration:'1500',
duration: '1500',
url: "/pagesC/Onlinesigning/Onlinesigning"
})
} else if (this.checkSign == "01") {
this.$refs.uToast.show({
title: this.infotitle,
type: 'error',
duration:'1500',
duration: '1500',
})
} else {
uni.navigateTo({
@ -308,13 +308,13 @@
this.$refs.uToast.show({
title: '未签约,请先签约',
type: 'error',
duration:'1500',
duration: '1500',
url: "/pagesC/Onlinesigning/Onlinesigning"
})
} else if (this.checkSign == "01") {
this.$refs.uToast.show({
title: this.infotitle,
duration:'1500',
duration: '1500',
type: 'error',
})
} else {
@ -341,7 +341,7 @@
if (this.checkSign == "0") {
this.$refs.uToast.show({
title: '未签约,请先签约',
duration:'1500',
duration: '1500',
type: 'error',
url: "/pagesC/Onlinesigning/Onlinesigning"
@ -350,7 +350,7 @@
this.$refs.uToast.show({
title: this.infotitle,
type: 'error',
duration:'1500',
duration: '1500',
})
} else {
uni.navigateTo({
@ -376,14 +376,14 @@
this.$refs.uToast.show({
title: '未签约,请先签约',
type: 'error',
duration:'1500',
duration: '1500',
url: "/pagesC/Onlinesigning/Onlinesigning"
})
} else if (this.checkSign == "01") {
this.$refs.uToast.show({
title: this.infotitle,
type: 'error',
duration:'1500',
duration: '1500',
})
} else {
uni.navigateTo({
@ -402,4 +402,4 @@
<style lang="scss">
@import "./homepage.scss";
</style>
</style>

View File

@ -236,7 +236,7 @@
onShow() {
// this.bjimg = baseurl + '/profile/appletPicture/inviteFriendsOne.png'
this.appPersonallist = uni.getStorageSync('userinfo')
this.region = uni.getStorageSync('region')
this.region = Number(uni.getStorageSync('region'))
this.baseurl = baseurl
this.myInfo()
this.getpersnoal()

View File

@ -71,7 +71,7 @@
};
},
onLoad() {
this.region = uni.getStorageSync('region')
this.region = Number(uni.getStorageSync('region'))
this.baseurl = baseurl
this.selectDepartmentinfo();
},

View File

@ -36,7 +36,7 @@
},
onLoad() {
this.baseurl = baseurl
this.region = uni.getStorageSync('region')
this.region = Number(uni.getStorageSync('region'))
if (this.region == 1) {
dzrecord(uni.getStorageSync('userinfo').cardNo).then(res => {
res.data.forEach(e => {