diff --git a/src/pages/ViewReport/ViewReport.jsx b/src/pages/ViewReport/ViewReport.jsx index 85329069..528b0752 100644 --- a/src/pages/ViewReport/ViewReport.jsx +++ b/src/pages/ViewReport/ViewReport.jsx @@ -1,7 +1,8 @@ import React, { useEffect, useState } from "react"; -import { useDispatch } from "react-redux"; +import { useDispatch, useSelector } from "react-redux"; import { Link, useParams } from "react-router-dom"; +import { getProfileInfo } from "@redux/outstaffingSlice"; import { setEditReport } from "@redux/reportSlice"; import { @@ -9,6 +10,7 @@ import { getCreatedDate, hourOfNum } from "@utils/calendarHelper"; +import { urlForLocal } from "@utils/helper"; import { apiRequest } from "@api/request"; @@ -20,8 +22,9 @@ import { Navigation } from "@components/Navigation/Navigation"; import { ProfileBreadcrumbs } from "@components/ProfileBreadcrumbs/ProfileBreadcrumbs"; import { ProfileHeader } from "@components/ProfileHeader/ProfileHeader"; -import arrowSwitchDate from "assets/icons/arrows/arrowViewReport.png"; +import arrowSwitchDate from "assets/icons/arrows/arrowCalendar_right.png"; import arrow from "assets/icons/arrows/left-arrow.png"; +import avatarMok from "assets/images/avatarMok.png"; import "./viewReport.scss"; @@ -31,6 +34,7 @@ export const ViewReport = () => { const [previousReportDay] = useState(new Date(params.date)); const [nextReportDay] = useState(new Date(params.date)); + const profileInfo = useSelector(getProfileInfo); const [taskText, setTaskText] = useState([]); const [difficulties, setDifficulties] = useState([]); const [tomorrowTask, setTomorrowTask] = useState([]); @@ -140,6 +144,33 @@ export const ViewReport = () => {
Вернуться
++ {profileInfo?.fio || profileInfo?.username}{" "} + {profileInfo.specification} +
+Ключевые навыки:
+
+ Создавайте и редактируйте задачи и проекты вместе с другими
+ участниками
+
команды. Сервис для работы с IT специалистами
+