Files
onboard/resources/js/Tours/welcomeDuty.js

81 lines
3.1 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export default {
id: 'welcome-duty',
name: 'Знакомство с Метрикой',
steps: [
{
id: 'step-0',
target: '#launcher',
route: 'start',
title: '👋 Добро пожаловать!',
description: 'Это ваша рабочая область. Сейчас мы покажем вам основные возможности.',
highlight: true,
scroll: false,
allowInteraction: false,
},
{
id: 'step-1',
target: '#new-report-duty',
route: 'start',
title: '✏️ Создать отчёт',
description: 'Нажмите эту кнопку, чтобы начать создание нового отчёта.',
manual: true,
highlight: true,
scroll: false,
allowInteraction: true,
nextEvent: 'selectUser:opened'
},
{
id: 'step-2',
target: '#modal-select-user',
route: 'start',
title: 'Выберите отделение и ответственного',
description: 'Можете использовать список, либо ввести для поиска',
manual: true,
highlight: true,
scroll: true,
allowInteraction: true,
nextEvent: 'navigate:report'
},
{
id: 'step-3',
target: '#date-selector',
route: 'report',
title: 'Календарь',
description: 'Здесь Вы можете просмотреть предыдущие отчеты, путем выбора даты в календаре.',
highlight: true,
scroll: true,
allowInteraction: false,
},
{
id: 'step-4',
target: '#statistic-widgets',
route: 'report',
title: 'Основная статистика',
description: 'Здесь отображается информация из МИС и журнала пациентов',
highlight: true,
scroll: true,
allowInteraction: false,
},
{
id: 'step-5',
target: '#input-widgets',
route: 'report',
title: 'Поля ввода',
description: 'Поля заполняются данными из МИС автоматически. Но вы можете их изменить.',
highlight: true,
scroll: true,
allowInteraction: false,
},
{
id: 'step-6',
target: '#view-tabs',
route: 'report',
title: 'Представления',
description: 'Вы можете переключать представления. Вам доступны МИС и Журнал пациентов (заполняет старшая медицинская сестра отделения)',
highlight: true,
scroll: true,
allowInteraction: false,
},
]
}