fix(mobile): carry today task into practice

This commit is contained in:
2026-07-09 13:28:52 +08:00
parent dd13936ca9
commit f517cbd2b5
3 changed files with 35 additions and 1 deletions
@@ -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' });
};