添加重复注册申请提示

master
xcw 2023-02-20 15:27:31 +08:00
parent db5d46a4f1
commit 6755baf621
10 changed files with 23 additions and 14 deletions

View File

@ -168,9 +168,14 @@
this.showApply = true; this.showApply = true;
}else if(url=='workerApply'){ }else if(url=='workerApply'){
if(uni.getStorageSync('worksite_id')){ if(uni.getStorageSync('worksite_id')){
uni.navigateTo({ if(this.userInfo.checking == 1) {
url:'/pages/worker/sign/sign?userType=worker&apply=join' this.$toolAll.tools.showToast('入职审核中,请等待审核');
}) }else {
uni.navigateTo({
url:'/pages/worker/sign/sign?userType=worker&apply=join'
})
}
}else{ }else{
this.$toolAll.tools.showToast('不在可申请范围内'); this.$toolAll.tools.showToast('不在可申请范围内');
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -387,9 +387,13 @@ var _default = {
this.showApply = true; this.showApply = true;
} else if (url == 'workerApply') { } else if (url == 'workerApply') {
if (uni.getStorageSync('worksite_id')) { if (uni.getStorageSync('worksite_id')) {
uni.navigateTo({ if (this.userInfo.checking == 1) {
url: '/pages/worker/sign/sign?userType=worker&apply=join' this.$toolAll.tools.showToast('入职审核中,请等待审核');
}); } else {
uni.navigateTo({
url: '/pages/worker/sign/sign?userType=worker&apply=join'
});
}
} else { } else {
this.$toolAll.tools.showToast('不在可申请范围内'); this.$toolAll.tools.showToast('不在可申请范围内');
} }