This commit is contained in:
Lx 2025-04-17 10:32:04 +08:00
parent 6fb394ef18
commit d8970bab48
2 changed files with 8 additions and 4 deletions

View File

@ -158,7 +158,7 @@
setTimeout(function() {
//
uni.navigateTo({
uni.switchTab({
url: '/newPages/newIndex/index'
})
}, 2600); // 30003

View File

@ -221,6 +221,7 @@
loading: false,
localStaffType: null,
localCoachId: null,
userDetails: [],
columns: [
[{
label: '全款',
@ -235,6 +236,7 @@
}
},
onLoad(option) {
console.log('option', option)
uni.showToast({
title: '请完善个人信息',
icon: 'none'
@ -243,13 +245,15 @@
this.hideTeacher = 1
}
this.jlId = uni.getStorageSync('jlId');
this.userDetails = getLocalUserInfo();
this.courseId = option.courseId,
this.userId = option.userId,
this.tenantId = option.tenantId
this.userinfo = getLocalUserInfo()
this.tenantId = option.tenantId,
this.userId = this.userDetails.id,
this.userinfo = getLocalUserInfo()
this.localStaffType = getStaffType()
this.localCoachId = getCoachId()
console.log('localCoachId', this.localCoachId);
console.log('userId', this.userId);
},
onShow() {
this.getListAll()