{"version":3,"sources":["webpack:///./src/components/uikit/Buttons/BtnActionGrid/BtnActionGrid.vue?5b63","webpack:///./src/components/WorkflowActions.vue?94a8","webpack:///./src/components/uikit/Table/TableLabel.vue?b7e1","webpack:///./src/common/documentSection/sectionData.js","webpack:///./src/common/hooks.js","webpack:///./src/components/uikit/Buttons/BtnActionGrid/BtnActionGrid.vue?8c08","webpack:///./src/components/uikit/Buttons/BtnActionGrid/BtnActionGrid.vue?415d","webpack:///src/components/uikit/Buttons/BtnActionGrid/BtnActionGrid.vue","webpack:///./src/components/uikit/Buttons/BtnActionGrid/BtnActionGrid.vue","webpack:///./src/common/documentSection/documentTableHelpers.js","webpack:///./src/components/FileLoader.vue?d794","webpack:///./src/components/DataGrid.vue?4bda","webpack:///./src/components/uikit/UiLoader/index.js","webpack:///./src/components/DataGrid.vue?3c2d","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/VTextareaEng.vue?6134","webpack:///./src/components/VTextareaEng.vue?15d3","webpack:///src/components/VTextareaEng.vue","webpack:///./src/components/VTextareaEng.vue","webpack:///./src/components/uikit/DragAndDrop/DragAndDrop.vue?4557","webpack:///./src/components/uikit/DragAndDrop/props.js","webpack:///src/components/uikit/DragAndDrop/DragAndDrop.vue","webpack:///./src/components/uikit/DragAndDrop/DragAndDrop.vue?5b64","webpack:///./src/components/uikit/DragAndDrop/useDragAndDrop.js","webpack:///./src/components/uikit/DragAndDrop/DragAndDrop.vue","webpack:///./src/components/uikit/DragAndDrop/index.js","webpack:///./src/components/uikit/Buttons/BtnActionGrid/BtnActionGrid.vue?fdb4","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/views/UBTrips.vue?28db","webpack:///./src/views/UBTrips.vue?d599","webpack:///src/views/UBTrips.vue","webpack:///./src/views/UBTrips.vue","webpack:///./src/common/workflow/workflowHelpers.js","webpack:///./src/common/notification/useNotification.js","webpack:///./src/components/FileLoader.vue?f19b","webpack:///./src/components/uikit/Table/TableLabel.vue?0eb7","webpack:///./src/components/DataGrid.vue?8134","webpack:///./src/components/uikit/Table/TableLabel.vue?25a8","webpack:///src/components/uikit/Table/TableLabel.vue","webpack:///./src/components/uikit/Table/TableLabel.vue","webpack:///./src/components/uikit/Table/TableLabel.vue?8a1f","webpack:///src/components/DataGrid.vue","webpack:///./src/components/DataGrid.vue?d2ad","webpack:///./src/components/DataGrid.vue","webpack:///./src/components/FileLoader.vue?9c55","webpack:///./src/common/paper/useDocumentSign.js"],"names":["module","exports","getSectionData","section","role","dispatch","store","Promise","all","getSectionTypeList","state","app","documentTypes","length","filter","i","object_id","startsWith","checkRoleGF","param","auth","paramGF","data","gf_manager_as_manager","roles","profile","isGF","Number","includes","getDocumentsCrosscheckExclude","category","docsExclude","documents_crosscheck_exclude","objectsData","docs","timesheets","categoryData","layout","excludeDocsList","split","map","element","trim","uniqueList","helpers","getUniqueValue","some","list","forEach","object_table","push","checkDomesticBTrip","doc","paramCIS","btrip_CIS_typelist","find","getRoleByRouteMeta","meta","sub","hr","rev","components","UiMenu","UiBtn","_vm","this","_h","$createElement","_c","_self","class","$style","Td","attrs","scopedSlots","_u","key","fn","ref","props","_b","BtnBoard","_t","context","locals","showError","text","commit","color","timeout","debug","checkCanCreateTableItemByStatus","workflow","workflowSectionList","Object","keys","workflowList","workflowItem","item","status_id","status","object","STATUS_NAME","empty","editable","UiLoader","useDocument","document","getters","useStore","route","useRoute","tt","useLanguage","isRev","requestTypeName","computed","docDescription","statuses","APP_GET_PROP","docStatus","value","id","statusText","docDate","moment","date","format","docStatusDate","status_date","employeeName","name","getInitials","getEmployeeName","getStatusDate","getDocDate","getRequestTypeName","getDocDescription","getStatusText","getWorkflowList","objectId","APP_GET_AVAILABLE_WORKFLOW","business_role","all_types","document_type_id","subordination","employee_id","type","check","vacation_schedule","paramData","message","callback","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","start_date","endDate","end_date","dailyInfo","allowedWeekendDays","i18n","t","vacation_validate_unallocated_schedule","vacationLimits","period","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","link","router","diff","reject","vacation_correction","vacation2","vacation_validate_unallocated_correction","parentVacations","indexOf","parentDays","childVacations","childDays","nextStatus","vacation_validate_process_correction_together","vacation","documentType","documentHelpers","getDocumentTypeData","documentTypeCode","code","isForSign","signHelpers","checkIsSignWorkflow","isEng","localeHelpers","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","isAfter","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","client","url","history","current","selfEsteem","self_esteem","assessment","checkSubFields","checkEmployeeFields","material_assistance","absence","absence_validate","sickleave","paramHelpers","paramCheckSickleaveNumberOnClose","statement","statements","errorAlias","dismissalType","VTextareaEng","ModalSigning","FileLoader","String","default","documentName","disabled","Boolean","loading","availableWorkflow","Array","isRejectPrimary","isPrevStepDisabled","isLocalSigning","emits","setup","showErrorNotification","locale","$store","isSignature","sort","removePrevStep","buttonSaveIndex","isSigningDocument","fileLoaderDocument","signingDocument","documentTypeList","hooksDocument","watch","submitMessageDialog","val","editableItem","processFinal","methods","workflowColor","getRequestData","request_type_code","requestTypeCode","test","navigator","userAgent","component","Workflow","_l","$attrs","btnClass","loadingLocal","$vuetify","breakpoint","smAndDown","undefined","on","$event","handleChangeWorkflow","staticClass","_v","_e","_s","isLocalModalSigning","process","model","$$v","showMessageDialog","expression","modelMessage","text_eng","valueEng","$set","handleFileLoaderClose","downloadOptions","modelValue","setEng","slotAppend","messageText","changeLocale","update","emit","isWebpack","label","hint","nativeOn","apply","arguments","proxy","required","isDisabled","items","draggedIndex","onDragStart","event","index","dataTransfer","effectAllowed","setData","onDragOver","draggedItem","splice","onDrop","onDragEnd","newVal","newItems","deep","preventDefault","DragAndDrop","AppTooltip","icon","isArchive","downloadIcon","downloadHelpText","handleClick","e","stopPropagation","tooltipText","ButtonDownloadDoc","ButtonPrint","preview","isCards","propsValue","isSignAvailable","isFileSigned","frame","getElementById","modalTitle","fileOriginalName","handler","newValue","method","oldValue","beforeUnmount","close","showDialog","localUrl","fileName","$emit","download","href","setAttribute","body","appendChild","click","print","iframe","contentWindow","iframePrepare","contentDocument","iframeBody","getElementsByTagName","children","img","tagName","width","style","container","wrapper","card","header","headerTitle","headerButton","inner","iframeScale","content","subtitle","sign","handleOpenModalSigning","DataGrid","WorkflowActions","BtnActionGrid","getFormattedDate","getDocumentEditableWorkflow","getAvailableWorkflow","isPowerUser","businessRole","roleHelpers","hooks","isHr","btrips","businessRoleFlag","isCanCreate","documentTableHelpers","created","own","$route","init","editItem","$router","params","deleteItem","changeWorkflow","createExpense","expense_id","refreshData","gridPagination","opt","itemIncomplete","gridModel","toolbarModel","expense_report","sectionName","getBusinessRole","objectIdDoc","getObjectId","payload","nameRole","objectID","nameTable","table","el","disable_grid_button","a","b","checkIsDeletedWorkflow","delete_allowed","useNotification","errorText","active","iconColor","desc","iconDesc","setColor","setDescIcon","Content","$t","IconSort","title","titleIcon","itemTitle","Function","disableCreateItem","disableEditItem","disableDeleteItem","ignoreSavedFilters","disableWorkflow","isDisableActions","watchRefresh","Date","isStepBack","isToolbar","compareList","compareArrayName","requiredList","numbersList","StepBack","TableLabel","from","sortModel","propsTitle","sectionIcon","pageTitle","pagePreTitle","defineEng","slotChip","slotHeaders","getDateAndTime","sortModelList","gridHeaderList","filterList","filterOpened","visibleFix","handleFilter","grid","handleApplyFilter","filters","formatName","isManager","isAdmin","isAccountant","isSub","isAvailableCSV","filterDefined","headerItem","defined","visibilityModelList","visibilityModel","sortList","itemsPerPage","defaultRowsNumber","dialogConfirmOK","oper","assign","editedItem","rowKey","clearItems","findIndex","parentComponent","initialize","saveLayouts","handleDate","checkModel","beforeRefresh","storeVisib","setTimeout","visible","storeSortModel","dialogEdit","dialogConfirm","dialogClose","isDuplicateError","sortItemClick","sortItem","modelItem","saveModel","visibilityItemClick","visibilityItem","visibilityDraggingEnd","sortDraggingEnd","headerItemPrepared","applySearch","search","exists","searchoptions","multiple","nextMonth","setMonth","getMonth","lastMonth","existsOneFilter","obj","formatStr","edittype","lookupItem","formatValue","itemText","formatoptions","$n","toFixed","jsonmap","filterItem","oneOr","allOr","filterStr","exportToCSV","hidelist","isServiceField","dataItem","prop","disableCSVLookup","dataExport","serviceFields","columns","delimiter","csv","today","setMinutes","getMinutes","getTimezoneOffset","tempLink","encodeURI","updateColModel","objectModel","align","fixed","resizable","sortable","sortorder","sorttype","itemModel","numorder","itemModelDefault","Math","max","hidedlg","editoptions","item_value","item_text","uniqItems","existsItems","elName","operator","itemKey","itemSelected","that","gridModelUpdated","numericRules","Toolbar","BtnBort","mdAndUp","toolbarItem","hidden","visibilityOpened","Card","Subtitle","BtnList","ActiveCard","sortOpened","clearCache","TableLoader","FooterCompactVue2","FooterCompact","itemsPerPageOptions","Top","TextOverflow","Select","raw","CheckBox","disabledItem","disabledChips","Headers","Headers__actions","Headers__status","prependIcon","prependClick","classModule","appendIcon","appendClick","indicatorColor","prependIconColor","p","BtnPlus","staticStyle","indexItem","mask","CardActions","saveItem","actionClose","actionSave","useDocumentSign","checkSignAvailable","file_name","checkFileSigned"],"mappings":"gHACAA,EAAOC,QAAU,CAAC,SAAW,iCAAiC,GAAK,6B,uBCAnED,EAAOC,QAAU,CAAC,SAAW,qC,oCCD7B,oE,mFCEe,KAEPC,eAFO,SAESC,EAASC,GAAM,wHAC3BC,EAAaC,IAAbD,SAD2B,SAG7BE,QAAQC,IAAI,CAChBH,EAAS,qBACTA,EAAS,2BAKTA,EAAS,wBAAyB,CAChCF,UACAC,WAZ+B,8CAiBrCK,mBAnBa,SAmBON,GAAS,MAC3B,UAA+BG,UAA/B,IAA+BA,KAA/B,UAA+BA,IAAOI,aAAtC,aAA+B,EAAcC,KAArCC,qBAAR,MAAwB,GAAxB,EAEA,OAAKT,WAASU,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,OAPIvb,KAAK0a,MAAK7d,GAAUA,EAASA,EAAS,QAAU,IAAM,mBAAhE,sCACUmD,KAAKP,MAAK5C,GAAUA,EAASA,EAAS,QAAU,IAAM,kBAAhE,sCAEUmD,KAAKL,MACP9C,EAAS,IAGJmD,KAAKwQ,OAAOpU,SAAS,kBAAmB,CAArD,8CACA,kBAMQ,OAJE,EADV,EACA,sBAAY,OAAZ,yCAEA,sBAAY,QAAZ,yCAEA,yBAAU,OAAO,EAAjB,UAGI,KArFJ,WAqFA,mIACA,SADA,SAGA,iDAHA,WAKA,MALA,gCAMA,8CANA,uBASA,uCATA,OASA,WATA,OAgCA,gBACA,CACA,gBACA,iBACA,cACA,0BACA,2BACA,iBACA,+JAKA,aACA,CACA,cACA,eACA,YAEA,CACA,YACA,aACA,cACA,YACA,eACA,UAEA,aAEA,CACA,qBACA,aACA,eACA,YAOA,CACA,qBACA,iBACA,gBACA,gBACA,cACA,eACA,aACA,yBACA,0BACA,iBAGA,CACA,oBACA,gBACA,gBACA,0BACA,wBACA,4BACA,aACA,wBACA,yBACA,iBAGA,CACA,0BACA,aACA,gBACA,UACA,aACA,8BACA,+BACA,iBAGA,CACA,kBACA,mBACA,cACA,eACA,UAEA,UACA,WACA,eACA,gBACA,iBACA,OACA,oDACA,6DACA,mEACA,kEAIA,CACA,gBACA,iBACA,cACA,eACA,WAGA,CACA,YACA,cAEA,CACA,gBACA,iBACA,YAEA,CACA,iBACA,eACA,UACA,eACA,aAEA,kBACA,aACA,iBACA,gBACA,mBAGA,CACA,mBACA,cACA,aACA,8EACA,wBACA,0DAEA,YAEA,CACA,sBACA,gBACA,aACA,wBACA,4CAEA,YAEA,CACA,kBACA,mBACA,cACA,sBACA,YAEA,wBACA,gBAEA,OADA,0BACA,iBACA,mBAIA,OAHA,sBACA,2BAEA,MAGA,6BACA,gBAEA,OADA,0BACA,iDAGA,CACA,kBACA,mBACA,YACA,oBAEA,8EACA,WAEA,CACA,cACA,eACA,YACA,oBACA,oBACA,2D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,CACzBoB,WACA0U,OAAQ,SAQVkS,mBAfyB,SAAC5mB,GAC1B,OAAOmH,IAAYyf,mBAAmB5mB,IAetC8mB,gBApBsB,SAAC9mB,GAAa,UACpC,OAAOA,SAAP,UAAOA,EAAU4H,aAAjB,iBAAO,EAAkB,UAAzB,iBAAO,EAAsBif,iBAA7B,aAAO,EAAiC5rB,SAAS","file":"js/chunk-5373e9f9.811848f8.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"BtnBoard\":\"BtnActionGrid__BtnBoard__FT5Hm\",\"Td\":\"BtnActionGrid__Td__30g-3\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"Workflow\":\"WorkflowActions__Workflow__12tbm\"};","export { default } from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TableLabel.vue?vue&type=style&index=0&lang=scss&module=true&\"; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TableLabel.vue?vue&type=style&index=0&lang=scss&module=true&\"","import store from '@/store';\n\nexport default {\n // Получить данные, необходимые при заходе в раздел\n async getSectionData (section, role) {\n const { dispatch } = store\n\n await Promise.all([\n dispatch('APP_PULL_STATUSES'),\n dispatch('APP_PULL_DOCUMENT_TYPES'),\n // dispatch('APP_PULL_SUBORDINATION', {\n // reload: true,\n // select: 'employee_id,employee_name,employee_name_eng,employee_type,manager_id,manager_name,manager_name_eng,organization_id,type,start_date',\n // }),\n dispatch('WORKFLOW_PULL_SECTION', {\n section,\n role,\n }),\n ])\n },\n\n getSectionTypeList (section) {\n const { documentTypes = [] } = store?.state?.app;\n\n if (!section?.length || !documentTypes?.length) {\n return []\n }\n\n return documentTypes?.filter((i) => i.object_id?.startsWith(section));\n },\n};\n","import store from '@/store'\nimport helpers from './helpers'\n\nexport default {\n // проверка на роль gf_manager\n checkRoleGF () {\n const { param, auth } = store.state\n const { gf_manager_as_manager: paramGF } = param.data\n const { roles } = auth.profile\n const isGF = !!Number(paramGF)\n\n // если не указаны роли или нет параметра, то выходим\n if (!roles || !isGF) {\n return false\n }\n\n // если указано роль и выставлен параметр, то применяются права\n return roles.includes('gf_manager');\n },\n\n getDocumentsCrosscheckExclude (category) {\n const { documents_crosscheck_exclude: docsExclude } = store.state?.param?.data\n const { objectsData } = store.state.app\n // let docs = store.getters.getDocuments\n let docs = store.state.app.timesheets\n // теперь timesheet грузит больше документов, чем нужно, фильтруем по сотруднику\n // docs = docs.filter(i => i.employee_id === store?.state?.auth?.profile?.employee_id)\n\n // если не указана категория или нет параметра или не указаны категории в параметре, то вернуть все документы\n if (!category || !docsExclude?.length) {\n return docs\n }\n\n // найти все названия документов текущей категории\n const categoryData = objectsData.filter((i) => i.layout === category)\n\n // если несколько записей у параметра, то разбиваем и удаляем пробелы\n const excludeDocsArray = docsExclude.split(';')\n const excludeDocsList = excludeDocsArray.map(element => element.trim())\n\n // уникальные названия документов из списка категорий. У некоторых категорий несколько документов\n const uniqueList = helpers.getUniqueValue(categoryData, 'id')\n\n // проверка на наличие элемента с списке исключаемых\n const isCategoryExist = excludeDocsList.some((i) => i === category)\n\n // если есть в списке исключаемых, возвращаются только документы этой категории\n if (isCategoryExist) {\n const list = []\n\n docs.forEach(element => {\n if (uniqueList.includes(element.object_table)) {\n list.push(element)\n }\n })\n\n return list\n }\n\n // убираем документы равные перечисленным разделам в параметре\n excludeDocsList.forEach(element => {\n docs = docs.filter((i) => i.object_table !== element)\n })\n\n return docs\n },\n\n // проверка на внутреннюю поездку\n checkDomesticBTrip (doc) {\n const { btrip_CIS_typelist: paramCIS } = store.state?.param.data\n\n // если нет параметра, то выводим все страны\n if (!paramCIS) return false\n\n const dicTripArray = paramCIS.split(/;|,/)\n const isExistType = dicTripArray.find((i) => i === doc)\n\n if (!isExistType) {\n return false\n }\n\n return true\n },\n\n // Получить роль по данным в роуте\n getRoleByRouteMeta (meta) {\n const { sub, hr, rev } = meta\n\n if (sub) {\n return 'manager';\n }\n\n if (hr) {\n return 'hr';\n }\n\n if (rev) {\n return 'reviewer';\n }\n\n return 'employee';\n },\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('td',{class:_vm.$style.Td},[_c('UiMenu',{attrs:{\"location\":\"left\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar props = ref.props;\nreturn [_c('UiBtn',_vm._b({attrs:{\"is-icon\":\"\",\"is-round\":\"\",\"color\":\"eg-secondary\",\"icon\":\"mdi-dots-vertical\",\"size\":\"small\"}},'UiBtn',props,false))]}}])},[_c('div',{class:_vm.$style.BtnBoard},[_vm._t(\"default\")],2)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","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!./BtnActionGrid.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!./BtnActionGrid.vue?vue&type=script&lang=js&\"","\n\n\n \n \n\n\n\n","import { render, staticRenderFns } from \"./BtnActionGrid.vue?vue&type=template&id=7df5b11d&\"\nimport script from \"./BtnActionGrid.vue?vue&type=script&lang=js&\"\nexport * from \"./BtnActionGrid.vue?vue&type=script&lang=js&\"\nimport style0 from \"./BtnActionGrid.vue?vue&type=style&index=0&lang=scss&module=true&\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","\nimport store from '@/store'\nimport roles from '@/common/role/roleHelpers';\n\nimport { STATUS_NAME } from '@/constants/document/StatusName';\n\nexport default {\n showError (text) {\n store.commit('MSG_SET_ITEM', {\n text,\n color: 'error',\n timeout: 20000,\n debug: true,\n });\n },\n\n checkCanCreateTableItemByStatus (section, role) {\n const { workflowSectionList = {} } = store?.state?.workflow ?? [];\n\n // Использовать полученную роли или получить из роута\n role = role ?? roles.getRoleByRouteMeta();\n\n if (!Object.keys(workflowSectionList)?.length) {\n return false\n }\n\n const workflowList = workflowSectionList?.[section]?.[role] ?? []\n\n // Возможность создания записи в таблице определяется по workflow со стаутом empty\n const workflowItem = workflowList?.find((item) => {\n const { status_id: status = '', object_id: object = '' } = item ?? {};\n\n return status === STATUS_NAME?.empty && object === section\n });\n\n // Если на найден воркфлоу для текущего раздела по роли\n if (!workflowItem) {\n return false\n }\n\n return !!Number(workflowItem?.editable)\n },\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"FileLoader__container__nd7YO\",\"wrapper\":\"FileLoader__wrapper__TyKR0\",\"card\":\"FileLoader__card__PTGwu\",\"header\":\"FileLoader__header__2IPZK\",\"headerTitle\":\"FileLoader__headerTitle__1bxi4\",\"headerButton\":\"FileLoader__headerButton__17HMC\",\"inner\":\"FileLoader__inner__fJO25\",\"document\":\"FileLoader__document__ojE2j\",\"iframe\":\"FileLoader__iframe__1Ho73\",\"content\":\"FileLoader__content__3bbdE\",\"list\":\"FileLoader__list__32maT\",\"item\":\"FileLoader__item__10NjP\",\"subtitle\":\"FileLoader__subtitle__2EgCK\",\"sign\":\"FileLoader__sign__7BR3w\"};","export { default } from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataGrid.vue?vue&type=style&index=0&lang=scss&module=true&\"; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataGrid.vue?vue&type=style&index=0&lang=scss&module=true&\"","import UiLoader from './UiLoader.vue';\n\nexport default UiLoader;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"Toolbar\":\"DataGrid__Toolbar__3v0oQ\",\"BtnBort\":\"DataGrid__BtnBort__CODnh\",\"TableLoader\":\"DataGrid__TableLoader__2HqmL\",\"TextOverflow\":\"DataGrid__TextOverflow__PQ1EI\",\"CardActions\":\"DataGrid__CardActions__fV76P\",\"Subtitle\":\"DataGrid__Subtitle__fBUZM\",\"Card\":\"DataGrid__Card__23IFc\",\"ActiveCard\":\"DataGrid__ActiveCard__3gJ5t\",\"Top\":\"DataGrid__Top__2j3Pd\",\"BtnList\":\"DataGrid__BtnList__2QHlO\",\"Select\":\"DataGrid__Select__1ONKl\",\"CheckBox\":\"DataGrid__CheckBox__2C7z7\",\"Headers__actions\":\"DataGrid__Headers__actions__376cn\",\"Headers__status\":\"DataGrid__Headers__status__nxgx2\",\"Headers\":\"DataGrid__Headers__2ULIv\",\"BtnPlus\":\"DataGrid__BtnPlus__2reqa\",\"FooterCompactVue2\":\"DataGrid__FooterCompactVue2__2LTav\",\"FooterCompact\":\"DataGrid__FooterCompact__2Me8s\"};","import { computed } from '@vue/composition-api';\nimport { useStore } from '@vueblocks/vue-use-vuex';\nimport { useRoute } from 'vue2-helpers/vue-router';\nimport moment from 'moment';\nimport helpers from '@/common/helpers';\nimport useLanguage from '@/common/locale/useLanguage'\n\nexport default function useDocument (document) {\n const { getters } = useStore();\n const route = useRoute();\n const { tt } = useLanguage()\n const isRev = route.meta.rev;\n\n const requestTypeName = computed(\n () => tt(document, 'request_type_name'),\n );\n\n const docDescription = computed(() => tt(document, 'description'));\n\n const statuses = computed(() => getters.APP_GET_PROP('statuses'));\n\n const docStatus = computed(() =>\n statuses.value.find((i) => i.id === document?.status_id),\n );\n\n const statusText = computed(() => tt(docStatus.value, 'name'));\n\n const docDate = computed(() =>\n moment(document?.date).format('YYYY-MM-DD HH:mm:ss'),\n );\n\n const docStatusDate = computed(() =>\n moment(document?.status_date).format('YYYY-MM-DD HH:mm:ss'),\n );\n\n // выбор перевода ФИО сотрудника у документа\n const employeeName = computed(() => {\n const name = tt(document, 'employee_name');\n return helpers.getInitials(name);\n });\n\n const getEmployeeName = (document) => {\n const name = tt(document, 'employee_name');\n return name ? helpers.getInitials(name) : '';\n };\n\n const getStatusDate = (document) => {\n if (!document?.status_date?.length) {\n return ''\n }\n\n return moment(document?.status_date).format('YYYY-MM-DD HH:mm:ss');\n };\n\n const getDocDate = (document) => {\n if (!document?.date?.length) {\n return '';\n }\n\n return moment(document?.date).format('YYYY-MM-DD HH:mm:ss')\n };\n\n const getRequestTypeName = (document) => {\n return tt(document, 'request_type_name') || '';\n };\n\n const getDocDescription = (document) => {\n return tt(document, 'description') ?? '';\n };\n\n const getStatusText = (document) => {\n const docStatus = statuses?.value?.find((i) => i.id === document?.status_id)\n return tt(docStatus, 'name') ?? '';\n };\n\n const getWorkflowList = (objectId = '', role = '', status = '') => {\n return getters?.APP_GET_AVAILABLE_WORKFLOW({\n object_id: objectId,\n business_role: role,\n status_id: status,\n });\n }\n\n return {\n requestTypeName,\n docDescription,\n statusText,\n docDate,\n docStatusDate,\n employeeName,\n isRev,\n getEmployeeName,\n getStatusDate,\n getDocDate,\n getRequestTypeName,\n getDocDescription,\n getStatusText,\n getWorkflowList,\n };\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{class:_vm.$style.Workflow},_vm._l((_vm.workflowList),function(workflowItem){return _c('div',{key:workflowItem.id},[_c('VBtn',_vm._b({class:_vm.$attrs.btnClass,attrs:{\"color\":_vm.workflowColor(workflowItem),\"disabled\":_vm.disabled,\"loading\":_vm.loading || _vm.loadingLocal,\"small\":_vm.$vuetify.breakpoint.smAndDown,\"size\":_vm.$vuetify.breakpoint.smAndDown ? 'small' : undefined,\"data-test\":\"workflow-btn\"},on:{\"click\":function($event){return _vm.handleChangeWorkflow(workflowItem)}}},'VBtn',_vm.$attrs,false),[(workflowItem.reject === '1')?_c('VIcon',{staticClass:\"pr-2\",attrs:{\"size\":\"small\"}},[_vm._v(\" mdi-reply \")]):_vm._e(),_vm._v(\" \"+_vm._s(_vm.tt(workflowItem, 'name'))+\" \"),(workflowItem.reject === '0')?_c('VIcon',{staticClass:\"pl-2\",attrs:{\"size\":\"small\"}},[_vm._v(\" mdi-share \")]):_vm._e()],1),_c('ModalSigning',{attrs:{\"is-local\":\"\",\"is-local-modal-signing\":_vm.isLocalModalSigning,\"is-page-document\":\"\"},on:{\"startProcess\":function($event){return _vm.process(workflowItem)}}})],1)}),0),_c('VDialog',{attrs:{\"max-width\":\"600\"},model:{value:(_vm.showMessageDialog),callback:function ($$v) {_vm.showMessageDialog=$$v},expression:\"showMessageDialog\"}},[_c('VCard',[_c('VCardTitle',{staticClass:\"px-3\"},[_c('span',{staticClass:\"headline text-h5 pl-4\"},[_vm._v(\" \"+_vm._s(_vm.t('Comment'))+\" \")]),_c('VSpacer'),_c('VBtn',{attrs:{\"icon\":\"\"},on:{\"click\":function($event){_vm.submitMessageDialog=false}}},[_c('VIcon',[_vm._v(\" mdi-close \")])],1)],1),_c('VCardText',[_c('VTextareaEng',{attrs:{\"outlined\":\"\",\"rows\":\"1\",\"auto-grow\":\"\",\"locale\":_vm.locale,\"message\":_vm.message,\"value-eng\":_vm.modelMessage.text_eng},on:{\"inputEng\":function (valueEng) { return _vm.modelMessage.text_eng = valueEng; }},model:{value:(_vm.modelMessage.text),callback:function ($$v) {_vm.$set(_vm.modelMessage, \"text\", $$v)},expression:\"modelMessage.text\"}})],1),_c('VCardActions',{staticClass:\"pr-4\"},[_c('VSpacer'),_c('VBtn',{attrs:{\"color\":\"secondary\",\"text\":\"\"},on:{\"click\":function($event){_vm.submitMessageDialog = false; _vm.showMessageDialog = false;}}},[_vm._v(\" \"+_vm._s(_vm.t('Close'))+\" \")]),_c('VBtn',{attrs:{\"color\":\"primary\",\"text\":\"\"},on:{\"click\":function($event){_vm.submitMessageDialog = true; _vm.showMessageDialog = false;}}},[_vm._v(\" \"+_vm._s(_vm.t('Submit'))+\" \")])],1)],1)],1),_c('FileLoader',{attrs:{\"preview\":true,\"document\":_vm.fileLoaderDocument,\"is-cards\":\"\",\"role\":_vm.role},on:{\"onClose\":_vm.handleFileLoaderClose},model:{value:(_vm.downloadOptions),callback:function ($$v) {_vm.downloadOptions=$$v},expression:\"downloadOptions\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import store from '@/store'\nimport router from '../router'\nimport i18n from '../plugins/i18n'\nimport { TableService } from '@/common/api.service.js'\nimport moment from 'moment'\nimport documentHelpers from './document/documentHelpers'\nimport localeHelpers from '@/common/locale/localeHelpers';\nimport paramHelpers from '@/common/settings/paramHelpers.js'\nimport signHelpers from '@/common/sign/signHelpers'\nimport { checkActionForbiddenPeriod } from '@/common/documentSection/vacation/vacationHelpers'\n\nconst innerText = (text, message) => {\n return `${message}
${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 {{ t(\"Employee\") }} / {{ t(\"Period\") }}\n \n \n {{ t(\"Type\") }} / {{ t(\"Period\") }}\n \n \n\n \n \n \n \n\n \n 0\">\n \n i.name === headerItem.name))\"\n >\n \n \n {{ $t(\"Actions\") }}\n \n \n \n \n \n \n \n \n \n \n \n \n i.edittype !== 'indicators')\"\n :key=\"headerItem.name\"\n >\n \n\n i.edittype === 'indicators')\"\n :key=\"headerItem.name\"\n >\n \n \n \n \n \n \n \n \n \n \n \n \n