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() { setTimeout(function() {
// //
uni.navigateTo({ uni.switchTab({
url: '/newPages/newIndex/index' url: '/newPages/newIndex/index'
}) })
}, 2600); // 30003 }, 2600); // 30003

View File

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