@burh/nuxt-core 1.0.503 → 1.0.505
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.ebignore +25 -25
- package/.elasticbeanstalk/config.yml +18 -18
- package/.eslintrc.json +39 -39
- package/.gitlab-ci.yml +16 -16
- package/.vscode/settings.json +10 -10
- package/CHANGELOG.md +2 -2
- package/README.md +22 -22
- package/app.html +8 -8
- package/assets/css/font-awesome/css/font-awesome.css +2337 -2337
- package/assets/css/font-awesome/css/font-awesome.min.css +4 -4
- package/assets/css/font-awesome/fonts/fontawesome-webfont.svg +2671 -2671
- package/assets/css/nucleo/css/nucleo-svg.css +134 -134
- package/assets/css/nucleo/css/nucleo.css +572 -572
- package/assets/css/nucleo/fonts/nucleo-icons.svg +312 -312
- package/assets/css/variables.css +2 -2
- package/assets/images/burhCv.svg +6 -6
- package/assets/images/facebookCv.svg +3 -3
- package/assets/images/icons/facebook.svg +14 -14
- package/assets/images/icons/historicCv.svg +3 -3
- package/assets/images/icons/icon3.svg +3 -3
- package/assets/images/icons/icon4.svg +3 -3
- package/assets/images/icons/icon5.svg +3 -3
- package/assets/images/icons/icon6.svg +3 -3
- package/assets/images/icons/icon7.svg +3 -3
- package/assets/images/icons/icon8.svg +7 -7
- package/assets/images/icons/linkedin.svg +14 -14
- package/assets/images/icons/notesCv.svg +3 -3
- package/assets/images/icons/twitter.svg +14 -14
- package/assets/images/icons/whatsapp.svg +14 -14
- package/assets/images/linkedinCv.svg +3 -3
- package/assets/images/webCv.svg +4 -4
- package/assets/sass/argon.scss +104 -104
- package/assets/sass/burh-ds/_components.scss +142 -142
- package/assets/sass/burh-ds/_functions.scss +29 -29
- package/assets/sass/burh-ds/_global.scss +327 -327
- package/assets/sass/burh-ds/_helpers.scss +18 -18
- package/assets/sass/burh-ds/_mixins.scss +17 -17
- package/assets/sass/burh-ds/_transitions.scss +12 -12
- package/assets/sass/burh-ds/_utilities.scss +31 -31
- package/assets/sass/burh-ds/_variables.scss +963 -963
- package/assets/sass/burh-ds/_vendors.scss +38 -38
- package/assets/sass/burh-ds/atoms/_badge.scss +5 -5
- package/assets/sass/burh-ds/atoms/_buttons.scss +222 -222
- package/assets/sass/burh-ds/atoms/_forms.scss +419 -419
- package/assets/sass/burh-ds/atoms/_tables.scss +31 -31
- package/assets/sass/burh-ds/atoms/_type.scss +147 -147
- package/assets/sass/burh-ds/content/_interface-spa.scss +306 -306
- package/assets/sass/burh-ds/content/_main-content.scss +25 -25
- package/assets/sass/burh-ds/mixins/_badge.scss +37 -37
- package/assets/sass/burh-ds/mixins/_breakpoints.scss +39 -39
- package/assets/sass/burh-ds/mixins/_grid-framework.scss +66 -66
- package/assets/sass/burh-ds/mixins/_grid.scss +51 -51
- package/assets/sass/burh-ds/molecules/_box.scss +282 -282
- package/assets/sass/burh-ds/molecules/_breadcrumb.scss +8 -8
- package/assets/sass/burh-ds/molecules/_modal.scss +176 -176
- package/assets/sass/burh-ds/molecules/_navbar.scss +262 -262
- package/assets/sass/burh-ds/molecules/_notifications.scss +1 -1
- package/assets/sass/burh-ds/molecules/_steps-profile.scss +67 -67
- package/assets/sass/burh-ds/molecules/_testimonial.scss +53 -53
- package/assets/sass/burh-ds/organisms/_banner.scss +51 -51
- package/assets/sass/burh-ds/organisms/_cards.scss +228 -228
- package/assets/sass/burh-ds/organisms/_carousel.scss +113 -113
- package/assets/sass/burh-ds/organisms/_footer.scss +115 -115
- package/assets/sass/burh-ds/organisms/_profile-bar.scss +130 -130
- package/assets/sass/burh-ds/organisms/_search.scss +17 -17
- package/assets/sass/burh-ds/organisms/_subheader.scss +773 -773
- package/assets/sass/burh-ds/organisms/_tabs-setting.scss +123 -123
- package/assets/sass/burh-ds/organisms/banners/_banner.scss +62 -62
- package/assets/sass/burh-ds/organisms/cards/_featured-company.scss +17 -17
- package/assets/sass/burh-ds/organisms/cards/_opportunity.scss +16 -16
- package/assets/sass/burh-ds/pages/_error.scss +124 -124
- package/assets/sass/burh-ds/pages/_jobs.scss +424 -424
- package/assets/sass/burh-ds/pages/_testes.scss +350 -350
- package/assets/sass/burh-ds/variables/_colors.scss +358 -358
- package/assets/sass/burh-ds/variables/_global_settings.scss +39 -39
- package/assets/sass/core/alerts/_alert-dismissible.scss +48 -48
- package/assets/sass/core/alerts/_alert-notify.scss +47 -47
- package/assets/sass/core/alerts/_alert.scss +49 -49
- package/assets/sass/core/avatars/_avatar-group.scss +22 -22
- package/assets/sass/core/avatars/_avatar.scss +59 -59
- package/assets/sass/core/badges/_badge-circle.scss +29 -29
- package/assets/sass/core/badges/_badge-dot.scss +42 -42
- package/assets/sass/core/badges/_badge-floating.scss +18 -18
- package/assets/sass/core/badges/_badge.scss +67 -67
- package/assets/sass/core/breadcrumbs/_breadcrumb.scss +42 -42
- package/assets/sass/core/buttons/_button-brand.scss +12 -12
- package/assets/sass/core/buttons/_button-group.scss +79 -79
- package/assets/sass/core/buttons/_button-icon.scss +92 -92
- package/assets/sass/core/buttons/_button.scss +90 -90
- package/assets/sass/core/cards/_card-animations.scss +10 -10
- package/assets/sass/core/cards/_card-blockquote.scss +17 -17
- package/assets/sass/core/cards/_card-money.scss +27 -27
- package/assets/sass/core/cards/_card-pricing.scss +26 -26
- package/assets/sass/core/cards/_card-profile.scss +49 -49
- package/assets/sass/core/cards/_card-stats.scss +16 -16
- package/assets/sass/core/cards/_card.scss +70 -70
- package/assets/sass/core/charts/_chart.scss +69 -69
- package/assets/sass/core/close/_close.scss +47 -47
- package/assets/sass/core/collapse/_accordion.scss +38 -38
- package/assets/sass/core/content/_main-content.scss +17 -17
- package/assets/sass/core/custom-forms/_custom-checkbox.scss +47 -47
- package/assets/sass/core/custom-forms/_custom-control.scss +58 -58
- package/assets/sass/core/custom-forms/_custom-form.scss +45 -45
- package/assets/sass/core/custom-forms/_custom-radio.scss +38 -38
- package/assets/sass/core/custom-forms/_custom-toggle.scss +122 -122
- package/assets/sass/core/dropdowns/_dropdown.scss +89 -89
- package/assets/sass/core/footers/_footer.scss +159 -159
- package/assets/sass/core/forms/_form-extend.scss +38 -38
- package/assets/sass/core/forms/_form-validation.scss +78 -78
- package/assets/sass/core/forms/_form.scss +125 -125
- package/assets/sass/core/forms/_input-group.scss +136 -136
- package/assets/sass/core/grid/_grid.scss +31 -31
- package/assets/sass/core/headers/_header.scss +7 -7
- package/assets/sass/core/icons/_icon-actions.scss +57 -57
- package/assets/sass/core/icons/_icon-shape.scss +48 -48
- package/assets/sass/core/icons/_icon.scss +88 -88
- package/assets/sass/core/list-groups/_list-check.scss +52 -52
- package/assets/sass/core/list-groups/_list-group.scss +46 -46
- package/assets/sass/core/maps/_map.scss +10 -10
- package/assets/sass/core/masks/_mask.scss +33 -33
- package/assets/sass/core/medias/_media-comment.scss +33 -33
- package/assets/sass/core/medias/_media.scss +3 -3
- package/assets/sass/core/mixins/_alert.scss +22 -22
- package/assets/sass/core/mixins/_background-variant.scss +30 -30
- package/assets/sass/core/mixins/_badge.scss +12 -12
- package/assets/sass/core/mixins/_buttons.scss +105 -105
- package/assets/sass/core/mixins/_custom-forms.scss +47 -47
- package/assets/sass/core/mixins/_forms.scss +127 -127
- package/assets/sass/core/mixins/_icon.scss +10 -10
- package/assets/sass/core/mixins/_modals.scss +25 -25
- package/assets/sass/core/mixins/_popover.scss +35 -35
- package/assets/sass/core/modals/_modal.scss +31 -31
- package/assets/sass/core/navbars/_navbar-collapse.scss +37 -37
- package/assets/sass/core/navbars/_navbar-dropdown.scss +121 -121
- package/assets/sass/core/navbars/_navbar-floating.scss +17 -17
- package/assets/sass/core/navbars/_navbar-search.scss +216 -216
- package/assets/sass/core/navbars/_navbar-top.scss +58 -58
- package/assets/sass/core/navbars/_navbar-vertical.scss +507 -507
- package/assets/sass/core/navbars/_navbar.scss +368 -368
- package/assets/sass/core/navs/_nav-pills.scss +66 -66
- package/assets/sass/core/navs/_nav.scss +33 -33
- package/assets/sass/core/paginations/_pagination.scss +49 -49
- package/assets/sass/core/popovers/_popover.scss +21 -21
- package/assets/sass/core/progresses/_progress.scss +89 -89
- package/assets/sass/core/reboot/_reboot.scss +13 -13
- package/assets/sass/core/sections/_nucleo-icons.scss +117 -117
- package/assets/sass/core/separators/_separator.scss +54 -54
- package/assets/sass/core/shortcuts/_shortcut.scss +30 -30
- package/assets/sass/core/tables/_table-actions.scss +25 -25
- package/assets/sass/core/tables/_table-sortable.scss +28 -28
- package/assets/sass/core/tables/_table.scss +153 -153
- package/assets/sass/core/timeline/_timeline.scss +182 -182
- package/assets/sass/core/type/_article.scss +22 -22
- package/assets/sass/core/type/_display.scss +14 -14
- package/assets/sass/core/type/_heading.scss +65 -65
- package/assets/sass/core/type/_type.scss +27 -27
- package/assets/sass/core/utilities/_backgrounds.scss +51 -51
- package/assets/sass/core/utilities/_blurable.scss +37 -37
- package/assets/sass/core/utilities/_floating.scss +64 -64
- package/assets/sass/core/utilities/_helper.scss +18 -18
- package/assets/sass/core/utilities/_image.scss +9 -9
- package/assets/sass/core/utilities/_opacity.scss +35 -35
- package/assets/sass/core/utilities/_overflow.scss +11 -11
- package/assets/sass/core/utilities/_position.scss +25 -25
- package/assets/sass/core/utilities/_shadows.scss +28 -28
- package/assets/sass/core/utilities/_sizing.scss +7 -7
- package/assets/sass/core/utilities/_spacing.scss +107 -107
- package/assets/sass/core/utilities/_text.scss +49 -49
- package/assets/sass/core/utilities/_transform.scss +13 -13
- package/assets/sass/core/vendors/_bootstrap-datepicker.scss +279 -279
- package/assets/sass/core/vendors/_bootstrap-tagsinput.scss +67 -67
- package/assets/sass/core/vendors/_chartjs.scss +22 -22
- package/assets/sass/core/vendors/_dropzone.scss +74 -74
- package/assets/sass/core/vendors/_element-checkbox.scss +26 -26
- package/assets/sass/core/vendors/_element-tables.scss +61 -61
- package/assets/sass/core/vendors/_flatpickr.scss +72 -72
- package/assets/sass/core/vendors/_fullcalendar.scss +256 -256
- package/assets/sass/core/vendors/_headroom.scss +25 -25
- package/assets/sass/core/vendors/_lavalamp.scss +157 -157
- package/assets/sass/core/vendors/_nouislider.scss +413 -413
- package/assets/sass/core/vendors/_quill.scss +280 -280
- package/assets/sass/core/vendors/_scrollbar.scss +949 -949
- package/assets/sass/core/vendors/_select.scss +70 -70
- package/assets/sass/core/vendors/_sweet-alert-2.scss +22 -22
- package/assets/sass/core/vendors/_tags.scss +32 -32
- package/assets/sass/core/vendors/_vectormap.scss +16 -16
- package/assets/sass/custom/_components.scss +142 -142
- package/assets/sass/custom/_functions.scss +29 -29
- package/assets/sass/custom/_mixins.scss +15 -15
- package/assets/sass/custom/_transitions.scss +12 -12
- package/assets/sass/custom/_utilities.scss +31 -31
- package/assets/sass/custom/_variables.scss +1077 -1077
- package/assets/sass/custom/_vendors.scss +38 -38
- package/components/argon-core/Badge.vue +56 -56
- package/components/argon-core/Banners/Banner.vue +28 -28
- package/components/argon-core/Banners/BannerItem.vue +13 -13
- package/components/argon-core/BaseAlert.vue +74 -74
- package/components/argon-core/BaseButton.vue +81 -81
- package/components/argon-core/BaseDropdown.vue +114 -114
- package/components/argon-core/BaseHeader.vue +21 -21
- package/components/argon-core/BasePagination.vue +172 -172
- package/components/argon-core/BaseProgress.vue +121 -121
- package/components/argon-core/BaseSlider.vue +96 -96
- package/components/argon-core/BaseSwitch.vue +46 -46
- package/components/argon-core/BaseTable.vue +70 -70
- package/components/argon-core/Breadcrumb/Breadcrumb.vue +26 -26
- package/components/argon-core/Breadcrumb/BreadcrumbItem.vue +16 -16
- package/components/argon-core/Breadcrumb/RouteBreadcrumb.vue +45 -45
- package/components/argon-core/ButtonCheckbox.vue +39 -39
- package/components/argon-core/ButtonRadioGroup.vue +47 -47
- package/components/argon-core/Cards/Card.vue +71 -71
- package/components/argon-core/Cards/OpportunityCard.vue +39 -39
- package/components/argon-core/Cards/StatsCard.vue +49 -49
- package/components/argon-core/Charts/BarChart.js +30 -30
- package/components/argon-core/Charts/DoughnutChart.js +30 -30
- package/components/argon-core/Charts/LineChart.js +30 -30
- package/components/argon-core/Charts/PieChart.js +30 -30
- package/components/argon-core/Charts/config.js +491 -491
- package/components/argon-core/Charts/globalOptionsMixin.js +7 -7
- package/components/argon-core/Charts/optionHelpers.js +10 -10
- package/components/argon-core/CloseButton.vue +35 -35
- package/components/argon-core/Collapse/Collapse.vue +84 -84
- package/components/argon-core/Collapse/CollapseItem.vue +91 -91
- package/components/argon-core/Feed/Comment.vue +50 -50
- package/components/argon-core/Inputs/BaseCheckbox.vue +79 -79
- package/components/argon-core/Inputs/BaseInput.vue +293 -270
- package/components/argon-core/Inputs/BaseRadio.vue +68 -68
- package/components/argon-core/Inputs/DropzoneFileUpload.vue +138 -138
- package/components/argon-core/Inputs/DropzoneVideoUpload.vue +138 -138
- package/components/argon-core/Inputs/FileInput.vue +54 -54
- package/components/argon-core/Inputs/HtmlEditor.vue +105 -105
- package/components/argon-core/Inputs/IconCheckbox.vue +45 -45
- package/components/argon-core/Inputs/TagsInput.vue +100 -100
- package/components/argon-core/LoadingPanel.vue +26 -26
- package/components/argon-core/Modal.vue +180 -180
- package/components/argon-core/Navbar/BaseNav.vue +122 -122
- package/components/argon-core/Navbar/NavbarProgress.vue +19 -19
- package/components/argon-core/Navbar/NavbarProgressItem.vue +17 -17
- package/components/argon-core/Navbar/NavbarToggleButton.vue +21 -21
- package/components/argon-core/NavbarToggleButton.vue +29 -29
- package/components/argon-core/NotificationPlugin/Notification.vue +207 -207
- package/components/argon-core/NotificationPlugin/Notifications.vue +55 -55
- package/components/argon-core/NotificationPlugin/index.js +66 -66
- package/components/argon-core/SidebarPlugin/SideBar.vue +119 -119
- package/components/argon-core/SidebarPlugin/SidebarItem.vue +184 -184
- package/components/argon-core/SidebarPlugin/index.js +79 -79
- package/components/argon-core/Tabs/Tab.vue +33 -33
- package/components/argon-core/Tabs/Tabs.vue +170 -170
- package/components/argon-core/Timeline/TimeLine.vue +17 -17
- package/components/argon-core/Timeline/TimeLineItem.vue +30 -30
- package/components/argon-core/WorldMap/AsyncWorldMap.vue +28 -28
- package/components/argon-core/WorldMap/WorldMap.vue +127 -127
- package/components/argon-core/index.js +82 -82
- package/components/burh-ds/Aboutme/Profile.vue +110 -110
- package/components/burh-ds/Avatar/AvatarLink.vue +44 -44
- package/components/burh-ds/Avatar/BusinessAvatar.vue +38 -38
- package/components/burh-ds/Banners/BannerHero.vue +23 -23
- package/components/burh-ds/Banners/BannerItem.vue +14 -14
- package/components/burh-ds/Button/ExportButton.vue +20 -20
- package/components/burh-ds/Button/SwitchStateButton.vue +165 -165
- package/components/burh-ds/Capsules/SearchSlug.vue +860 -860
- package/components/burh-ds/Capsules/UserProfile.vue +1938 -1938
- package/components/burh-ds/Cards/BaseCard.vue +195 -195
- package/components/burh-ds/Cards/CampaignCard.vue +40 -40
- package/components/burh-ds/Cards/CompanyCard.vue +39 -39
- package/components/burh-ds/Cards/CourseInfoCard.vue +267 -267
- package/components/burh-ds/Cards/FeatureBusinessCard.vue +74 -74
- package/components/burh-ds/Cards/FunctionalityItem.vue +35 -35
- package/components/burh-ds/Cards/OpportunityCard.vue +115 -115
- package/components/burh-ds/Cards/PerformanceCard.vue +81 -81
- package/components/burh-ds/Cards/PerformanceItem.vue +65 -65
- package/components/burh-ds/Cards/PlanCard.vue +192 -192
- package/components/burh-ds/Cards/ProductCard.vue +142 -142
- package/components/burh-ds/Cards/PurchaseCard.vue +58 -58
- package/components/burh-ds/Cards/PurchaseCardSimple.vue +58 -58
- package/components/burh-ds/Cards/TestCard.vue +192 -192
- package/components/burh-ds/Cards/TrainingCard.vue +151 -151
- package/components/burh-ds/Cards/WelcomeCard.vue +106 -106
- package/components/burh-ds/Carousel/FeedCarousel.vue +47 -47
- package/components/burh-ds/Carousel/ImageCarousel.vue +111 -111
- package/components/burh-ds/Chart/DoughnutChart.vue +20 -20
- package/components/burh-ds/Collapse/DefaultCollapse.vue +70 -70
- package/components/burh-ds/Crop/Crop.vue +121 -121
- package/components/burh-ds/Curriculum/UserCurriculum/UpgradePlan.vue +71 -71
- package/components/burh-ds/Curriculum/UserCurriculum/UserCvLeftSide.vue +542 -542
- package/components/burh-ds/Curriculum/UserCurriculum/UserCvMiddle.vue +590 -590
- package/components/burh-ds/Curriculum/UserCurriculum/UserCvRightSide.vue +1270 -1266
- package/components/burh-ds/Curriculum/UserCurriculum/UserCvRightSideNotAuth.vue +496 -496
- package/components/burh-ds/Curriculum/UserCurriculum/index.vue +258 -258
- package/components/burh-ds/Dropdown/AppLinkArea.vue +132 -132
- package/components/burh-ds/Dropdown/DropdownItem.vue +26 -26
- package/components/burh-ds/Dropdown/DropdownSection.vue +38 -38
- package/components/burh-ds/Dropdown/FaqVideoArea.vue +88 -88
- package/components/burh-ds/Dropdown/SignOutItem.vue +11 -11
- package/components/burh-ds/Dropdown/UserMenuDropdown.vue +63 -63
- package/components/burh-ds/FeaturedCompanies/FeaturedCompanies.vue +11 -11
- package/components/burh-ds/FeaturedCompanies/FeaturedCompanyCard.vue +16 -16
- package/components/burh-ds/Filters/BaseFilterContainer.vue +138 -138
- package/components/burh-ds/Filters/FilterWithDropdown.vue +289 -289
- package/components/burh-ds/Groups/ProductItem.vue +62 -62
- package/components/burh-ds/Groups/SimpleProductItem.vue +164 -164
- package/components/burh-ds/Headings/AppHeader.vue +373 -373
- package/components/burh-ds/Headings/BaseHeader.vue +24 -24
- package/components/burh-ds/Headings/Profile.vue +66 -66
- package/components/burh-ds/Headings/ProfileHeader.vue +105 -105
- package/components/burh-ds/Headings/SettingsHeader.vue +48 -48
- package/components/burh-ds/Headings/StepHeader.vue +122 -122
- package/components/burh-ds/Img/ImageWithFallback.vue +67 -67
- package/components/burh-ds/Input/AutoComplete.vue +136 -136
- package/components/burh-ds/Inputs/BaseCheckbox.vue +73 -73
- package/components/burh-ds/Inputs/BaseSwitch.vue +43 -43
- package/components/burh-ds/Inputs/BaseSwitchSecondary.vue +84 -84
- package/components/burh-ds/Inputs/DoubleInputWithIcon.vue +100 -100
- package/components/burh-ds/Inputs/HtmlEditor.vue +60 -60
- package/components/burh-ds/Inputs/SearchInput.vue +88 -88
- package/components/burh-ds/InterfaceSpa/InterfaceSpa.vue +83 -83
- package/components/burh-ds/Jobs/JobDetail.vue +432 -432
- package/components/burh-ds/Jobs/JobDetailDesign.vue +151 -151
- package/components/burh-ds/Jobs/JobDetailEmpty.vue +27 -27
- package/components/burh-ds/Labels/LabelContextIcon.vue +58 -58
- package/components/burh-ds/Link/DefaultLink.vue +30 -30
- package/components/burh-ds/Lists/ListAvatarCheckbox.vue +157 -157
- package/components/burh-ds/Lists/ListNavLinks.vue +54 -54
- package/components/burh-ds/Lists/VagasSimple.vue +404 -404
- package/components/burh-ds/Loadings/Basics.vue +80 -80
- package/components/burh-ds/Loadings/InfiniteLoading.vue +21 -21
- package/components/burh-ds/Loadings/LoadingFullPage.vue +68 -68
- package/components/burh-ds/Loadings/NewLoading.vue +119 -119
- package/components/burh-ds/Loads/LoadingBar.vue +83 -83
- package/components/burh-ds/Modals/AddCustomerModal.vue +484 -484
- package/components/burh-ds/Modals/AddMember.vue +255 -255
- package/components/burh-ds/Modals/AddRoleModal.vue +139 -139
- package/components/burh-ds/Modals/AppConfigModal.vue +643 -643
- package/components/burh-ds/Modals/CourseMessageModal.vue +66 -66
- package/components/burh-ds/Modals/DocsModal.vue +111 -111
- package/components/burh-ds/Modals/DropzoneModal.vue +125 -125
- package/components/burh-ds/Modals/InviteToRole.vue +287 -287
- package/components/burh-ds/Modals/MobileModal.vue +65 -65
- package/components/burh-ds/Modals/ModalTests.vue +167 -167
- package/components/burh-ds/Modals/NewUserModal.vue +87 -87
- package/components/burh-ds/Modals/PlanModal.vue +327 -327
- package/components/burh-ds/Modals/RequestModal.vue +237 -237
- package/components/burh-ds/Modals/SendCourse.vue +448 -448
- package/components/burh-ds/Modals/SendDisc.vue +230 -230
- package/components/burh-ds/Modals/SendTest.vue +362 -362
- package/components/burh-ds/Modals/ShareModal.vue +228 -228
- package/components/burh-ds/Modals/SharedModal.vue +230 -230
- package/components/burh-ds/Modals/SmsModal.vue +329 -329
- package/components/burh-ds/Modals/SubModal.vue +41 -41
- package/components/burh-ds/Modals/UniversalShareModal.vue +216 -216
- package/components/burh-ds/Modals/UniversalWhatsappModal.vue +93 -93
- package/components/burh-ds/Modals/UniversityAccessModal.vue +135 -135
- package/components/burh-ds/Modals/VideoModal.vue +80 -80
- package/components/burh-ds/Modals/WhatsappModal.vue +92 -92
- package/components/burh-ds/Navbar/BaseNav.vue +119 -119
- package/components/burh-ds/Notifications/Notification.vue +215 -215
- package/components/burh-ds/Notifications/Notifications.vue +55 -55
- package/components/burh-ds/Notifications/index.js +66 -66
- package/components/burh-ds/Pagination/NamedPagination.vue +187 -187
- package/components/burh-ds/Questions/Question.vue +243 -243
- package/components/burh-ds/Questions/QuestionAttach.vue +13 -13
- package/components/burh-ds/Questions/QuestionRadio.vue +122 -122
- package/components/burh-ds/Questions/QuestionRadioItem.vue +83 -83
- package/components/burh-ds/Questions/QuestionText.vue +66 -66
- package/components/burh-ds/Questions/index.js +13 -13
- package/components/burh-ds/Skeleton/AppHeader.vue +173 -173
- package/components/burh-ds/Skeleton/BaseCardTest.vue +51 -51
- package/components/burh-ds/Skeleton/BaseCardUniversity.vue +79 -79
- package/components/burh-ds/Skeleton/BaseCardUser.vue +84 -84
- package/components/burh-ds/Skeleton/BaseCourseInfo.vue +116 -116
- package/components/burh-ds/Skeleton/BaseTraining.vue +29 -29
- package/components/burh-ds/Skeleton/BufferFolderSkeleton.vue +45 -45
- package/components/burh-ds/Skeleton/BufferUserSkeleton.vue +142 -142
- package/components/burh-ds/Skeleton/Cards.vue +86 -86
- package/components/burh-ds/Skeleton/ChartCard.vue +114 -114
- package/components/burh-ds/Skeleton/Home.vue +100 -100
- package/components/burh-ds/Skeleton/RecruitmentCard.vue +203 -203
- package/components/burh-ds/Skeleton/SkeletonAnimate.vue +146 -146
- package/components/burh-ds/Tabs/Tab.vue +56 -56
- package/components/burh-ds/Tabs/Tabs.vue +188 -188
- package/components/burh-ds/Tabs/TesteTab.vue +132 -132
- package/components/burh-ds/Video/MuxVideo.vue +39 -39
- package/components/burh-ds/index.js +20 -20
- package/components/layouts/argon/Content.vue +17 -17
- package/components/layouts/argon/navbar/BlankLayout.vue +61 -61
- package/components/layouts/argon/navbar/DashboardNavbar.vue +307 -307
- package/components/layouts/burh-ds/ContentFooter.vue +45 -45
- package/components/layouts/burh-ds/footer/FooterSimple.vue +20 -20
- package/components/layouts/burh-ds/footer/ProductsFooter.vue +330 -330
- package/components/layouts/burh-ds/footer/StatusFooter.vue +105 -105
- package/components/layouts/burh-ds/footer/StoreFooter.vue +54 -54
- package/components/layouts/burh-ds/navbar/AppNavbar.vue +97 -97
- package/components/layouts/burh-ds/navbar/BusinessGlobalNavbar.vue +435 -435
- package/components/layouts/burh-ds/navbar/CarreirasNavbar.vue +363 -363
- package/components/layouts/burh-ds/navbar/CompanyGlobalNavbar.vue +244 -244
- package/components/layouts/burh-ds/navbar/EmpresasNavbar.vue +374 -374
- package/components/layouts/burh-ds/navbar/EmpresasNavbarLogado.vue +388 -388
- package/components/layouts/burh-ds/navbar/GlobalNavbar.vue +535 -535
- package/components/layouts/burh-ds/navbar/MobileNavbar.vue +431 -431
- package/components/layouts/burh-ds/navbar/PublicNavbar.vue +168 -168
- package/components/layouts/burh-ds/navbar/SimpleNavbar.vue +129 -129
- package/components/layouts/burh-ds/navbar/UserNavbar.vue +346 -346
- package/components/layouts/burh-ds/navbar/UserNavbarLogin.vue +253 -253
- package/components/organismos/atomos/Deslike.vue +26 -26
- package/components/organismos/atomos/Like.vue +26 -26
- package/components/organismos/emptyChart/index.vue +39 -39
- package/components/pages/UserProfile/EditProfileForm.vue +142 -142
- package/components/pages/UserProfile/UserCard.vue +61 -61
- package/components/pages/dashboard/ActivityFeed.vue +102 -102
- package/components/pages/dashboard/LightTable.vue +194 -194
- package/components/pages/dashboard/PageVisitsTable.vue +107 -107
- package/components/pages/dashboard/ProgressTrackList.vue +82 -82
- package/components/pages/dashboard/SocialTrafficTable.vue +101 -101
- package/components/pages/dashboard/TaskList.vue +56 -56
- package/components/pages/dashboard/UserList.vue +72 -72
- package/components/pages/forms/BrowserDefaultsValidation.vue +106 -106
- package/components/pages/forms/CustomStylesValidation.vue +130 -130
- package/components/pages/forms/ServerSideValidation.vue +128 -128
- package/components/pages/register/FailedRegistration.vue +29 -29
- package/components/pages/register/SuccessfulRegistration.vue +29 -29
- package/components/tables/PaginatedTables/clientPaginationMixin.js +86 -86
- package/components/tables/RegularTables/CheckboxColoredTable.vue +112 -112
- package/components/tables/RegularTables/CheckboxTable.vue +101 -101
- package/components/tables/RegularTables/DarkTable.vue +114 -114
- package/components/tables/RegularTables/InlineActionsTable.vue +94 -94
- package/components/tables/RegularTables/LightTable.vue +117 -117
- package/components/tables/RegularTables/StripedTable.vue +94 -94
- package/components/tables/RegularTables/TranslucentTable.vue +114 -114
- package/components/tables/projects.js +75 -75
- package/components/tables/users.js +42 -42
- package/components/tables/users2.js +474 -474
- package/components/widgets/CalendarWidget.vue +119 -119
- package/components/widgets/CreditCard.vue +66 -66
- package/components/widgets/MembersCard.vue +99 -99
- package/components/widgets/PaypalCard.vue +45 -45
- package/components/widgets/ProgressTrackList.vue +76 -76
- package/components/widgets/StatsCards.vue +70 -70
- package/components/widgets/TaskList.vue +67 -67
- package/components/widgets/TimelineCard.vue +66 -66
- package/components/widgets/VectorMapCard.vue +139 -139
- package/components/widgets/VisaCard.vue +51 -51
- package/data/ListVideoLinksMock.json +21 -21
- package/dictionary.js +38 -38
- package/environment.env.md +34 -34
- package/environment.js +221 -221
- package/eslint.config.json +12 -12
- package/layouts/AuthLayout.vue +191 -191
- package/layouts/BurhCarreirasLayout.vue +63 -63
- package/layouts/BurhEmpresasLayout.vue +64 -64
- package/layouts/BurhNoHeader.vue +63 -63
- package/layouts/BurhPublicLayout.vue +67 -67
- package/layouts/BurhUserLayout.vue +231 -231
- package/layouts/DashboardLayout.vue +226 -226
- package/layouts/error.vue +119 -119
- package/metadata.json +30 -30
- package/middleware/README.md +8 -8
- package/middleware/decodeUrl.js +8 -8
- package/middleware/maintenance.js +9 -9
- package/middleware/new-account.js +6 -6
- package/middleware/redirect.js +13 -13
- package/middleware/user-agent-error.js +28 -28
- package/nuxt.config.js +207 -207
- package/package.json +119 -119
- package/plugins/README.md +7 -7
- package/plugins/analytics/ga.js +28 -28
- package/plugins/auth/auth.js +210 -210
- package/plugins/axios.js +32 -32
- package/plugins/carousel/owl-carousel.js +3 -3
- package/plugins/crop/crop.js +4 -4
- package/plugins/dashboard/dashboard-plugin.js +31 -31
- package/plugins/dashboard/directives/click-outside.js +15 -15
- package/plugins/dashboard/eventBus.js +1 -1
- package/plugins/dashboard/globalComponents.js +49 -44
- package/plugins/dashboard/globalDirectives.js +7 -7
- package/plugins/dom/loader.js +76 -76
- package/plugins/localstorage.js +20 -20
- package/plugins/location/location.js +41 -41
- package/plugins/pagination/pagination.js +3 -3
- package/plugins/qrcode/qrcode.js +4 -4
- package/plugins/router.js +8 -8
- package/plugins/social-media/fb-sdk.js +44 -44
- package/plugins/social-media/share-link-facebook.js +32 -32
- package/plugins/social-media/share-link-linkedin.js +30 -30
- package/plugins/social-media/share-link-twitter.js +30 -30
- package/plugins/social-media/share-link-whatsapp.js +31 -31
- package/plugins/vClickOutside.js +4 -4
- package/polyfills.js +96 -96
- package/util/common.js +189 -189
- package/util/cookie.js +28 -28
- package/util/dom.js +63 -63
- package/util/getPrefixes.js +12 -12
- package/util/request.js +46 -46
- package/util/throttle.js +15 -15
|
@@ -1,1266 +1,1270 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="bg-white content-right tabs">
|
|
3
|
-
<el-tabs
|
|
4
|
-
:class="activeTab"
|
|
5
|
-
class="mt-3 handle-icon-color"
|
|
6
|
-
v-model="activeTab"
|
|
7
|
-
>
|
|
8
|
-
<el-tab-pane v-if="companyHasAutomation && hasAutomation" name="melissa" class="mx-2">
|
|
9
|
-
<span class="tab__icon-pane" slot="label">
|
|
10
|
-
<img
|
|
11
|
-
class="img__icon-pane"
|
|
12
|
-
src="/img/recruitment/melissa.svg"
|
|
13
|
-
/>
|
|
14
|
-
</span>
|
|
15
|
-
<p class="notes-title mb-0 notes-melissa-title">
|
|
16
|
-
{{automation.aproved ?
|
|
17
|
-
'Candidato aprovado pela Melissa' :
|
|
18
|
-
'Candidato reprovado pela Melissa'}}
|
|
19
|
-
</p>
|
|
20
|
-
<div class="line mb-3"></div>
|
|
21
|
-
<template>
|
|
22
|
-
<template>
|
|
23
|
-
<div v-if="automation && automation.vehicle_license && automation.vehicle_license.vehicle_license !== null">
|
|
24
|
-
<div class="notes-baloon-melissa mt-2">
|
|
25
|
-
<div class="question-melissa-title">
|
|
26
|
-
<span>
|
|
27
|
-
Você tem uma carteira de motorista válida?
|
|
28
|
-
</span>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="notes-text-melissa pt-2">
|
|
31
|
-
<span class="mt-2">
|
|
32
|
-
{{ Boolean(automation.vehicle_license.vehicle_license) ? "Sim" : "Não" }}
|
|
33
|
-
<span v-if="automation.vehicle_license.vehicle_license_approved">
|
|
34
|
-
✅
|
|
35
|
-
</span>
|
|
36
|
-
<span v-else>
|
|
37
|
-
❌
|
|
38
|
-
</span>
|
|
39
|
-
</span>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
<div v-if="automation && automation.city && automation.city.city !== null">
|
|
44
|
-
<div class="notes-baloon-melissa mt-2">
|
|
45
|
-
<div class="question-melissa-title">
|
|
46
|
-
<span>
|
|
47
|
-
Você pode se locomover até onde esta vaga está localizada?
|
|
48
|
-
</span>
|
|
49
|
-
</div>
|
|
50
|
-
<div class="notes-text-melissa pt-2">
|
|
51
|
-
<span class="mt-2">
|
|
52
|
-
{{ Boolean(automation.city.city) ? "Sim" : "Não" }}
|
|
53
|
-
<span v-if="automation.city.city_approved">
|
|
54
|
-
✅
|
|
55
|
-
</span>
|
|
56
|
-
<span v-else>
|
|
57
|
-
❌
|
|
58
|
-
</span>
|
|
59
|
-
</span>
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
62
|
-
</div>
|
|
63
|
-
<div v-if="automation && automation.urgent_hiring && automation.urgent_hiring.urgent_hiring !== null">
|
|
64
|
-
<div class="notes-baloon-melissa mt-2">
|
|
65
|
-
<div class="question-melissa-title">
|
|
66
|
-
<span>
|
|
67
|
-
Precisamos preencher esta posição com urgência. Você poderia começar imediatamente?
|
|
68
|
-
</span>
|
|
69
|
-
</div>
|
|
70
|
-
<div class="notes-text-melissa pt-2">
|
|
71
|
-
<span class="mt-2">
|
|
72
|
-
{{ Boolean(automation.urgent_hiring.urgent_hiring) ? "Sim" : "Não" }}
|
|
73
|
-
<span v-if="automation.urgent_hiring.urgent_hiring_approved">
|
|
74
|
-
✅
|
|
75
|
-
</span>
|
|
76
|
-
<span v-else>
|
|
77
|
-
❌
|
|
78
|
-
</span>
|
|
79
|
-
</span>
|
|
80
|
-
</div>
|
|
81
|
-
</div>
|
|
82
|
-
</div>
|
|
83
|
-
<div v-if="automation && automation.school_formation && automation.school_formation.school_formation !== null && automation.school_formation.option !== null">
|
|
84
|
-
<div class="notes-baloon-melissa mt-2">
|
|
85
|
-
<div class="question-melissa-title">
|
|
86
|
-
<span>
|
|
87
|
-
Você completou o curso: <b>{{automation.school_formation.option}}</b>?
|
|
88
|
-
</span>
|
|
89
|
-
</div>
|
|
90
|
-
<div class="notes-text-melissa pt-2">
|
|
91
|
-
<span class="mt-2">
|
|
92
|
-
{{ Boolean(automation.school_formation.school_formation) ? "Sim" : "Não" }}
|
|
93
|
-
|
|
94
|
-
<span v-if="automation.school_formation.school_formation_approved">
|
|
95
|
-
✅
|
|
96
|
-
</span>
|
|
97
|
-
<span v-else>
|
|
98
|
-
❌
|
|
99
|
-
</span>
|
|
100
|
-
</span>
|
|
101
|
-
</div>
|
|
102
|
-
</div>
|
|
103
|
-
</div>
|
|
104
|
-
<div v-if="automation && automation.tool_experience && automation.tool_experience.tool_experience !== null && automation.tool_experience.option !== null">
|
|
105
|
-
<div class="notes-baloon-melissa mt-2">
|
|
106
|
-
<div class="question-melissa-title">
|
|
107
|
-
<span>
|
|
108
|
-
Quantos anos de experiência você tem utilizando <b>{{automation.tool_experience.option}}</b>?
|
|
109
|
-
</span>
|
|
110
|
-
</div>
|
|
111
|
-
<div class="notes-text-melissa pt-2">
|
|
112
|
-
<span class="mt-2">
|
|
113
|
-
{{ automation.tool_experience.tool_experience }}
|
|
114
|
-
<span v-if="automation.tool_experience.tool_experience_approved">
|
|
115
|
-
✅
|
|
116
|
-
</span>
|
|
117
|
-
<span v-else>
|
|
118
|
-
❌
|
|
119
|
-
</span>
|
|
120
|
-
</span>
|
|
121
|
-
</div>
|
|
122
|
-
</div>
|
|
123
|
-
</div>
|
|
124
|
-
<div v-if="automation && automation.work_experience && automation.work_experience.work_experience !== null && automation.work_experience.option !== null">
|
|
125
|
-
<div class="notes-baloon-melissa mt-2">
|
|
126
|
-
<div class="question-melissa-title">
|
|
127
|
-
<span>
|
|
128
|
-
Quantos anos de experiência você tem na função de <b>{{automation.work_experience.option}}</b>?
|
|
129
|
-
</span>
|
|
130
|
-
</div>
|
|
131
|
-
<div class="notes-text-melissa pt-2">
|
|
132
|
-
<span class="mt-2">
|
|
133
|
-
{{ automation.work_experience.work_experience }}
|
|
134
|
-
<span v-if="automation.work_experience.work_experience_approved">
|
|
135
|
-
✅
|
|
136
|
-
</span>
|
|
137
|
-
<span v-else>
|
|
138
|
-
❌
|
|
139
|
-
</span>
|
|
140
|
-
</span>
|
|
141
|
-
</div>
|
|
142
|
-
</div>
|
|
143
|
-
</div>
|
|
144
|
-
<div v-if="automation && automation.sector_experience && automation.sector_experience.sector_experience !== null && automation.sector_experience.option !== null">
|
|
145
|
-
<div class="notes-baloon-melissa mt-2">
|
|
146
|
-
<div class="question-melissa-title">
|
|
147
|
-
<span>
|
|
148
|
-
Quantos anos de experiência você tem no setor de <b>{{automation.sector_experience.option}}</b>?
|
|
149
|
-
</span>
|
|
150
|
-
</div>
|
|
151
|
-
<div class="notes-text-melissa pt-2">
|
|
152
|
-
<span class="mt-2">
|
|
153
|
-
{{ automation.sector_experience.sector_experience }}
|
|
154
|
-
<span v-if="automation.sector_experience.sector_experience_approved">
|
|
155
|
-
✅
|
|
156
|
-
</span>
|
|
157
|
-
<span v-else>
|
|
158
|
-
❌
|
|
159
|
-
</span>
|
|
160
|
-
</span>
|
|
161
|
-
</div>
|
|
162
|
-
</div>
|
|
163
|
-
</div>
|
|
164
|
-
<div v-if="automation && automation.language && automation.language.language !== null && automation.language.option !== null">
|
|
165
|
-
<div class="notes-baloon-melissa mt-2">
|
|
166
|
-
<div class="question-melissa-title">
|
|
167
|
-
<span>
|
|
168
|
-
Qual seu nível de proficiência em <b>{{automation.language.option}}</b>?
|
|
169
|
-
</span>
|
|
170
|
-
</div>
|
|
171
|
-
<div class="notes-text-melissa pt-2">
|
|
172
|
-
<span class="mt-2">
|
|
173
|
-
{{ automation.language.language }}
|
|
174
|
-
<span v-if="automation.language.language_approved">
|
|
175
|
-
✅
|
|
176
|
-
</span>
|
|
177
|
-
<span v-else>
|
|
178
|
-
❌
|
|
179
|
-
</span>
|
|
180
|
-
</span>
|
|
181
|
-
</div>
|
|
182
|
-
</div>
|
|
183
|
-
</div>
|
|
184
|
-
<div
|
|
185
|
-
v-for="(melissa,index) in automation.custom"
|
|
186
|
-
:key="index"
|
|
187
|
-
>
|
|
188
|
-
<div class="notes-baloon-melissa mt-2">
|
|
189
|
-
<div class="question-melissa-title">
|
|
190
|
-
<span>{{ melissa.question }}</span>
|
|
191
|
-
</div>
|
|
192
|
-
<div class="notes-text-melissa pt-2">
|
|
193
|
-
<span class="mt-2">
|
|
194
|
-
{{ typeof melissa.response === "boolean" ? melissa.response ? "Sim" : "Não" : melissa.response }}
|
|
195
|
-
<span v-if="melissa.approved_in_question">
|
|
196
|
-
✅
|
|
197
|
-
</span>
|
|
198
|
-
<span v-else>
|
|
199
|
-
❌
|
|
200
|
-
</span>
|
|
201
|
-
</span>
|
|
202
|
-
</div>
|
|
203
|
-
</div>
|
|
204
|
-
</div>
|
|
205
|
-
</template>
|
|
206
|
-
</template>
|
|
207
|
-
</el-tab-pane>
|
|
208
|
-
<el-tab-pane class="history ml-2" name="history">
|
|
209
|
-
<span class="tab__icon-pane" slot="label">
|
|
210
|
-
<img
|
|
211
|
-
class="img__icon-pane img__icon--history"
|
|
212
|
-
src="../../../../assets/images/icons/historicCv.svg"
|
|
213
|
-
/>
|
|
214
|
-
</span>
|
|
215
|
-
<upgrade-plan @send-contact="sendContact" v-if="isLocked" />
|
|
216
|
-
|
|
217
|
-
<p class="notes-title mb-0">Histórico com sua empresa</p>
|
|
218
|
-
<div class="line mb-3"></div>
|
|
219
|
-
|
|
220
|
-
<template v-if="!isLocked">
|
|
221
|
-
<div
|
|
222
|
-
class="mt-3"
|
|
223
|
-
v-for="(item, index) in orderByDate(companyHistory())"
|
|
224
|
-
:key="index"
|
|
225
|
-
>
|
|
226
|
-
<div class="d-flex align-items-center justify-content-between">
|
|
227
|
-
<p class="history-text mb-0" v-html="item.text" />
|
|
228
|
-
|
|
229
|
-
<el-tooltip
|
|
230
|
-
placement="top"
|
|
231
|
-
content="Baixar PDF"
|
|
232
|
-
>
|
|
233
|
-
<button
|
|
234
|
-
v-if="item.hasDownload"
|
|
235
|
-
class="py-2 px-3 mx-2 border-0 bg-transparent text-primary"
|
|
236
|
-
@click="() => downloadPdf(item)"
|
|
237
|
-
>
|
|
238
|
-
<i class="fas fa-download" />
|
|
239
|
-
</button>
|
|
240
|
-
</el-tooltip>
|
|
241
|
-
</div>
|
|
242
|
-
|
|
243
|
-
<span>{{ item.date | convertDate }}</span>
|
|
244
|
-
</div>
|
|
245
|
-
<p v-if="companyHistory().length === 0" class="history-text">
|
|
246
|
-
Histórico vazio.
|
|
247
|
-
</p>
|
|
248
|
-
</template>
|
|
249
|
-
</el-tab-pane>
|
|
250
|
-
|
|
251
|
-
<el-tab-pane name="notes" class="ml-2" v-if="isNotesActived">
|
|
252
|
-
<span class="tab__icon-pane" slot="label">
|
|
253
|
-
<img
|
|
254
|
-
class="img__icon-pane img__icon--notes"
|
|
255
|
-
src="../../../../assets/images/icons/notesCv.svg"
|
|
256
|
-
/>
|
|
257
|
-
</span>
|
|
258
|
-
|
|
259
|
-
<upgrade-plan @send-contact="sendContact" v-if="isLocked" />
|
|
260
|
-
|
|
261
|
-
<p class="notes-title mb-0">Notas da equipe</p>
|
|
262
|
-
<div class="line mb-3"></div>
|
|
263
|
-
|
|
264
|
-
<template v-if="!isLocked">
|
|
265
|
-
<template v-if="notes.length > 0">
|
|
266
|
-
<div
|
|
267
|
-
v-for="(note, index) in notes.slice(0, 5)"
|
|
268
|
-
:key="index"
|
|
269
|
-
>
|
|
270
|
-
<div class="notes-baloon">
|
|
271
|
-
<div class="notes-text ml-3 pt-1">
|
|
272
|
-
<p class="mt-3">{{ note.text }}</p>
|
|
273
|
-
</div>
|
|
274
|
-
<div
|
|
275
|
-
class="d-flex justify-content-between align-items-center mx-3"
|
|
276
|
-
>
|
|
277
|
-
<p @click.prevent="handleRemoveNote(note)" v-if="String(currentUser.id) === String(note.user_id)" class="notes-date remove-baloon">
|
|
278
|
-
Excluir
|
|
279
|
-
</p>
|
|
280
|
-
<div v-else></div>
|
|
281
|
-
|
|
282
|
-
<p class="notes-date">
|
|
283
|
-
{{ note.created_at | convertDate }}
|
|
284
|
-
</p>
|
|
285
|
-
</div>
|
|
286
|
-
</div>
|
|
287
|
-
<div class="notes-owner d-flex mt-2">
|
|
288
|
-
<image-with-fallback
|
|
289
|
-
:src="note.user.urlAvatar"
|
|
290
|
-
:alt="note.user.name"
|
|
291
|
-
:fallbackText="note.user.name"
|
|
292
|
-
/>
|
|
293
|
-
<p class="ml-1">
|
|
294
|
-
{{ note.user.name }}
|
|
295
|
-
</p>
|
|
296
|
-
</div>
|
|
297
|
-
</div>
|
|
298
|
-
</template>
|
|
299
|
-
<div class="notes-text" v-if="notes.length === 0">
|
|
300
|
-
<p>Nenhuma nota criada.</p>
|
|
301
|
-
</div>
|
|
302
|
-
</template>
|
|
303
|
-
|
|
304
|
-
<div class="input-container" v-if="!isLocked">
|
|
305
|
-
<input
|
|
306
|
-
class="notes-new pl-4 mt-3 mb-3 form-rounded"
|
|
307
|
-
type="text"
|
|
308
|
-
placeholder="Escrever anotação"
|
|
309
|
-
v-model="newNote"
|
|
310
|
-
@change="$emit('new-note', newNote, userData.id)"
|
|
311
|
-
v-on:change="cleatInput()"
|
|
312
|
-
/>
|
|
313
|
-
<i
|
|
314
|
-
@click="
|
|
315
|
-
newNote.length > 0 &&
|
|
316
|
-
$emit('new-note', newNote, userData.id)
|
|
317
|
-
"
|
|
318
|
-
class="fas fa-paper-plane input-icon"
|
|
319
|
-
></i>
|
|
320
|
-
</div>
|
|
321
|
-
</el-tab-pane>
|
|
322
|
-
|
|
323
|
-
<el-tab-pane name="documents" class="ml-2">
|
|
324
|
-
<span class="tab__icon-pane" slot="label">
|
|
325
|
-
<img
|
|
326
|
-
class="img__icon-pane img__icon--documents"
|
|
327
|
-
src="../../../../assets/images/icons/icon3.svg"
|
|
328
|
-
/>
|
|
329
|
-
</span>
|
|
330
|
-
|
|
331
|
-
<upgrade-plan @send-contact="sendContact" v-if="isLocked" />
|
|
332
|
-
|
|
333
|
-
<p class="notes-title mb-0">Documentos anexados</p>
|
|
334
|
-
<div class="line mb-3"></div>
|
|
335
|
-
|
|
336
|
-
<template v-if="!isLocked">
|
|
337
|
-
<div class="archive-content">
|
|
338
|
-
<div v-for="(item, index) in archives" :key="index">
|
|
339
|
-
<div @click="openArchive(item)" class="archive-container">
|
|
340
|
-
<div>
|
|
341
|
-
<img class="archive-img" src="../../../../assets/images/icons/icon3.svg" >
|
|
342
|
-
</div>
|
|
343
|
-
<div class="archive-name">
|
|
344
|
-
<span>{{item.name}}</span>
|
|
345
|
-
<div class="archive-icon">
|
|
346
|
-
<i @click.stop.prevent="openRemoveSection(item, (index+1))" class="far fa-trash-alt"></i>
|
|
347
|
-
</div>
|
|
348
|
-
</div>
|
|
349
|
-
</div>
|
|
350
|
-
<div v-if="hasRemove && hasRemove == (index+1)" class="archive-remove">
|
|
351
|
-
<p>Você tem certeza que deseja apagar este arquivo?</p>
|
|
352
|
-
<div class="d-flex">
|
|
353
|
-
<base-button
|
|
354
|
-
@click="removeArchive(currentRemoveItem, index)"
|
|
355
|
-
size="sm"
|
|
356
|
-
class="btn-outline-primary col-6 p-1"
|
|
357
|
-
>
|
|
358
|
-
Apagar
|
|
359
|
-
</base-button>
|
|
360
|
-
<base-button
|
|
361
|
-
@click="hasRemove = false"
|
|
362
|
-
size="sm"
|
|
363
|
-
class="btn-outline-danger col-6 p-1"
|
|
364
|
-
>
|
|
365
|
-
Cancelar
|
|
366
|
-
</base-button>
|
|
367
|
-
</div>
|
|
368
|
-
</div>
|
|
369
|
-
</div>
|
|
370
|
-
</div>
|
|
371
|
-
|
|
372
|
-
<div class="notes-text" v-if="archives == null">
|
|
373
|
-
<p>Nenhum arquvio anexado.</p>
|
|
374
|
-
</div>
|
|
375
|
-
</template>
|
|
376
|
-
|
|
377
|
-
<div class="input-container" v-if="!isLocked">
|
|
378
|
-
<div class="mt-5">
|
|
379
|
-
<dropzone-file-upload
|
|
380
|
-
disabled
|
|
381
|
-
@error="showMessageError"
|
|
382
|
-
ref="MyDropzone"
|
|
383
|
-
:options="dropzoneOptions"
|
|
384
|
-
v-model="fileToUpload"
|
|
385
|
-
/>
|
|
386
|
-
</div>
|
|
387
|
-
|
|
388
|
-
<div class="archive-buttons">
|
|
389
|
-
<base-button @click="saveImage" size="sm" class="btn-outline-primary btn-rounded col-12">Salvar</base-button>
|
|
390
|
-
</div>
|
|
391
|
-
</div>
|
|
392
|
-
</el-tab-pane>
|
|
393
|
-
|
|
394
|
-
<el-tab-pane name="reports" class="ml-2" v-if="isReportsActived">
|
|
395
|
-
<span class="tab__icon-pane" slot="label">
|
|
396
|
-
<img
|
|
397
|
-
class="img__icon-pane img__icon--reports"
|
|
398
|
-
src="../../../../assets/images/icons/icon5.svg"
|
|
399
|
-
/>
|
|
400
|
-
</span>
|
|
401
|
-
|
|
402
|
-
<upgrade-plan @send-contact="sendContact" v-if="isLocked" />
|
|
403
|
-
|
|
404
|
-
<p class="notes-title mb-0">Laudo do Candidato</p>
|
|
405
|
-
<div class="line mb-3"></div>
|
|
406
|
-
<div class="evaluation-area" v-if="likeStatus">
|
|
407
|
-
<div class="action">
|
|
408
|
-
<like class="icon" :colorActiveLike="likeStatus"/>
|
|
409
|
-
<span class="font-weight-bold evaluation-area__text">
|
|
410
|
-
Gostei
|
|
411
|
-
</span>
|
|
412
|
-
</div>
|
|
413
|
-
<div class="action">
|
|
414
|
-
<deslike class="icon" :colorActiveDeslike="likeStatus"/>
|
|
415
|
-
<span class="font-weight-bold evaluation-area__text">
|
|
416
|
-
Não Gostei
|
|
417
|
-
</span>
|
|
418
|
-
</div>
|
|
419
|
-
</div>
|
|
420
|
-
<template v-if="!isLocked">
|
|
421
|
-
<div class="input-container" v-if="!userReportData.annex">
|
|
422
|
-
<dropzone-file-upload
|
|
423
|
-
disabled
|
|
424
|
-
ref="MyReportDropzone"
|
|
425
|
-
v-model="reportFileUpload"
|
|
426
|
-
:options="reportsDropdownzoneOptions"
|
|
427
|
-
@error="showMessageError"
|
|
428
|
-
/>
|
|
429
|
-
|
|
430
|
-
<div class="archive-buttons" v-if="reportFileUpload.length > 0">
|
|
431
|
-
<base-button @click="saveReport" size="sm" class="btn-outline-primary btn-rounded col-12">Salvar</base-button>
|
|
432
|
-
</div>
|
|
433
|
-
</div>
|
|
434
|
-
|
|
435
|
-
<div class="archive-content" v-else-if="userReportData.annex">
|
|
436
|
-
<div @click="openArchive(userReportData.annex)" class="archive-container">
|
|
437
|
-
<div>
|
|
438
|
-
<img class="archive-img" src="../../../../assets/images/icons/icon6.svg" >
|
|
439
|
-
</div>
|
|
440
|
-
<div class="archive-name">
|
|
441
|
-
<span>{{ userReportData.annex.name }}</span>
|
|
442
|
-
<div class="archive-icon">
|
|
443
|
-
<i @click.stop.prevent="openReportRemoveSection(userReportData.annex)" class="far fa-trash-alt"></i>
|
|
444
|
-
</div>
|
|
445
|
-
</div>
|
|
446
|
-
</div>
|
|
447
|
-
<div v-if="hasReportRemove" class="archive-remove">
|
|
448
|
-
<p>Você tem certeza que deseja apagar este arquivo?</p>
|
|
449
|
-
<div class="d-flex">
|
|
450
|
-
<base-button
|
|
451
|
-
@click="removeReportArchive(currentRemoveItem)"
|
|
452
|
-
size="sm"
|
|
453
|
-
class="btn-outline-primary col-6 p-1"
|
|
454
|
-
>
|
|
455
|
-
Apagar
|
|
456
|
-
</base-button>
|
|
457
|
-
<base-button
|
|
458
|
-
@click="hasRemove = false"
|
|
459
|
-
size="sm"
|
|
460
|
-
class="btn-outline-danger col-6 p-1"
|
|
461
|
-
>
|
|
462
|
-
Cancelar
|
|
463
|
-
</base-button>
|
|
464
|
-
</div>
|
|
465
|
-
</div>
|
|
466
|
-
</div>
|
|
467
|
-
</template>
|
|
468
|
-
|
|
469
|
-
<p class="notes-title mb-0">Comentários Recrutador</p>
|
|
470
|
-
<div class="line mb-3"></div>
|
|
471
|
-
|
|
472
|
-
<template v-if="!isLocked">
|
|
473
|
-
<div v-if="userReportData.comment">
|
|
474
|
-
<div class="notes-baloon fullsize">
|
|
475
|
-
<div class="notes-text mx-3 pt-1">
|
|
476
|
-
<p class="mt-3">{{ userReportData.comment.comment }}</p>
|
|
477
|
-
</div>
|
|
478
|
-
<div
|
|
479
|
-
class="d-flex justify-content-between align-items-center mx-3"
|
|
480
|
-
>
|
|
481
|
-
<p @click.prevent="hasCommentRemove = !hasCommentRemove" class="notes-date remove-baloon">
|
|
482
|
-
Excluir
|
|
483
|
-
</p>
|
|
484
|
-
|
|
485
|
-
<p class="notes-date">
|
|
486
|
-
{{ userReportData.comment.created_at | convertDate }}
|
|
487
|
-
</p>
|
|
488
|
-
</div>
|
|
489
|
-
</div>
|
|
490
|
-
<div v-if="hasCommentRemove" class="archive-remove">
|
|
491
|
-
<p>Você tem certeza que deseja apagar este comentário?</p>
|
|
492
|
-
<div class="d-flex">
|
|
493
|
-
<base-button
|
|
494
|
-
@click="removeComment(userReportData.comment.id)"
|
|
495
|
-
size="sm"
|
|
496
|
-
class="btn-outline-primary col-6 p-1"
|
|
497
|
-
>
|
|
498
|
-
Apagar
|
|
499
|
-
</base-button>
|
|
500
|
-
<base-button
|
|
501
|
-
@click="hasCommentRemove = false"
|
|
502
|
-
size="sm"
|
|
503
|
-
class="btn-outline-danger col-6 p-1"
|
|
504
|
-
>
|
|
505
|
-
Cancelar
|
|
506
|
-
</base-button>
|
|
507
|
-
</div>
|
|
508
|
-
</div>
|
|
509
|
-
<div class="notes-owner d-flex mt-2">
|
|
510
|
-
<img
|
|
511
|
-
v-if="userReportData.comment.user.urlAvatar"
|
|
512
|
-
:src="userReportData.comment.user.urlAvatar"
|
|
513
|
-
:alt="userReportData.comment.user.name"
|
|
514
|
-
/>
|
|
515
|
-
<div
|
|
516
|
-
v-else
|
|
517
|
-
class="notes-avatar"
|
|
518
|
-
></div>
|
|
519
|
-
<p class="ml-1">
|
|
520
|
-
{{ userReportData.comment.user.name }}
|
|
521
|
-
</p>
|
|
522
|
-
</div>
|
|
523
|
-
</div>
|
|
524
|
-
</template>
|
|
525
|
-
|
|
526
|
-
<div class="input-container" v-if="!isLocked && !userReportData.comment">
|
|
527
|
-
<input
|
|
528
|
-
class="notes-new pl-4 mt-3 mb-3 form-rounded"
|
|
529
|
-
type="text"
|
|
530
|
-
placeholder="Escrever anotação"
|
|
531
|
-
v-model="newReportNote"
|
|
532
|
-
@change="handleNewReportNoteSubmit"
|
|
533
|
-
v-on:change="cleatInput()"
|
|
534
|
-
/>
|
|
535
|
-
<i
|
|
536
|
-
@click="handleNewReportNoteSubmit"
|
|
537
|
-
class="fas fa-paper-plane input-icon"
|
|
538
|
-
></i>
|
|
539
|
-
</div>
|
|
540
|
-
</el-tab-pane>
|
|
541
|
-
</el-tabs>
|
|
542
|
-
</div>
|
|
543
|
-
</template>
|
|
544
|
-
|
|
545
|
-
<script>
|
|
546
|
-
import { Tabs, TabPane } from 'element-ui';
|
|
547
|
-
import DropzoneFileUpload from '@burh/nuxt-core/components/argon-core/Inputs/DropzoneFileUpload.vue';
|
|
548
|
-
import swal from 'sweetalert2';
|
|
549
|
-
import UpgradePlan from './UpgradePlan.vue';
|
|
550
|
-
import like from '../../../organismos/atomos/Like.vue';
|
|
551
|
-
import deslike from '../../../organismos/atomos/Deslike.vue';
|
|
552
|
-
|
|
553
|
-
export default {
|
|
554
|
-
name: 'user-cv-right-side',
|
|
555
|
-
filters: {
|
|
556
|
-
convertDate(data) {
|
|
557
|
-
if (typeof data !== 'string') {
|
|
558
|
-
data = '2020-01-01 12:00:00';
|
|
559
|
-
}
|
|
560
|
-
let d = new Date(data);
|
|
561
|
-
let options = { hour: '2-digit', minute: '2-digit' };
|
|
562
|
-
return d.toLocaleDateString('pt-BR', options);
|
|
563
|
-
}
|
|
564
|
-
},
|
|
565
|
-
watch:{
|
|
566
|
-
fileToUpload(value){
|
|
567
|
-
if(value.length > 0 && value[0].accepted) {
|
|
568
|
-
this.isError = false;
|
|
569
|
-
}
|
|
570
|
-
},
|
|
571
|
-
reportFileUpload(value){
|
|
572
|
-
if(value.length > 0 && value[0].accepted) {
|
|
573
|
-
this.isError = false;
|
|
574
|
-
}
|
|
575
|
-
},
|
|
576
|
-
archives() {
|
|
577
|
-
this.getUserFolderData();
|
|
578
|
-
}
|
|
579
|
-
},
|
|
580
|
-
components: {
|
|
581
|
-
[Tabs.name]: Tabs,
|
|
582
|
-
[TabPane.name]: TabPane,
|
|
583
|
-
DropzoneFileUpload,
|
|
584
|
-
UpgradePlan,
|
|
585
|
-
like,
|
|
586
|
-
deslike
|
|
587
|
-
},
|
|
588
|
-
data(){
|
|
589
|
-
return {
|
|
590
|
-
newNote: '',
|
|
591
|
-
newReportNote: '',
|
|
592
|
-
liked: 0,
|
|
593
|
-
hasRemove: null,
|
|
594
|
-
isError: true,
|
|
595
|
-
currentRemoveItem: null,
|
|
596
|
-
fileToUpload: [],
|
|
597
|
-
dropzoneOptions: {
|
|
598
|
-
maxFilesize: 5,
|
|
599
|
-
dictFileTooBig:'Seu arquivo é poderoso demais (Máximo 5mb).',
|
|
600
|
-
dictDefaultMessage: 'Clique ou arraste seu arquivo aqui.',
|
|
601
|
-
dictInvalidFileType: 'Arquivo invalido.',
|
|
602
|
-
dictMaxFilesExceeded: 'Não é permitido mais de um arquivo por vez.',
|
|
603
|
-
acceptedFiles: 'image/*, application/pdf',
|
|
604
|
-
},
|
|
605
|
-
reportFileUpload: [],
|
|
606
|
-
reportsDropdownzoneOptions: {
|
|
607
|
-
maxFilesize: 1,
|
|
608
|
-
dictFileTooBig:'Seu arquivo é poderoso demais (Máximo 5mb).',
|
|
609
|
-
dictDefaultMessage: 'Clique ou arraste seu arquivo aqui.',
|
|
610
|
-
dictInvalidFileType: 'Arquivo invalido.',
|
|
611
|
-
dictMaxFilesExceeded: 'Não é permitido mais de um arquivo por vez.',
|
|
612
|
-
acceptedFiles: 'image/*, application/pdf',
|
|
613
|
-
},
|
|
614
|
-
userReportData: [],
|
|
615
|
-
hasReportRemove: false,
|
|
616
|
-
hasCommentRemove: false,
|
|
617
|
-
};
|
|
618
|
-
},
|
|
619
|
-
props: {
|
|
620
|
-
archives: Array,
|
|
621
|
-
userData: Object,
|
|
622
|
-
automation:{
|
|
623
|
-
type:Object || null,
|
|
624
|
-
default:null
|
|
625
|
-
},
|
|
626
|
-
notes: Array,
|
|
627
|
-
activeName: String,
|
|
628
|
-
jobId:{
|
|
629
|
-
type:[String, Number, Object],
|
|
630
|
-
default:null
|
|
631
|
-
},
|
|
632
|
-
userFolderId: String,
|
|
633
|
-
isNotesActived: {
|
|
634
|
-
type: Boolean,
|
|
635
|
-
default: true
|
|
636
|
-
},
|
|
637
|
-
isReportsActived: {
|
|
638
|
-
type: Boolean,
|
|
639
|
-
default: false
|
|
640
|
-
},
|
|
641
|
-
},
|
|
642
|
-
mounted() {
|
|
643
|
-
this.companyHistory();
|
|
644
|
-
this.getUserFolderData();
|
|
645
|
-
},
|
|
646
|
-
methods: {
|
|
647
|
-
async handleRemoveNote(note) {
|
|
648
|
-
const apiUrl = `${process.env.baseApiUrl}/company/${note.company_id}/user/${note.user_id}/note/${note.id}`;
|
|
649
|
-
|
|
650
|
-
const response = await this.$axios.delete(apiUrl)
|
|
651
|
-
.then(res => res.data)
|
|
652
|
-
.catch(() => {});
|
|
653
|
-
|
|
654
|
-
if (!response || response && response.error) return this.showToast('error', 'Falha ao remover!');
|
|
655
|
-
|
|
656
|
-
this.notes = this.notes.filter(n => n.id !== note.id);
|
|
657
|
-
},
|
|
658
|
-
removeComment(item){
|
|
659
|
-
this.userReportData.comment = undefined;
|
|
660
|
-
this.$emit('remove-comment', item);
|
|
661
|
-
this.hasCommentRemove = false;
|
|
662
|
-
},
|
|
663
|
-
handleNewReportNoteSubmit() {
|
|
664
|
-
if (this.newReportNote.length > 3) {
|
|
665
|
-
this.$emit('new-report-note', this.newReportNote, this.userFolderId, this.userData.id);
|
|
666
|
-
this.newReportNote = '';
|
|
667
|
-
}
|
|
668
|
-
},
|
|
669
|
-
openRemoveSection(item, index) {
|
|
670
|
-
this.hasRemove = index;
|
|
671
|
-
this.currentRemoveItem = item;
|
|
672
|
-
},
|
|
673
|
-
openReportRemoveSection(item) {
|
|
674
|
-
this.hasReportRemove = true;
|
|
675
|
-
this.currentRemoveItem = item;
|
|
676
|
-
},
|
|
677
|
-
|
|
678
|
-
showToast(type, title){
|
|
679
|
-
const Toast = swal.mixin({
|
|
680
|
-
toast: true,
|
|
681
|
-
position: 'top-end',
|
|
682
|
-
showConfirmButton: false,
|
|
683
|
-
timer: 3100,
|
|
684
|
-
});
|
|
685
|
-
|
|
686
|
-
return Toast.fire({
|
|
687
|
-
type: type,
|
|
688
|
-
title: title
|
|
689
|
-
});
|
|
690
|
-
},
|
|
691
|
-
|
|
692
|
-
showMessageError(file, message) {
|
|
693
|
-
this.isError = true;
|
|
694
|
-
this.$refs.Mydropzone && this.$refs.Mydropzone.removeAllFiles();
|
|
695
|
-
|
|
696
|
-
if (file.status !== 'canceled'){
|
|
697
|
-
this.showToast('error', message);
|
|
698
|
-
}
|
|
699
|
-
},
|
|
700
|
-
openArchive(item) {
|
|
701
|
-
window.open(item.storage_url, '_blank');
|
|
702
|
-
},
|
|
703
|
-
saveImage(){
|
|
704
|
-
if (!this.isError) {
|
|
705
|
-
this.$emit('save-archive', this.fileToUpload[0], this.userData.id);
|
|
706
|
-
this.$refs.MyDropzone && this.$refs.MyDropzone.removeAllFiles();
|
|
707
|
-
this.showToast('success', 'Arquivo enviado com sucesso.');
|
|
708
|
-
} else {
|
|
709
|
-
if (this.fileToUpload.length > 0) {
|
|
710
|
-
this.showToast('error', 'Arquivo invalido.');
|
|
711
|
-
} else {
|
|
712
|
-
this.showToast('warning', 'Selecione um arquivo.');
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
},
|
|
716
|
-
saveReport() {
|
|
717
|
-
if (!this.isError) {
|
|
718
|
-
this.$emit('save-report', this.reportFileUpload[0], this.userFolderId);
|
|
719
|
-
this.$refs.MyReportDropzone && this.$refs.MyReportDropzone.removeAllFiles();
|
|
720
|
-
this.showToast('success', 'Arquivo enviado com sucesso.');
|
|
721
|
-
|
|
722
|
-
} else {
|
|
723
|
-
if (this.reportFileUpload.length > 0) {
|
|
724
|
-
this.showToast('error', 'Arquivo invalido.');
|
|
725
|
-
} else {
|
|
726
|
-
this.showToast('warning', 'Selecione um arquivo.');
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
},
|
|
730
|
-
|
|
731
|
-
removeArchive(archive, index){
|
|
732
|
-
this.$emit('remove-archive', archive.user_id, archive.id, archive.company_id, index);
|
|
733
|
-
this.hasRemove = null;
|
|
734
|
-
},
|
|
735
|
-
|
|
736
|
-
removeReportArchive(archive) {
|
|
737
|
-
this.userReportData.annex = undefined;
|
|
738
|
-
|
|
739
|
-
this.$emit('remove-report', archive.id);
|
|
740
|
-
this.hasReportRemove = false;
|
|
741
|
-
},
|
|
742
|
-
|
|
743
|
-
cleatInput() {
|
|
744
|
-
this.newNote = '';
|
|
745
|
-
},
|
|
746
|
-
async downloadPdf(param) {
|
|
747
|
-
let data = await this.$store.app.$services.testOnline.downloadPdf(
|
|
748
|
-
param.id
|
|
749
|
-
);
|
|
750
|
-
|
|
751
|
-
const url = window.URL.createObjectURL(data.data);
|
|
752
|
-
const link = document.createElement('a');
|
|
753
|
-
link.href = url;
|
|
754
|
-
link.setAttribute(
|
|
755
|
-
'download',
|
|
756
|
-
`${param.user.name}-${param.test.name}.pdf`
|
|
757
|
-
);
|
|
758
|
-
document.body.appendChild(link);
|
|
759
|
-
link.click();
|
|
760
|
-
link.remove();
|
|
761
|
-
window.URL.revokeObjectURL(url);
|
|
762
|
-
},
|
|
763
|
-
getTestHistory() {
|
|
764
|
-
const tests = this.userData.tests.map(test => {
|
|
765
|
-
if (!test.finished_at) {
|
|
766
|
-
return;
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
const testData = {
|
|
770
|
-
avarage: test.avarage,
|
|
771
|
-
date: test.finished_at,
|
|
772
|
-
text: `Finalizou o teste ${test.test.name.toUpperCase()} com nota <b>${test.avarage}</b>`
|
|
773
|
-
};
|
|
774
|
-
|
|
775
|
-
return testData;
|
|
776
|
-
}).filter(item => item);
|
|
777
|
-
|
|
778
|
-
return tests;
|
|
779
|
-
},
|
|
780
|
-
companyHistory() {
|
|
781
|
-
let
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
test.
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
.
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
grid-template-columns:
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
}
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
&::-webkit-scrollbar
|
|
1016
|
-
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
&::-webkit-scrollbar-
|
|
1020
|
-
background: #
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
margin:
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
width:
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
/deep/ .el-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
.
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
.
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="bg-white content-right tabs">
|
|
3
|
+
<el-tabs
|
|
4
|
+
:class="activeTab"
|
|
5
|
+
class="mt-3 handle-icon-color"
|
|
6
|
+
v-model="activeTab"
|
|
7
|
+
>
|
|
8
|
+
<el-tab-pane v-if="companyHasAutomation && hasAutomation" name="melissa" class="mx-2">
|
|
9
|
+
<span class="tab__icon-pane" slot="label">
|
|
10
|
+
<img
|
|
11
|
+
class="img__icon-pane"
|
|
12
|
+
src="/img/recruitment/melissa.svg"
|
|
13
|
+
/>
|
|
14
|
+
</span>
|
|
15
|
+
<p class="notes-title mb-0 notes-melissa-title">
|
|
16
|
+
{{automation.aproved ?
|
|
17
|
+
'Candidato aprovado pela Melissa' :
|
|
18
|
+
'Candidato reprovado pela Melissa'}}
|
|
19
|
+
</p>
|
|
20
|
+
<div class="line mb-3"></div>
|
|
21
|
+
<template>
|
|
22
|
+
<template>
|
|
23
|
+
<div v-if="automation && automation.vehicle_license && automation.vehicle_license.vehicle_license !== null">
|
|
24
|
+
<div class="notes-baloon-melissa mt-2">
|
|
25
|
+
<div class="question-melissa-title">
|
|
26
|
+
<span>
|
|
27
|
+
Você tem uma carteira de motorista válida?
|
|
28
|
+
</span>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="notes-text-melissa pt-2">
|
|
31
|
+
<span class="mt-2">
|
|
32
|
+
{{ Boolean(automation.vehicle_license.vehicle_license) ? "Sim" : "Não" }}
|
|
33
|
+
<span v-if="automation.vehicle_license.vehicle_license_approved">
|
|
34
|
+
✅
|
|
35
|
+
</span>
|
|
36
|
+
<span v-else>
|
|
37
|
+
❌
|
|
38
|
+
</span>
|
|
39
|
+
</span>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
<div v-if="automation && automation.city && automation.city.city !== null">
|
|
44
|
+
<div class="notes-baloon-melissa mt-2">
|
|
45
|
+
<div class="question-melissa-title">
|
|
46
|
+
<span>
|
|
47
|
+
Você pode se locomover até onde esta vaga está localizada?
|
|
48
|
+
</span>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="notes-text-melissa pt-2">
|
|
51
|
+
<span class="mt-2">
|
|
52
|
+
{{ Boolean(automation.city.city) ? "Sim" : "Não" }}
|
|
53
|
+
<span v-if="automation.city.city_approved">
|
|
54
|
+
✅
|
|
55
|
+
</span>
|
|
56
|
+
<span v-else>
|
|
57
|
+
❌
|
|
58
|
+
</span>
|
|
59
|
+
</span>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
<div v-if="automation && automation.urgent_hiring && automation.urgent_hiring.urgent_hiring !== null">
|
|
64
|
+
<div class="notes-baloon-melissa mt-2">
|
|
65
|
+
<div class="question-melissa-title">
|
|
66
|
+
<span>
|
|
67
|
+
Precisamos preencher esta posição com urgência. Você poderia começar imediatamente?
|
|
68
|
+
</span>
|
|
69
|
+
</div>
|
|
70
|
+
<div class="notes-text-melissa pt-2">
|
|
71
|
+
<span class="mt-2">
|
|
72
|
+
{{ Boolean(automation.urgent_hiring.urgent_hiring) ? "Sim" : "Não" }}
|
|
73
|
+
<span v-if="automation.urgent_hiring.urgent_hiring_approved">
|
|
74
|
+
✅
|
|
75
|
+
</span>
|
|
76
|
+
<span v-else>
|
|
77
|
+
❌
|
|
78
|
+
</span>
|
|
79
|
+
</span>
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
<div v-if="automation && automation.school_formation && automation.school_formation.school_formation !== null && automation.school_formation.option !== null">
|
|
84
|
+
<div class="notes-baloon-melissa mt-2">
|
|
85
|
+
<div class="question-melissa-title">
|
|
86
|
+
<span>
|
|
87
|
+
Você completou o curso: <b>{{automation.school_formation.option}}</b>?
|
|
88
|
+
</span>
|
|
89
|
+
</div>
|
|
90
|
+
<div class="notes-text-melissa pt-2">
|
|
91
|
+
<span class="mt-2">
|
|
92
|
+
{{ Boolean(automation.school_formation.school_formation) ? "Sim" : "Não" }}
|
|
93
|
+
|
|
94
|
+
<span v-if="automation.school_formation.school_formation_approved">
|
|
95
|
+
✅
|
|
96
|
+
</span>
|
|
97
|
+
<span v-else>
|
|
98
|
+
❌
|
|
99
|
+
</span>
|
|
100
|
+
</span>
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
<div v-if="automation && automation.tool_experience && automation.tool_experience.tool_experience !== null && automation.tool_experience.option !== null">
|
|
105
|
+
<div class="notes-baloon-melissa mt-2">
|
|
106
|
+
<div class="question-melissa-title">
|
|
107
|
+
<span>
|
|
108
|
+
Quantos anos de experiência você tem utilizando <b>{{automation.tool_experience.option}}</b>?
|
|
109
|
+
</span>
|
|
110
|
+
</div>
|
|
111
|
+
<div class="notes-text-melissa pt-2">
|
|
112
|
+
<span class="mt-2">
|
|
113
|
+
{{ automation.tool_experience.tool_experience }}
|
|
114
|
+
<span v-if="automation.tool_experience.tool_experience_approved">
|
|
115
|
+
✅
|
|
116
|
+
</span>
|
|
117
|
+
<span v-else>
|
|
118
|
+
❌
|
|
119
|
+
</span>
|
|
120
|
+
</span>
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
<div v-if="automation && automation.work_experience && automation.work_experience.work_experience !== null && automation.work_experience.option !== null">
|
|
125
|
+
<div class="notes-baloon-melissa mt-2">
|
|
126
|
+
<div class="question-melissa-title">
|
|
127
|
+
<span>
|
|
128
|
+
Quantos anos de experiência você tem na função de <b>{{automation.work_experience.option}}</b>?
|
|
129
|
+
</span>
|
|
130
|
+
</div>
|
|
131
|
+
<div class="notes-text-melissa pt-2">
|
|
132
|
+
<span class="mt-2">
|
|
133
|
+
{{ automation.work_experience.work_experience }}
|
|
134
|
+
<span v-if="automation.work_experience.work_experience_approved">
|
|
135
|
+
✅
|
|
136
|
+
</span>
|
|
137
|
+
<span v-else>
|
|
138
|
+
❌
|
|
139
|
+
</span>
|
|
140
|
+
</span>
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
</div>
|
|
144
|
+
<div v-if="automation && automation.sector_experience && automation.sector_experience.sector_experience !== null && automation.sector_experience.option !== null">
|
|
145
|
+
<div class="notes-baloon-melissa mt-2">
|
|
146
|
+
<div class="question-melissa-title">
|
|
147
|
+
<span>
|
|
148
|
+
Quantos anos de experiência você tem no setor de <b>{{automation.sector_experience.option}}</b>?
|
|
149
|
+
</span>
|
|
150
|
+
</div>
|
|
151
|
+
<div class="notes-text-melissa pt-2">
|
|
152
|
+
<span class="mt-2">
|
|
153
|
+
{{ automation.sector_experience.sector_experience }}
|
|
154
|
+
<span v-if="automation.sector_experience.sector_experience_approved">
|
|
155
|
+
✅
|
|
156
|
+
</span>
|
|
157
|
+
<span v-else>
|
|
158
|
+
❌
|
|
159
|
+
</span>
|
|
160
|
+
</span>
|
|
161
|
+
</div>
|
|
162
|
+
</div>
|
|
163
|
+
</div>
|
|
164
|
+
<div v-if="automation && automation.language && automation.language.language !== null && automation.language.option !== null">
|
|
165
|
+
<div class="notes-baloon-melissa mt-2">
|
|
166
|
+
<div class="question-melissa-title">
|
|
167
|
+
<span>
|
|
168
|
+
Qual seu nível de proficiência em <b>{{automation.language.option}}</b>?
|
|
169
|
+
</span>
|
|
170
|
+
</div>
|
|
171
|
+
<div class="notes-text-melissa pt-2">
|
|
172
|
+
<span class="mt-2">
|
|
173
|
+
{{ automation.language.language }}
|
|
174
|
+
<span v-if="automation.language.language_approved">
|
|
175
|
+
✅
|
|
176
|
+
</span>
|
|
177
|
+
<span v-else>
|
|
178
|
+
❌
|
|
179
|
+
</span>
|
|
180
|
+
</span>
|
|
181
|
+
</div>
|
|
182
|
+
</div>
|
|
183
|
+
</div>
|
|
184
|
+
<div
|
|
185
|
+
v-for="(melissa,index) in automation.custom"
|
|
186
|
+
:key="index"
|
|
187
|
+
>
|
|
188
|
+
<div class="notes-baloon-melissa mt-2">
|
|
189
|
+
<div class="question-melissa-title">
|
|
190
|
+
<span>{{ melissa.question }}</span>
|
|
191
|
+
</div>
|
|
192
|
+
<div class="notes-text-melissa pt-2">
|
|
193
|
+
<span class="mt-2">
|
|
194
|
+
{{ typeof melissa.response === "boolean" ? melissa.response ? "Sim" : "Não" : melissa.response }}
|
|
195
|
+
<span v-if="melissa.approved_in_question">
|
|
196
|
+
✅
|
|
197
|
+
</span>
|
|
198
|
+
<span v-else>
|
|
199
|
+
❌
|
|
200
|
+
</span>
|
|
201
|
+
</span>
|
|
202
|
+
</div>
|
|
203
|
+
</div>
|
|
204
|
+
</div>
|
|
205
|
+
</template>
|
|
206
|
+
</template>
|
|
207
|
+
</el-tab-pane>
|
|
208
|
+
<el-tab-pane class="history ml-2" name="history">
|
|
209
|
+
<span class="tab__icon-pane" slot="label">
|
|
210
|
+
<img
|
|
211
|
+
class="img__icon-pane img__icon--history"
|
|
212
|
+
src="../../../../assets/images/icons/historicCv.svg"
|
|
213
|
+
/>
|
|
214
|
+
</span>
|
|
215
|
+
<upgrade-plan @send-contact="sendContact" v-if="isLocked" />
|
|
216
|
+
|
|
217
|
+
<p class="notes-title mb-0">Histórico com sua empresa</p>
|
|
218
|
+
<div class="line mb-3"></div>
|
|
219
|
+
|
|
220
|
+
<template v-if="!isLocked">
|
|
221
|
+
<div
|
|
222
|
+
class="mt-3"
|
|
223
|
+
v-for="(item, index) in orderByDate(companyHistory())"
|
|
224
|
+
:key="index"
|
|
225
|
+
>
|
|
226
|
+
<div class="d-flex align-items-center justify-content-between">
|
|
227
|
+
<p class="history-text mb-0" v-html="item.text" />
|
|
228
|
+
|
|
229
|
+
<el-tooltip
|
|
230
|
+
placement="top"
|
|
231
|
+
content="Baixar PDF"
|
|
232
|
+
>
|
|
233
|
+
<button
|
|
234
|
+
v-if="item.hasDownload"
|
|
235
|
+
class="py-2 px-3 mx-2 border-0 bg-transparent text-primary"
|
|
236
|
+
@click="() => downloadPdf(item)"
|
|
237
|
+
>
|
|
238
|
+
<i class="fas fa-download" />
|
|
239
|
+
</button>
|
|
240
|
+
</el-tooltip>
|
|
241
|
+
</div>
|
|
242
|
+
|
|
243
|
+
<span>{{ item.date | convertDate }}</span>
|
|
244
|
+
</div>
|
|
245
|
+
<p v-if="companyHistory().length === 0" class="history-text">
|
|
246
|
+
Histórico vazio.
|
|
247
|
+
</p>
|
|
248
|
+
</template>
|
|
249
|
+
</el-tab-pane>
|
|
250
|
+
|
|
251
|
+
<el-tab-pane name="notes" class="ml-2" v-if="isNotesActived">
|
|
252
|
+
<span class="tab__icon-pane" slot="label">
|
|
253
|
+
<img
|
|
254
|
+
class="img__icon-pane img__icon--notes"
|
|
255
|
+
src="../../../../assets/images/icons/notesCv.svg"
|
|
256
|
+
/>
|
|
257
|
+
</span>
|
|
258
|
+
|
|
259
|
+
<upgrade-plan @send-contact="sendContact" v-if="isLocked" />
|
|
260
|
+
|
|
261
|
+
<p class="notes-title mb-0">Notas da equipe</p>
|
|
262
|
+
<div class="line mb-3"></div>
|
|
263
|
+
|
|
264
|
+
<template v-if="!isLocked">
|
|
265
|
+
<template v-if="notes.length > 0">
|
|
266
|
+
<div
|
|
267
|
+
v-for="(note, index) in notes.slice(0, 5)"
|
|
268
|
+
:key="index"
|
|
269
|
+
>
|
|
270
|
+
<div class="notes-baloon">
|
|
271
|
+
<div class="notes-text ml-3 pt-1">
|
|
272
|
+
<p class="mt-3">{{ note.text }}</p>
|
|
273
|
+
</div>
|
|
274
|
+
<div
|
|
275
|
+
class="d-flex justify-content-between align-items-center mx-3"
|
|
276
|
+
>
|
|
277
|
+
<p @click.prevent="handleRemoveNote(note)" v-if="String(currentUser.id) === String(note.user_id)" class="notes-date remove-baloon">
|
|
278
|
+
Excluir
|
|
279
|
+
</p>
|
|
280
|
+
<div v-else></div>
|
|
281
|
+
|
|
282
|
+
<p class="notes-date">
|
|
283
|
+
{{ note.created_at | convertDate }}
|
|
284
|
+
</p>
|
|
285
|
+
</div>
|
|
286
|
+
</div>
|
|
287
|
+
<div class="notes-owner d-flex mt-2">
|
|
288
|
+
<image-with-fallback
|
|
289
|
+
:src="note.user.urlAvatar"
|
|
290
|
+
:alt="note.user.name"
|
|
291
|
+
:fallbackText="note.user.name"
|
|
292
|
+
/>
|
|
293
|
+
<p class="ml-1">
|
|
294
|
+
{{ note.user.name }}
|
|
295
|
+
</p>
|
|
296
|
+
</div>
|
|
297
|
+
</div>
|
|
298
|
+
</template>
|
|
299
|
+
<div class="notes-text" v-if="notes.length === 0">
|
|
300
|
+
<p>Nenhuma nota criada.</p>
|
|
301
|
+
</div>
|
|
302
|
+
</template>
|
|
303
|
+
|
|
304
|
+
<div class="input-container" v-if="!isLocked">
|
|
305
|
+
<input
|
|
306
|
+
class="notes-new pl-4 mt-3 mb-3 form-rounded"
|
|
307
|
+
type="text"
|
|
308
|
+
placeholder="Escrever anotação"
|
|
309
|
+
v-model="newNote"
|
|
310
|
+
@change="$emit('new-note', newNote, userData.id)"
|
|
311
|
+
v-on:change="cleatInput()"
|
|
312
|
+
/>
|
|
313
|
+
<i
|
|
314
|
+
@click="
|
|
315
|
+
newNote.length > 0 &&
|
|
316
|
+
$emit('new-note', newNote, userData.id)
|
|
317
|
+
"
|
|
318
|
+
class="fas fa-paper-plane input-icon"
|
|
319
|
+
></i>
|
|
320
|
+
</div>
|
|
321
|
+
</el-tab-pane>
|
|
322
|
+
|
|
323
|
+
<el-tab-pane name="documents" class="ml-2">
|
|
324
|
+
<span class="tab__icon-pane" slot="label">
|
|
325
|
+
<img
|
|
326
|
+
class="img__icon-pane img__icon--documents"
|
|
327
|
+
src="../../../../assets/images/icons/icon3.svg"
|
|
328
|
+
/>
|
|
329
|
+
</span>
|
|
330
|
+
|
|
331
|
+
<upgrade-plan @send-contact="sendContact" v-if="isLocked" />
|
|
332
|
+
|
|
333
|
+
<p class="notes-title mb-0">Documentos anexados</p>
|
|
334
|
+
<div class="line mb-3"></div>
|
|
335
|
+
|
|
336
|
+
<template v-if="!isLocked">
|
|
337
|
+
<div class="archive-content">
|
|
338
|
+
<div v-for="(item, index) in archives" :key="index">
|
|
339
|
+
<div @click="openArchive(item)" class="archive-container">
|
|
340
|
+
<div>
|
|
341
|
+
<img class="archive-img" src="../../../../assets/images/icons/icon3.svg" >
|
|
342
|
+
</div>
|
|
343
|
+
<div class="archive-name">
|
|
344
|
+
<span>{{item.name}}</span>
|
|
345
|
+
<div class="archive-icon">
|
|
346
|
+
<i @click.stop.prevent="openRemoveSection(item, (index+1))" class="far fa-trash-alt"></i>
|
|
347
|
+
</div>
|
|
348
|
+
</div>
|
|
349
|
+
</div>
|
|
350
|
+
<div v-if="hasRemove && hasRemove == (index+1)" class="archive-remove">
|
|
351
|
+
<p>Você tem certeza que deseja apagar este arquivo?</p>
|
|
352
|
+
<div class="d-flex">
|
|
353
|
+
<base-button
|
|
354
|
+
@click="removeArchive(currentRemoveItem, index)"
|
|
355
|
+
size="sm"
|
|
356
|
+
class="btn-outline-primary col-6 p-1"
|
|
357
|
+
>
|
|
358
|
+
Apagar
|
|
359
|
+
</base-button>
|
|
360
|
+
<base-button
|
|
361
|
+
@click="hasRemove = false"
|
|
362
|
+
size="sm"
|
|
363
|
+
class="btn-outline-danger col-6 p-1"
|
|
364
|
+
>
|
|
365
|
+
Cancelar
|
|
366
|
+
</base-button>
|
|
367
|
+
</div>
|
|
368
|
+
</div>
|
|
369
|
+
</div>
|
|
370
|
+
</div>
|
|
371
|
+
|
|
372
|
+
<div class="notes-text" v-if="archives == null">
|
|
373
|
+
<p>Nenhum arquvio anexado.</p>
|
|
374
|
+
</div>
|
|
375
|
+
</template>
|
|
376
|
+
|
|
377
|
+
<div class="input-container" v-if="!isLocked">
|
|
378
|
+
<div class="mt-5">
|
|
379
|
+
<dropzone-file-upload
|
|
380
|
+
disabled
|
|
381
|
+
@error="showMessageError"
|
|
382
|
+
ref="MyDropzone"
|
|
383
|
+
:options="dropzoneOptions"
|
|
384
|
+
v-model="fileToUpload"
|
|
385
|
+
/>
|
|
386
|
+
</div>
|
|
387
|
+
|
|
388
|
+
<div class="archive-buttons">
|
|
389
|
+
<base-button @click="saveImage" size="sm" class="btn-outline-primary btn-rounded col-12">Salvar</base-button>
|
|
390
|
+
</div>
|
|
391
|
+
</div>
|
|
392
|
+
</el-tab-pane>
|
|
393
|
+
|
|
394
|
+
<el-tab-pane name="reports" class="ml-2" v-if="isReportsActived">
|
|
395
|
+
<span class="tab__icon-pane" slot="label">
|
|
396
|
+
<img
|
|
397
|
+
class="img__icon-pane img__icon--reports"
|
|
398
|
+
src="../../../../assets/images/icons/icon5.svg"
|
|
399
|
+
/>
|
|
400
|
+
</span>
|
|
401
|
+
|
|
402
|
+
<upgrade-plan @send-contact="sendContact" v-if="isLocked" />
|
|
403
|
+
|
|
404
|
+
<p class="notes-title mb-0">Laudo do Candidato</p>
|
|
405
|
+
<div class="line mb-3"></div>
|
|
406
|
+
<div class="evaluation-area" v-if="likeStatus">
|
|
407
|
+
<div class="action">
|
|
408
|
+
<like class="icon" :colorActiveLike="likeStatus"/>
|
|
409
|
+
<span class="font-weight-bold evaluation-area__text">
|
|
410
|
+
Gostei
|
|
411
|
+
</span>
|
|
412
|
+
</div>
|
|
413
|
+
<div class="action">
|
|
414
|
+
<deslike class="icon" :colorActiveDeslike="likeStatus"/>
|
|
415
|
+
<span class="font-weight-bold evaluation-area__text">
|
|
416
|
+
Não Gostei
|
|
417
|
+
</span>
|
|
418
|
+
</div>
|
|
419
|
+
</div>
|
|
420
|
+
<template v-if="!isLocked">
|
|
421
|
+
<div class="input-container" v-if="!userReportData.annex">
|
|
422
|
+
<dropzone-file-upload
|
|
423
|
+
disabled
|
|
424
|
+
ref="MyReportDropzone"
|
|
425
|
+
v-model="reportFileUpload"
|
|
426
|
+
:options="reportsDropdownzoneOptions"
|
|
427
|
+
@error="showMessageError"
|
|
428
|
+
/>
|
|
429
|
+
|
|
430
|
+
<div class="archive-buttons" v-if="reportFileUpload.length > 0">
|
|
431
|
+
<base-button @click="saveReport" size="sm" class="btn-outline-primary btn-rounded col-12">Salvar</base-button>
|
|
432
|
+
</div>
|
|
433
|
+
</div>
|
|
434
|
+
|
|
435
|
+
<div class="archive-content" v-else-if="userReportData.annex">
|
|
436
|
+
<div @click="openArchive(userReportData.annex)" class="archive-container">
|
|
437
|
+
<div>
|
|
438
|
+
<img class="archive-img" src="../../../../assets/images/icons/icon6.svg" >
|
|
439
|
+
</div>
|
|
440
|
+
<div class="archive-name">
|
|
441
|
+
<span>{{ userReportData.annex.name }}</span>
|
|
442
|
+
<div class="archive-icon">
|
|
443
|
+
<i @click.stop.prevent="openReportRemoveSection(userReportData.annex)" class="far fa-trash-alt"></i>
|
|
444
|
+
</div>
|
|
445
|
+
</div>
|
|
446
|
+
</div>
|
|
447
|
+
<div v-if="hasReportRemove" class="archive-remove">
|
|
448
|
+
<p>Você tem certeza que deseja apagar este arquivo?</p>
|
|
449
|
+
<div class="d-flex">
|
|
450
|
+
<base-button
|
|
451
|
+
@click="removeReportArchive(currentRemoveItem)"
|
|
452
|
+
size="sm"
|
|
453
|
+
class="btn-outline-primary col-6 p-1"
|
|
454
|
+
>
|
|
455
|
+
Apagar
|
|
456
|
+
</base-button>
|
|
457
|
+
<base-button
|
|
458
|
+
@click="hasRemove = false"
|
|
459
|
+
size="sm"
|
|
460
|
+
class="btn-outline-danger col-6 p-1"
|
|
461
|
+
>
|
|
462
|
+
Cancelar
|
|
463
|
+
</base-button>
|
|
464
|
+
</div>
|
|
465
|
+
</div>
|
|
466
|
+
</div>
|
|
467
|
+
</template>
|
|
468
|
+
|
|
469
|
+
<p class="notes-title mb-0">Comentários Recrutador</p>
|
|
470
|
+
<div class="line mb-3"></div>
|
|
471
|
+
|
|
472
|
+
<template v-if="!isLocked">
|
|
473
|
+
<div v-if="userReportData.comment">
|
|
474
|
+
<div class="notes-baloon fullsize">
|
|
475
|
+
<div class="notes-text mx-3 pt-1">
|
|
476
|
+
<p class="mt-3">{{ userReportData.comment.comment }}</p>
|
|
477
|
+
</div>
|
|
478
|
+
<div
|
|
479
|
+
class="d-flex justify-content-between align-items-center mx-3"
|
|
480
|
+
>
|
|
481
|
+
<p @click.prevent="hasCommentRemove = !hasCommentRemove" class="notes-date remove-baloon">
|
|
482
|
+
Excluir
|
|
483
|
+
</p>
|
|
484
|
+
|
|
485
|
+
<p class="notes-date">
|
|
486
|
+
{{ userReportData.comment.created_at | convertDate }}
|
|
487
|
+
</p>
|
|
488
|
+
</div>
|
|
489
|
+
</div>
|
|
490
|
+
<div v-if="hasCommentRemove" class="archive-remove">
|
|
491
|
+
<p>Você tem certeza que deseja apagar este comentário?</p>
|
|
492
|
+
<div class="d-flex">
|
|
493
|
+
<base-button
|
|
494
|
+
@click="removeComment(userReportData.comment.id)"
|
|
495
|
+
size="sm"
|
|
496
|
+
class="btn-outline-primary col-6 p-1"
|
|
497
|
+
>
|
|
498
|
+
Apagar
|
|
499
|
+
</base-button>
|
|
500
|
+
<base-button
|
|
501
|
+
@click="hasCommentRemove = false"
|
|
502
|
+
size="sm"
|
|
503
|
+
class="btn-outline-danger col-6 p-1"
|
|
504
|
+
>
|
|
505
|
+
Cancelar
|
|
506
|
+
</base-button>
|
|
507
|
+
</div>
|
|
508
|
+
</div>
|
|
509
|
+
<div class="notes-owner d-flex mt-2">
|
|
510
|
+
<img
|
|
511
|
+
v-if="userReportData.comment.user.urlAvatar"
|
|
512
|
+
:src="userReportData.comment.user.urlAvatar"
|
|
513
|
+
:alt="userReportData.comment.user.name"
|
|
514
|
+
/>
|
|
515
|
+
<div
|
|
516
|
+
v-else
|
|
517
|
+
class="notes-avatar"
|
|
518
|
+
></div>
|
|
519
|
+
<p class="ml-1">
|
|
520
|
+
{{ userReportData.comment.user.name }}
|
|
521
|
+
</p>
|
|
522
|
+
</div>
|
|
523
|
+
</div>
|
|
524
|
+
</template>
|
|
525
|
+
|
|
526
|
+
<div class="input-container" v-if="!isLocked && !userReportData.comment">
|
|
527
|
+
<input
|
|
528
|
+
class="notes-new pl-4 mt-3 mb-3 form-rounded"
|
|
529
|
+
type="text"
|
|
530
|
+
placeholder="Escrever anotação"
|
|
531
|
+
v-model="newReportNote"
|
|
532
|
+
@change="handleNewReportNoteSubmit"
|
|
533
|
+
v-on:change="cleatInput()"
|
|
534
|
+
/>
|
|
535
|
+
<i
|
|
536
|
+
@click="handleNewReportNoteSubmit"
|
|
537
|
+
class="fas fa-paper-plane input-icon"
|
|
538
|
+
></i>
|
|
539
|
+
</div>
|
|
540
|
+
</el-tab-pane>
|
|
541
|
+
</el-tabs>
|
|
542
|
+
</div>
|
|
543
|
+
</template>
|
|
544
|
+
|
|
545
|
+
<script>
|
|
546
|
+
import { Tabs, TabPane } from 'element-ui';
|
|
547
|
+
import DropzoneFileUpload from '@burh/nuxt-core/components/argon-core/Inputs/DropzoneFileUpload.vue';
|
|
548
|
+
import swal from 'sweetalert2';
|
|
549
|
+
import UpgradePlan from './UpgradePlan.vue';
|
|
550
|
+
import like from '../../../organismos/atomos/Like.vue';
|
|
551
|
+
import deslike from '../../../organismos/atomos/Deslike.vue';
|
|
552
|
+
|
|
553
|
+
export default {
|
|
554
|
+
name: 'user-cv-right-side',
|
|
555
|
+
filters: {
|
|
556
|
+
convertDate(data) {
|
|
557
|
+
if (typeof data !== 'string') {
|
|
558
|
+
data = '2020-01-01 12:00:00';
|
|
559
|
+
}
|
|
560
|
+
let d = new Date(data);
|
|
561
|
+
let options = { hour: '2-digit', minute: '2-digit' };
|
|
562
|
+
return d.toLocaleDateString('pt-BR', options);
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
watch:{
|
|
566
|
+
fileToUpload(value){
|
|
567
|
+
if(value.length > 0 && value[0].accepted) {
|
|
568
|
+
this.isError = false;
|
|
569
|
+
}
|
|
570
|
+
},
|
|
571
|
+
reportFileUpload(value){
|
|
572
|
+
if(value.length > 0 && value[0].accepted) {
|
|
573
|
+
this.isError = false;
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
archives() {
|
|
577
|
+
this.getUserFolderData();
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
components: {
|
|
581
|
+
[Tabs.name]: Tabs,
|
|
582
|
+
[TabPane.name]: TabPane,
|
|
583
|
+
DropzoneFileUpload,
|
|
584
|
+
UpgradePlan,
|
|
585
|
+
like,
|
|
586
|
+
deslike
|
|
587
|
+
},
|
|
588
|
+
data(){
|
|
589
|
+
return {
|
|
590
|
+
newNote: '',
|
|
591
|
+
newReportNote: '',
|
|
592
|
+
liked: 0,
|
|
593
|
+
hasRemove: null,
|
|
594
|
+
isError: true,
|
|
595
|
+
currentRemoveItem: null,
|
|
596
|
+
fileToUpload: [],
|
|
597
|
+
dropzoneOptions: {
|
|
598
|
+
maxFilesize: 5,
|
|
599
|
+
dictFileTooBig:'Seu arquivo é poderoso demais (Máximo 5mb).',
|
|
600
|
+
dictDefaultMessage: 'Clique ou arraste seu arquivo aqui.',
|
|
601
|
+
dictInvalidFileType: 'Arquivo invalido.',
|
|
602
|
+
dictMaxFilesExceeded: 'Não é permitido mais de um arquivo por vez.',
|
|
603
|
+
acceptedFiles: 'image/*, application/pdf',
|
|
604
|
+
},
|
|
605
|
+
reportFileUpload: [],
|
|
606
|
+
reportsDropdownzoneOptions: {
|
|
607
|
+
maxFilesize: 1,
|
|
608
|
+
dictFileTooBig:'Seu arquivo é poderoso demais (Máximo 5mb).',
|
|
609
|
+
dictDefaultMessage: 'Clique ou arraste seu arquivo aqui.',
|
|
610
|
+
dictInvalidFileType: 'Arquivo invalido.',
|
|
611
|
+
dictMaxFilesExceeded: 'Não é permitido mais de um arquivo por vez.',
|
|
612
|
+
acceptedFiles: 'image/*, application/pdf',
|
|
613
|
+
},
|
|
614
|
+
userReportData: [],
|
|
615
|
+
hasReportRemove: false,
|
|
616
|
+
hasCommentRemove: false,
|
|
617
|
+
};
|
|
618
|
+
},
|
|
619
|
+
props: {
|
|
620
|
+
archives: Array,
|
|
621
|
+
userData: Object,
|
|
622
|
+
automation:{
|
|
623
|
+
type:Object || null,
|
|
624
|
+
default:null
|
|
625
|
+
},
|
|
626
|
+
notes: Array,
|
|
627
|
+
activeName: String,
|
|
628
|
+
jobId:{
|
|
629
|
+
type:[String, Number, Object],
|
|
630
|
+
default:null
|
|
631
|
+
},
|
|
632
|
+
userFolderId: String,
|
|
633
|
+
isNotesActived: {
|
|
634
|
+
type: Boolean,
|
|
635
|
+
default: true
|
|
636
|
+
},
|
|
637
|
+
isReportsActived: {
|
|
638
|
+
type: Boolean,
|
|
639
|
+
default: false
|
|
640
|
+
},
|
|
641
|
+
},
|
|
642
|
+
mounted() {
|
|
643
|
+
this.companyHistory();
|
|
644
|
+
this.getUserFolderData();
|
|
645
|
+
},
|
|
646
|
+
methods: {
|
|
647
|
+
async handleRemoveNote(note) {
|
|
648
|
+
const apiUrl = `${process.env.baseApiUrl}/company/${note.company_id}/user/${note.user_id}/note/${note.id}`;
|
|
649
|
+
|
|
650
|
+
const response = await this.$axios.delete(apiUrl)
|
|
651
|
+
.then(res => res.data)
|
|
652
|
+
.catch(() => {});
|
|
653
|
+
|
|
654
|
+
if (!response || response && response.error) return this.showToast('error', 'Falha ao remover!');
|
|
655
|
+
|
|
656
|
+
this.notes = this.notes.filter(n => n.id !== note.id);
|
|
657
|
+
},
|
|
658
|
+
removeComment(item){
|
|
659
|
+
this.userReportData.comment = undefined;
|
|
660
|
+
this.$emit('remove-comment', item);
|
|
661
|
+
this.hasCommentRemove = false;
|
|
662
|
+
},
|
|
663
|
+
handleNewReportNoteSubmit() {
|
|
664
|
+
if (this.newReportNote.length > 3) {
|
|
665
|
+
this.$emit('new-report-note', this.newReportNote, this.userFolderId, this.userData.id);
|
|
666
|
+
this.newReportNote = '';
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
openRemoveSection(item, index) {
|
|
670
|
+
this.hasRemove = index;
|
|
671
|
+
this.currentRemoveItem = item;
|
|
672
|
+
},
|
|
673
|
+
openReportRemoveSection(item) {
|
|
674
|
+
this.hasReportRemove = true;
|
|
675
|
+
this.currentRemoveItem = item;
|
|
676
|
+
},
|
|
677
|
+
|
|
678
|
+
showToast(type, title){
|
|
679
|
+
const Toast = swal.mixin({
|
|
680
|
+
toast: true,
|
|
681
|
+
position: 'top-end',
|
|
682
|
+
showConfirmButton: false,
|
|
683
|
+
timer: 3100,
|
|
684
|
+
});
|
|
685
|
+
|
|
686
|
+
return Toast.fire({
|
|
687
|
+
type: type,
|
|
688
|
+
title: title
|
|
689
|
+
});
|
|
690
|
+
},
|
|
691
|
+
|
|
692
|
+
showMessageError(file, message) {
|
|
693
|
+
this.isError = true;
|
|
694
|
+
this.$refs.Mydropzone && this.$refs.Mydropzone.removeAllFiles();
|
|
695
|
+
|
|
696
|
+
if (file.status !== 'canceled'){
|
|
697
|
+
this.showToast('error', message);
|
|
698
|
+
}
|
|
699
|
+
},
|
|
700
|
+
openArchive(item) {
|
|
701
|
+
window.open(item.storage_url, '_blank');
|
|
702
|
+
},
|
|
703
|
+
saveImage(){
|
|
704
|
+
if (!this.isError) {
|
|
705
|
+
this.$emit('save-archive', this.fileToUpload[0], this.userData.id);
|
|
706
|
+
this.$refs.MyDropzone && this.$refs.MyDropzone.removeAllFiles();
|
|
707
|
+
this.showToast('success', 'Arquivo enviado com sucesso.');
|
|
708
|
+
} else {
|
|
709
|
+
if (this.fileToUpload.length > 0) {
|
|
710
|
+
this.showToast('error', 'Arquivo invalido.');
|
|
711
|
+
} else {
|
|
712
|
+
this.showToast('warning', 'Selecione um arquivo.');
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
},
|
|
716
|
+
saveReport() {
|
|
717
|
+
if (!this.isError) {
|
|
718
|
+
this.$emit('save-report', this.reportFileUpload[0], this.userFolderId);
|
|
719
|
+
this.$refs.MyReportDropzone && this.$refs.MyReportDropzone.removeAllFiles();
|
|
720
|
+
this.showToast('success', 'Arquivo enviado com sucesso.');
|
|
721
|
+
|
|
722
|
+
} else {
|
|
723
|
+
if (this.reportFileUpload.length > 0) {
|
|
724
|
+
this.showToast('error', 'Arquivo invalido.');
|
|
725
|
+
} else {
|
|
726
|
+
this.showToast('warning', 'Selecione um arquivo.');
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
},
|
|
730
|
+
|
|
731
|
+
removeArchive(archive, index){
|
|
732
|
+
this.$emit('remove-archive', archive.user_id, archive.id, archive.company_id, index);
|
|
733
|
+
this.hasRemove = null;
|
|
734
|
+
},
|
|
735
|
+
|
|
736
|
+
removeReportArchive(archive) {
|
|
737
|
+
this.userReportData.annex = undefined;
|
|
738
|
+
|
|
739
|
+
this.$emit('remove-report', archive.id);
|
|
740
|
+
this.hasReportRemove = false;
|
|
741
|
+
},
|
|
742
|
+
|
|
743
|
+
cleatInput() {
|
|
744
|
+
this.newNote = '';
|
|
745
|
+
},
|
|
746
|
+
async downloadPdf(param) {
|
|
747
|
+
let data = await this.$store.app.$services.testOnline.downloadPdf(
|
|
748
|
+
param.id
|
|
749
|
+
);
|
|
750
|
+
|
|
751
|
+
const url = window.URL.createObjectURL(data.data);
|
|
752
|
+
const link = document.createElement('a');
|
|
753
|
+
link.href = url;
|
|
754
|
+
link.setAttribute(
|
|
755
|
+
'download',
|
|
756
|
+
`${param.user.name}-${param.test.name}.pdf`
|
|
757
|
+
);
|
|
758
|
+
document.body.appendChild(link);
|
|
759
|
+
link.click();
|
|
760
|
+
link.remove();
|
|
761
|
+
window.URL.revokeObjectURL(url);
|
|
762
|
+
},
|
|
763
|
+
getTestHistory() {
|
|
764
|
+
const tests = this.userData.tests.map(test => {
|
|
765
|
+
if (!test.finished_at) {
|
|
766
|
+
return;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
const testData = {
|
|
770
|
+
avarage: test.avarage,
|
|
771
|
+
date: test.finished_at,
|
|
772
|
+
text: `Finalizou o teste ${test.test.name.toUpperCase()} com nota <b>${test.avarage}</b>`
|
|
773
|
+
};
|
|
774
|
+
|
|
775
|
+
return testData;
|
|
776
|
+
}).filter(item => item);
|
|
777
|
+
|
|
778
|
+
return tests;
|
|
779
|
+
},
|
|
780
|
+
companyHistory() {
|
|
781
|
+
let history = [];
|
|
782
|
+
|
|
783
|
+
let tests = this.userData.tests.map(x => {
|
|
784
|
+
let test = {
|
|
785
|
+
id: x.id,
|
|
786
|
+
date: x.finished_at || x.created_at,
|
|
787
|
+
user: {
|
|
788
|
+
name: this.userData.name
|
|
789
|
+
},
|
|
790
|
+
test: {
|
|
791
|
+
name: x.test.name
|
|
792
|
+
}
|
|
793
|
+
};
|
|
794
|
+
|
|
795
|
+
if (x.finished_at) {
|
|
796
|
+
test.text = `Finalizou o teste ${x.test.name.toUpperCase()} com nota <b>${x.avarage}</b>`;
|
|
797
|
+
test.hasDownload = true;
|
|
798
|
+
} else {
|
|
799
|
+
test.text = `Recebeu o teste ${x.test.name.toUpperCase()}`;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
return test;
|
|
803
|
+
});
|
|
804
|
+
|
|
805
|
+
let courses = this.userData.courses_user.map(x => {
|
|
806
|
+
if (x.finished_at) {
|
|
807
|
+
return{
|
|
808
|
+
date: x.finished_at,
|
|
809
|
+
text: `Finalizou o curso ${x.course.name.toUpperCase()}`
|
|
810
|
+
};
|
|
811
|
+
}
|
|
812
|
+
});
|
|
813
|
+
|
|
814
|
+
let discs = this.userData.solides.map(x => ({
|
|
815
|
+
date: x.end,
|
|
816
|
+
text: 'Realizou um teste DISC'
|
|
817
|
+
}));
|
|
818
|
+
|
|
819
|
+
history = history.concat(tests, discs, courses);
|
|
820
|
+
|
|
821
|
+
return history;
|
|
822
|
+
},
|
|
823
|
+
orderByDate(data) {
|
|
824
|
+
let sortedArray = data.sort((a, b) => {
|
|
825
|
+
a = a.date || '2020-01-01 12:00:00';
|
|
826
|
+
b = b.date || '2020-01-01 12:00:00';
|
|
827
|
+
|
|
828
|
+
return new Date(b).getTime() - new Date(a).getTime();
|
|
829
|
+
});
|
|
830
|
+
|
|
831
|
+
return sortedArray;
|
|
832
|
+
},
|
|
833
|
+
sendContact() {
|
|
834
|
+
this.$emit('open-contact');
|
|
835
|
+
},
|
|
836
|
+
|
|
837
|
+
async getUserFolderData() {
|
|
838
|
+
if (this.isReportsActived) {
|
|
839
|
+
const apiUrl = `${process.env.baseApiUrlV2}/company/buffer/folder/user/${this.userFolderId}`;
|
|
840
|
+
|
|
841
|
+
const data = await this.$axios(apiUrl)
|
|
842
|
+
.then((res) => {
|
|
843
|
+
this.liked = res.data.data.like;
|
|
844
|
+
return res.data;
|
|
845
|
+
})
|
|
846
|
+
.catch(() => {});
|
|
847
|
+
|
|
848
|
+
if (!data) return;
|
|
849
|
+
|
|
850
|
+
this.mountUserReport(data.data);
|
|
851
|
+
}
|
|
852
|
+
},
|
|
853
|
+
|
|
854
|
+
mountUserReport(userData) {
|
|
855
|
+
const annex = userData.annex[0] || undefined;
|
|
856
|
+
const comment = userData.comments[0] || undefined;
|
|
857
|
+
|
|
858
|
+
this.userReportData = {
|
|
859
|
+
annex,
|
|
860
|
+
comment
|
|
861
|
+
};
|
|
862
|
+
},
|
|
863
|
+
haveAnswers(){
|
|
864
|
+
if(this.automation && Object.keys(this.automation).length){
|
|
865
|
+
return true;
|
|
866
|
+
}else{
|
|
867
|
+
this.active = this.activeName;
|
|
868
|
+
return false;
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
},
|
|
872
|
+
computed: {
|
|
873
|
+
currentUser() {
|
|
874
|
+
return this.$store.state.user.currentUser;
|
|
875
|
+
},
|
|
876
|
+
isLocked() {
|
|
877
|
+
return !this.companyHasProduct(
|
|
878
|
+
this.$store.state.loja && this.$store.state.loja.showableProducts && this.$store.state.loja.showableProducts['HISTORICO_USUARIO'] || false
|
|
879
|
+
);
|
|
880
|
+
},
|
|
881
|
+
companyHasAutomation() {
|
|
882
|
+
return this.companyHasProduct(
|
|
883
|
+
this.$store.state.loja && this.$store.state.loja.showableProducts && this.$store.state.loja.showableProducts['TRIAGEM_AUTOMATICA'] || false
|
|
884
|
+
);
|
|
885
|
+
},
|
|
886
|
+
hasAutomation() {
|
|
887
|
+
return this.automation && Object.values(this.automation).length > 0 || false;
|
|
888
|
+
},
|
|
889
|
+
activeTab() {
|
|
890
|
+
let activeTab = this.activeName;
|
|
891
|
+
|
|
892
|
+
if (this.jobId && this.companyHasAutomation && this.hasAutomation) {
|
|
893
|
+
if (activeTab == 'history') {
|
|
894
|
+
activeTab = 'melissa';
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
return activeTab;
|
|
899
|
+
},
|
|
900
|
+
likeStatus() {
|
|
901
|
+
return this.liked;
|
|
902
|
+
},
|
|
903
|
+
}
|
|
904
|
+
};
|
|
905
|
+
</script>
|
|
906
|
+
<style>
|
|
907
|
+
.el-tabs__nav-wrap.is-top::after {
|
|
908
|
+
background: #fff !important;
|
|
909
|
+
}
|
|
910
|
+
.remove-baloon{
|
|
911
|
+
cursor: pointer;
|
|
912
|
+
}
|
|
913
|
+
.el-tabs__active-bar.is-top {
|
|
914
|
+
width: 30px !important;
|
|
915
|
+
height: 4px !important;
|
|
916
|
+
border-radius: 10px 10px 0px 0px;
|
|
917
|
+
}
|
|
918
|
+
</style>
|
|
919
|
+
|
|
920
|
+
<style lang="scss">
|
|
921
|
+
.swal2-title {
|
|
922
|
+
font-size: 1rem !important;
|
|
923
|
+
}
|
|
924
|
+
.swal2-container {
|
|
925
|
+
z-index: 5000 !important;
|
|
926
|
+
}
|
|
927
|
+
</style>
|
|
928
|
+
|
|
929
|
+
<style lang="scss" scoped>
|
|
930
|
+
@import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
|
|
931
|
+
|
|
932
|
+
/deep/.dropzone {
|
|
933
|
+
width: 95%;
|
|
934
|
+
|
|
935
|
+
.dz-message {
|
|
936
|
+
padding: 2rem 1rem !important;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
button.dz-button {
|
|
940
|
+
background-color: transparent;
|
|
941
|
+
border: 0;
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
.evaluation-area{
|
|
945
|
+
margin-bottom: 16px;
|
|
946
|
+
display: grid;
|
|
947
|
+
grid-template-columns: repeat(2, 95px);
|
|
948
|
+
@media (max-width:1155px){
|
|
949
|
+
grid-template-columns: 1fr;
|
|
950
|
+
}
|
|
951
|
+
.action{
|
|
952
|
+
display: grid;
|
|
953
|
+
grid-template-columns: 2rem 1fr;
|
|
954
|
+
align-items: center;
|
|
955
|
+
white-space: nowrap;
|
|
956
|
+
user-select: none;
|
|
957
|
+
.icon {
|
|
958
|
+
width: 2rem !important;
|
|
959
|
+
margin-bottom: 0;
|
|
960
|
+
}
|
|
961
|
+
@media (max-width: 1440px) {
|
|
962
|
+
justify-content:start;
|
|
963
|
+
}
|
|
964
|
+
@media (max-width:1155px){
|
|
965
|
+
width: 7rem;
|
|
966
|
+
margin-bottom: 0 !important;
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
&__text {
|
|
970
|
+
font-size: 0.8rem;
|
|
971
|
+
color: #32325D;
|
|
972
|
+
margin-left: 0.35rem;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
.active-icon {
|
|
976
|
+
font-size: 25px;
|
|
977
|
+
color: #AEB0B7;
|
|
978
|
+
transition: color 0.25s;
|
|
979
|
+
cursor: pointer;
|
|
980
|
+
&.active{
|
|
981
|
+
color:#fff;
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
/deep/ .el-tab-pane {
|
|
986
|
+
height: 760px;
|
|
987
|
+
max-height: 760px;
|
|
988
|
+
overflow: hidden;
|
|
989
|
+
overflow-y: auto;
|
|
990
|
+
position: relative;
|
|
991
|
+
|
|
992
|
+
> .notes-title {
|
|
993
|
+
position: sticky;
|
|
994
|
+
position: -webkit-sticky;
|
|
995
|
+
top: 0;
|
|
996
|
+
background: white;
|
|
997
|
+
padding: 10px 0;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
> .input-container {
|
|
1001
|
+
position: sticky;
|
|
1002
|
+
position: -webkit-sticky;
|
|
1003
|
+
bottom: 0;
|
|
1004
|
+
background: white;
|
|
1005
|
+
> .input-icon {
|
|
1006
|
+
cursor: pointer;
|
|
1007
|
+
position: absolute;
|
|
1008
|
+
top: 50%;
|
|
1009
|
+
right: 30px;
|
|
1010
|
+
transform: translateY(-50%);
|
|
1011
|
+
color: #c8c8c8;
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
&::-webkit-scrollbar {
|
|
1016
|
+
width: 8px;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
&::-webkit-scrollbar-track {
|
|
1020
|
+
background: #f5f5f5;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
&::-webkit-scrollbar-thumb {
|
|
1024
|
+
background: #e9e8e8;
|
|
1025
|
+
border-radius: 10px;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
.archive-content {
|
|
1029
|
+
width: 95%;
|
|
1030
|
+
|
|
1031
|
+
p {
|
|
1032
|
+
margin-bottom: 0;
|
|
1033
|
+
font-size: 0.875rem;
|
|
1034
|
+
padding: .3rem .6rem 0 .6rem;
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
.archive-container {
|
|
1038
|
+
display: flex;
|
|
1039
|
+
align-items: center;
|
|
1040
|
+
padding: 0.5rem 0.5rem 0.438rem;
|
|
1041
|
+
cursor: pointer;
|
|
1042
|
+
user-select: none;
|
|
1043
|
+
|
|
1044
|
+
&:hover{
|
|
1045
|
+
background-color: #f6f9fc;
|
|
1046
|
+
border-radius: 5px;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
.archive-img {
|
|
1050
|
+
background-color: #f5f5f5;
|
|
1051
|
+
border-radius: 6px;
|
|
1052
|
+
padding: 7px;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
.archive-name {
|
|
1056
|
+
display: flex;
|
|
1057
|
+
margin-left: .8rem;
|
|
1058
|
+
width: 145%;
|
|
1059
|
+
justify-content: space-between !important;
|
|
1060
|
+
|
|
1061
|
+
.archive-icon {
|
|
1062
|
+
margin-left: 1.5rem;
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
p {
|
|
1066
|
+
margin: 0;
|
|
1067
|
+
padding: 0;
|
|
1068
|
+
width: 13rem;
|
|
1069
|
+
white-space: nowrap;
|
|
1070
|
+
overflow: hidden;
|
|
1071
|
+
text-overflow: ellipsis;
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
.upload-container {
|
|
1076
|
+
position: sticky;
|
|
1077
|
+
position: -webkit-sticky;
|
|
1078
|
+
bottom: 0;
|
|
1079
|
+
background: white;
|
|
1080
|
+
width: 231px;
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
.archive-buttons {
|
|
1086
|
+
display: flex;
|
|
1087
|
+
margin-top: -1rem;
|
|
1088
|
+
width: 95%;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
.archive-remove {
|
|
1092
|
+
width: 90%;
|
|
1093
|
+
word-break: break-word;
|
|
1094
|
+
}
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
/deep/ .el-tabs__nav-scroll {
|
|
1098
|
+
display: flex;
|
|
1099
|
+
justify-content: stretch;
|
|
1100
|
+
align-items: flex-start;
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
/deep/ .el-tabs__item {
|
|
1104
|
+
padding: 0 1.5rem !important;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
/deep/ .el-tabs__nav {
|
|
1108
|
+
width: 100% !important;
|
|
1109
|
+
user-select: none;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
@media (max-width: 1520px) {
|
|
1113
|
+
/deep/ .el-tabs__item {
|
|
1114
|
+
padding: 0 1.2rem !important;
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
@media (max-width: 1340px) {
|
|
1118
|
+
/deep/ .el-tabs__item {
|
|
1119
|
+
padding: 0 1rem !important;
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
@media (max-width: 1240px) {
|
|
1123
|
+
/deep/ .el-tabs__item {
|
|
1124
|
+
padding: 0 0.8rem !important;
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
@media (max-width: 1140px) {
|
|
1128
|
+
/deep/ .el-tabs__item {
|
|
1129
|
+
padding: 0 0.6rem !important;
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
.readmore {
|
|
1134
|
+
overflow: hidden;
|
|
1135
|
+
text-overflow: ellipsis;
|
|
1136
|
+
display: -webkit-box;
|
|
1137
|
+
-webkit-line-clamp: 3;
|
|
1138
|
+
-webkit-box-orient: vertical;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
.tab__icon-pane {
|
|
1142
|
+
.img__icon-pane {
|
|
1143
|
+
background-color: #f5f5f5 !important;
|
|
1144
|
+
border-radius: 30%;
|
|
1145
|
+
padding: 7px;
|
|
1146
|
+
height: 2.2rem;
|
|
1147
|
+
width: 2.2rem;
|
|
1148
|
+
margin-bottom: 1rem;
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
.content-right {
|
|
1153
|
+
width: 25%;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
.notes-title {
|
|
1157
|
+
font-size: 14px;
|
|
1158
|
+
word-break: break-word;
|
|
1159
|
+
color: #1d364b;
|
|
1160
|
+
font-weight: bold;
|
|
1161
|
+
background-color: white;
|
|
1162
|
+
z-index: 500;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
.notes-baloon {
|
|
1166
|
+
width: 231px;
|
|
1167
|
+
height: auto;
|
|
1168
|
+
border-radius: 10px 10px 10px 0;
|
|
1169
|
+
background: #eff5fd;
|
|
1170
|
+
&.fullsize {
|
|
1171
|
+
width: 80%!important;
|
|
1172
|
+
min-width: 280px;
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
.notes-baloon-melissa {
|
|
1176
|
+
padding: 5px 0;
|
|
1177
|
+
.question-melissa-title{
|
|
1178
|
+
font-size: 12px !important;
|
|
1179
|
+
color:#62778c;
|
|
1180
|
+
span {
|
|
1181
|
+
word-break: break-word;
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
.notes-text-melissa {
|
|
1185
|
+
font-size: 0.875rem;
|
|
1186
|
+
color: #1d364b;
|
|
1187
|
+
font-weight: bold;
|
|
1188
|
+
}
|
|
1189
|
+
&.fullsize {
|
|
1190
|
+
width: 80%!important;
|
|
1191
|
+
min-width: 280px;
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
.notes-text {
|
|
1196
|
+
p {
|
|
1197
|
+
font-size: 13px;
|
|
1198
|
+
color: #62778c;
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
.notes-date {
|
|
1203
|
+
font-size: 11px;
|
|
1204
|
+
text-align: right;
|
|
1205
|
+
|
|
1206
|
+
color: #8da2b5;
|
|
1207
|
+
top: calc(50% - 17px / 2 - 444.5px);
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
.notes-owner {
|
|
1211
|
+
img {
|
|
1212
|
+
width: 23px;
|
|
1213
|
+
height: 23px;
|
|
1214
|
+
border-radius: 50%;
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
.notes-avatar {
|
|
1218
|
+
width: 23px;
|
|
1219
|
+
height: 23px;
|
|
1220
|
+
border-radius: 50%;
|
|
1221
|
+
background-color: #adb5bd;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
p {
|
|
1225
|
+
font-size: 13px;
|
|
1226
|
+
font-weight: 600;
|
|
1227
|
+
text-transform: uppercase;
|
|
1228
|
+
|
|
1229
|
+
color: #62778c;
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
.notes-new {
|
|
1234
|
+
width: 95%;
|
|
1235
|
+
height: 33px;
|
|
1236
|
+
|
|
1237
|
+
background: #f5f5f5;
|
|
1238
|
+
border-radius: 16.5px;
|
|
1239
|
+
border: none;
|
|
1240
|
+
|
|
1241
|
+
outline: 0;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
.line {
|
|
1245
|
+
width: 221px;
|
|
1246
|
+
height: 0px;
|
|
1247
|
+
|
|
1248
|
+
border: 1px solid #ececec5c;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
.history {
|
|
1252
|
+
word-break: break-word;
|
|
1253
|
+
|
|
1254
|
+
.history-text {
|
|
1255
|
+
font-size: 13px;
|
|
1256
|
+
color: #62778c;
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
span {
|
|
1260
|
+
font-size: 11px;
|
|
1261
|
+
line-height: 16px;
|
|
1262
|
+
|
|
1263
|
+
color: #8da2b5;
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
.cursor-disabled {
|
|
1268
|
+
cursor: no-drop;
|
|
1269
|
+
}
|
|
1270
|
+
</style>
|