修改
This commit is contained in:
parent
0a14553558
commit
ec21a0127c
@ -114,7 +114,7 @@
|
|||||||
this.userinfo = uni.getStorageSync('userinfo')
|
this.userinfo = uni.getStorageSync('userinfo')
|
||||||
this.address = uni.getStorageSync('location')
|
this.address = uni.getStorageSync('location')
|
||||||
this.openid = uni.getStorageSync('openid');
|
this.openid = uni.getStorageSync('openid');
|
||||||
this.region = uni.getStorageSync('region')
|
this.region = Number(uni.getStorageSync('region'))
|
||||||
if (this.userinfo && this.region != 3) {
|
if (this.userinfo && this.region != 3) {
|
||||||
checkSignApply(this.userinfo.cardNo).then(res => {
|
checkSignApply(this.userinfo.cardNo).then(res => {
|
||||||
if (res.data) {
|
if (res.data) {
|
||||||
@ -189,13 +189,13 @@
|
|||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '未签约,请先签约',
|
title: '未签约,请先签约',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
duration:'1500',
|
duration: '1500',
|
||||||
url: "/pagesC/Onlinesigning/Onlinesigning"
|
url: "/pagesC/Onlinesigning/Onlinesigning"
|
||||||
})
|
})
|
||||||
} else if (this.checkSign == "01") {
|
} else if (this.checkSign == "01") {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: this.infotitle,
|
title: this.infotitle,
|
||||||
duration:'1500',
|
duration: '1500',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
@ -223,14 +223,14 @@
|
|||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: this.infotitle,
|
title: this.infotitle,
|
||||||
type: 'error',
|
type: 'error',
|
||||||
duration:'1500',
|
duration: '1500',
|
||||||
url: "/pagesC/Onlinesigning/Onlinesigning"
|
url: "/pagesC/Onlinesigning/Onlinesigning"
|
||||||
})
|
})
|
||||||
} else if (this.checkSign == "01") {
|
} else if (this.checkSign == "01") {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: this.infotitle,
|
title: this.infotitle,
|
||||||
type: 'error',
|
type: 'error',
|
||||||
duration:'1500',
|
duration: '1500',
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
@ -308,13 +308,13 @@
|
|||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '未签约,请先签约',
|
title: '未签约,请先签约',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
duration:'1500',
|
duration: '1500',
|
||||||
url: "/pagesC/Onlinesigning/Onlinesigning"
|
url: "/pagesC/Onlinesigning/Onlinesigning"
|
||||||
})
|
})
|
||||||
} else if (this.checkSign == "01") {
|
} else if (this.checkSign == "01") {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: this.infotitle,
|
title: this.infotitle,
|
||||||
duration:'1500',
|
duration: '1500',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
@ -341,7 +341,7 @@
|
|||||||
if (this.checkSign == "0") {
|
if (this.checkSign == "0") {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '未签约,请先签约',
|
title: '未签约,请先签约',
|
||||||
duration:'1500',
|
duration: '1500',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
|
|
||||||
url: "/pagesC/Onlinesigning/Onlinesigning"
|
url: "/pagesC/Onlinesigning/Onlinesigning"
|
||||||
@ -350,7 +350,7 @@
|
|||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: this.infotitle,
|
title: this.infotitle,
|
||||||
type: 'error',
|
type: 'error',
|
||||||
duration:'1500',
|
duration: '1500',
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
@ -376,14 +376,14 @@
|
|||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '未签约,请先签约',
|
title: '未签约,请先签约',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
duration:'1500',
|
duration: '1500',
|
||||||
url: "/pagesC/Onlinesigning/Onlinesigning"
|
url: "/pagesC/Onlinesigning/Onlinesigning"
|
||||||
})
|
})
|
||||||
} else if (this.checkSign == "01") {
|
} else if (this.checkSign == "01") {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: this.infotitle,
|
title: this.infotitle,
|
||||||
type: 'error',
|
type: 'error',
|
||||||
duration:'1500',
|
duration: '1500',
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
@ -402,4 +402,4 @@
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import "./homepage.scss";
|
@import "./homepage.scss";
|
||||||
</style>
|
</style>
|
||||||
@ -236,7 +236,7 @@
|
|||||||
onShow() {
|
onShow() {
|
||||||
// this.bjimg = baseurl + '/profile/appletPicture/inviteFriendsOne.png'
|
// this.bjimg = baseurl + '/profile/appletPicture/inviteFriendsOne.png'
|
||||||
this.appPersonallist = uni.getStorageSync('userinfo')
|
this.appPersonallist = uni.getStorageSync('userinfo')
|
||||||
this.region = uni.getStorageSync('region')
|
this.region = Number(uni.getStorageSync('region'))
|
||||||
this.baseurl = baseurl
|
this.baseurl = baseurl
|
||||||
this.myInfo()
|
this.myInfo()
|
||||||
this.getpersnoal()
|
this.getpersnoal()
|
||||||
|
|||||||
@ -71,7 +71,7 @@
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.region = uni.getStorageSync('region')
|
this.region = Number(uni.getStorageSync('region'))
|
||||||
this.baseurl = baseurl
|
this.baseurl = baseurl
|
||||||
this.selectDepartmentinfo();
|
this.selectDepartmentinfo();
|
||||||
},
|
},
|
||||||
|
|||||||
@ -36,7 +36,7 @@
|
|||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.baseurl = baseurl
|
this.baseurl = baseurl
|
||||||
this.region = uni.getStorageSync('region')
|
this.region = Number(uni.getStorageSync('region'))
|
||||||
if (this.region == 1) {
|
if (this.region == 1) {
|
||||||
dzrecord(uni.getStorageSync('userinfo').cardNo).then(res => {
|
dzrecord(uni.getStorageSync('userinfo').cardNo).then(res => {
|
||||||
res.data.forEach(e => {
|
res.data.forEach(e => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user