fix(mobile): carry today task into practice
This commit is contained in:
@@ -117,6 +117,7 @@ const message = ref('');
|
||||
const loggedIn = ref(false);
|
||||
const quickQuestions = ['催费话术', '投诉应对', '收费标准'];
|
||||
const pendingSopQueryKey = 'aihr_sop_pending_query';
|
||||
const pendingAssignmentKey = 'aihr_pending_assignment_id';
|
||||
|
||||
const iconFor = (title: string) => {
|
||||
if (title.includes('SOP') || title.includes('查')) return '/static/map-icons/ask.png';
|
||||
@@ -218,6 +219,9 @@ const goLogin = () => {
|
||||
};
|
||||
|
||||
const openPrimarySchedule = () => {
|
||||
if (primaryAssignment.value) {
|
||||
uni.setStorageSync(pendingAssignmentKey, String(primaryAssignment.value.id));
|
||||
}
|
||||
uni.switchTab({ url: '/pages/user/practice/index' });
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user