{"version":3,"sources":["webpack:///./src/views/Statement/StatementPage.vue?760b","webpack:///./src/common/employee/employeeHelpers.js","webpack:///./src/common/download/downloadHelpers.js","webpack:///./src/views/Statement/StatementPage.vue?df96","webpack:///src/views/Statement/StatementPage.vue","webpack:///./src/views/Statement/StatementPage.vue","webpack:///./src/components/WorkflowActions.vue?94a8","webpack:///./src/components/VTextFieldEng.vue?e0fc","webpack:///./src/components/VTextFieldEng.vue?4bf6","webpack:///src/components/VTextFieldEng.vue","webpack:///./src/components/VTextFieldEng.vue","webpack:///./src/components/EgDocument.vue?af97","webpack:///./src/components/uikit/Alert/UiAlert/UiAlert.vue?059f","webpack:///./src/views/Statement/StatementPage.vue?dfd8","webpack:///./src/common/hooks.js","webpack:///./src/components/uikit/Alert/UiAlert/index.js","webpack:///./src/common/documentSection/documentTableHelpers.js","webpack:///./src/components/FileLoader.vue?d794","webpack:///./src/components/EgDocument.vue?b4d8","webpack:///./src/components/uikit/Buttons/ButtonIconRefresh/ButtonIconRefresh.vue?0035","webpack:///./src/components/uikit/Buttons/ButtonIconRefresh/ButtonIconRefresh.vue?62ab","webpack:///src/components/uikit/Buttons/ButtonIconRefresh/ButtonIconRefresh.vue","webpack:///./src/components/uikit/Buttons/ButtonIconRefresh/ButtonIconRefresh.vue","webpack:///./src/components/uikit/Buttons/ButtonIconRefresh/ButtonIconRefresh.vue?13d1","webpack:///./src/views/Statement/StatementPage.vue?3e26","webpack:///./src/common/document/useDocument.js","webpack:///./src/components/WorkflowActions.vue?aea7","webpack:///./src/common/actionCheck.js","webpack:///./src/components/WorkflowActions.vue?feed","webpack:///src/components/WorkflowActions.vue","webpack:///./src/common/device/checkDevice.js","webpack:///./src/components/WorkflowActions.vue","webpack:///./src/components/VTextFieldEng.vue?e451","webpack:///./src/components/VTextareaEng.vue?6134","webpack:///./src/components/VTextareaEng.vue?15d3","webpack:///src/components/VTextareaEng.vue","webpack:///./src/components/VTextareaEng.vue","webpack:///./src/components/PrintManager.vue?6904","webpack:///./src/components/PrintManager.vue?fc7a","webpack:///src/components/PrintManager.vue","webpack:///./src/components/PrintManager.vue","webpack:///./src/components/FileUploader.vue?9191","webpack:///./src/components/FileUploader.vue?64cb","webpack:///src/components/FileUploader.vue","webpack:///./src/components/FileUploader.vue","webpack:///./src/components/uikit/Buttons/ButtonPlus/ButtonPlus.vue?3411","webpack:///./src/components/uikit/Buttons/ButtonPlus/ButtonPlus.vue?3295","webpack:///src/components/uikit/Buttons/ButtonPlus/ButtonPlus.vue","webpack:///./src/components/uikit/Buttons/ButtonPlus/ButtonPlus.vue","webpack:///./src/components/uikit/Buttons/ButtonPlus/index.js","webpack:///./src/components/uikit/Alert/UiAlert/UiAlert.vue?0a01","webpack:///./src/components/EgDocument.vue?3c91","webpack:///./src/components/EgDocument.vue?134b","webpack:///src/components/EgDocument.vue","webpack:///./src/components/EgDocument.vue","webpack:///./src/components/uikit/Buttons/ButtonDownloadDoc/ButtonDownloadDoc.vue?7dad","webpack:///./src/components/uikit/Buttons/ButtonDownloadDoc/ButtonDownloadDoc.vue?c25d","webpack:///src/components/uikit/Buttons/ButtonDownloadDoc/ButtonDownloadDoc.vue","webpack:///./src/components/uikit/Buttons/ButtonDownloadDoc/ButtonDownloadDoc.vue","webpack:///./src/components/WorkflowActions.vue?c6a6","webpack:///./src/components/FileLoader.vue?15e3","webpack:///./src/components/uikit/Buttons/ButtonPrint/ButtonPrint.vue?8b37","webpack:///src/components/uikit/Buttons/ButtonPrint/ButtonPrint.vue","webpack:///./src/components/uikit/Buttons/ButtonPrint/ButtonPrint.vue","webpack:///./src/components/uikit/Buttons/ButtonPrint/ButtonPrint.vue?49c2","webpack:///./src/components/FileLoader.vue?889a","webpack:///src/components/FileLoader.vue","webpack:///./src/components/FileLoader.vue","webpack:///./src/components/PrintManager.vue?8a67","webpack:///./src/common/notification/useNotification.js","webpack:///./src/components/EgDocument.vue?6c28","webpack:///./src/components/FileLoader.vue?f19b","webpack:///./src/components/EgDocument.vue?c09d","webpack:///./src/components/FileLoader.vue?9c55","webpack:///./src/common/paper/useDocumentSign.js","webpack:///./src/components/uikit/Alert/UiAlert/UiAlert.vue?4187","webpack:///./src/components/uikit/Alert/UiAlert/UiAlert.vue"],"names":["date","today","moment","format","userStartDate","isAfter","diff","employeeId","store","state","app","subordination","find","i","employee_id","createLink","data","filename","contentType","link","document","createElement","newBlob","Blob","type","href","window","URL","createObjectURL","setAttribute","body","appendChild","click","downloadFile","fileName","a","param","client","code","method","path","clientCode","client_code","name","DownloadFileService","get","response","Error","decodeURI","headers","split","commit","text","debug","components","EgDocument","VTextareaEng","ButtonIconRefresh","ButtonDownloadDoc","setup","resetText","alertText","computed","role","roleHelpers","isHr","this","isEng","localeHelpers","documentTypes","hooksDocument","documentType","documentHelpers","isAvailableDownloadFile","getObjectId","dictionaryStatementItem","availableWorkflow","dismissalTypeId","docsCrosscheckExclude","hooks","isTypeDismissal","calendarLabel","user","isProbationaryPeriod","minDate","documentTypeAlertText","isInfoBlock","status","isFillingTextDictionary","isFillingText","countingLineBreaks","rules","period","correct_type","other_documents_exists","methods","beforeSave","model","statement_date","start_date","text_eng","setStatementText","isStatementInfoField","setTimeout","setDefaultDate","changeDocumentType","component","_vm","_h","$createElement","_c","_self","attrs","$t","section","on","afterInit","scopedSlots","_u","key","fn","class","$style","Info","InfoText","_v","_s","_e","InfoIconList","editableWorkflow","$event","handleDownloadStatement","locale","valueEng","value","callback","$$v","$set","expression","proxy","context","locals","module","exports","props","eng","watch","mounted","setEng","changeLocale","update","$emit","updateCombobox","item","itemText","_b","$attrs","label","hint","ref","_g","staticClass","_l","index","nativeOn","apply","arguments","checkRoleGF","auth","paramGF","gf_manager_as_manager","roles","profile","isGF","Number","includes","getDocumentsCrosscheckExclude","category","docsExclude","documents_crosscheck_exclude","objectsData","docs","timesheets","length","categoryData","filter","layout","excludeDocsList","map","element","trim","uniqueList","helpers","getUniqueValue","some","list","forEach","object_table","push","checkDomesticBTrip","doc","paramCIS","btrip_CIS_typelist","getRoleByRouteMeta","meta","sub","hr","rev","UiAlert","showError","color","timeout","checkCanCreateTableItemByStatus","workflow","workflowSectionList","Object","keys","workflowList","workflowItem","status_id","object_id","object","STATUS_NAME","empty","editable","AppTooltip","tooltipText","String","default","isDisabled","Boolean","emits","rotation","handleClick","emit","style","useDocument","getters","useStore","route","useRoute","tt","useLanguage","isRev","requestTypeName","docDescription","statuses","APP_GET_PROP","docStatus","id","statusText","docDate","docStatusDate","status_date","employeeName","getInitials","getEmployeeName","getStatusDate","getDocDate","getRequestTypeName","getDocDescription","getStatusText","getWorkflowList","objectId","APP_GET_AVAILABLE_WORKFLOW","business_role","all_types","document_type_id","check","vacation_schedule","paramData","message","console","log","vacation_validate_full_month","next_status_id","vacations","vacation_schedule_period","replaced","replaced_vacation_ids","totalDays","totalWeekendDays","vacationItem","document_type_name_eng","days","weekendDays","APP_GET_DATEDIFF","startDate","endDate","end_date","dailyInfo","allowedWeekendDays","i18n","t","vacation_validate_unallocated_schedule","vacationLimits","limitItem","vacationsByType","reduce","sum","unsaved","norma","checkActionForbiddenPeriod","prepareData","updateItem","getProfile","registrator_id","workflow_id","creator_id","organization_id","message_text","comment_text","message_text_eng","comment_text_eng","indicators","vacation_validate_process_schedule_together","TableService","add","router","reject","vacation_correction","vacation2","vacation_validate_unallocated_correction","parentVacations","indexOf","parentDays","childVacations","childDays","nextStatus","vacation_validate_process_correction_together","vacation","getDocumentTypeData","documentTypeCode","isForSign","signHelpers","checkIsSignWorkflow","comments","comments_eng","commentsEng","validateComment","getTextByAlias","files","checkFileAttached","overtime","docType","isNextWorkflow","detail","checkbox_work_agreement_actioncheck_require","details","work_on_holiday_agreement","checkbox_denial_confirm_actioncheck_require","work_denial_confirm","btrip","warningText","is_weekend_included","isBtripMultiDestination","isBtripRequireExpense","btrip_require_expense","btripDateDisable","btrip_date_disable","docDetails","tripList","trip_destination_requests","tripListLast","lastTripLeaveDate","leave_on","innerText","checkValidDocument","otherBtripsWithoutExpence","dateBtripDateDisable","checkDocument","estimate","goalsList","goals","valuationList","valuation","goalsWeight","goalsWeightTotal","planningGoalsWeight","planningGoalsWeightTotal","planningGoalsList","planningGoals","formLayoutTabs","layoutTabList","layout_tab","findTab","isPlanningGoalsTab","isGoalsTab","isTypeYearly","isTypeInterim","isFinal","is_final","isGoalsList","isGoalsWeight","isPlanningGoalsWeight","isPlanGoalsList","isGoalSelfEsteem","isGoalAssessment","isValuationSelfEsteem","isValuationAssessment","isVinyl","url","history","current","selfEsteem","self_esteem","assessment","checkSubFields","checkEmployeeFields","material_assistance","absence","absence_validate","sickleave","paramHelpers","paramCheckSickleaveNumberOnClose","statement","statements","errorAlias","dismissalType","ModalSigning","FileLoader","documentName","disabled","loading","Array","isRejectPrimary","isPrevStepDisabled","isLocalSigning","showErrorNotification","$store","isSignature","sort","removePrevStep","buttonSaveIndex","isSigningDocument","fileLoaderDocument","signingDocument","documentTypeList","submitMessageDialog","val","editableItem","processFinal","workflowColor","getRequestData","dispatch","request_type_code","requestTypeCode","test","navigator","userAgent","Workflow","btnClass","loadingLocal","$vuetify","breakpoint","smAndDown","undefined","handleChangeWorkflow","isLocalModalSigning","process","showMessageDialog","modelMessage","handleFileLoaderClose","downloadOptions","modelValue","slotAppend","messageText","isWebpack","documentId","pdfSelected","pdfItems","selectedItems","singleSelect","created","disable_xlsx","formats","init","show","showDialog","close","showFrame","reportUrl","then","print","preview","loaderOptions","file","template","title","name_eng","items","isSelected","select","formatItem","bus","listFiles","$on","save","onFilePicked","fr","addEventListener","count","size","uploadMaxFilesize","readAsArrayBuffer","submitFiles","submittedFiles","fileInList","deleted","formData","append","f","filesToAdd","filesToDel","findIndex","directives","rawName","outlined","$refs","fileInput","icon","isHover","buttonColor","iconColor","handleButtonAdd","stopPropagation","ButtonPlus","documentNameSpecial","documentsName","titleIcon","showAdjust","tabs","validatedItems","actionItems","types","hints","showPeriod","periodRange","showDays","showHours","showReason","author","calendarAllowedDates","calendarMinDate","calendarMaxDate","calendarDaysType","businessRole","isSpecialRole","Function","isAvailableChangeWorkflow","persistantPeriodHint","persistantPeriodHintText","documentCountsOnDate","isButtonNewDocument","isEmployeeFieldDisabled","isWorkflowVisible","VTextFieldEng","WorkflowActions","PrintManager","FileUploader","StepBack","UiLoader","number","hours","employee_name","employee_name_eng","own","refMessages","getMessages","tab","sectionIcon","pageTitle","createInfoText","isCreateInfoText","paramCommentLength","getFormattedDate","getDateWithHoursAndMinutes","businessRoleInSetup","messagesList","refDocuments","messageItems","isLoadingMessages","handleClose","queryPath","query","step","back","tabsLocal","modelPeriodStart","modelPeriod","modelPeriodEnd","calendars","employee","getEmployee","businessRoleLocal","isReviewer","isManager","manager_id","manager_as_employee","isCandidate","isEmployee","commentHint","documentTypeHint","isDocumentTypeHint","w","responsible_id","periodFormatted","calendarDays","modelHints","reason","modelRules","empty_document_type","empty_employee","empty_comment","documents","myString","validated","validateArr","isEditableEmployee","maxDate","calendarLabelText","isNewDocAvailable","documentTableHelpers","employeeFilter","changePeriod","modelPeriodTemp","menuPeriod","getManager","manager","document_type","functionEvents","calendarItem","extIcon","extension","clickAdjust","allowedDates","handleSetComment","handleSetCommentEng","getTimesheet","handleCreate","$router","sm","md","lg","mdAndUp","attach_for_all_workflow","tabItem","_t","AlertText","domProps","subordinationItems","changeEmployee","Avatar","photo_link","maxHeight","reason_eng","eventHistoryItems","eventHistoryHeaders","create_date","staticStyle","messageHeaders","hash","original_name","Actions","isLoadingSave","visible","actionItem","changeWorkflow","$slots","ActionAlert","isArchive","downloadIcon","downloadHelpText","e","ButtonPrint","isCards","propsValue","isSignAvailable","isFileSigned","frame","getElementById","modalTitle","fileOriginalName","handler","newValue","oldValue","beforeUnmount","localUrl","download","iframe","contentWindow","iframePrepare","contentDocument","iframeBody","getElementsByTagName","children","img","tagName","width","container","wrapper","card","header","headerTitle","headerButton","inner","iframeScale","content","subtitle","sign","handleOpenModalSigning","useNotification","errorText","useDocumentSign","checkSignAvailable","file_name","checkFileSigned","Content"],"mappings":"mHAAA,I,0LCGe,WAEYA,GACv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4BAC5B1C,SAD4B,UAC5BA,EAAUiU,aADkB,iBAC5B,EAAkB,UADU,iBAC5B,EAAsBsX,iBADM,aAC5B,EAAiC5hB,SAAS,cAqB1CuhB,uBAV6B,SAAClrB,GAC9B+B,EAAO,mBAAoB,CACzB/B,WACAmB,OAAQ,SAQVmqB,mBAfyB,SAACtrB,GAC1B,OAAO0T,IAAY4X,mBAAmBtrB,IAetCwrB,gBApBsB,SAACxrB,GAAa,UACpC,OAAOA,SAAP,UAAOA,EAAUiU,aAAjB,iBAAO,EAAkB,UAAzB,iBAAO,EAAsBsX,iBAA7B,aAAO,EAAiC5hB,SAAS,e,kCChBrD,I,wBCeA,IAAIrE,EAAY,YAdH,IDDA,WAAa,IAAiBE,EAAT1C,KAAgB2C,eAAmBC,EAAnC5C,KAA0C6C,MAAMD,IAAIF,EAAG,OAAOE,EAAG,SAAS,CAACE,MAAM,CAAC,OAAS,OAAO,iBAAiB,GAAG,KAAO,OAAO,MAAQ,UAAU,UAAY,MAAM,CAACF,EAAG,MAAM,CAACW,MAAnLvD,KAA6LwD,OAAOmlB,SAAS,CAA7M3oB,KAAkNqkB,GAAG,YAAY,OAC7O,ICkBpB,GAZF,SAAuB3f,GAErB1E,KAAa,OAAK,UAAO2E,QAAU,YAYnC,KACA,MAIa,IAAAnC,E","file":"js/chunk-46bbd630.3edc3828.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('EgDocument',{attrs:{\"title\":_vm.$t('Statements'),\"document-name\":_vm.section,\"documents-name\":(_vm.section + \"s\"),\"object-id\":_vm.getObjectId,\"types\":_vm.documentTypes,\"rules\":_vm.rules,\"show-period\":false,\"show-days\":false,\"period-range\":false,\"before-save\":_vm.beforeSave,\"calendar-label\":_vm.calendarLabel,\"calendar-min-date\":_vm.minDate,\"document-type-alert-text\":_vm.documentTypeAlertText,\"is-available-change-workflow\":!_vm.isFillingText},on:{\"afterInit\":_vm.afterInit,\"changeDocumentType\":_vm.changeDocumentType},scopedSlots:_vm._u([{key:\"main-document-type-info\",fn:function(){return [(_vm.isInfoBlock)?_c('VRow',[_c('VCol',[_c('div',{class:_vm.$style.Info},[(_vm.isFillingText)?_c('div',{class:_vm.$style.InfoText},[_c('VAlert',{attrs:{\"border\":\"left\",\"colored-border\":\"\",\"color\":\"primary\",\"type\":\"info\",\"elevation\":\"2\"}},[_vm._v(\" \"+_vm._s(_vm.alertText)+\" \")])],1):_vm._e(),_c('div',{class:_vm.$style.InfoIconList},[_c('div',[_c('ButtonIconRefresh',{attrs:{\"tooltip-text\":_vm.resetText,\"is-disabled\":!_vm.editableWorkflow},on:{\"click\":function($event){return _vm.setStatementText()}}})],1),(_vm.isAvailableDownloadFile)?_c('div',[_c('ButtonDownloadDoc',{attrs:{\"hint\":\"Download example request\",\"icon\":\"mdi-text-box-check-outline\"},on:{\"click\":_vm.handleDownloadStatement}})],1):_vm._e()])])])],1):_vm._e(),_c('VRow',[_c('VCol',[(_vm.isStatementInfoField)?_c('VTextareaEng',{attrs:{\"label\":\"Text of the statement\",\"prepend-icon\":\"mdi-text-box-edit\",\"value\":\" \",\"rows\":_vm.countingLineBreaks,\"readonly\":!_vm.editableWorkflow}}):_c('VTextareaEng',{attrs:{\"valueEng\":_vm.model.text_eng,\"label\":\"Text of the statement\",\"prepend-icon\":\"mdi-text-box-edit\",\"readonly\":!_vm.editableWorkflow,\"locale\":_vm.locale,\"rows\":_vm.countingLineBreaks},on:{\"inputEng\":function (valueEng) { return _vm.model.text_eng = valueEng; }},model:{value:(_vm.model.text),callback:function ($$v) {_vm.$set(_vm.model, \"text\", $$v)},expression:\"model.text\"}})],1)],1)]},proxy:true}]),model:{value:(_vm.model),callback:function ($$v) {_vm.model=$$v},expression:\"model\"}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import moment from 'moment';\nimport store from '@/store';\n\nexport default {\n // Проверка на испытательный период\n checkProbationaryPeriod (date) {\n const today = moment().format('YYYY-MM-DD');\n const userStartDate = moment(date).format('YYYY-MM-DD');\n\n // Если заданная дата больше текущей, то не сравнивать\n if (moment(userStartDate).isAfter(today)) {\n return false;\n }\n\n // Найти разницу в месяцах\n const diffInMonths = moment(today).diff(userStartDate, 'months', true);\n\n // Если меньше 3 месяцев, то сотрудник на испытательном периоде\n if (diffInMonths <= 3) {\n return true;\n }\n\n return false;\n },\n\n // Найти пользователя в subordination по его id\n findUser (employeeId) {\n return store?.state?.app?.subordination?.find((i) => i.employee_id === employeeId) ?? {};\n },\n};\n","import store from '@/store';\nimport { DownloadFileService } from '@/common/api.service.js';\n\n// Создать ссылку и скачать файл\nexport const createLink = (data, filename, contentType) => {\n const link = document.createElement('a');\n const newBlob = new Blob([data], { type: contentType });\n\n link.href = window?.URL?.createObjectURL(newBlob) + '#toolbar=0';\n link.setAttribute('download', filename);\n document.body.appendChild(link);\n link.click();\n};\n\n// Запрос на получение файла\nexport const downloadFile = async (fileName, format = 'pdf') => {\n const { code: clientCode = '' } = store?.state?.param?.client ?? {};\n\n const data = {\n method: 'file.get',\n path: `${clientCode}/download/${fileName}`,\n client_code: clientCode,\n format,\n name: fileName,\n };\n\n try {\n const response = await DownloadFileService?.get(data);\n\n if (!response?.data) {\n throw new Error();\n }\n\n const contentType = decodeURI(response?.headers?.['content-type']?.split(';')?.[0]);\n\n createLink(response?.data, fileName, contentType);\n } catch (error) {\n store.commit('MSG_SET_ITEM', {\n text: 'downloadFile - ошибка скачивания файла',\n debug: true,\n });\n }\n};\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StatementPage.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StatementPage.vue?vue&type=script&lang=js&\"","\n
${i18n.t(text)}
`;\n};\n\nexport default {\n\n all_types: function (document, workflow) {\n const myDocType = store.state.app.documentTypes.find(i => i.id === document.document_type_id) // get my document type\n const mySubordinateRecord = store.state.app.subordination.find(i => i.employee_id === document.employee_id && i.type === 'direct') // get my direct subordinate\n return [\n {\n name: 'subordinate_check',\n type: 'error',\n check: () => {\n // отключил для отправки workflow в estimate\n const disabled = true // Если захочешь отключить...\n if (disabled) return false\n if (!document || !document.nextManagerWorkflows) return false // если что-то не так с доком\n if (!workflow || !workflow.next_status_id) return false // если что-то не так с воркфлоу\n if (!myDocType || !myDocType.object_id) return false // если нет доктайпа\n if (document.nextManagerWorkflows.length < 1) return false // manager не может ничего поделать со следующим по workflow статусом, выходим\n if (mySubordinateRecord) return false // manager есть - отрубаемся\n return {\n message: i18n.t('The Manager is not verified by the system. Please contact HR department to proceed'),\n }\n },\n },\n ]\n },\n vacation_schedule: function (document, workflow) {\n const paramData = store.state.param.data\n return [\n {\n type: 'error_ex',\n check: () => {\n return { message: 'Error Example' }\n },\n },\n {\n type: 'warning_ex',\n check: () => {\n return { message: 'Будем продолжать?' }\n },\n },\n {\n type: 'warning_ex',\n check: () => {\n return { message: 'Точно будем продолжать?' }\n },\n callback: () => {\n console.log('Решили точно продолжать')\n },\n },\n {\n type: 'confirm_ex',\n check: () => {\n return { message: 'Будет выполнено параллельное действие' }\n },\n callback: () => {\n console.log('Действие')\n },\n },\n {\n name: 'closed_schedule_period',\n type: 'error',\n check: () => {\n const disabled = true // Временно отключим правило\n if (disabled) return false\n // Процессить заявки в график можно только на периоды больше текущего года\n if (document.type !== 'schedule') return false\n // Только при переходе в статус prepared и назад\n if (workflow.next_status_id !== 'prepared' && workflow.status_id !== 'prepared') return false\n // С этим периодом действия запрещены\n // const currentYear = new Date().getFullYear()\n // if (document.vacation_schedule_period * 1 <= currentYear) {\n // Сейчас любые действия с документами в график запрещены\n const vacationScheduleStart = paramData.vacation_schedule_start || moment(11, 'MM')\n const vacationScheduleEnd = paramData.vacation_schedule_end || moment(paramData.vacation_schedule_start).endOf('year')\n if (!moment().isBetween(vacationScheduleStart, vacationScheduleEnd)) {\n return {\n message: i18n.t('The vacation schedule period is closed'),\n }\n }\n },\n },\n {\n name: 'full_month',\n type: 'error',\n check () {\n // Нельзя отправлять на согласование заявки в график, если нарушается условие 8 выходных на 28 дней\n if (paramData.vacation_validate_full_month !== '1') return false\n if (document.type !== 'schedule' || workflow.business_role !== 'employee') return\n if (workflow.status_id === 'empty' && workflow.next_status_id === 'draft') return\n // Только при переходе в статус prepared\n if (workflow.next_status_id !== 'prepared') return false\n // Не будем ограничиваться ежегодным отпуском по document\n // потому что может передаваться на согласование в график отпуск другого типа\n // и валидация process_schedule_togeter отправит их всех вместе уже без проверки\n const vacations = store.state.app.vacations\n .filter(i =>\n i.employee_id === document.employee_id &&\n i.vacation_schedule_period === document.vacation_schedule_period &&\n (!i.replaced || !i.replaced === '1') &&\n !i.replaced_vacation_ids,\n )\n // Посчитаем количество выходных\n let totalDays = 0\n let totalWeekendDays = 0\n vacations.forEach(vacationItem => {\n // не будем ограничиваться ежегодным отпуском, будем считать ratio по всем видам отпусков в график одного года\n if (vacationItem.document_type_name_eng !== 'Annual paid vacation') return\n totalDays += vacationItem.days * 1\n const weekendDays = store.getters.APP_GET_DATEDIFF({ startDate: vacationItem.start_date, endDate: vacationItem.end_date, dailyInfo: [1, 0, 0, 0, 0, 0, 1] })\n totalWeekendDays += weekendDays\n })\n\n const allowedWeekendDays = (((totalDays * 1 + 2) / 7) | 0) * 2\n if (totalWeekendDays < allowedWeekendDays) {\n return {\n message: i18n.t('Count of used weekends is less than allowed') +\n ` (${totalWeekendDays} < ${allowedWeekendDays})`,\n }\n }\n return false\n },\n },\n {\n name: 'unallocated_schedule_limits',\n type: 'error',\n check () {\n // Нельзя отправлять на согласование заявки в график, если период не полностью распределен\n if (paramData.vacation_validate_unallocated_schedule !== '1') return false\n if (document.type !== 'schedule' || workflow.business_role !== 'employee') return\n if (workflow.status_id === 'empty' && workflow.next_status_id === 'draft') return\n // Только при переходе в статус prepared и назад\n if (workflow.next_status_id !== 'prepared' && workflow.status_id !== 'prepared') return false\n\n // const vacationLimits = store.getters.APP_GET_VACATION_LIMITS\n const vacationLimits = store.state.app.vacationLimits.filter(i =>\n i.period === document.vacation_schedule_period &&\n i.employee_id === document.employee_id,\n )\n\n const vacations = store.state.app.vacations\n .filter(i =>\n i.employee_id === document.employee_id &&\n i.vacation_schedule_period === document.vacation_schedule_period &&\n (!i.replaced || !i.replaced === '1') &&\n !i.replaced_vacation_ids,\n )\n // Выполним проверку по каждому виду отпуска в пределах года\n let message = ''\n vacationLimits.forEach(limitItem => {\n const vacationsByType = vacations.filter(i => i.document_type_id === limitItem.document_type_id)\n let days = 0\n if (vacationsByType.length > 0) {\n days = vacationsByType.reduce((sum, i) => { return sum + 1 * i.days }, 0)\n }\n if (!days) days = 0\n if (document.unsaved && document.document_type_id === limitItem.document_type_id) days = days + document.days\n if (days * 1 < limitItem.norma * 1) {\n message = message + (message ? '+' : '') + `${limitItem.norma * 1 - days * 1}`\n }\n })\n\n if (message) {\n return {\n message: i18n.t('Annual vacation schedule limits are not completely allocated') +\n ` (${i18n.t('Days Rest')}: ${message})` +\n i18n.t('Return to save vacation and create other ones'),\n }\n }\n return false\n },\n },\n {\n name: 'forbidden_period',\n type: 'error',\n check () {\n return checkActionForbiddenPeriod(document, workflow)\n },\n },\n {\n name: 'process_schedule_together',\n type: 'confirm',\n prepareData (updateItem = false) {\n const vacations = store.state.app.vacations\n const data = []\n const profile = store.getters.getProfile\n vacations.forEach(item => {\n if (item.employee_id === document.employee_id &&\n item.type === 'schedule' &&\n item.vacation_schedule_period === document.vacation_schedule_period &&\n (!item.replaced || !(item.replaced === '1')) &&\n !item.replaced_vacation_ids &&\n (\n (workflow.status_id === 'prepared' && item.status_id === 'prepared') ||\n (workflow.status_id === 'draft' && item.status_id === 'draft') ||\n (\n workflow.next_status_id === 'prepared' &&\n (\n item.status_id === 'empty' ||\n item.status_id === 'draft' ||\n item.status_id === 'declined'\n )\n )\n ) &&\n item.type === document.type\n ) {\n data.push({\n object_id: 'vacation_schedule',\n registrator_id: item.id,\n workflow_id: workflow.id,\n status_id: workflow.next_status_id,\n creator_id: profile.id,\n organization_id: item.organization_id,\n message_text: document.comment_text,\n message_text_eng: document.comment_text_eng,\n })\n if (updateItem) {\n item.workflow_id = workflow.id\n item.status_id = workflow.next_status_id\n item.indicators = workflow.indicators\n }\n }\n })\n return data\n },\n check () {\n const {\n business_role: role = '',\n status_id: status = '',\n } = workflow ?? {}\n\n // Сотрудник и руководитель может отправлять заявки в график только все вместе\n if (paramData.vacation_validate_process_schedule_together !== '1') return false\n if (document.type !== 'schedule' || (workflow.business_role !== 'employee' && workflow.business_role !== 'manager')) return false\n if (workflow.status_id === 'empty' && workflow.next_status_id === 'draft') return false\n // Только при переходе в статус prepared и назад для сотрудника\n if (workflow.business_role === 'employee' && workflow.next_status_id !== 'prepared' && workflow.status_id !== 'prepared') return false\n\n // Только для согласования и отклонения для руководителя\n if (\n role === 'manager' &&\n !(\n status === 'prepared' || // FALSE\n status === 'draft'\n )\n ) {\n return false\n }\n\n const data = this.prepareData()\n if (data.length <= (document.unsaved ? 0 : 1)) return false\n return { message: i18n.t('This action will be applied to all the vacation parts. Would you like to continue?') }\n },\n async callback () {\n const data = this.prepareData(true)\n if (data.length > 0) {\n await TableService.add({ object: 'document_status', data })\n\n let link = ''\n\n switch (workflow.business_role) {\n case 'employee':\n link = 'uvacations-own';\n break;\n case 'manager':\n link = 'uvacations-sub';\n break;\n case 'hr':\n link = 'uvacations';\n break;\n\n default:\n link = 'home';\n break;\n }\n\n router.push({ name: link });\n // Обновим статусы в сторе\n // const vacations = store.state.app.vacations\n // data.forEach(item => {\n // const vacation = vacations.find(v => v.id === item.registrator_id)\n // vacation.status_id = item.status_id\n // })\n }\n },\n },\n {\n name: 'early_confirm',\n type: 'warning',\n check: () => {\n // Проверим, если сотрудник подтверждает отпуск, до которого больше 2 месяцев, предупредим чтобы не спешил\n if (document.type !== 'schedule' || workflow.business_role !== 'employee') return false\n if (workflow.next_status_id !== 'confirmed') return false\n const leftMonths = moment(document.start_date).diff(moment(), 'months')\n if (leftMonths < 2) return false\n return { message: i18n.t('It is recommended to confirm the document just before the event. Continue anyway?') }\n },\n },\n {\n name: 'signed_confirm',\n type: 'warning',\n check: () => {\n const disabled = false // Если захочешь отключить...\n if (disabled) return false\n if (!document) return false // если что-то не так с доком\n if (!workflow || !workflow.next_status_id) return false // если что-то не так с воркфлоу\n if (!workflow.next_status_id || workflow.next_status_id !== 'signed' || workflow.reject === '1') return false // только для документа, который отправляется на подписание\n return {\n message: i18n.t('By pressing OK button I confirm that I am informed and agree with the attached vacation order'),\n }\n },\n },\n ]\n },\n vacation_correction: function (document, workflow) {\n const paramData = store.state.param.data\n return [\n {\n name: 'full_month',\n type: 'error',\n check () {\n // Нельзя отправлять на согласование корректировку в график, если нарушается условие 8 выходных на 28 дней\n if (paramData.vacation_validate_full_month !== '1') return false\n if (document.type !== 'correction' || !document.replaced_vacation_ids) return false\n if (workflow.status_id === 'empty' && workflow.next_status_id === 'draft') return\n // Только при переходе в статус prepared\n if (workflow.next_status_id !== 'prepared') return false\n\n const vacations = store.state.app.vacations\n .filter(i =>\n i.employee_id === document.employee_id &&\n i.vacation_schedule_period === document.vacation_schedule_period &&\n (!i.replaced || !i.replaced === '1'),\n // (!i.replaced_vacation_ids || i.id === document.id) &&\n // !document.replaced_vacation_ids.includes(i.id)\n )\n // Исключим из выборки отпуска, который заместились корректировками\n const vacation2 = vacations.filter((vacationItem) =>\n !vacations.find((i) => (i.replaced_vacation_ids || '').includes(vacationItem.id)),\n )\n // Посчитаем количество выходных\n let totalDays = 0\n let totalWeekendDays = 0\n vacation2.forEach(vacationItem => {\n if (vacationItem.document_type_name_eng !== 'Annual paid vacation') return\n totalDays += vacationItem.days * 1\n const weekendDays = store.getters.APP_GET_DATEDIFF({ startDate: vacationItem.start_date, endDate: vacationItem.end_date, dailyInfo: [1, 0, 0, 0, 0, 0, 1] })\n totalWeekendDays += weekendDays\n })\n\n const allowedWeekendDays = (((totalDays * 1 + 2) / 7) | 0) * 2\n if (totalWeekendDays < allowedWeekendDays) {\n return {\n message: i18n.t('Count of used weekends is less than allowed') +\n ` (${totalWeekendDays} < ${allowedWeekendDays})`,\n }\n }\n return false\n },\n },\n {\n name: 'unallocated_correction_days',\n type: 'error',\n check () {\n // Нельзя отправлять на согласование корректировки, если остаток не полностью распределен\n if (paramData.vacation_validate_unallocated_correction !== '1') return false\n if (document.type !== 'correction' || !document.replaced_vacation_ids) return false\n if (workflow.status_id === 'empty' && workflow.next_status_id === 'draft') return false\n // Родительский отпуск\n const parentVacations = store.state.app.vacations\n .filter(i => document.replaced_vacation_ids.indexOf(i.id) > -1)\n let parentDays = 0\n if (parentVacations.length > 0) {\n parentDays = parentVacations.reduce((sum, i) => { return sum + 1 * i.days }, 0)\n }\n if (parentDays === document.days * 1) return false\n // Ищем все корректировки родительского отпуска\n const childVacations = store.state.app.vacations\n .filter(i => i.replaced_vacation_ids && i.replaced_vacation_ids.indexOf(parentVacations[0].id) > -1)\n let childDays = 0\n if (childVacations.length > 0) {\n childDays = childVacations.reduce((sum, i) => { return sum + 1 * i.days }, 0)\n }\n if (document.unsaved) childDays = childDays + document.days\n if (parentDays === childDays) return false\n return {\n message: i18n.t('The are vacation days after correction') +\n ` (${i18n.t('Days Rest')}: ${parentDays - childDays})` +\n i18n.t('Return to save vacation and create other ones'),\n }\n },\n },\n {\n name: 'forbidden_period',\n type: 'error',\n check () {\n return checkActionForbiddenPeriod(document, workflow)\n },\n },\n {\n name: 'process_correction_together',\n type: 'confirm',\n prepareData (updateItem = false) {\n const data = []\n const profile = store.getters.getProfile\n\n // Родительский отпуск\n const parentVacations = store.state.app.vacations\n .filter(i => document.replaced_vacation_ids.indexOf(i.id) > -1)\n // Ищем все корректировки родительского отпуска\n const childVacations = store.state.app.vacations\n .filter(i => i.replaced_vacation_ids && i.replaced_vacation_ids.indexOf(parentVacations[0].id) > -1)\n childVacations.forEach(item => {\n data.push({\n object_id: 'vacation_correction',\n registrator_id: item.id,\n workflow_id: workflow.id,\n status_id: workflow.next_status_id,\n creator_id: profile.id,\n organization_id: item.organization_id,\n })\n if (updateItem) {\n item.workflow_id = workflow.id\n item.status_id = workflow.next_status_id\n item.indicators = workflow.indicators\n }\n })\n return data\n },\n check () {\n const { business_role: role = '', next_status_id: nextStatus = '', status_id: status = '' } = workflow ?? {}\n // Сотрудник может отправлять корректировки только все вместе\n if (paramData.vacation_validate_process_correction_together !== '1') return false\n if (document.type !== 'correction') return false\n if (workflow.status_id === 'empty' && workflow.next_status_id === 'draft') return false\n if (\n role !== 'employee' &&\n role !== 'manager' &&\n role !== 'hr'\n ) return false\n // Только при переходе в статус prepared и назад для сотрудника\n if (workflow.business_role === 'employee' && workflow.next_status_id !== 'prepared' && workflow.status_id !== 'prepared') return false\n\n // Только для согласования и отклонения для руководителя\n if (\n role === 'manager' &&\n !(\n status === 'prepared' ||\n status === 'draft'\n )\n ) {\n return false\n }\n\n if (\n role === 'hr' &&\n nextStatus !== 'agreed' &&\n status !== 'draft'\n ) return false\n const data = this.prepareData()\n if (data.length <= (document.unsaved ? 0 : 1)) return false\n return { message: i18n.t('All vacation parts to this correction will be sent. Continue?') }\n },\n callback () {\n const data = this.prepareData(true)\n if (data.length > 0) {\n TableService.add({ object: 'document_status', data })\n }\n },\n },\n {\n name: 'signed_confirm',\n type: 'warning',\n check: () => {\n const disabled = false // Если захочешь отключить...\n if (disabled) return false\n if (!document) return false // если что-то не так с доком\n if (!workflow || !workflow.next_status_id) return false // если что-то не так с воркфлоу\n if (!workflow.next_status_id || workflow.next_status_id !== 'signed' || workflow.reject === '1') return false // только для документа, который отправляется на подписание\n return {\n message: i18n.t('By pressing OK button I confirm that I am informed and agree with the attached vacation order'),\n }\n },\n },\n ]\n },\n vacation: function (document, workflow) {\n const documentType = documentHelpers?.getDocumentTypeData(document)\n const documentTypeCode = documentType?.code ?? ''\n const isForSign = signHelpers.checkIsSignWorkflow(workflow)\n const isEng = localeHelpers.isEng()\n\n return [\n {\n name: 'empty_comment',\n type: 'error',\n check: () => {\n const { comments = '', comments_eng: commentsEng = '' } = document ?? {}\n if (!documentHelpers.validateComment(document, documentType)?.length) return false;\n\n if (isEng && commentsEng?.length) return false\n\n if (!isEng && comments?.length) return false\n\n return {\n message: i18n.t('Fill in the \"Comment\" field'),\n }\n },\n },\n {\n name: 'include_file_by_document_type',\n type: 'error',\n check: () => {\n const message = localeHelpers.getTextByAlias(`attach_require_${documentTypeCode}_hint`)\n\n // Проверять только документы без подписания\n if (!isForSign) {\n if (!document?.files) return false // если что-то не так с файлами\n if (!documentTypeCode) return false // если нет доктайпа\n if (documentType?.object_id !== 'vacation') return false // если мы не в отпусках ¯\\_(ツ)_/¯\n if (workflow?.status_id === 'empty' && workflow?.next_status_id === 'draft') return false // дадим сохранить первый раз\n if (workflow?.next_status_id === 'processed') return false // только для документа, который не на обработку\n if (documentHelpers.checkFileAttached(document)) return false;\n } else {\n return false\n }\n return {\n message,\n }\n },\n },\n {\n name: 'forbidden_period',\n type: 'error',\n check () {\n return checkActionForbiddenPeriod(document, workflow)\n },\n },\n {\n name: 'signed_confirm',\n type: 'warning',\n check: () => {\n const disabled = false // Если захочешь отключить...\n if (disabled) return false\n if (!document) return false // если что-то не так с доком\n if (!workflow || !workflow.next_status_id) return false // если что-то не так с воркфлоу\n if (!workflow.next_status_id || workflow.next_status_id !== 'signed' || workflow.reject === '1') return false // только для документа, который отправляется на подписание\n return {\n message: i18n.t('By pressing OK button I confirm that I am informed and agree with the attached vacation order'),\n }\n },\n },\n ]\n },\n overtime: function (document, workflow) {\n const docType = store?.state?.app?.documentTypes?.find(i => i.id === document?.document_type_id)\n const isNextWorkflow = !Number(workflow?.reject)\n\n return [\n {\n name: 'work_on_holiday_agreement',\n type: 'error',\n check: () => {\n if (docType?.object_id !== 'overtime') return false\n if (\n !workflow?.detail?.checkbox_work_agreement_actioncheck_require ||\n !isNextWorkflow\n ) {\n return false\n }\n\n // Проверка на наличие согласия выхода на работу только для статусов \"Дальше\"\n if (document?.details?.work_on_holiday_agreement) {\n return false\n }\n\n return {\n message: i18n.t('Work on holiday agreement check is mandatory'),\n }\n },\n },\n {\n name: 'work_denial_confirm',\n type: 'error',\n check: () => {\n if (docType?.object_id !== 'overtime') return false\n if (!workflow?.detail?.checkbox_denial_confirm_actioncheck_require) {\n return false\n }\n\n if (document?.details?.work_denial_confirm) {\n return false\n }\n\n return {\n message: i18n.t('Agree to the clause about the right to refuse work'),\n }\n },\n },\n {\n name: 'include_file_by_document_type',\n type: 'error',\n check: () => {\n if (!document?.files) return false\n if (!docType?.code) return false\n if (docType?.object_id !== 'overtime') return false\n if (!workflow.next_status_id || (workflow.next_status_id !== 'prepared' && workflow.next_status_id !== 'agreed')) return false // только для документа, который отправляется на согласование от сотрудников или для согласованных руководителями\n if (documentHelpers.checkFileAttached(document)) return false;\n return {\n message: i18n.t('The agreement paper has to be submitted for this type of overtime'),\n }\n },\n },\n {\n name: 'sent_to_hr_confirm',\n type: 'alert',\n check: () => {\n if (!document?.files) return false\n if (!docType?.code) return false\n if (docType?.object_id !== 'overtime') return false\n if (!workflow.next_status_id || workflow.next_status_id !== 'prepared' || workflow.reject === '1') return false // только для документа, который отправляется на согласование\n if (documentHelpers.checkFileAttached(document)) return false;\n return {\n message: i18n.t('The original agreement paper has to be sent to HR'),\n }\n },\n },\n ]\n },\n btrip: function (document, workflow) {\n const paramData = store.state.param.data // get some params\n const warningText = `\n
${i18n.t('Please note that the employee has chosen the \"Stay on the weekend\" option.')}
\n${i18n.t('To confirm the approval - click \"Yes\"')}
\n${i18n.t('To cancel the approval - click \"No\" and decline the business trip request')}
`\n\n let message = '';\n\n return [\n {\n name: 'signed_confirm',\n type: 'warning',\n check: () => {\n // при согласовании если выбран чекбокс \"остаться на выходные\" (только для руководителя)\n if (!document.sub) return false\n if (workflow?.next_status_id !== 'agreed') return false\n if (!document?.details?.is_weekend_included) return false\n if (documentHelpers.checkFileAttached(document)) return false;\n return {\n message: warningText,\n }\n },\n },\n {\n name: 'another_btrips_without_expences',\n type: 'error',\n check: () => {\n const isBtripMultiDestination = !!Number(paramData.isBtripMultiDestination)\n const isBtripRequireExpense = !!Number(paramData.btrip_require_expense);\n // Дата после которой нельзя задать командировку\n const btripDateDisable = paramData.btrip_date_disable;\n const { details: docDetails } = document\n const tripList = docDetails?.trip_destination_requests\n const tripListLast = tripList?.[tripList?.length - 1]\n const lastTripLeaveDate = tripListLast?.leave_on\n // const lastLeaveDate = helpers.getDayOfWeekIndex(lastTripLeaveDate)\n\n const innerText = (text) => {\n return `${message}${i18n.t(text)}
`\n }\n\n const checkDocument = () => {\n if (workflow?.next_status_id !== 'prepared') {\n return\n }\n\n if (!documentHelpers.checkFileAttached(document)) {\n message = innerText(\n localeHelpers.getTextByAlias('btrip_attach_require_error'),\n );\n }\n\n if (\n isBtripRequireExpense &&\n !document?.otherBtripsWithoutExpence?.length\n ) {\n message = innerText(\n i18n.t(\n 'Submit an expense report for one of your past business trips',\n ),\n );\n }\n\n if (isBtripMultiDestination) {\n // Для нескольких командировок при отправке на согласование должна быть верная заполнена последняя дата\n if (document?.end_date !== lastTripLeaveDate) {\n message = innerText(\n i18n.t(\n 'The end date of the last route has to be equal to the end date of the whole period defined in Main tab.',\n ),\n );\n }\n\n // Причина отключения - добавлена проверка на активацию чекбокса в разделе командировок\n // if (\n // docDetails.is_weekend_included && // выбран чекбокс\n // lastLeaveDate !== 5 // только в пятницу\n // ) {\n // message = innerText(i18n.t('Check in \"Stay on the weekend\" checkbox in case the date of your return ticket doesn\\'t concide with the end of your business trip.'))\n // }\n }\n\n if (btripDateDisable?.length) {\n const dateBtripDateDisable = moment(btripDateDisable);\n\n // Если дата начала больше даты доступной командировки, то показывать сообщение и не отправлять заявку\n if (moment(document?.start_date).isAfter(dateBtripDateDisable)) {\n message = innerText(\n i18n.t(\n localeHelpers.getTextByAlias('btrip_date_disable_message'),\n ),\n );\n }\n }\n }\n\n if (!documentHelpers.checkValidDocument(document, 'btrip')) {\n message = i18n.t('System error. Contact technical support.');\n } else {\n checkDocument();\n }\n\n return {\n message,\n }\n },\n },\n ]\n },\n estimate: function (document, workflow) {\n const {\n goals: goalsList,\n valuation: valuationList,\n goalsWeightTotal: goalsWeight,\n // rating,\n planningGoalsWeightTotal: planningGoalsWeight,\n planningGoals: planningGoalsList,\n formLayoutTabs,\n } = store.state.estimate;\n\n const role = workflow?.business_role ?? '';\n const layoutTabList = document?.layout_tab\n ?.trim()\n .split(';')\n .filter((i) => !!i);\n\n const list = [];\n\n layoutTabList.forEach((element) => {\n const item = formLayoutTabs.find((i) => i.code === element && i.business_role === role);\n\n if (item) {\n list.push(item);\n }\n });\n\n // Найти вкладку у формы\n const findTab = (code) => {\n return !!list.find((i) => i.code === code);\n }\n\n // Проверка на наличие вкладки формы\n const isPlanningGoalsTab = findTab('planning_goals');\n const isGoalsTab = findTab('goals');\n\n // Отключена проверка \"Планирование обучения\" по просьбе заказчика\n // const isPlanEducList = planningEducationList.length >= 1 // минимум 1 запись в таблице\n const isTypeYearly = document.type === '1'; // годовая\n const isTypeInterim = document.type === '2'; // вне периода\n const isTypePlan = document.type === '3'; // планирование\n\n // Итоговая оценка\n const isFinal = !!Number(document?.is_final)\n\n const fullWeight = 100\n\n // Вкладка Цели\n // Заполнены цели\n const isGoalsList = isGoalsTab ? !!goalsList?.length : true;\n // Проверка на вес целей\n const isGoalsWeight = isGoalsTab ? goalsWeight === fullWeight : true; // вес целей должен быть 100\n\n // Вкладка Планирование целей\n // Проверка на вес целей планирования, если есть вкладки Планирование целей\n const isPlanningGoalsWeight = isPlanningGoalsTab ? planningGoalsWeight === fullWeight : true// вес должен быть 100\n // Проверка на наличие целей планирования, если есть вкладки Планирование целей\n const isPlanGoalsList = isPlanningGoalsTab ? planningGoalsList.length >= 3 : true; // минимум 3 записи в таблице\n\n let message = ''\n let isGoalSelfEsteem = true\n let isGoalAssessment = true\n let isValuationSelfEsteem = true\n let isValuationAssessment = true\n\n const innerText = (text) => {\n return `${message}
${i18n.t(text)}
`\n }\n\n const isVinyl = store.state?.param?.client?.code.includes('rusvinyl');\n\n return [\n {\n name: '',\n type: 'error',\n check: () => {\n const { name: url } = router.history?.current\n\n // выполнять проверку только на странице оценочной формы\n if (!url.includes('estimate-grading')) {\n return true;\n }\n\n // проверка записей в таблице Цели\n goalsList.forEach(element => {\n const { self_esteem: selfEsteem, assessment } = element\n // если есть пустое поле с графе \"Самооценка\" для сотрудника\n if (!selfEsteem?.length || Number(selfEsteem) === 0) isGoalSelfEsteem = false\n // если есть пустое поле с графе \"Оценка руководителя\" для руководителя\n if (!assessment?.length || Number(assessment) === 0) isGoalAssessment = false\n })\n\n // проверка записей в таблице Ценности\n valuationList.forEach(element => {\n const { self_esteem: selfEsteem, assessment } = element\n // если есть пустое поле с графе \"Самооценка\" для сотрудника\n if (!selfEsteem?.length) isValuationSelfEsteem = false\n // если есть пустое поле с графе \"Оценка руководителя\" для руководителя\n if (!assessment?.length) isValuationAssessment = false\n })\n\n const checkEmployeeFields = () => {\n // if (isPlanningGoals && isGoalSelfEsteem && isValuationSelfEsteem && isPlanEducList) return false\n if (\n isGoalSelfEsteem &&\n isValuationSelfEsteem &&\n isGoalsList &&\n isPlanningGoalsWeight &&\n isPlanGoalsList\n ) {\n return false;\n }\n\n if (!isGoalsList) {\n message = innerText(i18n.t('Complete the Goals section'));\n }\n\n if (!isPlanGoalsList) {\n message = innerText(\n i18n.t(\n 'At least 3 records have to be submitted in the "New Period Goals" tab',\n ),\n );\n }\n\n if (!isGoalSelfEsteem && isFinal) {\n message = innerText(\n i18n.t(\n 'Check your self-assessments in the "Goals" tab. They have to be above 0',\n ),\n );\n }\n // TODO: У Русвинила про Ценности\n // if (!isValuationSelfEsteem) message = innerText(i18n.t('Check your self-assessments in the "Competencies" tab. They have to be above 0.'))\n if (!isValuationSelfEsteem && isFinal) {\n message = innerText(\n i18n.t(\n 'Check your self-assessments in the "Competencies" tab. They have to be above 0.',\n ),\n );\n }\n }\n\n const checkSubFields = () => {\n if (\n isGoalAssessment &&\n isValuationAssessment &&\n isPlanningGoalsWeight &&\n isPlanGoalsList &&\n isGoalsList &&\n isGoalsWeight\n ) {\n return false;\n }\n\n if (!isPlanningGoalsWeight) {\n message = innerText(\n i18n.t(\n 'The total weight of all the goals for the next period must be equal to 100.',\n ),\n );\n }\n\n if (!isPlanGoalsList) {\n message = innerText(\n i18n.t(\n 'At least 3 records have to be submitted in the "New Period Goals" tab',\n ),\n );\n }\n\n if (!isGoalsList) {\n message = innerText(\n i18n.t(\n 'The total weight of all the goals must be equal to 100.',\n ),\n );\n }\n\n if (!isGoalsWeight) {\n message = innerText(\n i18n.t(\n 'The total weight of all the goals must be equal to 100.',\n ),\n );\n }\n\n if (!isGoalAssessment && isFinal) {\n message = innerText(\n i18n.t(\n 'Check your assessments in the "Goals" tab. They have to be above 0.',\n ),\n );\n }\n\n if (!isValuationAssessment && isFinal) {\n message = innerText(\n // TODO: Для Русвинила\n // i18n.t(\n // 'Check your assessments in the "Valuation" tab. They have to be above 0.',\n // ),\n i18n.t(\n 'Check your assessments in the "Competencies" tab. They have to be above 0.',\n ),\n );\n }\n }\n\n if (url === 'estimate-grading') {\n // if (isPlan) {\n // if (isPlanningGoals && isPlanEducList && isPlanGoalsList) return false\n // }\n\n if (isTypeYearly || isTypeInterim || isVinyl) {\n checkEmployeeFields();\n }\n }\n\n if (url === 'estimate-grading-sub') {\n if (isTypePlan) {\n // if (isPlanningGoals && isPlanEducList && isPlanGoalsList) return false\n // TODO: отключено для конти\n // if (isPlanningGoals && isPlanGoalsList) return false\n // if (isPlanGoalsList) return false\n }\n\n if (isVinyl) {\n checkSubFields();\n }\n\n // TODO: только для Конти\n // попросили отключить проверку\n // if (\n // !rating?.[0]?.performance?.length ||\n // !rating?.[0]?.potential?.length\n // ) {\n // message = innerText(i18n.t('Заполните таблицу Рейтинг'));\n // }\n\n if (isTypeYearly && !isVinyl) {\n checkSubFields();\n }\n\n if (isTypeInterim && !isVinyl) {\n checkSubFields();\n }\n\n // Промежуточная оценка не проверяет планирование\n if (!isTypeInterim) {\n // TODO: отключено для конти\n // if (!isPlanningGoals) {\n // message = innerText(\n // i18n.t(\n // 'The total weight of all the goals for the next period must be equal to 100.'\n // )\n // );\n // }\n // if (!isPlanGoalsList) {\n // message = innerText(\n // i18n.t(\n // 'At least 3 records have to be submitted in the "New Period Goals" tab'\n // )\n // );\n // }\n }\n }\n\n if (url === 'estimate-grading-hr') {\n // hr передвигает без проверок\n return false\n }\n\n // if (!isPlanEducList) message = innerText(i18n.t('At least 1 record has to be submitted in the "New Period Training Plan" tab'))\n\n return {\n message,\n }\n },\n },\n ]\n },\n material_assistance: function (document, workflow) {\n const docType = store.state.app.documentTypes.find(i => i.id === document.document_type_id) // get my document type\n\n return [\n {\n name: 'include_file_by_document_type',\n type: 'error',\n check: () => {\n const disabled = false // Если захочешь отключить...\n if (disabled) return false\n if (!docType?.code) return false; // если нет доктайпа\n if (docType?.object_id !== 'material_assistance') {\n return false; // если мы не в мат. помощи\n }\n if (workflow?.next_status_id !== 'prepared') return false // только для документа, который отправляется на согласование\n if (documentHelpers.checkFileAttached(document)) return false; // есть файлы\n return {\n message: i18n.t('The reason paper has to be submitted for this type of material assistance'),\n }\n },\n },\n ]\n },\n absence: function (document, workflow) {\n return [\n {\n name: 'include_file_by_document_type',\n type: 'error',\n check: () => {\n if (workflow?.next_status_id !== 'prepared') return false\n if (documentHelpers?.checkFileAttached(document)) return false;\n\n return {\n message: i18n.t('Please enclose required documents to your request'),\n }\n },\n },\n ]\n },\n absence_validate: function (document, workflow) {\n return [\n {\n name: 'include_file_by_document_type',\n type: 'error',\n check: () => {\n if (workflow?.next_status_id !== 'prepared') return false\n if (documentHelpers?.checkFileAttached(document)) return false;\n\n return {\n message: i18n.t('Please enclose required documents to your request'),\n }\n },\n },\n ]\n },\n sickleave: function (document, workflow) {\n return [\n {\n name: '',\n type: 'error',\n check: () => {\n // проверка только с closed\n if (workflow.next_status_id !== 'closed') {\n return false\n }\n\n // проверка по параметру\n if (!paramHelpers.paramCheckSickleaveNumberOnClose()) return false\n\n // длина больничного листа должна быть 12\n if (document?.comments?.length === 12) {\n return false\n }\n\n return {\n message: i18n.t('Wrong sick leave number'),\n }\n },\n },\n ]\n },\n statement: function (document, workflow) {\n const { business_role: role } = workflow\n let message = '';\n\n return [\n {\n name: '',\n type: 'error',\n check: () => {\n const { statements, documentTypes } = store?.state?.app ?? [];\n\n if (\n !documentHelpers.checkFileAttached(document) &&\n document?.object_id?.length\n ) {\n const errorAlias = `${document?.object_id}_attach_require_error`;\n\n message = innerText(errorAlias, message);\n }\n\n if (role === 'hr') {\n return false\n }\n\n // Заявление на увольнение\n const dismissalType = documentTypes.find(\n (i) => i.code === 'dismissal',\n );\n\n // Если заявление на увольнение\n if (document?.document_type_id === dismissalType?.id) {\n // Найти любой документ кроме текущего\n const isExist = statements.find(\n (i) =>\n i.document_type_id === dismissalType?.id &&\n i.employee_id === document?.employee_id &&\n i.status_id === 'prepared' &&\n i.id !== document.id,\n );\n\n if (isExist) {\n message = i18n.t('Resignation letter already created');\n }\n }\n\n return {\n message,\n }\n },\n },\n ]\n },\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkflowActions.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkflowActions.vue?vue&type=script&lang=js&\"","\n \n \n \n \n \n \n {{ tt(item, 'name') }}\n \n \n \n \n \n \n \n \n {{ tt(item, 'status_name') }}\n \n \n {{ tt(item, 'user_name') }}\n \n \n {{ item.create_date ? getDateWithHoursAndMinutes(item.create_date) : ''}}\n \n \n \n \n \n \n {{ tt(item, 'user_name') }}\n \n \n \n \n \n \n {{ item.create_date ? getDateWithHoursAndMinutes(item.create_date) : ''}}\n \n \n {{ tt(item, 'name') }}\n \n \n {{ tt(item, 'subject') }}\n \n \n {{ tt(item, 'text') }}\n \n \n
\n