Commit db609a95 authored by Samir Sadyhov's avatar Samir Sadyhov 🤔

timeline - добавлен резальтат этапа согласования/утверждения/лзнакомления

parent 4efad558
......@@ -119,6 +119,10 @@ class Timeline {
msgData.push({title: 'Дата начала этапа', value: finishedProcess[0].started || ''});
msgData.push({title: 'Дата окончания этапа', value: finishedProcess[0].finished || ''});
msgData.push({title: 'Завершил этап', value: finishedProcess[0].finishedUser || ''});
if(['AGREEMENT_ITEM', 'APPROVAL_ITEM', 'ACQUAINTANCE_ITEM'].includes(finishedProcess[0].typeID)) {
msgData.push({title: 'Результат', value: finishedProcess[0].name || ''});
}
} else if (notFinishedProcess.length) {
msgData.push({title: 'Ответственный', value: notFinishedProcess[0].responsibleUserName || ''});
msgData.push({title: 'Дата начала этапа', value: notFinishedProcess[0].started || ''});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment