{"version":3,"sources":["webpack:///./src/model/types/modules/general/UnitType.js","webpack:///./src/views/modules/checklist/Checklist/ChecklistEnvironmentEvidenceFile.vue?108f","webpack:///src/views/modules/checklist/Checklist/ChecklistEnvironmentEvidenceFile.vue","webpack:///./src/views/modules/checklist/Checklist/ChecklistEnvironmentEvidenceFile.vue?231e","webpack:///./src/views/modules/checklist/Checklist/ChecklistEnvironmentEvidenceFile.vue","webpack:///./src/model/types/modules/checklist/UrgencyType.js","webpack:///./src/model/types/resource/SharingFileType.js","webpack:///./src/services/modules/checklist/ChecklistModelActivity.service.js","webpack:///./src/model/types/modules/checklist/SeverityType.js","webpack:///./src/model/types/modules/checklist/ChecklistPlatformType.js","webpack:///./src/services/modules/checklist/TypeCriticality.service.js","webpack:///./src/services/modules/agent/Sector.service.js","webpack:///./src/model/types/modules/checklist/OccurrenceFileType.js","webpack:///./src/views/modules/checklist/Checklist/ChecklistForm.vue?db9a","webpack:///./src/views/modules/checklist/Checklist/ChecklistEnvironment.vue?e92d","webpack:///./src/model/types/modules/checklist/StatusChecklistEnvironmentType.js","webpack:///./src/views/modules/checklist/Checklist/ChecklistEnvironmentItemDialog.vue?8dee","webpack:///./src/model/types/modules/checklist/StatusChecklistItemType.js","webpack:///./src/model/types/modules/checklist/StatusChecklistOccurrenceItemType.js","webpack:///./src/views/modules/checklist/Checklist/ChecklistEnvironmentOccurrenceDialog.vue?a125","webpack:///./src/views/modules/checklist/Checklist/ChecklistOccurrenceFile.vue?a45f","webpack:///src/views/modules/checklist/Checklist/ChecklistOccurrenceFile.vue","webpack:///./src/views/modules/checklist/Checklist/ChecklistOccurrenceFile.vue?ab16","webpack:///./src/views/modules/checklist/Checklist/ChecklistOccurrenceFile.vue","webpack:///src/views/modules/checklist/Checklist/ChecklistEnvironmentOccurrenceDialog.vue","webpack:///./src/views/modules/checklist/Checklist/ChecklistEnvironmentOccurrenceDialog.vue?c6a0","webpack:///./src/views/modules/checklist/Checklist/ChecklistEnvironmentOccurrenceDialog.vue","webpack:///src/views/modules/checklist/Checklist/ChecklistEnvironmentItemDialog.vue","webpack:///./src/views/modules/checklist/Checklist/ChecklistEnvironmentItemDialog.vue?4f7c","webpack:///./src/views/modules/checklist/Checklist/ChecklistEnvironmentItemDialog.vue","webpack:///src/views/modules/checklist/Checklist/ChecklistEnvironment.vue","webpack:///./src/views/modules/checklist/Checklist/ChecklistEnvironment.vue?51bb","webpack:///./src/views/modules/checklist/Checklist/ChecklistEnvironment.vue","webpack:///./src/views/modules/checklist/Checklist/ChecklistOccurrence.vue?f963","webpack:///src/views/modules/checklist/Checklist/ChecklistOccurrence.vue","webpack:///./src/views/modules/checklist/Checklist/ChecklistOccurrence.vue?8126","webpack:///./src/views/modules/checklist/Checklist/ChecklistOccurrence.vue","webpack:///./src/views/modules/checklist/Checklist/ChecklistModelActivity.vue?2baa","webpack:///./src/views/modules/checklist/Checklist/ChecklistModelActivityDialog.vue?105e","webpack:///src/views/modules/checklist/Checklist/ChecklistModelActivityDialog.vue","webpack:///./src/views/modules/checklist/Checklist/ChecklistModelActivityDialog.vue?e0cd","webpack:///./src/views/modules/checklist/Checklist/ChecklistModelActivityDialog.vue","webpack:///src/views/modules/checklist/Checklist/ChecklistModelActivity.vue","webpack:///./src/views/modules/checklist/Checklist/ChecklistModelActivity.vue?5616","webpack:///./src/views/modules/checklist/Checklist/ChecklistModelActivity.vue","webpack:///./src/services/modules/place/EnterpriseStep.service.js","webpack:///./src/views/modules/checklist/ChecklistContent.vue?7abf","webpack:///./src/views/modules/checklist/ChecklistContentDialog.vue?0484","webpack:///./src/views/modules/checklist/ChecklistContentFile.vue?4de5","webpack:///src/views/modules/checklist/ChecklistContentFile.vue","webpack:///./src/views/modules/checklist/ChecklistContentFile.vue?9662","webpack:///./src/views/modules/checklist/ChecklistContentFile.vue","webpack:///src/views/modules/checklist/ChecklistContentDialog.vue","webpack:///./src/views/modules/checklist/ChecklistContentDialog.vue?226d","webpack:///./src/views/modules/checklist/ChecklistContentDialog.vue","webpack:///src/views/modules/checklist/ChecklistContent.vue","webpack:///./src/views/modules/checklist/ChecklistContent.vue?c775","webpack:///./src/views/modules/checklist/ChecklistContent.vue","webpack:///src/views/modules/checklist/Checklist/ChecklistForm.vue","webpack:///./src/views/modules/checklist/Checklist/ChecklistForm.vue?7a24","webpack:///./src/views/modules/checklist/Checklist/ChecklistForm.vue","webpack:///./src/services/modules/place/EnterpriseDivision.service.js","webpack:///./src/model/types/modules/checklist/TrendType.js","webpack:///./src/model/types/modules/checklist/StatusChecklistType.js","webpack:///./src/views/modules/checklist/OccurrenceFile.vue?0590","webpack:///src/views/modules/checklist/OccurrenceFile.vue","webpack:///./src/views/modules/checklist/OccurrenceFile.vue?a17c","webpack:///./src/views/modules/checklist/OccurrenceFile.vue","webpack:///./src/model/types/modules/checklist/SurveyType.js","webpack:///./src/services/modules/place/SpotFolder.service.js","webpack:///./src/services/modules/checklist/Regulation.service.js","webpack:///./src/views/modules/checklist/ChecklistActivity/embeddable/ChecklistActivityFormChildEmbeddable.vue?cf87","webpack:///src/views/modules/checklist/ChecklistActivity/embeddable/ChecklistActivityFormChildEmbeddable.vue","webpack:///./src/views/modules/checklist/ChecklistActivity/embeddable/ChecklistActivityFormChildEmbeddable.vue?4179","webpack:///./src/views/modules/checklist/ChecklistActivity/embeddable/ChecklistActivityFormChildEmbeddable.vue","webpack:///./src/views/modules/checklist/Checklist/ChecklistEnvironmentItemDialog.vue?8d40","webpack:///./src/model/types/resource/ContentType.js"],"names":["type","M","M2","M3","L","ML","UNITY","KG","T","VB","MONTH","list","value","text","contains","typeInput","Type","render","_vm","this","_h","$createElement","_c","_self","ref","attrs","generalErrors","modalEvidenceFileId","on","onEvidenceContinue","typeEvidenceCategoryOptions","businessEvidenceFileRequiredFields","model","form","callback","$$v","$set","expression","staticClass","staticStyle","_v","directives","name","rawName","typeEvidenceServiceNotFound","typeEvidenceServiceOptions","typeEvidenceStatusOptions","fileEntity","typeImage","command","otherEntity","path","primaryKeyColumn","foreignKeyColumn","checklistEnvironmentEvidenceFileId","checklistEnvironmentId","items","userAuth","status","subtitle","pageFormIsLoaded","listFormIsLoaded","listIsLoaded","enabledTableImagesDetails","messageNotRecord","onlyView","continuedSubmit","onSubmit","onItemFileDownload","onItemDeleteDefault","onSpecialTypeEvidenceFileOpenDialog","onUploadComplete","getList","scopedSlots","_u","key","fn","item","objValid","typeEvidenceCategory","typeEvidenceServiceAutomatically","typeEvidenceStatus","_s","style","typeEvidenceStatusBackgroundColor","typeEvidenceStatusTextColor","staticRenderFns","mixins","pageDefaultMixin","components","data","foreignKey","orderList","typeEvidenceCategoryId","typeEvidenceServiceId","typeEvidenceServiceNotFoundOther","typeEvidenceStatusId","environmentComplement","nameOriginal","nameSave","sizeKb","extension","error","fieldsNotReset","props","checklistId","Number","Boolean","typeOld","methods","defaultForm","defaultFormList","mountedPrepare","mountedPrepareFormUploadDefault","mountedList","openModal","$bvModal","hide","component","TYPE_1","TYPE_2","TYPE_3","TYPE_4","TYPE_5","RESTRICT","PUBLIC","class","service","params","URLSearchParams","append","http","checklistActivityId","get","WEB","MOBILE","set","BEFORE","DURING","AFTER","tabIndex","t","currentPage","pageTitle","checkErrorsComponent","singularTitle","statusChecklist","StatusChecklistType","FINISHED","reverseFinish","relationAccessSubValidation","$event","confirmReverse","proxy","getChecklist","isDelete","_e","enterpriseStepOptions","length","updateEnterpriseStep","typeChecklistStatus","PENDING","qtyGeneralOccurrencesDone","qtyGeneralOccurrencesPending","qtyGeneralOccurrencesNew","_f","qtyEnvironmentFinished","qtyEnvironmentTotal","qtyEnvironmentResume","qtyGeneralItemsOk","qtyGeneralItemsTotal","elapsedTimeTotal","updateGeneralInformation","scheduleId","undefined","initialLat","finalLat","platformOrigin","ChecklistPlatformType","initialDate","initialLng","finalDate","finalLng","mobileDevice","businessTypeSurvey","enterpriseId","SurveyType","OCCURRENCE","BUDGET","getDashboard","dashboard","pathology","_l","index","typePathologyId","typePathology","sectorColor","sector","qtyRecords","chartSectorSeries","chartSectorOptions","criticality","_obj","typeCriticalityId","typeCriticalityLineClass","typeCriticalityColor","typeCriticality","chartCriticalitySeries","chartCriticalityOptions","modalEnvironmentItemId","userAccessBudgetShowPrice","modalEnvironmentItemShow","fields","onItemReadDefault","executeSearchInput","spotFolderOptions","divisionOptions","StatusChecklistEnvironmentType","openDialogItems","statusEnvironment","environmentCodeLabel","environment","division","spotFolder","modifiers","qtyItemsOccurrencesDone","qtyItemsOccurrencesPending","qtyItemsOccurrencesNew","STARTED","getElapsedText","startDate","elapsedTime","finishDate","enableReverseFinish","buttonVariant","modalOccurrenceItemId","modalOccurrenceItemName","modalOccurrenceItemOccurrence","modalOccurrenceItemTabIndex","onCloseModalItem","onClose","blackout","localTab","onShowTab","busy","showEvidenceOldPhotos","processedDate","statusItem","StatusChecklistItemType","OK","HAS_PENDING_OCCURRENCE","HAS_NEW_OCCURRENCE","typeChecklistItem","setItemOk","checklistItemId","qtyOccurrencesDone","qtyOccurrencesPending","qtyOccurrencesNew","openDialogOccurrence","occurrences","occurrence","checklistItemOccurrenceId","statusItemOccurrence","StatusChecklistOccurrenceItemType","OCCURRENCE_PENDING","OCCURRENCE_NEW","OCCURRENCE_CLOSE","typePathologyAutomatically","occurrenceCodeLabel","logControl","createdUser","createdDate","occurrenceCreatedUser","occurrenceCreatedDate","budgetEnabled","typeCriticalityDegree","executorSignaled","getSignaledText","confirmDeleteNewOccurrence","qtyPhotos","comment","infoDevelopment","preventDefault","localStatus","entityFieldCustomized","typeChecklistId","title","checklistEnvironment","okText","id","localCommand","variant","showModal","onCloseItem","occurrenceId","updateOccurrence","historyComments","commentId","resume","updatedDate","updatedUser","occurrenceNumber","typePathologyNotFound","getUnit","sectorOptions","color","SeverityType","onRiscResult","UrgencyType","TrendType","riskClass","riskResult","onBudgetTotalPrice","UnitType","budgetTotalPrice","regulationList","showRegulation","regulations","viewFieldsRegulation","typeRegulationBackgroundColor","typeRegulationTextColor","description","onFinishPending","finishPending","occurrenceFileId","OccurrenceFileType","checklistItemOccurrenceFileId","occurrenceFileType","default","pageDialogFormMixin","sectorId","typePathologyNotFoundOther","positionX","positionY","positionScale","positionRotation","budgetPrice","budgetQuantity","budgetUnit","conclusion","typeSeverity","typeTrend","typeUrgency","volumetryQuantity","volumetryUnit","statusItemIntent","typeCriticalityList","checklistItem","String","setTabIndex","val","resetModal","$emit","watch","accordionState","modalOccurrenceItemShow","modalOccurrenceItemOpenAccordion","fieldsCustomizable","chart","width","colors","labels","legend","position","horizontalAlign","options","showTab","ui","startTime","time","v","code","request","computed","onForm","typeRelation","mountedPrepareFormListDefault","afterGetPage","getListEnvironment","modalOccurrenceItemEnvironmentId","typeCriticalityOptions","pageListIsLoaded","convertDateBR","processedError","checklistBudgetTotalPrice","_m","sorted","listParams","budgetSumTotalPrice","dialogModelActivityForm","dialogModalActivityFormShow","onSubmitActivityForm","openActivityForm","modelActivity","closeDialog","enableCopyLastActivity","confirmCopyLastActivity","note","typeActivityNumber","pageId","fieldKey","enableChild","typeActivity","titleChild","pageIsLoaded","enableGeneralFields","show","Object","checklistContentId","onChecklistContentDialog","onContentReadItem","typeContent","ContentType","openContentInsert","customToolbar","checklistContentFileId","SharingFileType","genKey","primaryKey","content","openDialogForm","checklistNumber","enterpriseStepId","inspectorId","enableAllSectors","enableSingleEnvironment","environmentId","qtyGeneralOccurrencesSignaled","qtyGeneralOccurrencesTotal","qtyEnvironmentPending","qtyEnvironmentStarted","issueDate","device","systemType","systemVersion","internetType","typeChecklist","scheduleStartDate","scheduleStartTime","scheduleFinishDate","scheduleFinishTime","scheduleSharing","sectors","enterprise","enterpriseCodeLabel","enterpriseFederalTaxpayer","enterpriseAddressFull","enterpriseNeighborhood","enterpriseZipcode","enterpriseCityFull","inspector","spotFolderId","EVIDENCE","selectList","activityNumber","onButtonSubmitText","cancelUpdatedList","viewFieldsPageChild"],"mappings":"kHAAA,gBAEMA,EAAO,CACTC,EAAG,IACHC,GAAI,KACJC,GAAI,KACJC,EAAG,IACHC,GAAI,KACJC,MAAO,KACPC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A,wBAEA,IAHA,EAGA,8CAHA,iBAKA,uBALA,IAKA,0CACA,SACA,kBAPA,kCAUA,gDAZA,uBAcA,YAdA,8CAkBI,SAnCJ,WAmCA,wKAEA,2EAFA,8CAMItQ,YAzCJ,WA2CM/F,KAAK2C,cAAe,IAQxB,QAhGF,WAgGA,+JAEA,mBAFA,SAIA,oBAJA,uBAMA,qBANA,+CC/K0a,I,YCOtawD,EAAY,eACd,EACArG,EACAqE,GACA,EACA,KACA,KACA,MAIa,OAAAgC,E,2CClBf,W,kCCAA,gBAGMtH,EAAO,CACTyI,OAAQ,GACRE,MAAO,IAILhI,EAAO,CACT,CACIC,MAAOZ,EAAKyI,OACZ5H,KAAM,uBAEV,CACID,MAAOZ,EAAK2I,MACZ9H,KAAM,qBAIRC,EAAW,SAAUC,GACvB,OAAOC,OAAKF,SAASH,EAAMI,IAGhB,QACXf,OACAW,OACAG","file":"js/chunk-6cccdcb2.c220d7ac.js","sourcesContent":["import Type from \"@/model/types/Type\";\r\n\r\nconst type = {\r\n    M: \"m\",\r\n    M2: \"m²\",\r\n    M3: \"m³\",\r\n    L: \"L\",\r\n    ML: \"ml\",\r\n    UNITY: \"un\",\r\n    KG: \"kg\",\r\n    T: \"t\",\r\n    VB: \"Vb\",\r\n    MONTH: \"Mês\",\r\n}\r\n\r\nconst list = [\r\n    {\r\n        value: \"\",\r\n        text: \"Não especificar\",\r\n    },\r\n    {\r\n        value: type.M,\r\n        text: type.M,\r\n    },\r\n    {\r\n        value: type.M2,\r\n        text: type.M2,\r\n    },\r\n    {\r\n        value: type.M3,\r\n        text: type.M3,\r\n    },\r\n    {\r\n        value: type.L,\r\n        text: type.L,\r\n    },\r\n    {\r\n        value: type.ML,\r\n        text: type.ML,\r\n    },\r\n    {\r\n        value: type.UNITY,\r\n        text: type.UNITY,\r\n    },\r\n    {\r\n        value: type.KG,\r\n        text: type.KG,\r\n    },\r\n    {\r\n        value: type.T,\r\n        text: type.T,\r\n    },\r\n    {\r\n        value: type.VB,\r\n        text: type.VB,\r\n    },\r\n    {\r\n        value: type.MONTH,\r\n        text: type.MONTH,\r\n    },\r\n]\r\n\r\nconst contains = function (typeInput) {\r\n    return Type.contains(list, typeInput)\r\n}\r\n\r\nexport default {\r\n    type,\r\n    list,\r\n    contains,\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('t-dialog-form',{ref:\"dialog_form\",attrs:{\"generalErrors\":_vm.generalErrors,\"title\":\"Detalhes da Foto\",\"ok-text\":\"Continuar\",\"id\":_vm.modalEvidenceFileId,\"command\":'insert'},on:{\"onSubmit\":_vm.onEvidenceContinue}},[_c('t-input',{attrs:{\"disable-unique-select\":\"\",\"label\":\"Categoria\",\"select\":\"\",\"options\":_vm.typeEvidenceCategoryOptions,\"required\":_vm.businessEvidenceFileRequiredFields === 'Y'},model:{value:(_vm.form.typeEvidenceCategoryId),callback:function ($$v) {_vm.$set(_vm.form, \"typeEvidenceCategoryId\", $$v)},expression:\"form.typeEvidenceCategoryId\"}}),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"d-flex\",staticStyle:{\"justify-content\":\"space-between\"}},[_c('div',[_vm._v(\"Serviço\"),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.businessEvidenceFileRequiredFields === 'Y'),expression:\"businessEvidenceFileRequiredFields === 'Y'\"}]},[_vm._v(\"*\")])]),_c('b-form-checkbox',{attrs:{\"switch\":\"\"},model:{value:(_vm.form.typeEvidenceServiceNotFound),callback:function ($$v) {_vm.$set(_vm.form, \"typeEvidenceServiceNotFound\", $$v)},expression:\"form.typeEvidenceServiceNotFound\"}},[_c('small',[_vm._v(\"Outro?\")])])],1),_c('t-input',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.form.typeEvidenceServiceNotFound),expression:\"!form.typeEvidenceServiceNotFound\"}],attrs:{\"hide-label\":\"\",\"label\":\"Serviço\",\"select\":\"\",\"options\":_vm.typeEvidenceServiceOptions,\"disable-unique-select\":\"\",\"required\":!_vm.form.typeEvidenceServiceNotFound && _vm.businessEvidenceFileRequiredFields === 'Y'},model:{value:(_vm.form.typeEvidenceServiceId),callback:function ($$v) {_vm.$set(_vm.form, \"typeEvidenceServiceId\", $$v)},expression:\"form.typeEvidenceServiceId\"}}),_c('t-input',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.form.typeEvidenceServiceNotFound),expression:\"form.typeEvidenceServiceNotFound\"}],attrs:{\"hide-label\":\"\",\"label\":\"Serviço - Outro\",\"placeholder\":\"Informe o serviço desejado\",\"required\":_vm.form.typeEvidenceServiceNotFound && _vm.businessEvidenceFileRequiredFields === 'Y'},model:{value:(_vm.form.typeEvidenceServiceNotFoundOther),callback:function ($$v) {_vm.$set(_vm.form, \"typeEvidenceServiceNotFoundOther\", $$v)},expression:\"form.typeEvidenceServiceNotFoundOther\"}})],1)],1),_c('t-input',{attrs:{\"label\":\"Status\",\"select\":\"\",\"options\":_vm.typeEvidenceStatusOptions,\"disable-unique-select\":\"\",\"required\":_vm.businessEvidenceFileRequiredFields === 'Y'},model:{value:(_vm.form.typeEvidenceStatusId),callback:function ($$v) {_vm.$set(_vm.form, \"typeEvidenceStatusId\", $$v)},expression:\"form.typeEvidenceStatusId\"}}),_c('t-input',{attrs:{\"required\":_vm.businessEvidenceFileRequiredFields === 'Y',\"help\":\"Utilize para acrescentar alguma informação de identificação deste ambiente. Exemplo: Próximo as escadas ou 1º Andar.\",\"label\":\"Complemento do Ambiente\"},model:{value:(_vm.form.environmentComplement),callback:function ($$v) {_vm.$set(_vm.form, \"environmentComplement\", $$v)},expression:\"form.environmentComplement\"}}),_c('t-input',{attrs:{\"required\":_vm.businessEvidenceFileRequiredFields === 'Y',\"enable-optimize-ai\":\"\",\"textarea\":\"\",\"label\":\"Descrição das atividades\"},model:{value:(_vm.form.fileEntity.subtitle),callback:function ($$v) {_vm.$set(_vm.form.fileEntity, \"subtitle\", $$v)},expression:\"form.fileEntity.subtitle\"}})],1),_c('t-page-form-upload',{attrs:{\"type-image\":_vm.typeImage,\"command\":_vm.command,\"other-entity\":_vm.otherEntity,\"path\":_vm.path,\"primaryKeyColumn\":_vm.primaryKeyColumn,\"foreign-key-column\":_vm.foreignKeyColumn,\"primary-key\":_vm.form.checklistEnvironmentEvidenceFileId,\"foreign-key\":_vm.form.checklistEnvironmentId,\"items\":_vm.items,\"user-auth\":_vm.userAuth,\"status\":_vm.status,\"subtitle\":_vm.form.fileEntity.subtitle,\"busy\":!_vm.pageFormIsLoaded,\"busy-form\":!_vm.listFormIsLoaded,\"busy-list\":!_vm.listIsLoaded,\"enabled-table-images-details\":_vm.enabledTableImagesDetails,\"message-not-record\":_vm.messageNotRecord,\"only-view\":_vm.onlyView,\"continued-submit\":_vm.continuedSubmit,\"special-type-evidence-file\":\"\",\"evidence-file-entity\":_vm.form},on:{\"onSubmit\":_vm.onSubmit,\"itemDownload\":_vm.onItemFileDownload,\"onItemDelete\":_vm.onItemDeleteDefault,\"onSpecialTypeEvidenceFileOpenDialog\":_vm.onSpecialTypeEvidenceFileOpenDialog,\"onUploadComplete\":_vm.onUploadComplete,\"onRequestList\":_vm.getList},scopedSlots:_vm._u([{key:\"before-subtitle\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.objValid(item.typeEvidenceCategory) || _vm.objValid(item.typeEvidenceServiceAutomatically) || _vm.objValid(item.typeEvidenceStatus)),expression:\"objValid(item.typeEvidenceCategory) || objValid(item.typeEvidenceServiceAutomatically) || objValid(item.typeEvidenceStatus)\"}],staticClass:\"border-bottom mb-2 pb-2\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.objValid(item.typeEvidenceCategory)),expression:\"objValid(item.typeEvidenceCategory)\"}]},[_vm._v(_vm._s(item.typeEvidenceCategory))]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.objValid(item.typeEvidenceServiceAutomatically)),expression:\"objValid(item.typeEvidenceServiceAutomatically)\"}]},[_c('small',[_vm._v(_vm._s(item.typeEvidenceServiceAutomatically))])]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.objValid(item.typeEvidenceStatus)),expression:\"objValid(item.typeEvidenceStatus)\"}],staticClass:\"badge badge-light\",style:({'background-color': item.typeEvidenceStatusBackgroundColor,'color': item.typeEvidenceStatusTextColor})},[_vm._v(_vm._s(item.typeEvidenceStatus))])])]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\n  <div>\n\n    <t-dialog-form :generalErrors=\"generalErrors\" title=\"Detalhes da Foto\" ok-text=\"Continuar\"\n                   :id=\"modalEvidenceFileId\" :command=\"'insert'\"\n                   ref=\"dialog_form\" @onSubmit=\"onEvidenceContinue\">\n\n\n      <t-input v-model=\"form.typeEvidenceCategoryId\" disable-unique-select label=\"Categoria\" select :options=\"typeEvidenceCategoryOptions\"\n               :required=\"businessEvidenceFileRequiredFields === 'Y'\"/>\n\n      <b-row>\n\n        <b-col cols=\"12\">\n\n          <div class=\"d-flex\" style=\"justify-content: space-between\">\n\n            <div>Serviço<span v-show=\"businessEvidenceFileRequiredFields === 'Y'\">*</span> </div>\n\n            <b-form-checkbox v-model=\"form.typeEvidenceServiceNotFound\" switch>\n\n              <small>Outro?</small>\n\n            </b-form-checkbox>\n\n          </div>\n\n          <t-input v-show=\"!form.typeEvidenceServiceNotFound\"\n                   v-model=\"form.typeEvidenceServiceId\"\n                   hide-label label=\"Serviço\" select :options=\"typeEvidenceServiceOptions\"\n                   disable-unique-select\n                   :required=\"!form.typeEvidenceServiceNotFound && businessEvidenceFileRequiredFields === 'Y'\"/>\n\n\n          <t-input v-show=\"form.typeEvidenceServiceNotFound\"\n                   v-model=\"form.typeEvidenceServiceNotFoundOther\"\n                   hide-label label=\"Serviço - Outro\" placeholder=\"Informe o serviço desejado\"\n                   :required=\"form.typeEvidenceServiceNotFound && businessEvidenceFileRequiredFields === 'Y'\"/>\n\n\n        </b-col>\n\n      </b-row>\n\n      <t-input v-model=\"form.typeEvidenceStatusId\" label=\"Status\" select :options=\"typeEvidenceStatusOptions\" disable-unique-select :required=\"businessEvidenceFileRequiredFields === 'Y'\"/>\n\n      <t-input v-model=\"form.environmentComplement\" :required=\"businessEvidenceFileRequiredFields === 'Y'\"\n               help=\"Utilize para acrescentar alguma informação de identificação deste ambiente. Exemplo: Próximo as escadas ou 1º Andar.\"\n               label=\"Complemento do Ambiente\"/>\n\n      <t-input v-model=\"form.fileEntity.subtitle\"\n               :required=\"businessEvidenceFileRequiredFields === 'Y'\"\n               enable-optimize-ai\n               textarea label=\"Descrição das atividades\"\n      />\n\n    </t-dialog-form>\n\n    <t-page-form-upload\n        :type-image=\"typeImage\"\n        :command=\"command\"\n        :other-entity=\"otherEntity\"\n        :path=\"path\" :primaryKeyColumn=\"primaryKeyColumn\" :foreign-key-column=\"foreignKeyColumn\"\n        :primary-key=\"form.checklistEnvironmentEvidenceFileId\" :foreign-key=\"form.checklistEnvironmentId\"\n        :items=\"items\" :user-auth=\"userAuth\" :status=\"status\"\n        :subtitle=\"form.fileEntity.subtitle\"\n        :busy=\"!pageFormIsLoaded\" :busy-form=\"!listFormIsLoaded\" :busy-list=\"!listIsLoaded\"\n        :enabled-table-images-details=\"enabledTableImagesDetails\"\n        :message-not-record=\"messageNotRecord\"\n        :only-view=\"onlyView\"\n        :continued-submit=\"continuedSubmit\"\n        special-type-evidence-file\n        :evidence-file-entity=\"form\"\n        @onSubmit=\"onSubmit\"\n        @itemDownload=\"onItemFileDownload\"\n        @onItemDelete=\"onItemDeleteDefault\"\n        @onSpecialTypeEvidenceFileOpenDialog=\"onSpecialTypeEvidenceFileOpenDialog\"\n        @onUploadComplete=\"onUploadComplete\" @onRequestList=\"getList\">\n\n      <template #before-subtitle=\"{item}\">\n        <div class=\"border-bottom mb-2 pb-2\" v-show=\"objValid(item.typeEvidenceCategory) || objValid(item.typeEvidenceServiceAutomatically) || objValid(item.typeEvidenceStatus)\">\n\n          <div v-show=\"objValid(item.typeEvidenceCategory)\">{{ item.typeEvidenceCategory }}</div>\n          <div v-show=\"objValid(item.typeEvidenceServiceAutomatically)\"><small>{{ item.typeEvidenceServiceAutomatically }}</small></div>\n\n          <span\n              v-show=\"objValid(item.typeEvidenceStatus)\"\n              class=\"badge badge-light\"\n                :style=\"{'background-color': item.typeEvidenceStatusBackgroundColor,'color': item.typeEvidenceStatusTextColor}\">{{\n              item.typeEvidenceStatus\n            }}</span>\n\n\n        </div>\n\n\n      </template>\n\n    </t-page-form-upload>\n\n  </div>\n\n\n</template>\n<script>\nimport pageDefaultMixin from \"@/mixins/page/pageDefaultMixin\"\nimport pageFormMixin from \"@/mixins/page/pageFormMixin\"\nimport pageFormListMixin from \"@/mixins/page/pageFormListMixin\";\nimport pageFormUploadMixin from \"@/mixins/page/pageFormUploadMixin\";\nimport tPageFormUpload from \"@/components/template/page/t-page-form-upload\";\nimport tDialogForm from \"@/components/template/dialog/t-dialog-form.vue\";\nimport TypeEvidenceCategoryService from \"@/services/modules/checklist/TypeEvidenceCategory.service\";\nimport TypeEvidenceServiceService from \"@/services/modules/checklist/TypeEvidenceService.service\";\nimport TypeEvidenceStatusService from \"@/services/modules/checklist/TypeEvidenceStatus.service\";\nimport ui from \"@/assets/scripts/ui\";\n\nexport default {\n  mixins: [pageDefaultMixin, pageFormMixin, pageFormListMixin, pageFormUploadMixin],\n  components: {tPageFormUpload, tDialogForm},\n  name: 'ChecklistEnvironmentEvidenceFile',\n  data() {\n    return {\n      path: \"checklist/environment-evidence-file\", //Utilizar somente quando fora do padrão\n      primaryKeyColumn: \"checklistEnvironmentEvidenceFileId\",\n      foreignKeyColumn: \"checklistEnvironmentId\", //Utilizar quando usar Tabs com outros componentes\n      type: \"D\", //Tipo padrão de modelo de envio de arquivos poderá ser I ou D\n      form: {\n        checklistEnvironmentId: this.foreignKey,\n        checklistEnvironmentEvidenceFileId: 0,\n        orderList: 0,\n        type: \"I\",\n        typeEvidenceCategoryId: 0,\n        typeEvidenceServiceId: 0,\n        typeEvidenceServiceNotFound: false,\n        typeEvidenceServiceNotFoundOther: \"\",\n        typeEvidenceStatusId: 0,\n        environmentComplement: \"\",\n        fileEntity: {\n          nameOriginal: \"\",\n          nameSave: \"\",\n          subtitle: \"\",\n          sizeKb: 0,\n          extension: \"\",\n        }\n      },\n      error: {//Campos que podem receber retorno de erro do backend\n        name: \"\",\n      },\n      fieldsNotReset: [//Marca os nomes de colunas que não devem ser resetados\n        this.foreignKeyColumn,\n        \"typeEvidenceCategoryId\",\n        \"typeEvidenceServiceId\",\n        \"typeEvidenceServiceNotFound\",\n        \"typeEvidenceServiceNotFoundOther\",\n        \"typeEvidenceStatusId\",\n        \"environmentComplement\",\n      ],\n      //--------------------------------------------------------------------------------------\n      //Início de campos personalizados desta tela\n      businessEvidenceFileRequiredFields: \"Y\",//Por padrão serão obrigatórios até o carregamento da tela\n      continuedSubmit: false,\n      typeEvidenceCategoryOptions: [],\n      typeEvidenceServiceOptions: [],\n      typeEvidenceStatusOptions: [],\n      modalEvidenceFileId: \"modal-evidence-file-information-\"+ui.generateRandomNumber(100000,999999)\n      //--------------------------------------------------------------------------------------\n    }\n  },\n  props: {\n    checklistId: Number,\n    otherEntity: Boolean,\n    typeOld: Boolean, //Evidências sincronizadas anteriormente deste mesmo ambiente.\n  },\n  methods: {\n\n    defaultForm() {\n\n      //Preenche somente os campos que foram limpos após o reset\n      this.defaultFormList()\n\n\n    },\n\n    mountedPrepare() {\n\n      if (this.otherEntity) {\n        this.command = 'view'\n      }\n\n      this.mountedPrepareFormUploadDefault()\n\n    },\n\n    async mountedContinued() {\n\n      this.listParams.append(\"typeOld\",\"\"+ this.typeOld)\n\n      await this.getList()\n\n      await TypeEvidenceCategoryService.selectList(\"\").then((list) => {\n        this.typeEvidenceCategoryOptions = list\n      }).catch(error => this.responseError(error))\n\n      await TypeEvidenceServiceService.selectList(\"\").then((list) => {\n        this.typeEvidenceServiceOptions = list\n      }).catch(error => this.responseError(error))\n\n      await TypeEvidenceStatusService.selectList(\"\").then((list) => {\n        this.typeEvidenceStatusOptions = list\n      }).catch(error => this.responseError(error))\n\n      this.businessEvidenceFileRequiredFields = this.getRenderRule('businessEvidenceFileRequiredFields')\n\n    },\n\n    async onSubmit() {\n\n      await this.setSendingFormListDefault(this.form.checklistEnvironmentEvidenceFileId)\n\n    },\n\n    mountedList() {\n\n      // Manipulação da listagem após carregando\n      //--------------------------------------\n\n      //--------------------------------------\n\n      this.listIsLoaded = true\n\n    },\n    //--------------------------------------------------------------------------------------\n    //Início de métodos personalizados desta tela\n    onSpecialTypeEvidenceFileOpenDialog() {\n\n      this.continuedSubmit = false\n      this.openModal(this.modalEvidenceFileId)\n\n\n    },\n\n    onEvidenceContinue() {\n\n      this.$bvModal.hide(this.modalEvidenceFileId)\n      this.continuedSubmit = true\n\n    }\n    //--------------------------------------------------------------------------------------\n  },\n  async mounted() {\n\n    this.mountedPrepare()\n\n    await this.mountedFormList()\n\n    await this.mountedContinued()\n\n  },\n}\n</script>\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!./ChecklistEnvironmentEvidenceFile.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!./ChecklistEnvironmentEvidenceFile.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ChecklistEnvironmentEvidenceFile.vue?vue&type=template&id=1af72780&\"\nimport script from \"./ChecklistEnvironmentEvidenceFile.vue?vue&type=script&lang=js&\"\nexport * from \"./ChecklistEnvironmentEvidenceFile.vue?vue&type=script&lang=js&\"\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  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","import Type from \"@/model/types/Type\";\r\n\r\nconst type = {\r\n    TYPE_1: 1,\r\n    TYPE_2: 2,\r\n    TYPE_3: 3,\r\n    TYPE_4: 4,\r\n    TYPE_5: 5,\r\n}\r\n\r\nconst list = [\r\n    {\r\n        value: type.TYPE_1,\r\n        text: \"1 - Sem urgência\",\r\n    },\r\n    {\r\n        value: type.TYPE_2,\r\n        text: \"2 - Pouco urgente\",\r\n    },\r\n    {\r\n        value: type.TYPE_3,\r\n        text: \"3 - Urgente\",\r\n    },\r\n    {\r\n        value: type.TYPE_4,\r\n        text: \"4 - Muito urgente\",\r\n    },\r\n    {\r\n        value: type.TYPE_5,\r\n        text: \"5 - Extremamente urgente\",\r\n    },\r\n]\r\n\r\nconst contains = function (typeInput) {\r\n    return Type.contains(list, typeInput)\r\n}\r\n\r\nexport default {\r\n    type,\r\n    list,\r\n    contains,\r\n}","import Type from \"@/model/types/Type\";\r\n\r\nconst type = {\r\n    RESTRICT: 1,\r\n    PUBLIC: 2,\r\n}\r\n\r\nconst list = [\r\n    {\r\n        value: type.RESTRICT,\r\n        text: \"Restrito\",\r\n\r\n    },\r\n    {\r\n        value: type.PUBLIC,\r\n        text: \"Público\",\r\n        class:'text-danger'\r\n    },\r\n]\r\n\r\nconst contains = function (typeInput) {\r\n    return Type.contains(list, typeInput)\r\n}\r\n\r\nexport default {\r\n    type,\r\n    list,\r\n    contains,\r\n}","import http from '../../config/http-common';\r\n\r\n//Usado somente se for realmente necessário algo fora do padrão GeneralCRUD.service.js\r\nconst path = \"checklist/model-activity\"\r\n\r\nclass service {\r\n\r\n    getList(checklistId) {\r\n\r\n        let params = new URLSearchParams()\r\n        params.append(\"checklistId\", checklistId)\r\n        params.append(\"status\", 1)\r\n\r\n        return http.list(path, params);\r\n    }\r\n\r\n    selectList(params) {\r\n        return http.list(path + \"/selectList\", params);\r\n    }\r\n\r\n\r\n\r\n    copyData(checklistActivityId) {\r\n        return http.get(path + \"/copyLastActivity/?checklistActivityId=\" + checklistActivityId)\r\n    }\r\n\r\n}\r\n\r\nexport default new service();\r\n\r\n","import Type from \"@/model/types/Type\";\r\n\r\nconst type = {\r\n    TYPE_1: 1,\r\n    TYPE_2: 2,\r\n    TYPE_3: 3,\r\n    TYPE_4: 4,\r\n    TYPE_5: 5,\r\n}\r\n\r\nconst list = [\r\n    {\r\n        value: type.TYPE_1,\r\n        text: \"1 - Sem gravidade\",\r\n    },\r\n    {\r\n        value: type.TYPE_2,\r\n        text: \"2 - Pouco grave\",\r\n    },\r\n    {\r\n        value: type.TYPE_3,\r\n        text: \"3 - Grave\",\r\n    },\r\n    {\r\n        value: type.TYPE_4,\r\n        text: \"4 - Muito grave\",\r\n    },\r\n    {\r\n        value: type.TYPE_5,\r\n        text: \"5 - Extremamente grave\",\r\n    },\r\n]\r\n\r\nconst contains = function (typeInput) {\r\n    return Type.contains(list, typeInput)\r\n}\r\n\r\nexport default {\r\n    type,\r\n    list,\r\n    contains,\r\n}","import Type from \"@/model/types/Type\";\r\n\r\nconst type = {\r\n    WEB: 1,\r\n    MOBILE: 2,\r\n}\r\n\r\nconst list = [\r\n    {\r\n        value: type.WEB,\r\n        text: \"Web\",\r\n    },\r\n    {\r\n        value: type.MOBILE,\r\n        text: \"Mobile\",\r\n    },\r\n]\r\n\r\nconst contains = function (typeInput) {\r\n    return Type.contains(list, typeInput)\r\n}\r\n\r\nexport default {\r\n    type,\r\n    list,\r\n    contains,\r\n}","import http from '../../config/http-common';\r\n\r\n//Usado somente se for realmente necessário algo fora do padrão GeneralCRUD.service.js\r\nconst path = \"checklist/type-criticality\"\r\n\r\nclass service {\r\n\r\n    selectList(params) {\r\n        return http.list(path + \"/selectList\",params);\r\n    }\r\n\r\n    getAllCriticality() {\r\n        let params = new URLSearchParams()\r\n        params.set(\"status\", \"1\")\r\n        return http.list(path + \"/selectAll\",params);\r\n    }\r\n\r\n\r\n}\r\n\r\nexport default new service();\r\n\r\n","import http from '../../config/http-common';\r\n\r\n//Usado somente se for realmente necessário algo fora do padrão GeneralCRUD.service.js\r\nconst path = \"agent/type-sector\"\r\n\r\nclass service {\r\n\r\n    selectList(params) {\r\n        return http.list(path + \"/selectList\",params);\r\n    }\r\n\r\n    getAllSectors() {\r\n        let params = new URLSearchParams()\r\n        params.set(\"status\", \"1\")\r\n        return http.list(path + \"/selectAll\",params);\r\n    }\r\n\r\n\r\n}\r\n\r\nexport default new service();\r\n\r\n","import Type from \"@/model/types/Type\";\r\n\r\nconst type = {\r\n    BEFORE: 1,\r\n    DURING: 2,\r\n    AFTER: 3,\r\n}\r\n\r\nconst list = [\r\n    {\r\n        value: type.BEFORE,\r\n        text: \"Antes\",\r\n    },\r\n    {\r\n        value: type.DURING,\r\n        text: \"Durante\",\r\n    },\r\n    {\r\n        value: type.AFTER,\r\n        text: \"Depois\",\r\n    },\r\n]\r\n\r\nconst contains = function (typeInput) {\r\n    return Type.contains(list, typeInput)\r\n}\r\n\r\nexport default {\r\n    type,\r\n    list,\r\n    contains,\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('t-page',[_c('t-page-form',{attrs:{\"tabs\":\"\",\"set-tab-index\":_vm.tabIndex,\"title\":_vm.t('form-of')+_vm.currentPage.pageTitle,\"command\":_vm.command,\"status\":_vm.status,\"generalErrors\":_vm.generalErrors,\"check-errors-again\":_vm.checkErrorsComponent,\"submit-text\":_vm.command === 'delete' ? _vm.currentPage.singularTitle : 'Finalizar Vistoria',\"submit-text-not-default\":_vm.command !== 'delete',\"go-back-title\":_vm.t('go-back-list'),\"go-back-to\":_vm.currentPage.name,\"busy\":!_vm.pageFormIsLoaded},on:{\"onSubmit\":_vm.onSubmit},scopedSlots:_vm._u([{key:\"title-buttons\",fn:function(){return [_c('t-button',{directives:[{name:\"show\",rawName:\"v-show\",value:((_vm.command === 'delete' || _vm.command === 'view') && _vm.form.statusChecklist === _vm.StatusChecklistType.type.FINISHED),expression:\"(command === 'delete' || command === 'view') && form.statusChecklist === StatusChecklistType.type.FINISHED\"}],attrs:{\"outline-danger\":\"\",\"sending\":_vm.reverseFinish,\"enable-loader\":\"\",\"title\":!_vm.relationAccessSubValidation('sub-checklist-reverse-finish') ? 'Perfil de acesso não habilitado para estorno de finalização' : '',\"disabled\":!_vm.relationAccessSubValidation('sub-checklist-reverse-finish')},on:{\"click\":function($event){return _vm.confirmReverse()}}},[_c('b-icon-clipboard-x',{staticClass:\"mr-1\"}),_vm._v(\" Estornar finalização \")],1)]},proxy:true},{key:\"default\",fn:function(){return [_c('t-form-tab',{attrs:{\"title\":\"Vistoria\"},on:{\"onClick\":function($event){return _vm.getChecklist()}}},[_c('div',{staticClass:\"p-2 mb-2\"},[(_vm.isDelete())?_c('t-msg',{attrs:{\"danger\":\"\"}},[_vm._v(\" Atenção ao excluir a Vistoria todos os processos relacionados a mesma serão excluídos automaticamente como: \"),_c('ul',[_c('li',[_vm._v(\"Apontamentos novos serão excluídos por completo\")]),_c('li',[_vm._v(\"Apontamentos finalizados voltaram para pendentes\")]),_c('li',[_vm._v(\"Exclusão de relatório de apontamentos por vistoria que estiverem disponíveis para download\")])]),_c('br'),_c('br'),_vm._v(\" Este processo é irreversível, verifique se realmente deseja continuar ou faça um estorno da finalização e edite as informações desejadas e depois finalize novamente. \")]):_vm._e()],1),_c('t-form-card',{attrs:{\"title\":\"Dados Básicos\"}},[_c('b-row',[_c('t-input',{attrs:{\"lpad\":\"4\",\"cols\":\"4\",\"label\":\"Cód. Vistoria\",\"fixed\":\"\",\"highlight\":\"\"},model:{value:(_vm.form.checklistNumber),callback:function ($$v) {_vm.$set(_vm.form, \"checklistNumber\", $$v)},expression:\"form.checklistNumber\"}}),_c('t-input',{attrs:{\"cols\":\"4\",\"date\":\"\",\"fixed\":\"\",\"label\":\"Data Vistoria\",\"required\":\"\"},model:{value:(_vm.form.issueDate),callback:function ($$v) {_vm.$set(_vm.form, \"issueDate\", $$v)},expression:\"form.issueDate\"}}),_c('t-input',{attrs:{\"cols\":\"4\",\"fixed\":\"\",\"label\":\"Vistoriador\"},model:{value:(_vm.form.inspector),callback:function ($$v) {_vm.$set(_vm.form, \"inspector\", $$v)},expression:\"form.inspector\"}})],1),_c('b-row',[_c('t-input',{attrs:{\"cols\":\"3\",\"fixed\":\"\",\"label\":\"Cód. Empr.\"},model:{value:(_vm.form.enterpriseCodeLabel),callback:function ($$v) {_vm.$set(_vm.form, \"enterpriseCodeLabel\", $$v)},expression:\"form.enterpriseCodeLabel\"}}),_c('t-input',{attrs:{\"cols\":_vm.enterpriseStepOptions.length > 0 ? 6 : 9,\"fixed\":\"\",\"label\":\"Empreendimento\"},model:{value:(_vm.form.enterprise),callback:function ($$v) {_vm.$set(_vm.form, \"enterprise\", $$v)},expression:\"form.enterprise\"}}),(_vm.enterpriseStepOptions.length > 0)?_c('t-input',{attrs:{\"cols\":\"3\",\"select\":\"\",\"options\":_vm.enterpriseStepOptions,\"label\":\"Fase\",\"disable-unique-select\":\"\"},on:{\"change\":_vm.updateEnterpriseStep},model:{value:(_vm.form.enterpriseStepId),callback:function ($$v) {_vm.$set(_vm.form, \"enterpriseStepId\", $$v)},expression:\"form.enterpriseStepId\"}}):_vm._e()],1),_c('b-row',[_c('t-input',{attrs:{\"cols\":\"3\",\"fixed\":\"\",\"label\":\"CEP\"},model:{value:(_vm.form.enterpriseZipcode),callback:function ($$v) {_vm.$set(_vm.form, \"enterpriseZipcode\", $$v)},expression:\"form.enterpriseZipcode\"}}),_c('t-input',{attrs:{\"cols\":\"9\",\"fixed\":\"\",\"label\":\"Endereço\"},model:{value:(_vm.form.enterpriseAddressFull),callback:function ($$v) {_vm.$set(_vm.form, \"enterpriseAddressFull\", $$v)},expression:\"form.enterpriseAddressFull\"}})],1),_c('b-row',[_c('t-input',{attrs:{\"cols\":\"6\",\"fixed\":\"\",\"label\":\"Bairro\"},model:{value:(_vm.form.enterpriseNeighborhood),callback:function ($$v) {_vm.$set(_vm.form, \"enterpriseNeighborhood\", $$v)},expression:\"form.enterpriseNeighborhood\"}}),_c('t-input',{attrs:{\"cols\":\"6\",\"fixed\":\"\",\"label\":\"Cidade - UF\"},model:{value:(_vm.form.enterpriseCityFull),callback:function ($$v) {_vm.$set(_vm.form, \"enterpriseCityFull\", $$v)},expression:\"form.enterpriseCityFull\"}})],1),_c('b-row',[(_vm.form.typeChecklistStatus !== '')?_c('t-input',{staticStyle:{\"max-width\":\"300px\"},attrs:{\"cols\":\"6\",\"fixed\":\"\",\"label\":\"Status Operacional\"},model:{value:(_vm.form.typeChecklistStatus),callback:function ($$v) {_vm.$set(_vm.form, \"typeChecklistStatus\", $$v)},expression:\"form.typeChecklistStatus\"}}):_vm._e(),_c('b-col',{staticStyle:{\"max-width\":\"300px\"},attrs:{\"cols\":\"6\"}},[_vm._v(\" Status Checklist \"),(_vm.form.statusChecklist=== _vm.StatusChecklistType.type.PENDING)?_c('div',{staticClass:\"border p-2 b-radius mt-1 d-flex\"},[_c('span',{staticClass:\"badge badge-dot badge-dot-xl mr-2 badge-danger\",staticStyle:{\"margin-top\":\"2px\"}}),_c('div',{staticClass:\"text-danger\",staticStyle:{\"font-size\":\"15px\"}},[_vm._v(\" Pendente\")])]):_c('div',{staticClass:\"border p-2 b-radius mt-1 d-flex\"},[_c('span',{staticClass:\"badge badge-dot badge-dot-xl mr-2 badge-success\",staticStyle:{\"margin-top\":\"2px\"}}),_c('div',{staticClass:\"text-success\",staticStyle:{\"font-size\":\"15px\"}},[_vm._v(\" Finalizada\")])])])],1)],1),_c('t-form-card',{attrs:{\"title\":\"Resumo\"}},[_c('div',{staticClass:\"no-gutters row\"},[_c('div',{staticClass:\"col-sm-12 col-md-4 col-xl-4\"},[_c('div',{staticClass:\"card no-shadow rm-border bg-transparent widget-chart text-left\"},[_c('div',{staticClass:\"icon-wrapper rounded-circle\"},[_c('div',{staticClass:\"icon-wrapper-bg opacity-9 bg-success d-flex align-items-center justify-content-center\"},[_c('b-icon-clipboard-check',{staticClass:\"text-white\",staticStyle:{\"scale\":\"1.7\"}})],1)]),_c('div',{staticClass:\"widget-chart-content\"},[_c('div',{staticClass:\"widget-subheading\"},[_vm._v(\"Apontamentos Finalizados \"),_c('t-help',{attrs:{\"title\":\"Apontamentos finalizadas através deste checklist\"}})],1),_c('div',{staticClass:\"widget-numbers text-success\"},[_c('span',[_vm._v(_vm._s(_vm.form.qtyGeneralOccurrencesDone))])])])])]),_c('div',{staticClass:\"col-sm-6 col-md-4 col-xl-4\"},[_c('div',{staticClass:\"card no-shadow rm-border bg-transparent widget-chart text-left\"},[_c('div',{staticClass:\"icon-wrapper rounded-circle\"},[_c('div',{staticClass:\"icon-wrapper-bg opacity-9 bg-warning d-flex align-items-center justify-content-center\"},[_c('b-icon-clipboard-minus',{staticClass:\"text-white\",staticStyle:{\"scale\":\"1.7\"}})],1)]),_c('div',{staticClass:\"widget-chart-content\"},[_c('div',{staticClass:\"widget-subheading\"},[_vm._v(\"Apontamentos Pendentes \"),_c('t-help',{attrs:{\"title\":\"Apontamentos que estavam pendentes e que continuam da mesma forma após este checklist ser realizado\"}})],1),_c('div',{staticClass:\"widget-numbers\"},[_vm._v(_vm._s(_vm.form.qtyGeneralOccurrencesPending))])])]),_c('div',{staticClass:\"divider m-0 d-md-none d-sm-block\"})]),_c('div',{staticClass:\"col-sm-6 col-md-4 col-xl-4\"},[_c('div',{staticClass:\"card no-shadow rm-border bg-transparent widget-chart text-left\"},[_c('div',{staticClass:\"icon-wrapper rounded-circle\"},[_c('div',{staticClass:\"icon-wrapper-bg opacity-9 bg-danger d-flex align-items-center justify-content-center\"},[_c('b-icon-clipboard-plus',{staticClass:\"text-white\",staticStyle:{\"scale\":\"1.7\"}})],1)]),_c('div',{staticClass:\"widget-chart-content\"},[_c('div',{staticClass:\"widget-subheading\"},[_vm._v(\"Apontamentos novos \"),_c('t-help',{attrs:{\"title\":\"Apontamentos novos com origem neste checklist\"}})],1),_c('div',{staticClass:\"widget-numbers\"},[_c('span',[_vm._v(_vm._s(_vm.form.qtyGeneralOccurrencesNew))])])])]),_c('div',{staticClass:\"divider m-0 d-md-none d-sm-block\"})])]),_c('b-row',[_c('div',{staticClass:\"col-sm-12 col-md-4\"},[_c('div',{staticClass:\"widget-content p-0\"},[_c('div',{staticClass:\"widget-content-outer\"},[_c('div',{staticClass:\"widget-content-wrapper\"},[_c('div',{staticClass:\"widget-content-left\"},[_c('div',{staticClass:\"widget-numbers text-dark\"},[_vm._v(\" \"+_vm._s(_vm._f(\"number\")(((_vm.form.qtyEnvironmentFinished / _vm.form.qtyEnvironmentTotal) * 100),2))+\"% \")])])]),_c('div',{staticClass:\"widget-progress-wrapper mt-1\"},[_c('div',{staticClass:\"progress-bar-xs progress-bar-animated-alt progress\"},[_c('div',{staticClass:\"progress-bar bg-info\",style:({'width':((_vm.form.qtyEnvironmentFinished/_vm.form.qtyEnvironmentTotal)*100)+'%'}),attrs:{\"role\":\"progressbar\",\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\"}})]),_c('div',{staticClass:\"progress-sub-label\"},[_c('div',{staticClass:\"sub-label-left font-size-md text-dark\"},[_vm._v(\"Ambientes vistoriados: \"+_vm._s(_vm.form.qtyEnvironmentResume)+\" \")])])])])])]),_c('div',{staticClass:\"col-sm-12 col-md-4\"},[_c('div',{staticClass:\"widget-content p-0\"},[_c('div',{staticClass:\"widget-content-outer\"},[_c('div',{staticClass:\"widget-content-wrapper\"},[_c('div',{staticClass:\"widget-content-left\"},[_c('div',{staticClass:\"widget-numbers text-dark\"},[_vm._v(\" \"+_vm._s(_vm._f(\"number\")(((_vm.form.qtyGeneralItemsOk / _vm.form.qtyGeneralItemsTotal) * 100),2))+\"% \")])])]),_c('div',{staticClass:\"widget-progress-wrapper mt-1\"},[_c('div',{staticClass:\"progress-bar-xs progress-bar-animated-alt progress\"},[_c('div',{staticClass:\"progress-bar bg-info\",style:({'width':((_vm.form.qtyGeneralItemsOk/_vm.form.qtyGeneralItemsTotal)*100)+'%'}),attrs:{\"role\":\"progressbar\",\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\"}})]),_c('div',{staticClass:\"progress-sub-label\"},[_c('div',{staticClass:\"sub-label-left font-size-md text-dark\"},[_vm._v(\"Itens sem apontamentos ou finalizados \"),_c('t-help',{attrs:{\"title\":\"Itens sem nenhum apontamento nova ou pendente.\"}})],1)])])])])]),_c('div',{staticClass:\"col-sm-12 col-md-4\"},[_c('div',[_c('span',{staticClass:\"sub-label-left font-size-md text-dark opacity-6\"},[_vm._v(\"Tempo de vistoria\")]),_c('div',{staticStyle:{\"font-size\":\"30px\"}},[_c('b-icon-clock',{staticClass:\"mr-1\"}),_vm._v(\" \"+_vm._s(_vm._f(\"minuteOrHour\")(_vm.form.elapsedTimeTotal))+\" \")],1)])])])],1),_c('t-form-card',{attrs:{\"title\":\"Observações\"}},[_c('t-input',{attrs:{\"textarea\":\"\",\"hide-label\":\"\",\"label\":\"Observações gerais desta vistoria\",\"max-length\":\"1000\"},on:{\"focusout\":_vm.updateGeneralInformation},model:{value:(_vm.form.note),callback:function ($$v) {_vm.$set(_vm.form, \"note\", $$v)},expression:\"form.note\"}})],1),_c('t-form-card',{attrs:{\"title\":\"Origem\"}},[(_vm.form.enableSingleEnvironment)?_c('div',[_c('b-card-title',[_vm._v(\"Manual para um ambiente exclusivo\")]),_c('b-row',[_c('t-input',{attrs:{\"cols\":\"2\",\"fixed\":\"\",\"label\":\"Cód. Amb.\"},model:{value:(_vm.form.environmentCodeLabel),callback:function ($$v) {_vm.$set(_vm.form, \"environmentCodeLabel\", $$v)},expression:\"form.environmentCodeLabel\"}}),_c('t-input',{attrs:{\"cols\":\"5\",\"fixed\":\"\",\"label\":\"Ambiente\"},model:{value:(_vm.form.environment),callback:function ($$v) {_vm.$set(_vm.form, \"environment\", $$v)},expression:\"form.environment\"}}),_c('t-input',{attrs:{\"cols\":\"5\",\"fixed\":\"\",\"label\":\"Pavimento\"},model:{value:(_vm.form.spotFolder),callback:function ($$v) {_vm.$set(_vm.form, \"spotFolder\", $$v)},expression:\"form.spotFolder\"}})],1)],1):(_vm.form.scheduleId > 0)?_c('div',[_c('b-card-title',[_vm._v(\"Agenda de Vistoria\")]),_c('t-input',{attrs:{\"fixed\":\"\",\"label\":\"Modelo de Vistoria\"},model:{value:(_vm.form.typeChecklist),callback:function ($$v) {_vm.$set(_vm.form, \"typeChecklist\", $$v)},expression:\"form.typeChecklist\"}}),_c('b-row',[_c('t-input',{attrs:{\"cols\":\"3\",\"date\":\"\",\"fixed\":\"\",\"label\":\"Data Inicial\",\"help\":\"Data especificada para início da vistoria\"},model:{value:(_vm.form.scheduleStartDate),callback:function ($$v) {_vm.$set(_vm.form, \"scheduleStartDate\", $$v)},expression:\"form.scheduleStartDate\"}}),_c('t-input',{attrs:{\"cols\":\"3\",\"time\":\"\",\"fixed\":\"\",\"label\":\"Horário Inicial\",\"help\":\"Horário sugestão para início da vistoria\"},model:{value:(_vm.form.scheduleStartTime),callback:function ($$v) {_vm.$set(_vm.form, \"scheduleStartTime\", $$v)},expression:\"form.scheduleStartTime\"}}),_c('t-input',{attrs:{\"cols\":\"3\",\"date\":\"\",\"fixed\":\"\",\"label\":\"Data Final\",\"help\":\"Data especificada limite para realização da vistoria\"},model:{value:(_vm.form.scheduleFinishDate),callback:function ($$v) {_vm.$set(_vm.form, \"scheduleFinishDate\", $$v)},expression:\"form.scheduleFinishDate\"}}),_c('t-input',{attrs:{\"cols\":\"3\",\"time\":\"\",\"fixed\":\"\",\"label\":\"Horário Final\",\"help\":\"Horário sugestão de término da vistoria\"},model:{value:(_vm.form.scheduleFinishTime),callback:function ($$v) {_vm.$set(_vm.form, \"scheduleFinishTime\", $$v)},expression:\"form.scheduleFinishTime\"}})],1)],1):_c('div',[_c('b-card-title',[_vm._v(\"Manual para um modelo de vistoria\")]),_c('t-input',{attrs:{\"fixed\":\"\",\"label\":\"Modelo de Vistoria\"},model:{value:(_vm.form.typeChecklist),callback:function ($$v) {_vm.$set(_vm.form, \"typeChecklist\", $$v)},expression:\"form.typeChecklist\"}})],1)]),_c('t-form-card',{attrs:{\"title\":\"Localização\"}},[((_vm.form.initialLat !== undefined && _vm.form.initialLat !== 0) || (_vm.form.finalLat !== undefined && _vm.form.finalLat !== 0))?_c('div',[(_vm.form.platformOrigin === _vm.ChecklistPlatformType.type.WEB)?_c('t-msg',{attrs:{\"info\":\"\"}},[_vm._v(\"Localização não é precisa por conta da plataforma web utilizada para realização do checklist \")]):_vm._e(),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('b-card-title',[_vm._v(\"Início: \"+_vm._s(_vm._f(\"datetime\")(_vm.form.initialDate)))]),(_vm.form.initialLat !== undefined && _vm.form.initialLat !== 0)?_c('t-map',{attrs:{\"bordered\":\"\",\"latitude\":_vm.form.initialLat,\"zoom\":_vm.form.platformOrigin === _vm.ChecklistPlatformType.type.WEB ? 14 : 16,\"longitude\":_vm.form.initialLng}}):_vm._e()],1),(_vm.form.finalDate !== undefined && _vm.form.finalDate !== '')?_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('b-card-title',[_vm._v(\"Término: \"+_vm._s(_vm._f(\"datetime\")(_vm.form.finalDate)))]),(_vm.form.finalLat !== undefined && _vm.form.finalLat !== 0)?_c('t-map',{attrs:{\"bordered\":\"\",\"latitude\":_vm.form.finalLat,\"zoom\":_vm.form.platformOrigin === _vm.ChecklistPlatformType.type.WEB ? 14 : 16,\"longitude\":_vm.form.finalLng}}):_vm._e()],1):_vm._e()],1)],1):_c('t-msg',{attrs:{\"warning\":\"\"}},[_vm._v(\"Localização de início ou término não identificada\")])],1),_c('t-form-card',{attrs:{\"title\":\"Dispositivo\"}},[_c('b-row',[_c('t-input',{attrs:{\"options\":_vm.ChecklistPlatformType.list,\"radio\":\"\",\"cols\":\"6\",\"fixed\":\"\",\"label\":\"Plataforma\"},model:{value:(_vm.form.platformOrigin),callback:function ($$v) {_vm.$set(_vm.form, \"platformOrigin\", $$v)},expression:\"form.platformOrigin\"}}),_c('t-input',{attrs:{\"cols\":\"6\",\"fixed\":\"\",\"label\":\"Sistema\"},model:{value:(_vm.form.mobileDevice.systemType),callback:function ($$v) {_vm.$set(_vm.form.mobileDevice, \"systemType\", $$v)},expression:\"form.mobileDevice.systemType\"}})],1),_c('b-row',[_c('t-input',{attrs:{\"cols\":\"6\",\"fixed\":\"\",\"label\":\"Modelo\"},model:{value:(_vm.form.mobileDevice.device),callback:function ($$v) {_vm.$set(_vm.form.mobileDevice, \"device\", $$v)},expression:\"form.mobileDevice.device\"}}),_c('t-input',{attrs:{\"cols\":\"6\",\"fixed\":\"\",\"label\":\"Versão\"},model:{value:(_vm.form.mobileDevice.systemVersion),callback:function ($$v) {_vm.$set(_vm.form.mobileDevice, \"systemVersion\", $$v)},expression:\"form.mobileDevice.systemVersion\"}})],1)],1)],1)]},proxy:true},{key:\"out-of-form\",fn:function(){return [_c('t-form-tab',{attrs:{\"title\":\"Ambientes\",\"hash\":\"environment\",\"lazy\":\"\"}},[_c('ChecklistEnvironment',{attrs:{\"status-checklist\":_vm.form.statusChecklist,\"business-type-survey\":_vm.form.businessTypeSurvey,\"enable-reverse-finish\":_vm.relationAccessSubValidation('sub-checklist-reverse-finish'),\"user-access-budget-show-price\":_vm.relationAccessSubValidation('sub-checklist-budget-show-price'),\"foreign-key\":_vm.form.checklistId,\"enterpriseId\":_vm.form.enterpriseId}})],1),(_vm.form.businessTypeSurvey  >= _vm.SurveyType.type.OCCURRENCE)?_c('t-form-tab',{attrs:{\"title\":\"Apontamentos\",\"hash\":\"occurrence\",\"lazy\":\"\"}},[_c('ChecklistOccurrence',{attrs:{\"business-type-survey\":_vm.form.businessTypeSurvey,\"user-access-budget-show-price\":_vm.relationAccessSubValidation('sub-checklist-budget-show-price'),\"foreign-key\":_vm.form.checklistId}})],1):_vm._e(),(_vm.form.businessTypeSurvey  === _vm.SurveyType.type.BUDGET)?_c('t-form-tab',{attrs:{\"title\":\"Orçamento\",\"hash\":\"budget\",\"lazy\":\"\"}},[_c('ChecklistOccurrence',{attrs:{\"business-type-survey\":_vm.form.businessTypeSurvey,\"user-access-budget-show-price\":_vm.relationAccessSubValidation('sub-checklist-budget-show-price'),\"foreign-key\":_vm.form.checklistId,\"budget-enabled\":\"\"}})],1):_vm._e(),(_vm.form.businessTypeSurvey  >= _vm.SurveyType.type.OCCURRENCE)?_c('t-form-tab',{attrs:{\"title\":\"Planta\",\"hash\":\"floor-plan\",\"lazy\":\"\"}},[_c('t-msg',{attrs:{\"info\":\"\"}},[_vm._v(\"Em desenvolvimento!\")])],1):_vm._e(),_c('t-form-tab',{attrs:{\"title\":\"Atividades\",\"hash\":\"activity\",\"lazy\":\"\"}},[_c('ChecklistModelActivity',{attrs:{\"foreign-key\":_vm.form.checklistId}})],1),(1===2)?_c('t-form-tab',{attrs:{\"title\":\"Conteúdo\",\"hash\":\"content\",\"disabled\":!_vm.relationAccessPageGeneral('checklist-executed-content'),\"lazy\":\"\"}},[_c('t-msg',{staticClass:\"mb-3\",attrs:{\"info\":\"\"}},[_vm._v(\"Cadastre conteúdos para serem inseridos junto com os relatórios fotográficos relacionados a esta vistoria, podendo especificar no início ou no final a exibição do conteúdo desta vistoria. \")]),_c('ChecklistContent',{attrs:{\"foreign-key\":_vm.form.checklistId}})],1):_vm._e(),_c('t-form-tab',{attrs:{\"title\":\"Resumo\",\"hash\":\"resume\",\"lazy\":\"\"},on:{\"onClick\":function($event){return _vm.getDashboard()}}},[_c('b-row',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.dashboard.pathology !== undefined && _vm.dashboard.pathology.length > 0),expression:\"dashboard.pathology !== undefined && dashboard.pathology.length > 0\"}],staticStyle:{\"width\":\"100%\",\"margin\":\"auto\",\"max-width\":\"1000px\"}},[_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('div',{staticClass:\"mt-3\",staticStyle:{\"max-height\":\"350px\",\"overflow-y\":\"auto\"}},[_c('table',{staticClass:\"align-middle table table-borderless table-striped table-hover\"},[_c('thead',[_c('tr',[_c('th',{staticClass:\"text-center\"}),_c('th',[_vm._v(\"Ranking Patologias\")]),_c('th',{staticClass:\"text-center\"},[_vm._v(\"Qtd.\")])])]),_c('tbody',_vm._l((_vm.dashboard.pathology),function(pathology,index){return _c('tr',{key:pathology.typePathologyId},[_c('td',{staticClass:\"text-center text-muted\"},[_vm._v(_vm._s(++index)+\"º\")]),_c('td',[_c('div',{staticStyle:{\"font-size\":\"14px\"}},[_vm._v(_vm._s(pathology.typePathology))]),_c('div',{staticClass:\"d-flex align-items-center justify-content-start border b-radius\"},[_c('div',{staticClass:\"mb-2 ml-2 mt-2 mr-2 badge badge-dot badge-dot-xl\",style:({'background-color': pathology.sectorColor})}),_c('div',{staticClass:\"small\"},[_vm._v(_vm._s(pathology.sector))])])]),_c('td',{staticClass:\"text-center\"},[_vm._v(\" \"+_vm._s(pathology.qtyRecords)+\" \")])])}),0)])])]),_c('b-col',{attrs:{\"cols\":\"6\"}},[(_vm.chartSectorSeries.length > 0)?_c('apexchart',{staticClass:\"mt-4\",attrs:{\"type\":\"pie\",\"options\":_vm.chartSectorOptions,\"series\":_vm.chartSectorSeries}}):_vm._e()],1)],1),_c('b-row',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.dashboard.criticality !== undefined && _vm.dashboard.criticality.length > 0),expression:\"dashboard.criticality !== undefined && dashboard.criticality.length > 0\"}],staticStyle:{\"width\":\"100%\",\"margin\":\"auto\",\"max-width\":\"1000px\"}},[_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('div',{staticClass:\"mt-3\",staticStyle:{\"max-height\":\"350px\",\"overflow-y\":\"auto\"}},[_c('table',{staticClass:\"align-middle table table-borderless table-striped table-hover\"},[_c('thead',[_c('tr',[_c('th',{staticClass:\"text-center\"}),_c('th',[_vm._v(\"Ranking Criticidade\")]),_c('th',{staticClass:\"text-center\"},[_vm._v(\"Qtd.\")])])]),_c('tbody',_vm._l((_vm.dashboard.criticality),function(criticality,index){\nvar _obj;\nreturn _c('tr',{key:criticality.typeCriticalityId},[_c('td',{staticClass:\"text-center text-muted\",class:( _obj = {}, _obj[criticality.typeCriticalityLineClass] = criticality.typeCriticalityLineClass !== '', _obj )},[_vm._v(\" \"+_vm._s(++index)+\"º \")]),_c('td',[_c('div',{staticStyle:{\"font-size\":\"14px\"},style:({'color': criticality.typeCriticalityColor})},[_vm._v(\" \"+_vm._s(criticality.typeCriticality)+\" \")])]),_c('td',{staticClass:\"text-center\"},[_vm._v(\" \"+_vm._s(criticality.qtyRecords)+\" \")])])}),0)])])]),_c('b-col',{attrs:{\"cols\":\"6\"}},[(_vm.chartCriticalitySeries.length > 0)?_c('apexchart',{staticClass:\"mt-4\",attrs:{\"type\":\"pie\",\"options\":_vm.chartCriticalityOptions,\"series\":_vm.chartCriticalitySeries}}):_vm._e()],1)],1)],1)]},proxy:true}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.modalEnvironmentItemShow)?_c('ChecklistEnvironmentItemDialog',{attrs:{\"checklist-environment-id\":_vm.modalEnvironmentItemId,\"enterprise-id\":_vm.enterpriseId,\"business-type-survey\":_vm.businessTypeSurvey,\"user-access-budget-show-price\":_vm.userAccessBudgetShowPrice,\"status-checklist\":_vm.statusChecklist},on:{\"onClose\":_vm.getList},model:{value:(_vm.modalEnvironmentItemShow),callback:function ($$v) {_vm.modalEnvironmentItemShow=$$v},expression:\"modalEnvironmentItemShow\"}}):_vm._e(),_c('t-form-list',{attrs:{\"generalErrors\":_vm.generalErrors,\"items\":_vm.items,\"fields\":_vm.fields,\"command\":_vm.command,\"user-auth\":_vm.userAuth,\"status\":_vm.status,\"busy\":!_vm.pageFormIsLoaded,\"busy-form\":!_vm.listFormIsLoaded,\"busy-list\":!_vm.listIsLoaded,\"disable-default-buttons\":\"\",\"title-items\":\"Ambientes\",\"hide-header\":\"\",\"disable-footer-length\":\"\",\"primary-key-column\":\"checklistEnvironmentId\"},on:{\"onSubmit\":_vm.onSubmit,\"onItemRead\":_vm.onItemReadDefault,\"onItemDelete\":_vm.onItemDeleteDefault},scopedSlots:_vm._u([{key:\"default\",fn:function(){return [_c('t-input',{attrs:{\"hidden\":\"\"},model:{value:(_vm.form.checklistEnvironmentId),callback:function ($$v) {_vm.$set(_vm.form, \"checklistEnvironmentId\", $$v)},expression:\"form.checklistEnvironmentId\"}}),_c('b-col',{staticClass:\"mb-2\",attrs:{\"cols\":\"12\"}},[_c('b-row',[_c('t-input',{attrs:{\"cols\":\"2\",\"label\":\"Ambiente\"},on:{\"change\":_vm.executeSearchInput},model:{value:(_vm.form.environment),callback:function ($$v) {_vm.$set(_vm.form, \"environment\", $$v)},expression:\"form.environment\"}}),_c('t-input-search',{attrs:{\"cols\":\"3\",\"select\":\"\",\"options\":_vm.spotFolderOptions,\"label\":\"Pavimento\",\"disable-unique-select\":\"\"},on:{\"change\":_vm.executeSearchInput},model:{value:(_vm.form.spotFolderId),callback:function ($$v) {_vm.$set(_vm.form, \"spotFolderId\", $$v)},expression:\"form.spotFolderId\"}}),_c('t-input-search',{attrs:{\"cols\":\"3\",\"select\":\"\",\"options\":_vm.divisionOptions,\"label\":\"Divisão\",\"disable-unique-select\":\"\"},on:{\"change\":_vm.executeSearchInput},model:{value:(_vm.form.enterpriseDivisionId),callback:function ($$v) {_vm.$set(_vm.form, \"enterpriseDivisionId\", $$v)},expression:\"form.enterpriseDivisionId\"}}),_c('t-input-search',{attrs:{\"cols\":\"3\",\"disable-unique-select\":\"\",\"options\":_vm.StatusChecklistEnvironmentType.list,\"label\":\"Status Ambiente\",\"select\":\"\"},on:{\"change\":_vm.executeSearchInput},model:{value:(_vm.form.statusEnvironment),callback:function ($$v) {_vm.$set(_vm.form, \"statusEnvironment\", $$v)},expression:\"form.statusEnvironment\"}})],1),_c('t-msg',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.pageFormIsLoaded && _vm.listIsLoaded && _vm.items.length === 0),expression:\"pageFormIsLoaded && listIsLoaded && items.length === 0\"}],attrs:{\"info\":\"\"}},[_vm._v(\"Nenhum ambiente encontrado de acordo com o filtro informado \")])],1)]},proxy:true},{key:\"list-content\",fn:function(ref){\nvar item = ref.item;\nvar index = ref.index;\nreturn [_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-row',{staticClass:\"mt-1\"},[_c('b-col',{staticClass:\"d-flex align-items-center link\",attrs:{\"cols\":\"3\"},on:{\"click\":function($event){return _vm.openDialogItems(item)}}},[_c('div',{staticStyle:{\"width\":\"30px\"}},[(item.statusEnvironment === _vm.StatusChecklistEnvironmentType.type.FINISHED)?_c('b-icon-check-circle-fill',{staticClass:\"text-success\",staticStyle:{\"scale\":\"1.4\"}}):_vm._e()],1),_c('div',[_c('span',{staticClass:\"badge badge-pill badge-light bg-light\"},[_vm._v(_vm._s(++index)+\"/\"+_vm._s(item.qtyEnvironmentTotal)+\" - Cód.: \"+_vm._s(item.environmentCodeLabel))]),_c('br'),_c('b-card-title',{staticClass:\"mb-1\"},[_vm._v(_vm._s(item.environment))]),_c('small',[_vm._v(_vm._s(item.division)+\" - \"+_vm._s(item.spotFolder))])],1)]),(_vm.businessTypeSurvey  >= _vm.SurveyType.type.OCCURRENCE)?_c('b-col',{staticClass:\"d-flex align-items-center justify-content-center link\",attrs:{\"cols\":\"3\"},on:{\"click\":function($event){return _vm.openDialogItems(item)}}},[_c('b-badge',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.ds500\",modifiers:{\"hover\":true,\"ds500\":true}}],staticClass:\"mr-2\",attrs:{\"title\":\"Apontamentos finalizadas neste ambiente através deste checklist.\",\"variant\":\"success\"}},[_vm._v(_vm._s(item.qtyItemsOccurrencesDone)+\" \")]),_c('b-badge',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.ds500\",modifiers:{\"hover\":true,\"ds500\":true}}],staticClass:\"mr-2\",attrs:{\"title\":\"Apontamentos que já estavam pendentes neste ambiente e continuam da mesma forma.\",\"variant\":\"warning\"}},[_vm._v(_vm._s(item.qtyItemsOccurrencesPending)+\" \")]),_c('b-badge',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.ds500\",modifiers:{\"hover\":true,\"ds500\":true}}],attrs:{\"title\":\"Apontamentos abertas neste ambiente através deste checklist.\",\"variant\":\"danger\"}},[_vm._v(_vm._s(item.qtyItemsOccurrencesNew)+\" \")])],1):_vm._e(),_c('b-col',{staticClass:\"d-flex align-items-center justify-content-center link\",attrs:{\"cols\":\"2\"},on:{\"click\":function($event){return _vm.openDialogItems(item)}}},[(item.statusEnvironment === _vm.StatusChecklistEnvironmentType.type.STARTED)?_c('span',[_c('b-icon-clock',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.ds500\",modifiers:{\"hover\":true,\"ds500\":true}}],staticClass:\"mr-1\",attrs:{\"title\":_vm.getElapsedText(item.startDate,'')}}),_vm._v(\" \"+_vm._s(_vm._f(\"minuteOrHour\")(item.elapsedTime))+\" \")],1):(item.statusEnvironment === _vm.StatusChecklistEnvironmentType.type.FINISHED)?_c('span',[_c('b-icon-clock',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.ds500\",modifiers:{\"hover\":true,\"ds500\":true}}],staticClass:\"mr-1\",attrs:{\"title\":_vm.getElapsedText(item.startDate,item.finishDate)}}),_vm._v(\" \"+_vm._s(_vm._f(\"minuteOrHour\")(item.elapsedTime))+\" \")],1):_vm._e()]),(_vm.statusChecklist === _vm.StatusChecklistType.type.PENDING && item.statusEnvironment === _vm.StatusChecklistEnvironmentType.type.FINISHED)?_c('b-col',{staticClass:\"d-flex align-items-center justify-content-center\",attrs:{\"cols\":\"3\"}},[_c('t-button',{attrs:{\"small\":\"\",\"outline-danger\":\"\",\"sending\":_vm.reverseFinish,\"enable-loader\":\"\",\"title\":!_vm.enableReverseFinish ? 'Perfil de acesso não habilitado para estorno de finalização' : '',\"disabled\":!_vm.enableReverseFinish},on:{\"click\":function($event){return _vm.confirmReverse(item.checklistEnvironmentId, item.environment)}}},[_c('b-icon-clipboard-x',{staticClass:\"mr-1\"}),_vm._v(\" Estornar Ambiente \")],1)],1):_vm._e()],1)],1)]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Type from \"@/model/types/Type\";\r\n\r\nconst type = {\r\n    PENDING : 1,\r\n    STARTED : 2,\r\n    FINISHED : 3,\r\n}\r\n\r\nconst list = [\r\n    {\r\n        value: type.PENDING,\r\n        text: \"Pendente\",\r\n        buttonVariant: \"success\",\r\n    },\r\n    {\r\n        value: type.STARTED,\r\n        text: \"Em vistoria\",\r\n    },\r\n    {\r\n        value: type.FINISHED,\r\n        text: \"Vistoriado\",\r\n        buttonVariant: \"success\",\r\n    },\r\n]\r\n\r\nconst contains = function (typeInput) {\r\n    return Type.contains(list, typeInput)\r\n}\r\n\r\nexport default {\r\n    type,\r\n    list,\r\n    contains,\r\n}\r\n\r\n\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.modalOccurrenceItemShow)?_c('ChecklistEnvironmentOccurrenceDialog',{attrs:{\"checklist-item-id\":_vm.modalOccurrenceItemId,\"type-checklist-item\":_vm.modalOccurrenceItemName,\"checklist-environment-id\":_vm.form.checklistEnvironmentId,\"enterprise-id\":_vm.enterpriseId,\"occurrence\":_vm.modalOccurrenceItemOccurrence,\"business-type-survey\":_vm.businessTypeSurvey,\"user-access-budget-show-price\":_vm.userAccessBudgetShowPrice,\"set-tab-index\":_vm.modalOccurrenceItemTabIndex},on:{\"onClose\":_vm.onCloseModalItem}}):_vm._e(),_c('t-blackout',{attrs:{\"white\":\"\",\"no-close-on-esc\":\"\",\"no\":\"\",\"opacity9\":\"\"},scopedSlots:_vm._u([{key:\"buttons-top\",fn:function(){return [_c('div',{staticStyle:{\"max-width\":\"950px\",\"margin\":\"auto\",\"width\":\"90%\"}},[_c('b-row',[_c('div',{staticClass:\"col-12 d-flex justify-content-end align-items-end\"},[_c('b-button',{staticClass:\"p-0\",attrs:{\"variant\":\"link\"},on:{\"click\":function($event){return _vm.onClose()}}},[_c('b-icon-x'),_vm._v(\" Fechar \")],1)],1)])],1)]},proxy:true}]),model:{value:(_vm.blackout),callback:function ($$v) {_vm.blackout=$$v},expression:\"blackout\"}},[_c('div',{staticStyle:{\"width\":\"950px !important\"}},[_c('div',{staticClass:\"card-header-tab card-header-tab-animation card-header bg-white\",staticStyle:{\"border-top-left-radius\":\"5px\",\"border-top-right-radius\":\"5px\",\"border\":\"solid 1px #ccc\",\"border-bottom\":\"solid 1px #e1e1e1\"}},[_c('div',{staticClass:\"card-header-title font-size-lg text-capitalize font-weight-normal\",staticStyle:{\"width\":\"333px\",\"overflow\":\"hidden\",\"margin-right\":\"50px\"}},[_vm._v(\" \"+_vm._s(_vm.form.environment)+\" \")]),_c('div',{staticStyle:{\"width\":\"70px\",\"font-size\":\"12px\",\"text-align\":\"center\",\"font-weight\":\"normal\"}},[_c('b-icon-clock',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.ds500\",modifiers:{\"hover\":true,\"ds500\":true}}],attrs:{\"title\":_vm.getElapsedText(_vm.form.startDate,_vm.form.finishDate)}}),_vm._v(\" \"+_vm._s(_vm.elapsedTime)+\" \")],1),_c('ul',{staticClass:\"nav\"},[_c('li',{staticClass:\"nav-item\"},[_c('a',{staticClass:\"nav-link show\",class:{'active':_vm.localTab === 1},attrs:{\"data-toggle\":\"tab\"},on:{\"click\":function($event){return _vm.onShowTab(1)}}},[_vm._v(\"Vistoria\")])]),_c('li',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.businessTypeSurvey  >= _vm.SurveyType.type.OCCURRENCE),expression:\"businessTypeSurvey  >= SurveyType.type.OCCURRENCE\"}],staticClass:\"nav-item\"},[_c('a',{staticClass:\"nav-link show\",class:{'active':_vm.localTab === 2},attrs:{\"data-toggle\":\"tab\"},on:{\"click\":function($event){return _vm.onShowTab(2)}}},[_vm._v(\"Itens\")])]),_c('li',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.businessTypeSurvey  >= _vm.SurveyType.type.OCCURRENCE),expression:\"businessTypeSurvey  >= SurveyType.type.OCCURRENCE\"}],staticClass:\"nav-item\"},[_c('a',{staticClass:\"nav-link show\",class:{'active':_vm.localTab === 3},attrs:{\"data-toggle\":\"tab\"},on:{\"click\":function($event){return _vm.onShowTab(3)}}},[_vm._v(\"Planta\")])]),_c('li',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.businessTypeSurvey  >= _vm.SurveyType.type.OCCURRENCE),expression:\"businessTypeSurvey  >= SurveyType.type.OCCURRENCE\"}],staticClass:\"nav-item\"},[_c('a',{staticClass:\"nav-link show\",class:{'active':_vm.localTab === 4},attrs:{\"data-toggle\":\"tab\"},on:{\"click\":function($event){return _vm.onShowTab(4)}}},[_vm._v(\"Campos\")])]),_c('li',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.businessTypeSurvey  >= _vm.SurveyType.type.OCCURRENCE),expression:\"businessTypeSurvey  >= SurveyType.type.OCCURRENCE\"}],staticClass:\"nav-item\"},[_c('a',{staticClass:\"nav-link show\",class:{'active':_vm.localTab === 5},attrs:{\"data-toggle\":\"tab\"},on:{\"click\":function($event){return _vm.onShowTab(5)}}},[_vm._v(\"Resumo\")])])])]),_c('div',{staticClass:\"bg-white p-2 container-blackout-content\",staticStyle:{\"border-left\":\"1px solid #ccc\",\"border-right\":\"1px solid #ccc\",\"border-bottom\":\"1px #ccc solid\",\"min-height\":\"200px\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.busy && _vm.localTab === 1),expression:\"!busy && localTab === 1\"}],staticClass:\"tab-content-blackout\"},[(_vm.form.statusEnvironment === _vm.StatusChecklistEnvironmentType.type.FINISHED || _vm.statusChecklist === _vm.StatusChecklistType.type.FINISHED)?_c('div',[_c('ChecklistEnvironmentEvidenceFile',{attrs:{\"only-view\":\"\",\"message-not-record\":\"Nenhuma imagem inserida\",\"type-image\":\"\",\"foreign-key\":_vm.checklistEnvironmentId}})],1):_c('div',{staticStyle:{\"width\":\"95%\",\"margin\":\"auto\"}},[_c('t-form-card',{staticClass:\"border\",attrs:{\"title\":\"Novas\"}},[_c('ChecklistEnvironmentEvidenceFile',{attrs:{\"type-image\":\"\",\"foreign-key\":_vm.checklistEnvironmentId}})],1),_c('t-form-card',{staticClass:\"border\",attrs:{\"title\":\"Anteriores\"}},[_c('t-button',{staticClass:\"mb-2\",attrs:{\"light\":\"\",\"small\":\"\"},on:{\"click\":function($event){_vm.showEvidenceOldPhotos = !_vm.showEvidenceOldPhotos}}},[_c('b-icon-eye',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.showEvidenceOldPhotos),expression:\"!showEvidenceOldPhotos\"}],staticClass:\"mr-2\"}),_c('b-icon-eye-slash',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showEvidenceOldPhotos),expression:\"showEvidenceOldPhotos\"}],staticClass:\"mr-2\"}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.showEvidenceOldPhotos),expression:\"!showEvidenceOldPhotos\"}]},[_vm._v(\"Exibir\")]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showEvidenceOldPhotos),expression:\"showEvidenceOldPhotos\"}]},[_vm._v(\"Ocultar\")])],1),_c('t-msg',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showEvidenceOldPhotos),expression:\"showEvidenceOldPhotos\"}],attrs:{\"info\":\"\"}},[_vm._v(\"Imagens de outras vistorias realizadas neste mesmo ambiente, cuja vistoria e ambiente estejam finalizados. \")]),(_vm.showEvidenceOldPhotos)?_c('ChecklistEnvironmentEvidenceFile',{attrs:{\"message-not-record\":\"Nenhuma imagem encontrada de outras vistorias para este mesmo ambiente\",\"only-view\":\"\",\"type-image\":\"\",\"type-old\":\"\",\"foreign-key\":_vm.checklistEnvironmentId}}):_vm._e()],1)],1)]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.busy && _vm.localTab === 2),expression:\"!busy && localTab === 2\"}],staticClass:\"tab-content-blackout\"},[_c('div',{staticClass:\"list-group hideHeader\"},[(_vm.form.statusEnvironment === _vm.StatusChecklistEnvironmentType.type.FINISHED)?_c('t-msg',{attrs:{\"info\":\"\"}},[(_vm.objValid(_vm.form.processedDate))?_c('span',[_vm._v(\" Ambiente vistoriado e sincronizado em \"+_vm._s(_vm._f(\"datetime\")(_vm.form.processedDate))+\" \")]):_c('span',[_vm._v(\" Ambiente vistoriado e processamento as informações no servidor \"),_c('b-icon-clock-history')],1)]):_vm._e(),(_vm.form.statusEnvironment !== _vm.StatusChecklistEnvironmentType.type.FINISHED && _vm.statusChecklist === _vm.StatusChecklistType.type.FINISHED)?_c('t-msg',{attrs:{\"info\":\"\"}},[_vm._v(\" Ambiente não vistoriado \")]):_vm._e(),_vm._l((_vm.items),function(item,index){return _c('li',{key:index,staticClass:\"list-group-item list-group-item-form-list flip-list-enter-to\"},[_c('div',{staticClass:\"d-flex\",staticStyle:{\"word-break\":\"break-word\"}},[_c('div',{staticClass:\"text flex-grow-1 mr-3\",staticStyle:{\"word-break\":\"break-word\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('div',{class:{\n                        'bg-grey':item.statusItem === _vm.StatusChecklistItemType.type.PENDING,\n                        'bg-success':item.statusItem === _vm.StatusChecklistItemType.type.OK,\n                        'bg-warning':item.statusItem === _vm.StatusChecklistItemType.type.HAS_PENDING_OCCURRENCE,\n                        'bg-danger':item.statusItem === _vm.StatusChecklistItemType.type.HAS_NEW_OCCURRENCE,\n                        },staticStyle:{\"width\":\"5px\",\"height\":\"100%\",\"position\":\"absolute\",\"left\":\"0\",\"border-radius\":\"3px\"}}),_c('div',{staticStyle:{\"font-size\":\"15px\",\"line-height\":\"30px\"}},[_c('b-link',{directives:[{name:\"b-toggle\",rawName:\"v-b-toggle\",value:('accordion-'+index),expression:\"'accordion-'+index\"}],staticClass:\"text-dark\"},[_vm._v(\" \"+_vm._s(item.typeChecklistItem)+\" \")])],1)]),_c('b-col',{staticClass:\"d-flex align-items-center justify-content-center\",attrs:{\"cols\":\"3\"}},[_c('b-form-checkbox',{directives:[{name:\"show\",rawName:\"v-show\",value:((item.statusItem === _vm.StatusChecklistItemType.type.PENDING && _vm.statusChecklist === _vm.StatusChecklistType.type.PENDING)),expression:\"(item.statusItem === StatusChecklistItemType.type.PENDING && statusChecklist === StatusChecklistType.type.PENDING)\"}],on:{\"change\":function($event){return _vm.setItemOk(item.checklistItemId)}}},[_c('i',{staticClass:\"fa fa-check text-success\"})]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(item.statusItem !== _vm.StatusChecklistItemType.type.PENDING),expression:\"item.statusItem !== StatusChecklistItemType.type.PENDING\"}]},[_c('b-badge',{staticClass:\"mr-2\",attrs:{\"variant\":\"success\"}},[_vm._v(_vm._s(item.qtyOccurrencesDone)+\" \")]),_c('b-badge',{staticClass:\"mr-2\",attrs:{\"variant\":\"warning\"}},[_vm._v(_vm._s(item.qtyOccurrencesPending)+\" \")]),_c('b-badge',{attrs:{\"variant\":\"danger\"}},[_vm._v(_vm._s(item.qtyOccurrencesNew)+\" \")])],1)],1),_c('b-col',{staticClass:\"dialog-list-line-buttons fade-in2\",attrs:{\"cols\":\"5\"}},[_c('b-button-group',[_c('b-button',{attrs:{\"disabled\":_vm.form.statusEnvironment === _vm.StatusChecklistEnvironmentType.type.FINISHED || _vm.statusChecklist === _vm.StatusChecklistType.type.FINISHED,\"title\":_vm.form.statusEnvironment === _vm.StatusChecklistEnvironmentType.type.FINISHED  || _vm.statusChecklist === _vm.StatusChecklistType.type.FINISHED ? 'Inclusão desabilitada, pois o ambiente já está sincronizado ou a vistoria está finalizada' : '',\"variant\":\"outline-primary\",\"size\":\"sm\"},on:{\"click\":function($event){return _vm.openDialogOccurrence(item,null,0, index)}}},[_c('b-icon-clipboard-plus'),_vm._v(\" Apontamento \")],1),_c('b-button',{directives:[{name:\"b-toggle\",rawName:\"v-b-toggle\",value:('accordion-'+index),expression:\"'accordion-'+index\"}],attrs:{\"variant\":\"outline-secondary\",\"size\":\"sm\"}},[_c('b-icon-card-list'),_vm._v(\" Detalhar \")],1),_c('b-button',{attrs:{\"variant\":\"outline-secondary\",\"size\":\"sm\"}},[_c('b-icon-clock-history'),_vm._v(\" Histórico \")],1)],1)],1)],1)],1)]),_c('b-collapse',{staticClass:\"p-2 \",staticStyle:{\"margin-right\":\"-20px\",\"margin-left\":\"-20px\",\"margin-bottom\":\"-21px\",\"margin-top\":\"10px\",\"border-bottom\":\"1px solid #ccc\"},attrs:{\"id\":'accordion-'+index,\"accordion\":\"accordion-checklist-items\"}},[(item.occurrences.length > 0)?_c('div',_vm._l((item.occurrences),function(occurrence){return _c('b-row',{key:occurrence.checklistItemOccurrenceId,staticClass:\"pt-1 pb-2\",class:{\n                        'bg-warning-light':occurrence.statusItemOccurrence === _vm.StatusChecklistOccurrenceItemType.type.OCCURRENCE_PENDING,\n                        'bg-danger-light':occurrence.statusItemOccurrence === _vm.StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW,\n                        'bg-success-light':occurrence.statusItemOccurrence === _vm.StatusChecklistOccurrenceItemType.type.OCCURRENCE_CLOSE,\n                        },staticStyle:{\"margin-right\":\"-8px\",\"margin-left\":\"-8px\"}},[_c('b-col',{staticClass:\"d-flex align-items-center justify-content-left\",staticStyle:{\"margin-right\":\"-30px\"},attrs:{\"cols\":\"3\"}},[_c('t-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(occurrence.statusItemOccurrence === _vm.StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW),expression:\"occurrence.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW\"}],attrs:{\"small\":\"\",\"danger\":\"\"},on:{\"click\":function($event){return _vm.openDialogOccurrence(item,occurrence,0,null)}}},[_c('div',{staticClass:\"text-center\"},[_c('b-icon-pencil-square',{staticClass:\"mr-2\"}),_c('span',[_vm._v(\"Novo Apontamento\")])],1)]),_c('t-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(occurrence.statusItemOccurrence === _vm.StatusChecklistOccurrenceItemType.type.OCCURRENCE_PENDING),expression:\"occurrence.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_PENDING\"}],attrs:{\"small\":\"\",\"warning\":\"\"},on:{\"click\":function($event){return _vm.openDialogOccurrence(item,occurrence,0,null)}}},[_c('div',{staticClass:\"text-center\"},[_c('b-icon-pencil-square',{staticClass:\"mr-2\"}),_c('span',[_vm._v(\"Pendente\")])],1)]),_c('t-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(occurrence.statusItemOccurrence === _vm.StatusChecklistOccurrenceItemType.type.OCCURRENCE_CLOSE),expression:\"occurrence.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_CLOSE\"}],attrs:{\"small\":\"\",\"success\":\"\"},on:{\"click\":function($event){return _vm.openDialogOccurrence(item,occurrence,0,index)}}},[_c('div',{staticClass:\"text-center\"},[_c('b-icon-pencil-square',{staticClass:\"mr-2\"}),_c('span',[_vm._v(\"Finalizada\")])],1)])],1),_c('b-col',{attrs:{\"cols\":\"6\"}},[_vm._v(\" \"+_vm._s(occurrence.typePathologyAutomatically)+\" (\"+_vm._s(occurrence.sector)+\") \"),(occurrence.statusItemOccurrence === _vm.StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW)?_c('div',[(_vm.objValid(occurrence.occurrenceCodeLabel))?_c('small',{staticClass:\"opacity-6 mr-2\"},[_c('i',{staticClass:\"fa fa-info-circle\"}),_vm._v(\" \"+_vm._s(occurrence.occurrenceCodeLabel)+\" \")]):_vm._e(),_c('small',{staticClass:\"opacity-6\"},[_c('i',{staticClass:\"fa fa-user\"}),_vm._v(\" \"+_vm._s(occurrence.logControl.createdUser)+\" \")]),_c('small',{staticClass:\"opacity-6 ml-2\"},[_c('i',{staticClass:\"fa fa-calendar-alt\"}),_vm._v(\" \"+_vm._s(_vm._f(\"datetime\")(occurrence.logControl.createdDate))+\" \")])]):_c('div',[(_vm.objValid(occurrence.occurrenceCodeLabel))?_c('small',{staticClass:\"opacity-6 mr-2\"},[_c('i',{staticClass:\"fa fa-info-circle\"}),_vm._v(\" \"+_vm._s(occurrence.occurrenceCodeLabel)+\" \")]):_vm._e(),_c('small',{staticClass:\"opacity-6\"},[_c('i',{staticClass:\"fa fa-user\"}),_vm._v(\" \"+_vm._s(occurrence.occurrenceCreatedUser)+\" \")]),_c('small',{staticClass:\"opacity-6 ml-2\"},[_c('i',{staticClass:\"fa fa-calendar-alt\"}),_vm._v(\" \"+_vm._s(_vm._f(\"datetime\")(occurrence.occurrenceCreatedDate))+\" \")])]),(_vm.businessTypeSurvey === _vm.SurveyType.type.BUDGET && occurrence.budgetEnabled)?_c('div',[_c('b-badge',{attrs:{\"variant\":\"success\"}},[_vm._v(\"Orçamento \")])],1):_vm._e()]),_c('b-col',{staticClass:\"d-flex justify-content-end align-items-center mt-1\",attrs:{\"cols\":\"3\"}},[_c('div',[(occurrence.typeCriticalityDegree > 1 && occurrence.typeCriticalityLineClass === 'bg-danger-light')?_c('b-badge',{staticClass:\"mr-3\",attrs:{\"variant\":\"danger\"}},[_vm._v(\" \"+_vm._s(occurrence.typeCriticality)+\" \")]):(occurrence.typeCriticalityDegree > 1 && occurrence.typeCriticalityLineClass === 'bg-warning-light')?_c('b-badge',{staticClass:\"mr-3\",attrs:{\"variant\":\"warning\"}},[_vm._v(\" \"+_vm._s(occurrence.typeCriticality)+\" \")]):_vm._e(),(_vm.objValid(occurrence.executorSignaled))?_c('b-badge',{staticClass:\"mr-3\",attrs:{\"variant\":\"info\"}},[_vm._v(\"Sinalizada \"),_c('t-help',{attrs:{\"title\":_vm.getSignaledText(occurrence)}})],1):_vm._e()],1),_c('t-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(occurrence.statusItemOccurrence === _vm.StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW && _vm.form.statusEnvironment !== _vm.StatusChecklistEnvironmentType.type.FINISHED),expression:\"occurrence.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW && form.statusEnvironment !== StatusChecklistEnvironmentType.type.FINISHED\"}],staticClass:\"mr-1\",attrs:{\"small\":\"\",\"outline-danger\":\"\"},on:{\"click\":function($event){return _vm.confirmDeleteNewOccurrence(occurrence.checklistItemOccurrenceId)}}},[_c('i',{staticClass:\"nav-link-icon lnr-trash\"})]),_c('t-button',{staticClass:\"mr-1\",attrs:{\"small\":\"\",\"outline-secondary\":\"\"},on:{\"click\":function($event){return _vm.openDialogOccurrence(item,occurrence,1,null)}}},[_c('i',{staticClass:\"nav-link-icon lnr-camera\"}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(occurrence.qtyPhotos !== undefined && occurrence.qtyPhotos > 0),expression:\"occurrence.qtyPhotos !== undefined && occurrence.qtyPhotos > 0\"},{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.ds500\",modifiers:{\"hover\":true,\"ds500\":true}}],staticClass:\"badge badge-info badge-pill badge-dot badge-dot-sm\",attrs:{\"title\":'Qtd. novas fotos: ' + occurrence.qtyPhotos}})]),_c('t-button',{staticClass:\"mr-1\",attrs:{\"small\":\"\",\"outline-secondary\":\"\"},on:{\"click\":function($event){return _vm.openDialogOccurrence(item,occurrence,2,null)}}},[_c('i',{staticClass:\"nav-link-icon lnr-bubble\"}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.objValid(occurrence.comment)),expression:\"objValid(occurrence.comment)\"},{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.ds500\",modifiers:{\"hover\":true,\"ds500\":true}}],staticClass:\"badge badge-info badge-pill badge-dot badge-dot-sm\",attrs:{\"title\":\"Novo comentário inserido\"}})]),_c('t-button',{staticStyle:{\"margin-right\":\"20px\"},attrs:{\"small\":\"\",\"outline-secondary\":\"\"},on:{\"click\":function($event){return _vm.infoDevelopment()}}},[_c('i',{staticClass:\"nav-link-icon lnr-map-marker\"})])],1)],1)}),1):_vm._e(),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(item.occurrences.length === 0),expression:\"item.occurrences.length === 0\"}],staticClass:\"text-center\"},[_c('t-msg',{attrs:{\"info\":\"\"}},[_vm._v(\"Nenhum apontamento inserido!\"),_c('br'),(_vm.form.statusEnvironment !== _vm.StatusChecklistEnvironmentType.type.FINISHED && _vm.statusChecklist === _vm.StatusChecklistType.type.PENDING)?_c('b-link',{on:{\"click\":function($event){return _vm.openDialogOccurrence(item,null,0, null)}}},[_vm._v(\"Adicionar apontamento \")]):_vm._e()],1)],1)])],1)})],2),_c('div',{staticClass:\"pt-0 p-2 mt-5\"},[_vm._v(\" Legenda:\"),_c('br'),_c('table',[_c('tr',[_c('td',[_c('div',{staticClass:\"bg-success\",staticStyle:{\"width\":\"5px\",\"height\":\"15px\",\"border-radius\":\"3px\"}})]),_c('td',{staticClass:\"pl-1\"},[_vm._v(\"Item sem nenhum apontamento novo ou pendente\")])]),_c('tr',[_c('td',[_c('div',{staticClass:\"bg-warning\",staticStyle:{\"width\":\"5px\",\"height\":\"15px\",\"border-radius\":\"3px\"}})]),_c('td',{staticClass:\"pl-1\"},[_vm._v(\"Item possui pelo menos um apontamento pendente\")])]),_c('tr',[_c('td',[_c('div',{staticClass:\"bg-danger\",staticStyle:{\"width\":\"5px\",\"height\":\"15px\",\"border-radius\":\"3px\"}})]),_c('td',{staticClass:\"pl-1\"},[_vm._v(\"Item com 1(um) ou mais apontamento aberto\")])])])])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.busy && _vm.localTab === 3),expression:\"!busy && localTab === 3\"}],staticClass:\"tab-content-blackout\"},[_c('t-msg',{attrs:{\"info\":\"\"}},[_vm._v(\"Em desenvolvimento\")])],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.busy && _vm.localTab === 4),expression:\"!busy && localTab === 4\"}],staticClass:\"tab-content-blackout\"},[_c('validation-observer',{ref:\"validationEnvironment\"},[_c('form',{ref:\"form\",class:{'form-loading':_vm.busy},attrs:{\"autocomplete\":\"off\"},on:{\"submit\":function($event){$event.preventDefault();}}},[_c('t-form-wrapped',{attrs:{\"command\":_vm.command,\"status\":_vm.localStatus}},[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('t-msg',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.busy && (_vm.entityFieldCustomized('typeChecklist') === null || _vm.entityFieldCustomized('typeChecklist').length === 0)),expression:\"!busy && (entityFieldCustomized('typeChecklist') === null || entityFieldCustomized('typeChecklist').length === 0)\"}],attrs:{\"info\":\"\"}},[_vm._v(\" Não existem campos a serem coletados para esta vistoria, para cadastrar acesse: \"),_c('br'),_vm._v(\" 'Vistorias' > 'Configurações' > 'Modelos de Vistoria' e cadastre campos para preenchimento por ambiente. \"),_c('br'),_c('br'),_vm._v(\" Obs.: Este recurso somente é válido quando utilizado modelos de vistoria. \")]),_c('t-page-form-field-customized',{ref:\"fieldsEnvironment\",attrs:{\"command\":_vm.command,\"status\":_vm.localStatus,\"user-auth\":_vm.userAuth,\"fields-customizable\":_vm.entityFieldCustomized('typeChecklist'),\"primary-key\":_vm.form.checklistEnvironmentId,\"foreign-key\":_vm.form.typeChecklistId,\"busy\":_vm.busy,\"primary-key-column\":\"checklistEnvironmentId\",\"foreign-key-column\":\"typeChecklistId\"}})],1)],1)],1)])],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.busy && _vm.localTab === 5),expression:\"!busy && localTab === 5\"}],staticClass:\"tab-content-blackout\"},[_c('div',{staticClass:\"no-gutters row border-bottom\"},[_c('div',{staticClass:\"col-sm-12 col-md-4 col-xl-4\"},[_c('div',{staticClass:\"card no-shadow rm-border bg-transparent widget-chart text-left\"},[_c('div',{staticClass:\"icon-wrapper rounded-circle\"},[_c('div',{staticClass:\"icon-wrapper-bg opacity-9 bg-success d-flex align-items-center justify-content-center\"},[_c('b-icon-clipboard-check',{staticClass:\"text-white\",staticStyle:{\"scale\":\"1.7\"}})],1)]),_c('div',{staticClass:\"widget-chart-content\"},[_c('div',{staticClass:\"widget-subheading\"},[_vm._v(\"Apontamentos Finalizadas\")]),_c('div',{staticClass:\"widget-numbers text-success\"},[_c('span',[_vm._v(_vm._s(_vm.form.qtyItemsOccurrencesDone))])])])])]),_c('div',{staticClass:\"col-sm-6 col-md-4 col-xl-4\"},[_c('div',{staticClass:\"card no-shadow rm-border bg-transparent widget-chart text-left\"},[_c('div',{staticClass:\"icon-wrapper rounded-circle\"},[_c('div',{staticClass:\"icon-wrapper-bg opacity-9 bg-warning d-flex align-items-center justify-content-center\"},[_c('b-icon-clipboard-minus',{staticClass:\"text-white\",staticStyle:{\"scale\":\"1.7\"}})],1)]),_c('div',{staticClass:\"widget-chart-content\"},[_c('div',{staticClass:\"widget-subheading\"},[_vm._v(\"Apontamentos Pendentes\")]),_c('div',{staticClass:\"widget-numbers\"},[_vm._v(_vm._s(_vm.form.qtyItemsOccurrencesPending))])])]),_c('div',{staticClass:\"divider m-0 d-md-none d-sm-block\"})]),_c('div',{staticClass:\"col-sm-6 col-md-4 col-xl-4\"},[_c('div',{staticClass:\"card no-shadow rm-border bg-transparent widget-chart text-left\"},[_c('div',{staticClass:\"icon-wrapper rounded-circle\"},[_c('div',{staticClass:\"icon-wrapper-bg opacity-9 bg-danger d-flex align-items-center justify-content-center\"},[_c('b-icon-clipboard-plus',{staticClass:\"text-white\",staticStyle:{\"scale\":\"1.7\"}})],1)]),_c('div',{staticClass:\"widget-chart-content\"},[_c('div',{staticClass:\"widget-subheading\"},[_vm._v(\"Apontamentos novas\")]),_c('div',{staticClass:\"widget-numbers\"},[_c('span',[_vm._v(_vm._s(_vm.form.qtyItemsOccurrencesNew))])])])]),_c('div',{staticClass:\"divider m-0 d-md-none d-sm-block\"})])]),_c('div',{staticStyle:{\"max-height\":\"calc(100vh - 450px)\",\"overflow-y\":\"auto\"}},[_c('b-row',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.dashboard.pathology !== undefined && _vm.dashboard.pathology.length > 0),expression:\"dashboard.pathology !== undefined && dashboard.pathology.length > 0\"}],staticStyle:{\"width\":\"100%\",\"margin\":\"auto\"}},[_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('div',{staticClass:\"mt-3\",staticStyle:{\"max-height\":\"250px\",\"overflow-y\":\"auto\"}},[_c('table',{staticClass:\"align-middle table table-borderless table-striped table-hover\"},[_c('thead',[_c('tr',[_c('th',{staticClass:\"text-center\"}),_c('th',[_vm._v(\"Ranking Patologias\")]),_c('th',{staticClass:\"text-center\"},[_vm._v(\"Qtd.\")])])]),_c('tbody',_vm._l((_vm.dashboard.pathology),function(pathology,index){return _c('tr',{key:pathology.typePathologyId},[_c('td',{staticClass:\"text-center text-muted\"},[_vm._v(_vm._s(++index)+\"º\")]),_c('td',[_c('div',{staticStyle:{\"font-size\":\"14px\"}},[_vm._v(_vm._s(pathology.typePathology))]),_c('div',{staticClass:\"d-flex align-items-center justify-content-start border b-radius\"},[_c('div',{staticClass:\"mb-2 ml-2 mt-2 mr-2 badge badge-dot badge-dot-xl\",style:({'background-color': pathology.sectorColor})}),_c('div',{staticClass:\"small\"},[_vm._v(_vm._s(pathology.sector))])])]),_c('td',{staticClass:\"text-center\"},[_vm._v(\" \"+_vm._s(pathology.qtyRecords)+\" \")])])}),0)])])]),_c('b-col',{attrs:{\"cols\":\"6\"}},[(_vm.chartSectorSeries.length > 0)?_c('apexchart',{staticClass:\"mt-4\",attrs:{\"type\":\"pie\",\"options\":_vm.chartSectorOptions,\"series\":_vm.chartSectorSeries}}):_vm._e()],1)],1),_c('b-row',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.dashboard.criticality !== undefined && _vm.dashboard.criticality.length > 0),expression:\"dashboard.criticality !== undefined && dashboard.criticality.length > 0\"}],staticStyle:{\"width\":\"100%\",\"margin\":\"auto\"}},[_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('div',{staticClass:\"mt-3\",staticStyle:{\"max-height\":\"250px\",\"overflow-y\":\"auto\"}},[_c('table',{staticClass:\"align-middle table table-borderless table-striped table-hover\"},[_c('thead',[_c('tr',[_c('th',{staticClass:\"text-center\"}),_c('th',[_vm._v(\"Ranking Criticidade\")]),_c('th',{staticClass:\"text-center\"},[_vm._v(\"Qtd.\")])])]),_c('tbody',_vm._l((_vm.dashboard.criticality),function(criticality,index){\n                        var _obj;\nreturn _c('tr',{key:criticality.typeCriticalityId},[_c('td',{staticClass:\"text-center text-muted\",class:( _obj = {}, _obj[criticality.typeCriticalityLineClass] = criticality.typeCriticalityLineClass !== '', _obj )},[_vm._v(\" \"+_vm._s(++index)+\"º \")]),_c('td',[_c('div',{staticStyle:{\"font-size\":\"14px\"},style:({'color': criticality.typeCriticalityColor})},[_vm._v(\" \"+_vm._s(criticality.typeCriticality)+\" \")])]),_c('td',{staticClass:\"text-center\"},[_vm._v(\" \"+_vm._s(criticality.qtyRecords)+\" \")])])}),0)])])]),_c('b-col',{attrs:{\"cols\":\"6\"}},[(_vm.chartCriticalitySeries.length > 0)?_c('apexchart',{staticClass:\"mt-4\",attrs:{\"type\":\"pie\",\"options\":_vm.chartCriticalityOptions,\"series\":_vm.chartCriticalitySeries}}):_vm._e()],1)],1)],1)])]),_c('b-row',[(_vm.form.statusEnvironment === _vm.StatusChecklistEnvironmentType.type.STARTED)?_c('div',{staticClass:\"col-12 d-flex z-index-6\"},[_c('div',{staticClass:\"bg-light container_blackout_footer_button\"},[_c('t-button',{staticClass:\"mt-2\",attrs:{\"submit-fake\":\"\",\"sending\":_vm.localStatus === 'sending',\"primary\":\"\",\"text\":'Finalizar Ambiente'},on:{\"click\":_vm.onSubmit}})],1)]):_vm._e()])],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Type from \"@/model/types/Type\";\r\n\r\nconst type = {\r\n    PENDING : 1,\r\n    OK : 2,\r\n    HAS_PENDING_OCCURRENCE : 3,\r\n    HAS_NEW_OCCURRENCE : 4,\r\n}\r\n\r\nconst list = [\r\n    {\r\n        value: type.PENDING,\r\n        text: \"Pendente\",\r\n    },\r\n    {\r\n        value: type.OK,\r\n        text: \"Ok\",\r\n    },\r\n    {\r\n        value: type.HAS_PENDING_OCCURRENCE,\r\n        text: \"Apontamento anterior pendente\",\r\n    },\r\n    {\r\n        value: type.HAS_NEW_OCCURRENCE,\r\n        text: \"Apontamento nova\",\r\n    },\r\n]\r\n\r\nconst contains = function (typeInput) {\r\n    return Type.contains(list, typeInput)\r\n}\r\n\r\nexport default {\r\n    type,\r\n    list,\r\n    contains,\r\n}\r\n\r\n\r\n","import Type from \"@/model/types/Type\";\r\n\r\nconst type = {\r\n    OCCURRENCE_NEW : 1,\r\n    OCCURRENCE_PENDING : 2,\r\n    OCCURRENCE_CLOSE : 3,\r\n}\r\n\r\nconst list = [\r\n    {\r\n        value: type.OCCURRENCE_NEW,\r\n        text: \"Nova\",\r\n    },\r\n    {\r\n        value: type.OCCURRENCE_PENDING,\r\n        text: \"Em Andamento\",\r\n    },\r\n    {\r\n        value: type.OCCURRENCE_CLOSE,\r\n        text: \"Finalizada\",\r\n    },\r\n]\r\n\r\nconst contains = function (typeInput) {\r\n    return Type.contains(list, typeInput)\r\n}\r\n\r\nexport default {\r\n    type,\r\n    list,\r\n    contains,\r\n}\r\n\r\n\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('t-dialog-form',{ref:\"dialog_form\",attrs:{\"tabs\":\"\",\"large\":\"\",\"generalErrors\":_vm.generalErrors,\"title\":_vm.title,\"hide-submit\":_vm.checklistEnvironment.statusEnvironment === _vm.StatusChecklistEnvironmentType.type.FINISHED,\"ok-text\":_vm.okText,\"id\":_vm.id,\"command\":_vm.localCommand,\"status\":_vm.status,\"variant\":_vm.variant,\"set-tab-index\":_vm.tabIndex},on:{\"show\":_vm.showModal,\"hidden\":_vm.onCloseItem,\"onSubmit\":_vm.onSubmit},scopedSlots:_vm._u([{key:\"out-of-form\",fn:function(){return [_c('t-form-tab',{staticClass:\"border\",attrs:{\"title\":\"Fotos\",\"lazy\":\"\"}},[(_vm.checklistEnvironment.statusEnvironment === _vm.StatusChecklistEnvironmentType.type.FINISHED)?_c('div',[_c('OccurrenceFile',{attrs:{\"only-view\":\"\",\"type-image\":\"\",\"message-not-record\":\"Nenhuma foto inserida\",\"foreign-key\":_vm.form.occurrenceId}})],1):_c('div',[_c('t-form-card',{staticClass:\"border\",attrs:{\"title\":\"Novas\"}},[_c('ChecklistOccurrenceFile',{attrs:{\"only-view\":_vm.localCommand === 'view' || _vm.localCommand === 'delete',\"type-image\":\"\",\"foreign-key\":_vm.form.checklistItemOccurrenceId}})],1),(_vm.form.statusItemOccurrence !== _vm.StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW)?_c('t-form-card',{staticClass:\"border\",attrs:{\"title\":\"Anteriores\"}},[_c('OccurrenceFile',{attrs:{\"only-view\":\"\",\"type-image\":\"\",\"message-not-record\":\"Nenhuma foto anterior inserida\",\"foreign-key\":_vm.form.occurrenceId}})],1):_vm._e()],1)]),_c('t-form-tab',{staticClass:\"border\",attrs:{\"title\":\"Comentários\",\"lazy\":\"\"}},[_c('t-input',{attrs:{\"textarea\":\"\",\"fixed\":_vm.checklistEnvironment.statusEnvironment === _vm.StatusChecklistEnvironmentType.type.FINISHED,\"label\":\"Comentário\",\"rows\":\"3\"},on:{\"focusout\":function($event){return _vm.updateOccurrence('Comentário')}},model:{value:(_vm.form.comment),callback:function ($$v) {_vm.$set(_vm.form, \"comment\", $$v)},expression:\"form.comment\"}}),(_vm.form.statusItemOccurrence !== _vm.StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW)?_c('div',{staticClass:\"mt-3\"},[_vm._v(\" Histórico de Comentários \"),(_vm.form.historyComments.length > 1)?_c('b-list-group',{staticClass:\"mb-4\"},_vm._l((_vm.form.historyComments),function(comment){return _c('b-list-group-item',{key:comment.commentId},[_c('div',[_c('h5',[_vm._v(_vm._s(comment.resume))])]),_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"mr-2\"},[_c('small',{staticClass:\"opacity-6\"},[_c('i',{staticClass:\"fa fa-circle mr-1\"}),(comment.logControl.updatedDate !== undefined && comment.logControl.updatedDate !== null)?_c('span',[_vm._v(\" \"+_vm._s(comment.logControl.updatedUser))]):_c('span',[_vm._v(\" \"+_vm._s(comment.logControl.createdUser))])])]),_c('div',{staticClass:\"mr-2\"},[_c('small',{staticClass:\"opacity-6\"},[_c('i',{staticClass:\"fa fa-calendar-alt mr-1\"}),(comment.logControl.updatedDate !== undefined && comment.logControl.updatedDate !== null)?_c('span',[_vm._v(\" \"+_vm._s(_vm._f(\"datetime\")(comment.logControl.updatedDate)))]):_c('span',[_vm._v(\" \"+_vm._s(_vm._f(\"datetime\")(comment.logControl.createdDate)))])])])])])}),1):_c('t-msg',{attrs:{\"warning\":\"\"}},[_vm._v(\"Nenhum comentário anterior inserido\")])],1):_vm._e()],1)]},proxy:true}])},[[_c('t-form-tab',{staticClass:\"border\",attrs:{\"title\":\"Dados Básicos\"}},[(_vm.dialogIsLoaded)?_c('div',[((_vm.form.statusItemOccurrence !== _vm.StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW || _vm.checklistEnvironment.statusEnvironment === _vm.StatusChecklistEnvironmentType.type.FINISHED) && _vm.occurrence !== null)?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"3\"}},[_c('label',[_vm._v(\"Cód. Apontamento\")]),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-button',{attrs:{\"to\":{path: '/checklist/occurrence/'+_vm.occurrence.occurrenceNumber},\"size\":\"sm\",\"variant\":\"outline-primary\",\"target\":\"_blank\"}},[_c('b-icon-box-arrow-up-right',{staticClass:\"mr-2\"}),_vm._v(\" \"+_vm._s(_vm.occurrence.occurrenceCodeLabel)+\" \")],1)],1)],1)],1),_c('t-input',{attrs:{\"label\":\"Data Abertura\",\"cols\":\"3\",\"datetime\":\"\",\"fixed\":\"\"},model:{value:(_vm.occurrence.occurrenceCreatedDate),callback:function ($$v) {_vm.$set(_vm.occurrence, \"occurrenceCreatedDate\", $$v)},expression:\"occurrence.occurrenceCreatedDate\"}}),_c('t-input',{attrs:{\"label\":\"Usuário\",\"cols\":\"3\",\"fixed\":\"\"},model:{value:(_vm.occurrence.occurrenceCreatedUser),callback:function ($$v) {_vm.$set(_vm.occurrence, \"occurrenceCreatedUser\", $$v)},expression:\"occurrence.occurrenceCreatedUser\"}}),_c('t-input',{attrs:{\"label\":\"Responsável\",\"cols\":\"3\",\"fixed\":\"\"},model:{value:(_vm.occurrence.executor),callback:function ($$v) {_vm.$set(_vm.occurrence, \"executor\", $$v)},expression:\"occurrence.executor\"}})],1):_vm._e(),_c('b-row',[_c('t-input',{attrs:{\"label\":\"Ambiente\",\"cols\":\"4\",\"fixed\":\"\"},model:{value:(_vm.checklistEnvironment.environment),callback:function ($$v) {_vm.$set(_vm.checklistEnvironment, \"environment\", $$v)},expression:\"checklistEnvironment.environment\"}}),_c('t-input',{attrs:{\"label\":\"Complemento do Ambiente\",\"help\":\"Utilize caso desejar acrescentar para identificar o ambiente correto.\",\"cols\":\"4\",\"fixed\":_vm.objValid(_vm.occurrence) && _vm.objValid(_vm.occurrence.occurrenceCodeLabel)},model:{value:(_vm.form.environmentComplement),callback:function ($$v) {_vm.$set(_vm.form, \"environmentComplement\", $$v)},expression:\"form.environmentComplement\"}}),_c('t-input',{attrs:{\"label\":\"Conclusão (%)\",\"cols\":\"4\",\"range\":\"\"},model:{value:(_vm.form.conclusion),callback:function ($$v) {_vm.$set(_vm.form, \"conclusion\", $$v)},expression:\"form.conclusion\"}})],1),_c('b-row',[_c('t-input',{attrs:{\"label\":\"Item\",\"cols\":\"8\",\"fixed\":\"\"},model:{value:(_vm.typeChecklistItem),callback:function ($$v) {_vm.typeChecklistItem=$$v},expression:\"typeChecklistItem\"}}),_c('t-input',{attrs:{\"label\":\"Cód. Ambiente\",\"cols\":\"4\",\"fixed\":\"\"},model:{value:(_vm.checklistEnvironment.environmentCodeLabel),callback:function ($$v) {_vm.$set(_vm.checklistEnvironment, \"environmentCodeLabel\", $$v)},expression:\"checklistEnvironment.environmentCodeLabel\"}})],1),(_vm.form.statusItemOccurrence === _vm.StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW && _vm.checklistEnvironment.statusEnvironment !== _vm.StatusChecklistEnvironmentType.type.FINISHED)?_c('div',[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('t-input',{attrs:{\"textarea\":\"\",\"max-length\":\"1000\",\"enable-optimize-ai\":\"\",\"label\":\"Descrição técnica\"},model:{value:(_vm.form.description),callback:function ($$v) {_vm.$set(_vm.form, \"description\", $$v)},expression:\"form.description\"}})],1),_c('b-col',{attrs:{\"cols\":\"8\"}},[_c('div',{staticClass:\"d-flex\"},[_c('div',[_vm._v(\"Patologia\")]),_c('b-form-checkbox',{staticClass:\"ml-3\",attrs:{\"switch\":\"\"},model:{value:(_vm.form.typePathologyNotFound),callback:function ($$v) {_vm.$set(_vm.form, \"typePathologyNotFound\", $$v)},expression:\"form.typePathologyNotFound\"}},[_c('small',[_vm._v(\"Outra?\")])])],1),_c('t-input-code-label',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.form.typePathologyNotFound),expression:\"!form.typePathologyNotFound\"}],attrs:{\"type-pathology\":\"\",\"status\":_vm.status,\"command\":_vm.command,\"hide-label\":\"\",\"required\":!_vm.form.typePathologyNotFound},on:{\"onResume\":_vm.getUnit},model:{value:(_vm.form.typePathologyId),callback:function ($$v) {_vm.$set(_vm.form, \"typePathologyId\", $$v)},expression:\"form.typePathologyId\"}}),_c('b-row',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.form.typePathologyNotFound),expression:\"form.typePathologyNotFound\"}]},[_c('t-input',{attrs:{\"cols\":\"4\",\"label\":\"Setor\",\"hide-label\":\"\",\"placeholder\":\"Setor\",\"options\":_vm.sectorOptions,\"select\":\"\",\"required\":_vm.form.typePathologyNotFound},model:{value:(_vm.form.sectorId),callback:function ($$v) {_vm.$set(_vm.form, \"sectorId\", $$v)},expression:\"form.sectorId\"}}),_c('t-input',{attrs:{\"cols\":\"8\",\"hide-label\":\"\",\"label\":\"Patologia - Outra\",\"textarea\":\"\",\"max-length\":\"500\",\"placeholder\":\"Informe a patologia desejada\",\"required\":_vm.form.typePathologyNotFound},model:{value:(_vm.form.typePathologyNotFoundOther),callback:function ($$v) {_vm.$set(_vm.form, \"typePathologyNotFoundOther\", $$v)},expression:\"form.typePathologyNotFoundOther\"}})],1)],1),_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('label',{attrs:{\"for\":\"Ambiente\"}},[_vm._v(\"Criticidade *\")]),_c('b-radio-group',{staticClass:\"mb-2\",attrs:{\"stacked\":\"\",\"id\":\"\"},model:{value:(_vm.form.typeCriticalityId),callback:function ($$v) {_vm.$set(_vm.form, \"typeCriticalityId\", $$v)},expression:\"form.typeCriticalityId\"}},_vm._l((_vm.typeCriticalityList),function(criticality){return _c('b-radio',{key:criticality.typeCriticalityId,style:({'color':criticality.color !== undefined && criticality.color !== '' ? criticality.color : ''}),attrs:{\"value\":criticality.typeCriticalityId}},[_vm._v(\" \"+_vm._s(criticality.name)+\" \")])}),1)],1)],1),_c('b-card-title',{staticClass:\"border-bottom pb-2\"},[_vm._v(\"Gerenciamento Risco\")]),_c('b-row',[_c('t-input',{attrs:{\"select\":\"\",\"cols\":\"3\",\"label\":\"Gravidade\",\"options\":_vm.SeverityType.list},on:{\"change\":_vm.onRiscResult},model:{value:(_vm.form.typeSeverity),callback:function ($$v) {_vm.$set(_vm.form, \"typeSeverity\", $$v)},expression:\"form.typeSeverity\"}}),_c('t-input',{attrs:{\"select\":\"\",\"cols\":\"3\",\"label\":\"Urgência\",\"options\":_vm.UrgencyType.list},on:{\"change\":_vm.onRiscResult},model:{value:(_vm.form.typeUrgency),callback:function ($$v) {_vm.$set(_vm.form, \"typeUrgency\", $$v)},expression:\"form.typeUrgency\"}}),_c('t-input',{attrs:{\"select\":\"\",\"cols\":\"3\",\"label\":\"Tendência\",\"options\":_vm.TrendType.list},on:{\"change\":_vm.onRiscResult},model:{value:(_vm.form.typeTrend),callback:function ($$v) {_vm.$set(_vm.form, \"typeTrend\", $$v)},expression:\"form.typeTrend\"}}),_c('t-input',{attrs:{\"cols\":\"3\",\"help\":\"Preencha os 3 fatores: Gravidade, Urgência e Tendência para o cálculo do risco total.<br />Cores pelo critério: <br />Grau Mínimo  1 à 40 (verde)<br />Grau Regular 41 à 83 (laranja)<br />Grau Crítico 84 à 125 (vermelho)\",\"label\":\"Grau Risco\",\"class-input\":_vm.riskClass,\"fixed\":\"\",\"highlight\":\"\"},model:{value:(_vm.riskResult),callback:function ($$v) {_vm.riskResult=$$v},expression:\"riskResult\"}})],1),(_vm.businessTypeSurvey === _vm.SurveyType.type.BUDGET)?_c('div',[_c('b-card-title',{staticClass:\"border-bottom pb-2 mt-2\"},[_vm._v(\"Orçamento\")]),_c('b-form-checkbox',{staticClass:\"mb-2\",attrs:{\"switch\":\"\"},model:{value:(_vm.form.budgetEnabled),callback:function ($$v) {_vm.$set(_vm.form, \"budgetEnabled\", $$v)},expression:\"form.budgetEnabled\"}},[_vm._v(\" Adicionar Orçamento? \")]),(_vm.form.budgetEnabled && _vm.userAccessBudgetShowPrice)?_c('b-row',{staticClass:\"alert-success m-2 p-2 b-radius-small mb-2\"},[_c('t-input',{attrs:{\"cols\":\"3\",\"decimals\":\"2\",\"number\":\"\",\"required\":_vm.form.budgetEnabled,\"label\":\"Qtd.\"},on:{\"change\":_vm.onBudgetTotalPrice},model:{value:(_vm.form.budgetQuantity),callback:function ($$v) {_vm.$set(_vm.form, \"budgetQuantity\", $$v)},expression:\"form.budgetQuantity\"}}),_c('t-input',{attrs:{\"cols\":\"3\",\"select\":\"\",\"first-default\":\"\",\"options\":_vm.UnitType.list,\"label\":\"Medida\"},model:{value:(_vm.form.budgetUnit),callback:function ($$v) {_vm.$set(_vm.form, \"budgetUnit\", $$v)},expression:\"form.budgetUnit\"}}),_c('t-input',{attrs:{\"cols\":\"3\",\"money\":\"\",\"label\":\"Valor Un.\"},on:{\"change\":_vm.onBudgetTotalPrice},model:{value:(_vm.form.budgetPrice),callback:function ($$v) {_vm.$set(_vm.form, \"budgetPrice\", $$v)},expression:\"form.budgetPrice\"}}),_c('t-input',{attrs:{\"cols\":\"3\",\"highlight\":\"\",\"money\":\"\",\"fixed\":\"\",\"label\":\"Valor Total\"},model:{value:(_vm.budgetTotalPrice),callback:function ($$v) {_vm.budgetTotalPrice=$$v},expression:\"budgetTotalPrice\"}})],1):_vm._e()],1):_vm._e()],1):(_vm.occurrence !== null)?_c('div',[_c('b-row',[_c('t-input',{attrs:{\"label\":\"Descrição técnica\",\"cols\":\"4\",\"fixed\":\"\"},model:{value:(_vm.occurrence.description),callback:function ($$v) {_vm.$set(_vm.occurrence, \"description\", $$v)},expression:\"occurrence.description\"}}),_c('t-input',{attrs:{\"label\":\"Patologia\",\"cols\":\"3\",\"fixed\":\"\"},model:{value:(_vm.occurrence.typePathologyAutomatically),callback:function ($$v) {_vm.$set(_vm.occurrence, \"typePathologyAutomatically\", $$v)},expression:\"occurrence.typePathologyAutomatically\"}}),_c('b-col',{attrs:{\"cols\":\"2\"}},[_c('div',[_vm._v(\" Criticidade\"),_c('br'),(_vm.occurrence.typeCriticalityDegree > 1 && _vm.occurrence.typeCriticalityLineClass === 'bg-danger-light')?_c('b-badge',{attrs:{\"variant\":\"danger\"}},[_vm._v(\" \"+_vm._s(_vm.occurrence.typeCriticality)+\" \")]):(_vm.occurrence.typeCriticalityDegree > 1 && _vm.occurrence.typeCriticalityLineClass === 'bg-warning-light')?_c('b-badge',{attrs:{\"variant\":\"warning\"}},[_vm._v(\" \"+_vm._s(_vm.occurrence.typeCriticality)+\" \")]):_c('b-badge',{attrs:{\"variant\":\"info\"}},[_vm._v(_vm._s(_vm.occurrence.typeCriticality))])],1)]),_c('b-col',{attrs:{\"cols\":\"3\"}},[_c('div',[_vm._v(\" Sinalizada finalização \"),_c('t-help',{attrs:{\"title\":\"Caso o executor tenha sinalizado que finalizou o apontamento, será informado por este campo.\"}}),_c('br'),(_vm.objValid(_vm.occurrence.executorSignaled))?_c('b-badge',{attrs:{\"variant\":\"info\"}},[_vm._v(\"Sinalizada em: \"+_vm._s(_vm._f(\"datetime\")(_vm.occurrence.executorSignaled))+\" \")]):_c('b-badge',[_vm._v(\"Não sinalizada\")])],1)])],1),_c('b-card-title',{staticClass:\"border-bottom pb-2\"},[_vm._v(\"Gerenciamento Risco\")]),_c('b-row',[_c('t-input',{attrs:{\"select\":\"\",\"cols\":\"3\",\"label\":\"Gravidade\",\"options\":_vm.SeverityType.list},model:{value:(_vm.occurrence.typeSeverity),callback:function ($$v) {_vm.$set(_vm.occurrence, \"typeSeverity\", $$v)},expression:\"occurrence.typeSeverity\"}}),_c('t-input',{attrs:{\"select\":\"\",\"cols\":\"3\",\"label\":\"Urgência\",\"options\":_vm.UrgencyType.list},model:{value:(_vm.occurrence.typeUrgency),callback:function ($$v) {_vm.$set(_vm.occurrence, \"typeUrgency\", $$v)},expression:\"occurrence.typeUrgency\"}}),_c('t-input',{attrs:{\"select\":\"\",\"cols\":\"3\",\"label\":\"Tendência\",\"options\":_vm.TrendType.list},model:{value:(_vm.occurrence.typeTrend),callback:function ($$v) {_vm.$set(_vm.occurrence, \"typeTrend\", $$v)},expression:\"occurrence.typeTrend\"}}),_c('t-input',{attrs:{\"cols\":\"3\",\"help\":\"Cores pelo critério: <br />Grau Mínimo  1 à 40 (verde)<br />Grau Regular 41 à 83 (laranja)<br />Grau Crítico 84 à 125 (vermelho)\",\"label\":\"Grau Risco\",\"class-input\":_vm.riskClass,\"fixed\":\"\",\"highlight\":\"\"},model:{value:(_vm.occurrence.riskResult),callback:function ($$v) {_vm.$set(_vm.occurrence, \"riskResult\", $$v)},expression:\"occurrence.riskResult\"}})],1),(_vm.businessTypeSurvey === _vm.SurveyType.type.BUDGET && _vm.occurrence.budgetEnabled)?_c('div',[_c('b-card-title',{staticClass:\"border-bottom pb-2 mt-2\"},[_vm._v(\"Orçamento\")]),(_vm.occurrence.budgetEnabled)?_c('b-row',{staticClass:\"alert-success m-2 p-2 b-radius-small mb-2\"},[_c('t-input',{attrs:{\"cols\":\"3\",\"decimals\":\"2\",\"number\":\"\",\"required\":_vm.occurrence.budgetEnabled,\"label\":\"Qtd.\"},on:{\"change\":_vm.onBudgetTotalPrice},model:{value:(_vm.occurrence.budgetQuantity),callback:function ($$v) {_vm.$set(_vm.occurrence, \"budgetQuantity\", $$v)},expression:\"occurrence.budgetQuantity\"}}),_c('t-input',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.occurrence.typePathologyNotFound),expression:\"occurrence.typePathologyNotFound\"}],attrs:{\"cols\":\"3\",\"required\":_vm.occurrence.typePathologyNotFound,\"select\":\"\",\"first-default\":\"\",\"options\":_vm.UnitType.list,\"label\":\"Medida\"},model:{value:(_vm.occurrence.budgetUnit),callback:function ($$v) {_vm.$set(_vm.occurrence, \"budgetUnit\", $$v)},expression:\"occurrence.budgetUnit\"}}),_c('t-input',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.occurrence.typePathologyNotFound),expression:\"!occurrence.typePathologyNotFound\"}],attrs:{\"cols\":\"3\",\"fixed\":\"\",\"label\":\"Medida\"},model:{value:(_vm.occurrence.budgetUnit),callback:function ($$v) {_vm.$set(_vm.occurrence, \"budgetUnit\", $$v)},expression:\"occurrence.budgetUnit\"}}),_c('t-input',{attrs:{\"cols\":\"3\",\"decimals\":\"2\",\"number\":\"\",\"label\":\"Valor Un.\"},on:{\"change\":_vm.onBudgetTotalPrice},model:{value:(_vm.occurrence.budgetPrice),callback:function ($$v) {_vm.$set(_vm.occurrence, \"budgetPrice\", $$v)},expression:\"occurrence.budgetPrice\"}}),_c('t-input',{attrs:{\"cols\":\"3\",\"highlight\":\"\",\"money\":\"\",\"fixed\":\"\",\"label\":\"Valor Total\"},model:{value:(_vm.occurrence.budgetTotalPrice),callback:function ($$v) {_vm.$set(_vm.occurrence, \"budgetTotalPrice\", $$v)},expression:\"occurrence.budgetTotalPrice\"}})],1):_vm._e()],1):_vm._e()],1):_vm._e(),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[(_vm.regulationList.length === 0)?_c('t-msg',{staticStyle:{\"display\":\"none\"},attrs:{\"info\":\"\"}},[_vm._v(\"Nenhuma norma técnica cadastrada para possibilitar o vinculo com apontamentos. Caso desejar cadastre através do menu 'Vistorias' > 'Configurações' \"),_c('a',{attrs:{\"href\":\"/checklist/regulation\",\"target\":\"_blank\"}},[_vm._v(\"'Normas Técnicas'\")])]):_c('div',{staticClass:\"mb-3\"},[(!_vm.showRegulation && _vm.form.regulations.length === 0)?_c('t-button',{attrs:{\"small\":\"\"},on:{\"click\":function($event){_vm.showRegulation = true}}},[_c('b-icon-bookmark-check',{staticClass:\"mr-2\"}),_vm._v(\" Aplicar Normas Técnicas \")],1):_vm._e(),(_vm.showRegulation || _vm.form.regulations.length > 0)?_c('div',[_c('b-card-title',{staticClass:\"border-bottom pb-2 mt-2\"},[_vm._v(\"Normas Técnicas\")]),_c('t-table',{attrs:{\"enable-checked\":\"\",\"items\":_vm.regulationList,\"fields\":_vm.viewFieldsRegulation,\"title-items\":\"normas\",\"link-primary-column\":\"title\",\"table-bordered\":\"\",\"disable-actions-column\":\"\",\"primary-key-column\":\"regulationId\"},scopedSlots:_vm._u([{key:\"first-column\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{staticClass:\"badge badge-light\",style:({'background-color': item.typeRegulationBackgroundColor,'color': item.typeRegulationTextColor})},[_vm._v(_vm._s(item.name))]),_c('br'),_vm._v(\" \"+_vm._s(item.title)+\" \"),_c('t-help',{attrs:{\"title\":item.description}})]}}],null,false,2906869533),model:{value:(_vm.form.regulations),callback:function ($$v) {_vm.$set(_vm.form, \"regulations\", $$v)},expression:\"form.regulations\"}})],1):_vm._e()],1)],1)],1),(_vm.form.statusItemOccurrence === _vm.StatusChecklistOccurrenceItemType.type.OCCURRENCE_PENDING)?_c('b-row',{staticClass:\"border-top mt-2 pt-3 d-flex justify-content-end align-content-end\"},[_c('div',[_c('b-form-checkbox',{staticClass:\"col-sm-12 ml-2 mb-3\",attrs:{\"switch\":\"\"},on:{\"change\":_vm.onFinishPending},model:{value:(_vm.finishPending),callback:function ($$v) {_vm.finishPending=$$v},expression:\"finishPending\"}},[_vm._v(\" Finalizar apontamento? \"),_c('t-help',{attrs:{\"title\":\"Você poderá desmarcar e apenas salvar sem finalizar o apontamento.\"}})],1)],1)]):_vm._e()],1):_vm._e()])]],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('t-page-form-upload',{attrs:{\"type-image\":_vm.typeImage,\"command\":_vm.command,\"other-entity\":_vm.otherEntity,\"path\":_vm.path,\"primaryKeyColumn\":_vm.primaryKeyColumn,\"foreign-key-column\":_vm.foreignKeyColumn,\"primary-key\":_vm.form.occurrenceFileId,\"foreign-key\":_vm.form.checklistItemOccurrenceId,\"items\":_vm.items,\"user-auth\":_vm.userAuth,\"status\":_vm.status,\"busy\":!_vm.pageFormIsLoaded,\"busy-form\":!_vm.listFormIsLoaded,\"busy-list\":!_vm.listIsLoaded,\"message-not-record\":_vm.messageNotRecord,\"only-view\":_vm.onlyView},on:{\"onSubmit\":_vm.onSubmit,\"itemDownload\":_vm.onItemFileDownload,\"onItemDelete\":_vm.onItemDeleteDefault,\"onUploadComplete\":_vm.onUploadComplete,\"onRequestList\":_vm.getList}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\n    <t-page-form-upload\n        :type-image=\"typeImage\"\n        :command=\"command\"\n        :other-entity=\"otherEntity\"\n        :path=\"path\" :primaryKeyColumn=\"primaryKeyColumn\" :foreign-key-column=\"foreignKeyColumn\"\n        :primary-key=\"form.occurrenceFileId\" :foreign-key=\"form.checklistItemOccurrenceId\"\n        :items=\"items\" :user-auth=\"userAuth\" :status=\"status\"\n        :busy=\"!pageFormIsLoaded\" :busy-form=\"!listFormIsLoaded\" :busy-list=\"!listIsLoaded\"\n        :message-not-record=\"messageNotRecord\"\n        :only-view=\"onlyView\"\n        @onSubmit=\"onSubmit\" @itemDownload=\"onItemFileDownload\" @onItemDelete=\"onItemDeleteDefault\"\n        @onUploadComplete=\"onUploadComplete\" @onRequestList=\"getList\">\n\n    </t-page-form-upload>\n\n\n</template>\n<script>\nimport pageDefaultMixin from \"@/mixins/page/pageDefaultMixin\"\nimport pageFormMixin from \"@/mixins/page/pageFormMixin\"\nimport pageFormListMixin from \"@/mixins/page/pageFormListMixin\";\nimport pageFormUploadMixin from \"@/mixins/page/pageFormUploadMixin\";\nimport tPageFormUpload from \"@/components/template/page/t-page-form-upload\";\nimport OccurrenceFileType from \"@/model/types/modules/checklist/OccurrenceFileType\";\n\nexport default {\n  mixins: [pageDefaultMixin, pageFormMixin, pageFormListMixin, pageFormUploadMixin],\n  components: {tPageFormUpload},\n  name: 'ChecklistOccurrenceFile',\n  data() {\n    return {\n      OccurrenceFileType,\n      path: \"checklist/item/occurrence-file\", //Utilizar somente quando fora do padrão\n      primaryKeyColumn: \"checklistItemOccurrenceFileId\",\n      foreignKeyColumn: \"checklistItemOccurrenceId\", //Utilizar quando usar Tabs com outros componentes\n      type: \"D\", //Tipo padrão de modelo de envio de arquivos poderá ser I ou D\n      form: {\n        checklistItemOccurrenceId: this.foreignKey,\n        checklistItemOccurrenceFileId: 0,\n        occurrenceFileType: 0,\n        orderList: 0,\n        type: \"\",\n        subtitle: \"\",\n        fileEntity: {\n          nameOriginal: \"\",\n          nameSave: \"\",\n          sizeKb: 0,\n          extension: \"\",\n        }\n      },\n      error: {//Campos que podem receber retorno de erro do backend\n        name: \"\",\n      },\n      fieldsNotReset: [//Marca os nomes de colunas que não devem ser resetados\n        this.foreignKeyColumn,\n      ],\n      //--------------------------------------------------------------------------------------\n      //Início de campos personalizados desta tela\n\n      //--------------------------------------------------------------------------------------\n    }\n  },\n  props: {\n    otherEntity: Boolean,\n    occurrenceFileType: {\n      type: Number,\n      default: 0,\n    }\n  },\n  methods: {\n\n    defaultForm() {\n\n      //Preenche somente os campos que foram limpos após o reset\n      this.defaultFormList()\n\n\n    },\n\n    mountedPrepare() {\n\n      if (this.otherEntity) {\n        this.command = 'view'\n      }\n\n      this.mountedPrepareFormUploadDefault()\n\n    },\n\n    async mountedContinued() {\n\n      await this.getList()\n\n    },\n\n    async onSubmit() {\n\n      await this.setSendingFormListDefault(this.form.checklistItemOccurrenceFileId)\n\n    },\n\n    mountedList() {\n\n      // Manipulação da listagem após carregando\n      //--------------------------------------\n\n      //--------------------------------------\n\n      this.listIsLoaded = true\n\n    },\n    //--------------------------------------------------------------------------------------\n    //Início de métodos personalizados desta tela\n\n\n    //--------------------------------------------------------------------------------------\n  },\n  async mounted() {\n\n    this.mountedPrepare()\n\n    await this.mountedFormList()\n\n    await this.mountedContinued()\n\n  },\n}\n</script>\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!./ChecklistOccurrenceFile.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!./ChecklistOccurrenceFile.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ChecklistOccurrenceFile.vue?vue&type=template&id=0275564d&\"\nimport script from \"./ChecklistOccurrenceFile.vue?vue&type=script&lang=js&\"\nexport * from \"./ChecklistOccurrenceFile.vue?vue&type=script&lang=js&\"\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  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","<template>\n\n  <t-dialog-form tabs large\n                 :generalErrors=\"generalErrors\" :title=\"title\"\n                 :hide-submit=\"checklistEnvironment.statusEnvironment === StatusChecklistEnvironmentType.type.FINISHED\"\n                 :ok-text=\"okText\"\n                 :id=\"id\"\n                 :command=\"localCommand\"\n                 :status=\"status\"\n                 :variant=\"variant\"\n                 :set-tab-index=\"tabIndex\"\n                 @show=\"showModal\"\n                 @hidden=\"onCloseItem\"\n                 ref=\"dialog_form\" @onSubmit=\"onSubmit\">\n\n    <template>\n\n      <t-form-tab title=\"Dados Básicos\" class=\"border\">\n\n        <div v-if=\"dialogIsLoaded\">\n\n          <b-row\n              v-if=\"(form.statusItemOccurrence !== StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW || checklistEnvironment.statusEnvironment === StatusChecklistEnvironmentType.type.FINISHED) && occurrence !== null\">\n\n\n            <b-col cols=\"3\">\n              <label>Cód. Apontamento</label>\n\n              <b-row>\n                <b-col cols=\"12\">\n                  <b-button\n                      :to=\"{path: '/checklist/occurrence/'+occurrence.occurrenceNumber}\"\n                      size=\"sm\"\n                      variant=\"outline-primary\" target=\"_blank\">\n                    <b-icon-box-arrow-up-right class=\"mr-2\"/>\n                    {{ occurrence.occurrenceCodeLabel }}\n                  </b-button>\n\n\n                </b-col>\n              </b-row>\n\n\n            </b-col>\n\n\n            <t-input label=\"Data Abertura\" cols=\"3\" v-model=\"occurrence.occurrenceCreatedDate\" datetime fixed/>\n\n            <t-input label=\"Usuário\" cols=\"3\" v-model=\"occurrence.occurrenceCreatedUser\" fixed/>\n\n            <t-input label=\"Responsável\" cols=\"3\" v-model=\"occurrence.executor\" fixed/>\n\n          </b-row>\n\n          <b-row>\n\n            <t-input label=\"Ambiente\" cols=\"4\" v-model=\"checklistEnvironment.environment\" fixed/>\n\n            <t-input label=\"Complemento do Ambiente\"\n                     help=\"Utilize caso desejar acrescentar para identificar o ambiente correto.\" cols=\"4\"\n                     v-model=\"form.environmentComplement\" :fixed=\"objValid(occurrence) && objValid(occurrence.occurrenceCodeLabel)\"/>\n\n            <t-input label=\"Conclusão (%)\"\n                     cols=\"4\"\n                     range\n                     v-model=\"form.conclusion\"/>\n\n          </b-row>\n\n          <b-row>\n\n            <t-input label=\"Item\" cols=\"8\" v-model=\"typeChecklistItem\" fixed/>\n\n            <t-input label=\"Cód. Ambiente\" cols=\"4\" v-model=\"checklistEnvironment.environmentCodeLabel\" fixed/>\n\n          </b-row>\n\n          <div\n              v-if=\"form.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW && checklistEnvironment.statusEnvironment !== StatusChecklistEnvironmentType.type.FINISHED\">\n\n            <b-row>\n\n              <b-col cols=\"12\">\n                <t-input v-model=\"form.description\"\n                         textarea max-length=\"1000\"\n                         enable-optimize-ai\n                         label=\"Descrição técnica\"\n                />\n              </b-col>\n\n              <b-col cols=\"8\">\n\n                <div class=\"d-flex\">\n\n                  <div>Patologia</div>\n\n                  <b-form-checkbox class=\"ml-3\" v-model=\"form.typePathologyNotFound\" switch>\n\n                    <small>Outra?</small>\n\n                  </b-form-checkbox>\n\n                </div>\n\n                <t-input-code-label type-pathology\n                                    :status=\"status\"\n                                    :command=\"command\"\n                                    @onResume=\"getUnit\"\n                                    v-show=\"!form.typePathologyNotFound\"\n                                    hide-label\n                                    :required=\"!form.typePathologyNotFound\"\n                                    v-model=\"form.typePathologyId\"/>\n\n                <b-row v-show=\"form.typePathologyNotFound\">\n                  <t-input\n                      cols=\"4\"\n                      v-model=\"form.sectorId\"\n                      label=\"Setor\"\n                      hide-label\n                      placeholder=\"Setor\"\n                      :options=\"sectorOptions\" select\n                      :required=\"form.typePathologyNotFound\"/>\n\n                  <t-input\n                      cols=\"8\"\n                      v-model=\"form.typePathologyNotFoundOther\"\n                      hide-label label=\"Patologia - Outra\" textarea max-length=\"500\"\n                      placeholder=\"Informe a patologia desejada\"\n                      :required=\"form.typePathologyNotFound\"/>\n                </b-row>\n\n              </b-col>\n\n              <b-col cols=\"4\">\n\n                <label for=\"Ambiente\">Criticidade *</label>\n\n                <b-radio-group stacked class=\"mb-2\" id=\"\" v-model=\"form.typeCriticalityId\">\n\n                  <b-radio v-for=\"criticality in typeCriticalityList\" :key=\"criticality.typeCriticalityId\"\n                           :style=\"{'color':criticality.color !== undefined && criticality.color !== '' ? criticality.color : ''}\"\n                           :value=\"criticality.typeCriticalityId\">\n                    {{ criticality.name }}\n                  </b-radio>\n\n                </b-radio-group>\n\n              </b-col>\n\n            </b-row>\n\n\n            <b-card-title class=\"border-bottom pb-2\">Gerenciamento Risco</b-card-title>\n\n            <b-row>\n\n              <t-input select cols=\"3\" @change=\"onRiscResult\" label=\"Gravidade\" v-model=\"form.typeSeverity\"\n                       :options=\"SeverityType.list\"/>\n\n              <t-input select cols=\"3\" @change=\"onRiscResult\" label=\"Urgência\" v-model=\"form.typeUrgency\"\n                       :options=\"UrgencyType.list\"/>\n\n              <t-input select cols=\"3\" @change=\"onRiscResult\" label=\"Tendência\" v-model=\"form.typeTrend\"\n                       :options=\"TrendType.list\"/>\n\n              <t-input cols=\"3\"\n                       help=\"Preencha os 3 fatores: Gravidade, Urgência e Tendência para o cálculo do risco total.<br />Cores pelo critério: <br />Grau Mínimo  1 à 40 (verde)<br />Grau Regular 41 à 83 (laranja)<br />Grau Crítico 84 à 125 (vermelho)\"\n                       label=\"Grau Risco\" :class-input=\"riskClass\" v-model=\"riskResult\" fixed\n                       highlight/>\n\n\n            </b-row>\n\n\n            <div v-if=\"businessTypeSurvey === SurveyType.type.BUDGET\">\n\n\n              <b-card-title class=\"border-bottom pb-2 mt-2\">Orçamento</b-card-title>\n\n              <b-form-checkbox v-model=\"form.budgetEnabled\" class=\"mb-2\" switch>\n                Adicionar Orçamento?\n              </b-form-checkbox>\n\n              <b-row v-if=\"form.budgetEnabled && userAccessBudgetShowPrice\"\n                     class=\"alert-success m-2 p-2 b-radius-small mb-2\">\n\n                <t-input cols=\"3\" decimals=\"2\" number :required=\"form.budgetEnabled\" v-model=\"form.budgetQuantity\"\n                         @change=\"onBudgetTotalPrice\" label=\"Qtd.\"/>\n                <t-input cols=\"3\" v-model=\"form.budgetUnit\"\n                         select first-default :options=\"UnitType.list\"\n                         label=\"Medida\"/>\n\n                <t-input cols=\"3\" v-model=\"form.budgetPrice\" money @change=\"onBudgetTotalPrice\"\n                         label=\"Valor Un.\"/>\n\n                <t-input cols=\"3\" v-model=\"budgetTotalPrice\" highlight money fixed label=\"Valor Total\"/>\n\n              </b-row>\n\n            </div>\n\n\n          </div>\n\n\n          <div v-else-if=\"occurrence !== null\">\n\n            <b-row>\n\n              <t-input label=\"Descrição técnica\" cols=\"4\" v-model=\"occurrence.description\" fixed/>\n\n              <t-input label=\"Patologia\" cols=\"3\" v-model=\"occurrence.typePathologyAutomatically\" fixed/>\n\n              <b-col cols=\"2\">\n\n                <div>\n                  Criticidade<br/>\n                  <b-badge variant=\"danger\"\n                           v-if=\"occurrence.typeCriticalityDegree > 1 && occurrence.typeCriticalityLineClass === 'bg-danger-light'\">\n                    {{ occurrence.typeCriticality }}\n                  </b-badge>\n                  <b-badge variant=\"warning\"\n                           v-else-if=\"occurrence.typeCriticalityDegree > 1 && occurrence.typeCriticalityLineClass === 'bg-warning-light'\">\n                    {{ occurrence.typeCriticality }}\n                  </b-badge>\n\n                  <b-badge variant=\"info\" v-else>{{ occurrence.typeCriticality }}</b-badge>\n\n                </div>\n\n              </b-col>\n\n              <b-col cols=\"3\">\n                <div>\n                  Sinalizada finalização\n                  <t-help\n                      title=\"Caso o executor tenha sinalizado que finalizou o apontamento, será informado por este campo.\"/>\n                  <br/>\n                  <b-badge variant=\"info\" v-if=\"objValid(occurrence.executorSignaled)\">Sinalizada em:\n                    {{ occurrence.executorSignaled | datetime }}\n                  </b-badge>\n                  <b-badge v-else>Não sinalizada</b-badge>\n                </div>\n\n              </b-col>\n\n            </b-row>\n\n            <b-card-title class=\"border-bottom pb-2\">Gerenciamento Risco</b-card-title>\n\n            <b-row>\n\n              <t-input select cols=\"3\" label=\"Gravidade\" v-model=\"occurrence.typeSeverity\"\n                       :options=\"SeverityType.list\"/>\n\n              <t-input select cols=\"3\" label=\"Urgência\" v-model=\"occurrence.typeUrgency\"\n                       :options=\"UrgencyType.list\"/>\n\n              <t-input select cols=\"3\" label=\"Tendência\" v-model=\"occurrence.typeTrend\"\n                       :options=\"TrendType.list\"/>\n\n              <t-input cols=\"3\"\n                       help=\"Cores pelo critério: <br />Grau Mínimo  1 à 40 (verde)<br />Grau Regular 41 à 83 (laranja)<br />Grau Crítico 84 à 125 (vermelho)\"\n                       label=\"Grau Risco\" :class-input=\"riskClass\" v-model=\"occurrence.riskResult\" fixed\n                       highlight/>\n\n\n            </b-row>\n\n\n            <div v-if=\"businessTypeSurvey === SurveyType.type.BUDGET && occurrence.budgetEnabled\">\n\n              <b-card-title class=\"border-bottom pb-2 mt-2\">Orçamento</b-card-title>\n\n              <b-row v-if=\"occurrence.budgetEnabled\" class=\"alert-success m-2 p-2 b-radius-small mb-2\">\n\n                <t-input cols=\"3\" decimals=\"2\" number :required=\"occurrence.budgetEnabled\"\n                         v-model=\"occurrence.budgetQuantity\"\n                         @change=\"onBudgetTotalPrice\" label=\"Qtd.\"/>\n                <t-input cols=\"3\" v-model=\"occurrence.budgetUnit\" v-show=\"occurrence.typePathologyNotFound\"\n                         :required=\"occurrence.typePathologyNotFound\" select first-default :options=\"UnitType.list\"\n                         label=\"Medida\"/>\n                <t-input cols=\"3\" v-model=\"occurrence.budgetUnit\" fixed v-show=\"!occurrence.typePathologyNotFound\"\n                         label=\"Medida\"/>\n\n                <t-input cols=\"3\" v-model=\"occurrence.budgetPrice\" decimals=\"2\" number @change=\"onBudgetTotalPrice\"\n                         label=\"Valor Un.\"/>\n                <t-input cols=\"3\" v-model=\"occurrence.budgetTotalPrice\" highlight money fixed label=\"Valor Total\"/>\n\n              </b-row>\n\n            </div>\n\n          </div>\n\n\n          <b-row>\n\n            <b-col cols=\"12\">\n\n\n              <t-msg info v-if=\"regulationList.length === 0\" style=\"display: none\">Nenhuma norma técnica cadastrada para\n                possibilitar o\n                vinculo com apontamentos. Caso desejar cadastre através do menu 'Vistorias' > 'Configurações' <a\n                    href=\"/checklist/regulation\" target=\"_blank\">'Normas Técnicas'</a></t-msg>\n\n              <div v-else class=\"mb-3\">\n\n                <t-button v-if=\"!showRegulation && form.regulations.length === 0\" @click=\"showRegulation = true\" small>\n                  <b-icon-bookmark-check class=\"mr-2\"/>\n                  Aplicar Normas Técnicas\n                </t-button>\n\n                <div v-if=\"showRegulation || form.regulations.length > 0\">\n\n\n                  <b-card-title class=\"border-bottom pb-2 mt-2\">Normas Técnicas</b-card-title>\n\n                  <t-table\n\n                      enable-checked\n                      v-model=\"form.regulations\"\n                      :items=\"regulationList\"\n                      :fields=\"viewFieldsRegulation\"\n                      title-items=\"normas\"\n                      link-primary-column=\"title\"\n                      table-bordered\n                      disable-actions-column\n                      primary-key-column=\"regulationId\">\n\n                    <template #first-column=\"{item}\">\n\n                  <span\n                      class=\"badge badge-light\"\n                      :style=\"{'background-color': item.typeRegulationBackgroundColor,'color': item.typeRegulationTextColor}\">{{\n                      item.name\n                    }}</span>\n                      <br/>\n                      {{ item.title }}\n                      <t-help :title=\"item.description\"></t-help>\n\n\n                    </template>\n\n                  </t-table>\n\n                </div>\n\n\n              </div>\n\n            </b-col>\n\n          </b-row>\n\n          <b-row class=\"border-top mt-2 pt-3 d-flex justify-content-end align-content-end\"\n                 v-if=\"form.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_PENDING\">\n\n            <div>\n              <b-form-checkbox class=\"col-sm-12 ml-2 mb-3\" v-model=\"finishPending\" @change=\"onFinishPending\" switch>\n                Finalizar apontamento?\n                <t-help\n                    title=\"Você poderá desmarcar e apenas salvar sem finalizar o apontamento.\"/>\n              </b-form-checkbox>\n            </div>\n\n          </b-row>\n\n        </div>\n\n      </t-form-tab>\n\n    </template>\n\n    <template #out-of-form>\n\n      <t-form-tab title=\"Fotos\" lazy class=\"border\">\n\n        <div v-if=\"checklistEnvironment.statusEnvironment === StatusChecklistEnvironmentType.type.FINISHED\">\n\n          <OccurrenceFile only-view type-image\n                          message-not-record=\"Nenhuma foto inserida\"\n                          :foreign-key=\"form.occurrenceId\"/>\n\n        </div>\n\n        <div v-else>\n\n          <t-form-card title=\"Novas\" class=\"border\">\n\n            <ChecklistOccurrenceFile :only-view=\"localCommand === 'view' || localCommand === 'delete'\" type-image\n                                     :foreign-key=\"form.checklistItemOccurrenceId\"/>\n\n          </t-form-card>\n\n          <t-form-card title=\"Anteriores\" class=\"border\"\n                       v-if=\"form.statusItemOccurrence !== StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW\">\n\n            <OccurrenceFile only-view type-image message-not-record=\"Nenhuma foto anterior inserida\"\n                            :foreign-key=\"form.occurrenceId\"/>\n\n          </t-form-card>\n\n        </div>\n\n      </t-form-tab>\n\n      <t-form-tab title=\"Comentários\" lazy class=\"border\">\n\n\n        <t-input textarea\n                 :fixed=\"checklistEnvironment.statusEnvironment === StatusChecklistEnvironmentType.type.FINISHED\"\n                 label=\"Comentário\" rows=\"3\" @focusout=\"updateOccurrence('Comentário')\"\n                 v-model=\"form.comment\"></t-input>\n\n\n        <div class=\"mt-3\" v-if=\"form.statusItemOccurrence !== StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW\">\n\n          Histórico de Comentários\n\n          <b-list-group class=\"mb-4\" v-if=\"form.historyComments.length > 1\">\n\n            <b-list-group-item v-for=\"comment in form.historyComments\" :key=\"comment.commentId\">\n\n              <div>\n\n                <h5>{{ comment.resume }}</h5>\n\n              </div>\n\n              <div class=\"d-flex\">\n\n                <div class=\"mr-2\">\n                  <small class=\"opacity-6\">\n                    <i class=\"fa fa-circle mr-1\"></i>\n                    <span\n                        v-if=\"comment.logControl.updatedDate !== undefined && comment.logControl.updatedDate !== null\"> {{\n                        comment.logControl.updatedUser\n                      }}</span>\n                    <span v-else> {{ comment.logControl.createdUser }}</span>\n                  </small>\n                </div>\n\n                <div class=\"mr-2\">\n                  <small class=\"opacity-6\">\n                    <i class=\"fa fa-calendar-alt mr-1\"></i>\n                    <span\n                        v-if=\"comment.logControl.updatedDate !== undefined && comment.logControl.updatedDate !== null\"> {{\n                        comment.logControl.updatedDate | datetime\n                      }}</span>\n                    <span v-else> {{ comment.logControl.createdDate | datetime }}</span>\n                  </small>\n                </div>\n\n              </div>\n\n            </b-list-group-item>\n\n          </b-list-group>\n\n          <t-msg warning v-else>Nenhum comentário anterior inserido</t-msg>\n\n        </div>\n\n      </t-form-tab>\n\n    </template>\n\n  </t-dialog-form>\n\n</template>\n<script>\nimport tDialogForm from \"@/components/template/dialog/t-dialog-form\";\nimport pageDialogFormMixin from \"@/mixins/page/pageDialogFormMixin\";\nimport http from \"@/services/config/http-common\";\nimport ui from \"@/assets/scripts/ui\";\nimport StatusChecklistOccurrenceItemType from \"@/model/types/modules/checklist/StatusChecklistOccurrenceItemType\";\nimport ChecklistOccurrenceFile from \"@/views/modules/checklist/Checklist/ChecklistOccurrenceFile\";\nimport OccurrenceFile from \"@/views/modules/checklist/OccurrenceFile\";\nimport {crudGeneral} from \"@/services/resource/GeneralCRUD.service\";\nimport TypeCriticalityService from \"@/services/modules/checklist/TypeCriticality.service\";\nimport StatusChecklistEnvironmentType from \"@/model/types/modules/checklist/StatusChecklistEnvironmentType\";\nimport SectorService from \"@/services/modules/agent/Sector.service\";\nimport RegulationService from \"@/services/modules/checklist/Regulation.service\";\nimport UnitType from \"@/model/types/modules/general/UnitType\";\nimport SurveyType from \"@/model/types/modules/checklist/SurveyType\";\nimport SeverityType from \"@/model/types/modules/checklist/SeverityType\";\nimport TrendType from \"@/model/types/modules/checklist/TrendType\";\nimport UrgencyType from \"@/model/types/modules/checklist/UrgencyType\";\n\nexport default {\n  name: \"ChecklistEnvironmentOccurrenceDialog\",\n  components: {tDialogForm, ChecklistOccurrenceFile, OccurrenceFile},\n  mixins: [pageDialogFormMixin],\n  data() {\n    return {\n      SeverityType,\n      TrendType,\n      UrgencyType,\n      SurveyType,\n      UnitType,\n      StatusChecklistOccurrenceItemType,\n      StatusChecklistEnvironmentType,\n      id: \"modal-checklist-item-occurrence\",\n      title: \"\",\n      okText: \"\",\n      path: \"checklist/item/occurrence\",\n      localCommand: 'insert',\n      form: {\n        checklistItemOccurrenceId: 0,\n        checklistItemId: 0,\n        typeCriticalityId: 0,\n        sectorId: 0, //Utilizado somente quando typePathologyNotFound = true\n        typePathologyId: 0,\n        typePathologyNotFound: false,\n        typePathologyNotFoundOther: \"\",\n        statusItemOccurrence: StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW,\n        comment: \"\",\n        description: \"\",\n        positionX: 0,\n        positionY: 0,\n        positionScale: 0.0,\n        positionRotation: 0,\n        environmentComplement: \"\",\n        budgetEnabled: false,\n        budgetPrice: 0,\n        budgetQuantity: 0,\n        budgetUnit: \"m\",\n        conclusion: 0,\n        typeSeverity: 0,\n        typeTrend: 0,\n        typeUrgency: 0,\n        volumetryQuantity: 0,\n        volumetryUnit: \"\",\n        status: 1,\n        historyComments: [],\n        regulations: [],\n      },\n      statusItemIntent: StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW, /*Armazena o status do item de intenção*/\n      error: {//Campos que podem receber retorno de erro do backend\n        name: \"\",\n      },\n      showRegulation: false,\n      regulationList: [],\n      viewFieldsRegulation: [\n        {key: \"title\", label: \"Norma Técnica\"},\n        {key: \"typeRegulation\", label: \"Categoria\"},\n      ],\n      sectorOptions: [],\n      typeCriticalityList: [],\n      typeCriticalityId: 0, /*Opção padrão*/\n      variant: \"primary\",\n      tabIndex: 0,\n      checklistEnvironment: {},\n      checklistItem: {},\n      budgetTotalPrice: 0,\n      riskResult: 0,\n      riskClass: \"\",\n      finishPending: true,\n    }\n\n  },\n  props: {\n    userAccessBudgetShowPrice: {\n      type: Boolean,\n      default: false,\n    },\n    checklistEnvironmentId: Number,\n    enterpriseId: Number,\n    occurrence: {},\n    businessTypeSurvey: Number,\n    typeChecklistItem: String,\n    checklistItemId: Number,\n    setTabIndex: {\n      type: Number,\n      default: 0,\n    },\n    onlyView: Boolean,\n  },\n  methods: {\n\n    //Declaro sempre localmente, pois poderá realizar operações diferentes do padrão como setar algum valor padrão vindo de fora e que seria limpo pelo resetModal de forma dinamica\n    async showModal() {\n\n      this.dialogIsLoaded = false\n\n      this.resetModal()\n\n      //Busca os dados do ambiente\n      await http.get('checklist/environment/' + this.checklistEnvironmentId).then(response => {\n        this.checklistEnvironment = response.data\n      }).catch(error => ui.generalResponseError(this, error))\n\n\n      //Busca os dados do item\n      await http.get('checklist/item/' + this.checklistItemId).then(response => {\n        this.checklistItem = response.data\n      }).catch(error => ui.generalResponseError(this, error))\n\n      this.form.checklistItemId = this.checklistItemId\n      this.form.statusItemOccurrence = StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW\n      this.form.status = 1\n\n\n      if (this.businessTypeSurvey === SurveyType.type.BUDGET) {\n        this.form.budgetEnabled = true\n      }\n\n      //Especificação da unidade de medida pelo item, caso a patologia possuir outra terá prioridade na sobreposição mesmo que já contenha uma unidade de medida (modificações).\n      if (this.checklistItem.unit !== '' && this.form.budgetEnabled && this.form.budgetUnit === '') {\n        this.form.budgetUnit = this.checklistItem.unit\n      }\n\n      if (this.objValid(this.occurrence) && this.objValid(this.occurrence.checklistItemOccurrenceId))\n        this.form.checklistItemOccurrenceId = this.occurrence.checklistItemOccurrenceId\n\n      if (this.form.checklistItemOccurrenceId > 0) {\n\n        if (this.onlyView) {\n          this.localCommand = 'view'\n        } else {\n          this.localCommand = 'update'\n        }\n\n        await http.get(this.path + '/' + this.form.checklistItemOccurrenceId).then(response => {\n\n          this.form = response.data\n\n          if (this.form.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_PENDING) {\n            //Marca para finalizar, porém somente irá alterar se enviar o submit\n            this.statusItemIntent = StatusChecklistOccurrenceItemType.type.OCCURRENCE_CLOSE\n          } else if (this.form.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_CLOSE) {\n            //Marca para voltar para pendente, porém somente irá alterar se enviar o submit\n            this.statusItemIntent = StatusChecklistOccurrenceItemType.type.OCCURRENCE_PENDING\n          }\n\n          //Volta para aba inicial por padrão\n          this.tabIndex = this.setTabIndex\n\n        }).catch(error => ui.generalResponseError(this, error))\n\n      } else {\n        //Ações para inclusão\n\n        //Valor padrão\n        this.form.typeCriticalityId = this.typeCriticalityId\n\n        await crudGeneral.get(this.path + \"/createId\").then(\n            response => {\n              this.form.checklistItemOccurrenceId = response.data.id\n            }\n        ).catch(error => this.responseError(error))\n\n\n      }\n\n      if (this.form.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW) {\n\n        this.title = this.typeChecklistItem + ' (Novo Apontamento)'\n        this.okText = 'Incluir Apontamento'\n\n        if (this.objValid(this.checklistItem.defaultTypePathologyId)) {\n          if (this.checklistItem.defaultTypePathologyId > 0 && this.form.typePathologyId === 0)\n            this.form.typePathologyId = this.checklistItem.defaultTypePathologyId //Seta patologia padrão na inclusão somente se existir e não houver nenhuma selecionada.\n        }\n        this.variant = 'primary'\n\n      } else if (this.form.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_PENDING) {\n        this.title = this.typeChecklistItem + ' - #' + this.form.occurrenceCodeLabel\n        this.okText = 'Finalizar Apontamento'\n        this.variant = 'success'\n      } else if (this.form.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_CLOSE) {\n        this.title = this.typeChecklistItem + ' - #: ' + this.form.occurrenceCodeLabel\n        this.okText = 'Estornar Finalização'\n        this.variant = 'danger'\n      }\n\n\n      if (this.checklistEnvironment.statusEnvironment === StatusChecklistEnvironmentType.type.FINISHED) {\n        this.localCommand = 'view'\n      }\n\n\n      await this.onBudgetTotalPrice()\n      await this.onRiscResult()\n\n      this.dialogIsLoaded = true\n\n    },\n\n    async getUnit(resume) {\n\n      //Poderá sobrepor desde que não tenha valor já informado ou a unidade tenha sido preenchida pelo item\n      if (this.form.typePathologyId > 0 && this.form.budgetEnabled && resume.unit !== '' && (this.form.budgetUnit === '' || this.form.budgetUnit === this.checklistItem.unit)) {\n        this.form.budgetUnit = resume.unit\n      }\n\n    },\n\n    onFinishPending(val) {\n\n      if (val) {\n        this.okText = 'Finalizar Apontamento'\n        this.variant = 'success'\n      } else {\n        this.okText = 'Salvar Apontamento e manter pendente'\n        this.variant = 'warning'\n      }\n\n    },\n\n    onRiscResult() {\n\n      this.riskResult = this.form.typeSeverity * this.form.typeUrgency * this.form.typeTrend\n\n      if (this.occurrence !== null) {\n        this.riskResult = this.occurrence.typeSeverity * this.occurrence.typeUrgency * this.occurrence.typeTrend\n      }\n\n      if (this.riskResult >= 84) {\n        //Grau Crítico 84 à 125\n        //background-color: #fde1e1 !important;\n        //border-color: #ff6a6a !important;\n        this.riskClass = \"input-danger\"\n\n      } else if (this.riskResult >= 41) {\n        //Grau Regular 41 à 83\n        //background-color: #fdefe1 !important;\n        //border-color: #fda86a !important;\n        this.riskClass = \"input-warning\"\n\n      } else if (this.riskResult >= 1) {\n        //Grau Mínimo  1 à 40\n        //background-color: #e4fde1 !important;\n        //border-color: #7af400 !important;\n        this.riskClass = \"input-success\"\n\n      } else {\n        this.riskClass = \"input-light\"\n      }\n    },\n\n    onBudgetTotalPrice() {\n\n      if (this.form.budgetPrice > 0 && this.form.budgetQuantity > 0) {\n        this.budgetTotalPrice = this.form.budgetPrice * this.form.budgetQuantity\n      } else {\n        this.budgetTotalPrice = 0\n      }\n\n    },\n\n    onCloseItem() {\n\n      this.resetModal()\n      this.$emit(\"onClose\", false)\n\n    },\n\n    async updateOccurrence(origin) {\n\n      if (this.form.statusItemOccurrence !== StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW && this.localCommand !== 'view') {\n        //Atualiza o comentário mesmo sem gravar\n        await http.put(this.path, this.form).then(() =>\n            ui.toast(this, 'Sucesso', origin + ' atualizado com sucesso!')\n        ).catch(error => this.responseError(error));\n\n      }\n\n    },\n\n    async onSubmit() {\n\n      if ((this.form.typeSeverity > 0 || this.form.typeUrgency > 0 || this.form.typeTrend > 0) && (this.form.typeSeverity === 0 || this.form.typeUrgency === 0 || this.form.typeTrend === 0)) {\n        ui.msgError(this, 'Você preencheu um dos campos da matriz de risco GUT, porém não preencheu os demais, neste caso é permitido deixar todos em branco ou preencher todos para que o cálculo seja correto.')\n      } else {\n\n\n        /*Comando são iguais devido chave temporária*/\n        if (this.localCommand === 'insert' || this.localCommand === 'update') {\n\n          this.status = \"sending\"\n\n          const statusItemOccurrenceOld = this.form.statusItemOccurrence\n\n          //Marca o statusItem alvo do submit\n          this.form.statusItemOccurrence = this.statusItemIntent\n\n          if (this.form.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW && this.form.conclusion === 100) {\n            ui.msgError(this, 'Não é possível inserir um apontamento novo com conclusão de 100%.')\n          }\n\n          if (this.form.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_PENDING && this.form.conclusion === 100) {\n\n            //Deverá finalizar o apontamento, pois foi informado 100%\n            this.statusItemIntent = StatusChecklistOccurrenceItemType.type.OCCURRENCE_CLOSE\n            this.form.statusItemOccurrence = StatusChecklistOccurrenceItemType.type.OCCURRENCE_CLOSE\n\n          }\n\n          if (statusItemOccurrenceOld === StatusChecklistOccurrenceItemType.type.OCCURRENCE_PENDING && !this.finishPending) {\n            //Usuário não deseja finalizar o apontamento, apenas salvar\n            this.statusItemIntent = StatusChecklistOccurrenceItemType.type.OCCURRENCE_PENDING\n            this.form.statusItemOccurrence = StatusChecklistOccurrenceItemType.type.OCCURRENCE_PENDING\n          }\n\n          await http.put(this.path, this.form).then(response => {\n            this.itemInserted = response.data\n            this.$emit(\"onClose\", true)\n            this.successInsert()\n          }).catch(error => this.responseError(error));\n\n        }\n\n      }\n\n    },\n  },\n  async mounted() {\n\n    await TypeCriticalityService.getAllCriticality().then((list) => {\n      this.typeCriticalityList = list\n\n      //Armazena o tipo padrão\n      if (this.typeCriticalityList.length > 0)\n        this.typeCriticalityId = this.typeCriticalityList[0].typeCriticalityId\n\n    }).catch(error => this.responseError(error))\n\n    await SectorService.selectList().then((list) => {\n      this.sectorOptions = list\n    }).catch(error => this.responseError(error))\n\n    await RegulationService.selectAll().then((list) => {\n      this.regulationList = list\n    }).catch(error => this.responseError(error))\n\n\n  },\n  watch: {\n    setTabIndex(value) {\n      this.tabIndex = value\n    },\n  }\n}\n</script>\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!./ChecklistEnvironmentOccurrenceDialog.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!./ChecklistEnvironmentOccurrenceDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ChecklistEnvironmentOccurrenceDialog.vue?vue&type=template&id=c76c92cc&\"\nimport script from \"./ChecklistEnvironmentOccurrenceDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./ChecklistEnvironmentOccurrenceDialog.vue?vue&type=script&lang=js&\"\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  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","<template>\n\n  <div>\n\n    <ChecklistEnvironmentOccurrenceDialog\n        :checklist-item-id=\"modalOccurrenceItemId\"\n        :type-checklist-item=\"modalOccurrenceItemName\"\n        :checklist-environment-id=\"form.checklistEnvironmentId\"\n        :enterprise-id=\"enterpriseId\"\n        :occurrence=\"modalOccurrenceItemOccurrence\"\n        :business-type-survey=\"businessTypeSurvey\"\n        :user-access-budget-show-price=\"userAccessBudgetShowPrice\"\n        :set-tab-index=\"modalOccurrenceItemTabIndex\"\n        v-if=\"modalOccurrenceItemShow\"\n        @onClose=\"onCloseModalItem\"\n    />\n\n    <t-blackout white no-close-on-esc no opacity9 v-model=\"blackout\">\n\n      <template #buttons-top>\n\n        <div style=\"max-width: 950px; margin: auto; width: 90%\">\n\n          <b-row>\n\n            <div class=\"col-12 d-flex justify-content-end align-items-end\">\n              <b-button class=\"p-0\" variant=\"link\" @click=\"onClose()\">\n                <b-icon-x/>\n                Fechar\n              </b-button>\n            </div>\n\n          </b-row>\n\n        </div>\n\n      </template>\n\n      <div style=\"width: 950px !important;\">\n\n        <div class=\"card-header-tab card-header-tab-animation card-header bg-white\"\n             style=\"border-top-left-radius: 5px; border-top-right-radius: 5px; border:solid 1px #ccc; border-bottom: solid 1px #e1e1e1\">\n\n\n          <div class=\"card-header-title font-size-lg text-capitalize font-weight-normal\"\n               style=\"width: 333px; overflow: hidden; margin-right: 50px\">\n            {{ form.environment }}\n          </div>\n\n          <div style=\"width: 70px; font-size: 12px; text-align: center; font-weight: normal\">\n            <b-icon-clock v-b-tooltip.hover.ds500\n                          :title=\"getElapsedText(form.startDate,form.finishDate)\"/>\n            {{ elapsedTime }}\n          </div>\n\n          <ul class=\"nav\">\n\n            <li class=\"nav-item\">\n              <a data-toggle=\"tab\" :class=\"{'active':localTab === 1}\" @click=\"onShowTab(1)\"\n                 class=\"nav-link show\">Vistoria</a>\n            </li>\n\n\n            <li class=\"nav-item\" v-show=\"businessTypeSurvey  >= SurveyType.type.OCCURRENCE\">\n              <a data-toggle=\"tab\"\n                 :class=\"{'active':localTab === 2}\"\n                 @click=\"onShowTab(2)\"\n                 class=\"nav-link show\">Itens</a>\n            </li>\n            <li class=\"nav-item\" v-show=\"businessTypeSurvey  >= SurveyType.type.OCCURRENCE\">\n              <a data-toggle=\"tab\" :class=\"{'active':localTab === 3}\"\n                 @click=\"onShowTab(3)\"\n                 class=\"nav-link show\">Planta</a></li>\n            <li class=\"nav-item\" v-show=\"businessTypeSurvey  >= SurveyType.type.OCCURRENCE\"><a data-toggle=\"tab\"\n                                                                                               :class=\"{'active':localTab === 4}\"\n\n                                                                                               @click=\"onShowTab(4)\"\n                                                                                               class=\"nav-link show\">Campos</a>\n            </li>\n            <li class=\"nav-item\" v-show=\"businessTypeSurvey  >= SurveyType.type.OCCURRENCE\"><a data-toggle=\"tab\"\n                                                                                               :class=\"{'active':localTab === 5}\"\n                                                                                               @click=\"onShowTab(5)\"\n                                                                                               class=\"nav-link show\">Resumo</a>\n            </li>\n\n\n          </ul>\n\n        </div>\n\n\n        <div class=\"bg-white p-2 container-blackout-content\"\n             style=\"border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-bottom: 1px #ccc solid; min-height: 200px\">\n\n\n          <div v-show=\"!busy && localTab === 1\" class=\"tab-content-blackout\">\n\n\n            <div\n                v-if=\"form.statusEnvironment === StatusChecklistEnvironmentType.type.FINISHED || statusChecklist === StatusChecklistType.type.FINISHED\">\n              <ChecklistEnvironmentEvidenceFile only-view\n                                                message-not-record=\"Nenhuma imagem inserida\"\n                                                type-image :foreign-key=\"checklistEnvironmentId\"/>\n            </div>\n\n            <div v-else style=\"width: 95%; margin: auto\">\n\n              <t-form-card title=\"Novas\" class=\"border\">\n                <ChecklistEnvironmentEvidenceFile type-image :foreign-key=\"checklistEnvironmentId\"/>\n              </t-form-card>\n\n              <t-form-card title=\"Anteriores\" class=\"border\">\n\n\n                <t-button light small @click=\"showEvidenceOldPhotos = !showEvidenceOldPhotos\" class=\"mb-2\">\n                  <b-icon-eye v-show=\"!showEvidenceOldPhotos\" class=\"mr-2\"/>\n                  <b-icon-eye-slash v-show=\"showEvidenceOldPhotos\" class=\"mr-2\"/>\n                  <span v-show=\"!showEvidenceOldPhotos\">Exibir</span>\n                  <span v-show=\"showEvidenceOldPhotos\">Ocultar</span>\n                </t-button>\n\n                <t-msg info v-show=\"showEvidenceOldPhotos\">Imagens de outras vistorias realizadas neste mesmo ambiente,\n                  cuja vistoria e ambiente estejam finalizados.\n                </t-msg>\n\n                <ChecklistEnvironmentEvidenceFile v-if=\"showEvidenceOldPhotos\"\n                                                  message-not-record=\"Nenhuma imagem encontrada de outras vistorias para este mesmo ambiente\"\n                                                  only-view type-image type-old :foreign-key=\"checklistEnvironmentId\"/>\n\n              </t-form-card>\n\n            </div>\n\n\n          </div>\n\n          <div v-show=\"!busy && localTab === 2\" class=\"tab-content-blackout\">\n\n\n            <div class=\"list-group hideHeader\">\n\n              <t-msg info\n                     v-if=\"form.statusEnvironment === StatusChecklistEnvironmentType.type.FINISHED\">\n\n                <span v-if=\"objValid(form.processedDate)\"> Ambiente vistoriado e sincronizado em {{\n                    form.processedDate | datetime\n                  }} </span>\n                <span v-else> Ambiente vistoriado e processamento as informações no servidor <b-icon-clock-history/></span>\n\n              </t-msg>\n\n\n              <t-msg info\n                     v-if=\"form.statusEnvironment !== StatusChecklistEnvironmentType.type.FINISHED && statusChecklist === StatusChecklistType.type.FINISHED\">\n                Ambiente não vistoriado\n              </t-msg>\n\n\n              <li v-for=\"(item,index) in items\" :key=\"index\"\n                  class=\"list-group-item list-group-item-form-list flip-list-enter-to\">\n\n                <div class=\"d-flex\" style=\"word-break: break-word;\">\n\n                  <div class=\"text flex-grow-1 mr-3\" style=\"word-break: break-word;\">\n\n                    <b-row>\n\n                      <b-col cols=\"4\">\n\n                        <div style=\"width: 5px; height: 100%; position: absolute; left: 0; border-radius: 3px\"\n                             :class=\"{\n                          'bg-grey':item.statusItem === StatusChecklistItemType.type.PENDING,\n                          'bg-success':item.statusItem === StatusChecklistItemType.type.OK,\n                          'bg-warning':item.statusItem === StatusChecklistItemType.type.HAS_PENDING_OCCURRENCE,\n                          'bg-danger':item.statusItem === StatusChecklistItemType.type.HAS_NEW_OCCURRENCE,\n                          }\"></div>\n\n                        <div style=\"font-size: 15px; line-height: 30px\">\n\n                          <b-link v-b-toggle=\"'accordion-'+index\" class=\"text-dark\">\n                            {{ item.typeChecklistItem }}\n                          </b-link>\n\n\n                        </div>\n\n                      </b-col>\n\n                      <b-col cols=\"3\" class=\"d-flex align-items-center justify-content-center\">\n\n                        <b-form-checkbox\n                            v-show=\"(item.statusItem === StatusChecklistItemType.type.PENDING && statusChecklist === StatusChecklistType.type.PENDING)\"\n                            @change=\"setItemOk(item.checklistItemId)\"\n                        >\n                          <i class=\"fa fa-check text-success\"></i>\n                        </b-form-checkbox>\n\n                        <span v-show=\"item.statusItem !== StatusChecklistItemType.type.PENDING\">\n\n                           <b-badge variant=\"success\" class=\"mr-2\">{{ item.qtyOccurrencesDone }}\n                          </b-badge>\n                         <b-badge\n                             variant=\"warning\" class=\"mr-2\">{{ item.qtyOccurrencesPending }}\n                          </b-badge>\n                          <b-badge\n                              variant=\"danger\">{{ item.qtyOccurrencesNew }}\n                          </b-badge>\n\n\n                        </span>\n\n\n                      </b-col>\n\n                      <b-col cols=\"5\" class=\"dialog-list-line-buttons fade-in2\">\n\n                        <b-button-group>\n\n                          <b-button\n                              :disabled=\"form.statusEnvironment === StatusChecklistEnvironmentType.type.FINISHED || statusChecklist === StatusChecklistType.type.FINISHED\"\n                              :title=\"form.statusEnvironment === StatusChecklistEnvironmentType.type.FINISHED  || statusChecklist === StatusChecklistType.type.FINISHED ? 'Inclusão desabilitada, pois o ambiente já está sincronizado ou a vistoria está finalizada' : ''\"\n                              @click=\"openDialogOccurrence(item,null,0, index)\" variant=\"outline-primary\" size=\"sm\">\n                            <b-icon-clipboard-plus/>\n                            Apontamento\n                          </b-button>\n                          <b-button variant=\"outline-secondary\" v-b-toggle=\"'accordion-'+index\" size=\"sm\">\n                            <b-icon-card-list/>\n                            Detalhar\n                          </b-button>\n                          <b-button variant=\"outline-secondary\" size=\"sm\">\n                            <b-icon-clock-history/>\n                            Histórico\n                          </b-button>\n                        </b-button-group>\n\n                      </b-col>\n\n                    </b-row>\n\n                  </div>\n\n                </div>\n\n                <b-collapse :id=\"'accordion-'+index\"\n                            accordion=\"accordion-checklist-items\" class=\"p-2 \"\n                            style=\"margin-right: -20px; margin-left: -20px; margin-bottom: -21px; margin-top: 10px; border-bottom: 1px solid #ccc\">\n\n                  <div v-if=\"item.occurrences.length > 0\">\n\n                    <b-row v-for=\"occurrence in item.occurrences\" :key=\"occurrence.checklistItemOccurrenceId\"\n                           class=\"pt-1 pb-2\"\n                           style=\"margin-right: -8px; margin-left: -8px\"\n                           :class=\"{\n                          'bg-warning-light':occurrence.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_PENDING,\n                          'bg-danger-light':occurrence.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW,\n                          'bg-success-light':occurrence.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_CLOSE,\n                          }\"\n                    >\n\n                      <b-col cols=\"3\" class=\"d-flex align-items-center justify-content-left\"\n                             style=\"margin-right: -30px\">\n\n                        <!-- <div style=\"width: 5px; height: 26px; position: absolute; left: 12px; border-radius: 3px\"\n                                                     class=\"bg-warning\"></div>-->\n\n                        <!-- <div class=\"mr-2 ml-2\"><b>{{ ++index }}</b></div>-->\n\n                        <t-button small\n                                  @click=\"openDialogOccurrence(item,occurrence,0,null)\"\n                                  danger\n                                  v-show=\"occurrence.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW\">\n\n                          <div class=\"text-center\">\n                            <b-icon-pencil-square class=\"mr-2\"/>\n                            <span>Novo Apontamento</span>\n                          </div>\n\n                        </t-button>\n\n                        <t-button small\n                                  warning\n                                  v-show=\"occurrence.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_PENDING\"\n                                  @click=\"openDialogOccurrence(item,occurrence,0,null)\">\n\n                          <div class=\"text-center\">\n                            <b-icon-pencil-square class=\"mr-2\"/>\n                            <span>Pendente</span>\n                          </div>\n\n\n                        </t-button>\n\n                        <t-button small\n                                  success\n                                  v-show=\"occurrence.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_CLOSE\"\n                                  @click=\"openDialogOccurrence(item,occurrence,0,index)\">\n\n\n                          <div class=\"text-center\">\n                            <b-icon-pencil-square class=\"mr-2\"/>\n                            <span>Finalizada</span>\n                          </div>\n                        </t-button>\n\n                      </b-col>\n\n                      <b-col cols=\"6\">\n\n                        {{ occurrence.typePathologyAutomatically }} ({{ occurrence.sector }})\n\n                        <div\n                            v-if=\"occurrence.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW\">\n\n                          <small class=\"opacity-6 mr-2\" v-if=\"objValid(occurrence.occurrenceCodeLabel)\">\n                            <i class=\"fa fa-info-circle\"></i>\n                            {{ occurrence.occurrenceCodeLabel }}\n                          </small>\n\n                          <small class=\"opacity-6\">\n                            <i class=\"fa fa-user\"></i>\n                            {{ occurrence.logControl.createdUser }}\n                          </small>\n                          <small class=\"opacity-6 ml-2\">\n                            <i class=\"fa fa-calendar-alt\"></i>\n                            {{ occurrence.logControl.createdDate | datetime }}\n                          </small>\n\n                        </div>\n\n                        <div v-else>\n\n                          <small class=\"opacity-6 mr-2\" v-if=\"objValid(occurrence.occurrenceCodeLabel)\">\n                            <i class=\"fa fa-info-circle\"></i>\n                            {{ occurrence.occurrenceCodeLabel }}\n                          </small>\n\n                          <small class=\"opacity-6\">\n                            <i class=\"fa fa-user\"></i>\n                            {{ occurrence.occurrenceCreatedUser }}\n                          </small>\n                          <small class=\"opacity-6 ml-2\">\n                            <i class=\"fa fa-calendar-alt\"></i>\n                            {{ occurrence.occurrenceCreatedDate | datetime }}\n\n                          </small>\n\n\n                        </div>\n\n                        <div v-if=\"businessTypeSurvey === SurveyType.type.BUDGET && occurrence.budgetEnabled\">\n                          <b-badge variant=\"success\">Orçamento\n\n\n\n                          </b-badge>\n                        </div>\n\n\n                      </b-col>\n\n                      <b-col cols=\"3\" class=\"d-flex justify-content-end align-items-center mt-1\">\n\n                        <div>\n\n                          <b-badge variant=\"danger\"\n                                   class=\"mr-3\"\n                                   v-if=\"occurrence.typeCriticalityDegree > 1 && occurrence.typeCriticalityLineClass === 'bg-danger-light'\">\n                            {{ occurrence.typeCriticality }}\n                          </b-badge>\n                          <b-badge variant=\"warning\"\n                                   class=\"mr-3\"\n                                   v-else-if=\"occurrence.typeCriticalityDegree > 1 && occurrence.typeCriticalityLineClass === 'bg-warning-light'\">\n                            {{ occurrence.typeCriticality }}\n                          </b-badge>\n\n                          <b-badge v-if=\"objValid(occurrence.executorSignaled)\" class=\"mr-3\" variant=\"info\">Sinalizada\n                            <t-help :title=\"getSignaledText(occurrence)\"/>\n                          </b-badge>\n\n                        </div>\n\n                        <t-button small outline-danger class=\"mr-1\"\n                                  v-show=\"occurrence.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW && form.statusEnvironment !== StatusChecklistEnvironmentType.type.FINISHED\"\n                                  @click=\"confirmDeleteNewOccurrence(occurrence.checklistItemOccurrenceId)\">\n                          <i class=\"nav-link-icon lnr-trash\"/>\n                        </t-button>\n\n                        <t-button small outline-secondary class=\"mr-1\"\n                                  @click=\"openDialogOccurrence(item,occurrence,1,null)\">\n                          <i class=\"nav-link-icon lnr-camera\"/>\n                          <span v-show=\"occurrence.qtyPhotos !== undefined && occurrence.qtyPhotos > 0\"\n                                v-b-tooltip.hover.ds500 :title=\"'Qtd. novas fotos: ' + occurrence.qtyPhotos\"\n                                class=\"badge badge-info badge-pill badge-dot badge-dot-sm\"/>\n                        </t-button>\n\n                        <t-button small outline-secondary class=\"mr-1\"\n                                  @click=\"openDialogOccurrence(item,occurrence,2,null)\">\n                          <i class=\"nav-link-icon lnr-bubble\"/>\n                          <span v-show=\"objValid(occurrence.comment)\"\n                                v-b-tooltip.hover.ds500 title=\"Novo comentário inserido\"\n                                class=\"badge badge-info badge-pill badge-dot badge-dot-sm\"/>\n                        </t-button>\n\n                        <t-button small outline-secondary style=\"margin-right: 20px;\" @click=\"infoDevelopment()\">\n                          <i class=\"nav-link-icon lnr-map-marker\"/>\n                        </t-button>\n\n\n                      </b-col>\n\n\n                    </b-row>\n\n                  </div>\n\n                  <div v-show=\"item.occurrences.length === 0\" class=\"text-center\">\n\n                    <t-msg info>Nenhum apontamento inserido!<br/>\n                      <b-link\n                          v-if=\"form.statusEnvironment !== StatusChecklistEnvironmentType.type.FINISHED && statusChecklist === StatusChecklistType.type.PENDING\"\n                          @click=\"openDialogOccurrence(item,null,0, null)\">Adicionar apontamento\n                      </b-link>\n                    </t-msg>\n\n                  </div>\n\n\n                </b-collapse>\n\n              </li>\n\n            </div>\n\n\n            <div class=\"pt-0 p-2 mt-5\">\n\n              Legenda:<br/>\n\n              <table>\n                <tr>\n                  <td>\n                    <div style=\"width: 5px; height: 15px; border-radius: 3px\" class=\"bg-success\"></div>\n                  </td>\n                  <td class=\"pl-1\">Item sem nenhum apontamento novo ou pendente</td>\n                </tr>\n                <tr>\n                  <td>\n                    <div style=\"width: 5px; height: 15px; border-radius: 3px\" class=\"bg-warning\"></div>\n                  </td>\n                  <td class=\"pl-1\">Item possui pelo menos um apontamento pendente</td>\n                </tr>\n                <tr>\n                  <td>\n                    <div style=\"width: 5px; height: 15px; border-radius: 3px\" class=\"bg-danger\"></div>\n                  </td>\n                  <td class=\"pl-1\">Item com 1(um) ou mais apontamento aberto</td>\n                </tr>\n\n\n              </table>\n\n            </div>\n\n\n          </div>\n\n          <div v-show=\"!busy && localTab === 3\" class=\"tab-content-blackout\">\n\n            <t-msg info>Em desenvolvimento</t-msg>\n\n          </div>\n\n          <div v-show=\"!busy && localTab === 4\" class=\"tab-content-blackout\">\n\n\n            <validation-observer ref=\"validationEnvironment\">\n\n              <form @submit.prevent autocomplete=\"off\" ref=\"form\" :class=\"{'form-loading':busy}\">\n\n                <t-form-wrapped :command=\"command\" :status=\"localStatus\">\n\n\n                  <b-col cols=\"12\">\n\n                    <t-msg\n                        v-show=\"!busy && (entityFieldCustomized('typeChecklist') === null || entityFieldCustomized('typeChecklist').length === 0)\"\n                        info>\n                      Não existem campos a serem coletados para esta vistoria, para cadastrar acesse: <br/> 'Vistorias'\n                      > 'Configurações' > 'Modelos de Vistoria' e cadastre campos para preenchimento por ambiente. <br/>\n                      <br/> Obs.: Este recurso somente é válido quando utilizado modelos de vistoria.\n                    </t-msg>\n\n                    <t-page-form-field-customized\n                        ref=\"fieldsEnvironment\"\n                        :command=\"command\" :status=\"localStatus\" :user-auth=\"userAuth\"\n                        :fields-customizable=\"entityFieldCustomized('typeChecklist')\"\n                        :primary-key=\"form.checklistEnvironmentId\" :foreign-key=\"form.typeChecklistId\"\n                        :busy=\"busy\"\n                        primary-key-column=\"checklistEnvironmentId\" foreign-key-column=\"typeChecklistId\"\n                    />\n\n                  </b-col>\n\n\n                </t-form-wrapped>\n\n              </form>\n\n            </validation-observer>\n\n\n          </div>\n\n          <div v-show=\"!busy && localTab === 5\" class=\"tab-content-blackout\">\n\n            <div class=\"no-gutters row border-bottom\">\n              <div class=\"col-sm-12 col-md-4 col-xl-4\">\n                <div class=\"card no-shadow rm-border bg-transparent widget-chart text-left\">\n                  <div class=\"icon-wrapper rounded-circle\">\n                    <div class=\"icon-wrapper-bg opacity-9 bg-success d-flex align-items-center justify-content-center\">\n                      <b-icon-clipboard-check style=\"scale: 1.7\" class=\"text-white\"/>\n                    </div>\n\n                  </div>\n                  <div class=\"widget-chart-content\">\n                    <div class=\"widget-subheading\">Apontamentos Finalizadas</div>\n                    <div class=\"widget-numbers text-success\">\n                      <span>{{ form.qtyItemsOccurrencesDone }}</span></div>\n                  </div>\n                </div>\n              </div>\n              <div class=\"col-sm-6 col-md-4 col-xl-4\">\n                <div class=\"card no-shadow rm-border bg-transparent widget-chart text-left\">\n                  <div class=\"icon-wrapper rounded-circle\">\n                    <div class=\"icon-wrapper-bg opacity-9 bg-warning d-flex align-items-center justify-content-center\">\n                      <b-icon-clipboard-minus style=\"scale: 1.7\" class=\"text-white\"/>\n                    </div>\n\n                  </div>\n                  <div class=\"widget-chart-content\">\n                    <div class=\"widget-subheading\">Apontamentos Pendentes</div>\n                    <div class=\"widget-numbers\">{{ form.qtyItemsOccurrencesPending }}</div>\n                  </div>\n                </div>\n                <div class=\"divider m-0 d-md-none d-sm-block\"></div>\n              </div>\n              <div class=\"col-sm-6 col-md-4 col-xl-4\">\n                <div class=\"card no-shadow rm-border bg-transparent widget-chart text-left\">\n                  <div class=\"icon-wrapper rounded-circle\">\n\n                    <div class=\"icon-wrapper-bg opacity-9 bg-danger d-flex align-items-center justify-content-center\">\n                      <b-icon-clipboard-plus style=\"scale: 1.7\" class=\"text-white\"/>\n                    </div>\n\n\n                  </div>\n                  <div class=\"widget-chart-content\">\n                    <div class=\"widget-subheading\">Apontamentos novas</div>\n                    <div class=\"widget-numbers\"><span>{{ form.qtyItemsOccurrencesNew }}</span></div>\n                  </div>\n                </div>\n                <div class=\"divider m-0 d-md-none d-sm-block\"></div>\n              </div>\n\n            </div>\n\n\n            <div style=\"max-height: calc(100vh - 450px); overflow-y: auto\">\n\n              <b-row style=\"width: 100%; margin: auto\"\n                     v-show=\"dashboard.pathology !== undefined && dashboard.pathology.length > 0\">\n\n                <b-col cols=\"6\">\n\n\n                  <div style=\"max-height: 250px; overflow-y: auto\" class=\"mt-3\">\n\n                    <table class=\"align-middle table table-borderless table-striped table-hover\">\n                      <thead>\n                      <tr>\n                        <th class=\"text-center\"></th>\n                        <th>Ranking Patologias</th>\n                        <th class=\"text-center\">Qtd.</th>\n                      </tr>\n                      </thead>\n                      <tbody>\n                      <tr v-for=\"(pathology,index) in dashboard.pathology\" :key=\"pathology.typePathologyId\">\n                        <td class=\"text-center text-muted\">{{ ++index }}º</td>\n                        <td>\n                          <div style=\"font-size: 14px\">{{ pathology.typePathology }}</div>\n\n                          <div class=\"d-flex align-items-center justify-content-start border b-radius\">\n                            <div class=\"mb-2 ml-2 mt-2 mr-2 badge badge-dot badge-dot-xl\"\n                                 :style=\"{'background-color': pathology.sectorColor}\"></div>\n                            <div class=\"small\">{{ pathology.sector }}</div>\n                          </div>\n\n                        </td>\n\n                        <td class=\"text-center\">\n                          {{ pathology.qtyRecords }}\n                        </td>\n                      </tr>\n\n                      </tbody>\n                    </table>\n\n                  </div>\n\n\n                </b-col>\n\n                <b-col cols=\"6\">\n\n                  <apexchart type=\"pie\" class=\"mt-4\" :options=\"chartSectorOptions\" v-if=\"chartSectorSeries.length > 0\"\n                             :series=\"chartSectorSeries\"></apexchart>\n\n                </b-col>\n\n              </b-row>\n\n              <b-row style=\"width: 100%; margin: auto\"\n                     v-show=\"dashboard.criticality !== undefined && dashboard.criticality.length > 0\">\n\n                <b-col cols=\"6\">\n\n\n                  <div style=\"max-height: 250px; overflow-y: auto\" class=\"mt-3\">\n\n                    <table class=\"align-middle table table-borderless table-striped table-hover\">\n                      <thead>\n                      <tr>\n                        <th class=\"text-center\"></th>\n                        <th>Ranking Criticidade</th>\n                        <th class=\"text-center\">Qtd.</th>\n                      </tr>\n                      </thead>\n                      <tbody>\n                      <tr v-for=\"(criticality,index) in dashboard.criticality\" :key=\"criticality.typeCriticalityId\">\n                        <td class=\"text-center text-muted\"\n                            :class=\"{[criticality.typeCriticalityLineClass] : criticality.typeCriticalityLineClass !== '' }\">\n                          {{ ++index }}º\n                        </td>\n                        <td>\n                          <div style=\"font-size: 14px\" :style=\"{'color': criticality.typeCriticalityColor}\">\n                            {{ criticality.typeCriticality }}\n                          </div>\n\n                        </td>\n\n                        <td class=\"text-center\">\n                          {{ criticality.qtyRecords }}\n                        </td>\n                      </tr>\n\n                      </tbody>\n                    </table>\n\n                  </div>\n\n\n                </b-col>\n\n                <b-col cols=\"6\">\n\n                  <apexchart type=\"pie\" class=\"mt-4\" :options=\"chartCriticalityOptions\"\n                             v-if=\"chartCriticalitySeries.length > 0\" :series=\"chartCriticalitySeries\"></apexchart>\n\n                </b-col>\n\n              </b-row>\n\n            </div>\n\n\n          </div>\n\n\n        </div>\n\n\n        <b-row>\n\n          <div class=\"col-12 d-flex z-index-6\"\n\n               v-if=\"form.statusEnvironment === StatusChecklistEnvironmentType.type.STARTED\">\n\n            <div class=\"bg-light container_blackout_footer_button\">\n\n              <t-button class=\"mt-2\"\n                        @click=\"onSubmit\"\n                        submit-fake\n                        :sending=\"localStatus === 'sending'\"\n                        primary :text=\"'Finalizar Ambiente'\"/>\n            </div>\n\n          </div>\n\n        </b-row>\n\n      </div>\n\n    </t-blackout>\n\n  </div>\n\n</template>\n\n<script>\nimport ui from \"@/assets/scripts/ui\";\nimport http from \"@/services/config/http-common\";\nimport StatusChecklistItemType from \"@/model/types/modules/checklist/StatusChecklistItemType\";\nimport StatusChecklistEnvironmentType from \"@/model/types/modules/checklist/StatusChecklistEnvironmentType\";\nimport StatusChecklistOccurrenceItemType from \"@/model/types/modules/checklist/StatusChecklistOccurrenceItemType\";\nimport ChecklistEnvironmentOccurrenceDialog\n  from \"@/views/modules/checklist/Checklist/ChecklistEnvironmentOccurrenceDialog\";\nimport ChecklistEnvironmentEvidenceFile from \"@/views/modules/checklist/Checklist/ChecklistEnvironmentEvidenceFile\";\nimport pageDefaultMixin from \"@/mixins/page/pageDefaultMixin\";\nimport pageFormMixin from \"@/mixins/page/pageFormMixin\";\nimport StatusChecklistType from \"@/model/types/modules/checklist/StatusChecklistType\";\nimport SurveyType from \"@/model/types/modules/checklist/SurveyType\";\n\nexport default {\n  mixins: [pageDefaultMixin, pageFormMixin],\n  name: 'ChecklistEnvironmentItemDialog',\n  components: {ChecklistEnvironmentOccurrenceDialog, ChecklistEnvironmentEvidenceFile},\n  data() {\n    return {\n      SurveyType,\n      StatusChecklistType,\n      StatusChecklistEnvironmentType,\n      StatusChecklistItemType,\n      StatusChecklistOccurrenceItemType,\n      path: \"checklist/item\",\n      blackout: false,\n      localTab: 1,\n      busy: false,\n      elapsedTime: \"\",\n      dashboard: {},\n      accordionState: false,\n      modalOccurrenceItemShow: false,\n      modalOccurrenceItemId: 0,            /* checklistItemId */\n      modalOccurrenceItemName: \"\"          /*typeChecklistItem*/,\n      modalOccurrenceItemOccurrence: {},  /* checklistItemOccurrenceId */\n      modalOccurrenceItemTabIndex: 0,      /*Tab para exibição por padrão*/\n      modalOccurrenceItemOpenAccordion: null,\n      items: [],\n      form: {},\n      command: \"insert\",\n      localStatus: \"\",\n      showEvidenceOldPhotos: false,\n      fieldsCustomizable: [\n        {\n          entity: \"typeChecklist\",\n          foreignKeyColumn: \"typeChecklistId\",\n          path: \"checklist/type-model-environment\",\n          fields: [],\n        }\n      ],\n      chartSectorSeries: [],\n      chartSectorOptions: {\n        chart: {\n          width: 200,\n          type: 'pie',\n        },\n        colors: [],\n        labels: [],\n        legend: {\n          position: 'bottom',\n          horizontalAlign: 'center',\n        },\n        options: {\n          chart: {\n            width: 200\n          },\n          legend: {\n            position: 'bottom'\n          }\n        },\n      },\n      chartCriticalitySeries: [],\n      chartCriticalityOptions: {\n        chart: {\n          width: 200,\n          type: 'pie',\n        },\n        colors: [],\n        labels: [],\n        legend: {\n          position: 'bottom',\n          horizontalAlign: 'center',\n        },\n        options: {\n          chart: {\n            width: 200\n          },\n          legend: {\n            position: 'bottom'\n          }\n        },\n      },\n\n    }\n  },\n  props: {\n    value: {\n      type: Boolean,\n      default: false\n    },\n    userAccessBudgetShowPrice: {\n      type: Boolean,\n      default: false,\n    },\n    enterpriseId: Number,\n    businessTypeSurvey: Number,\n    showTab: Number, /*Muda o numero da tab desejada para exibição do padrã*/\n    checklistEnvironmentId: Number,\n    statusChecklist: Number,\n  },\n\n  methods: {\n\n    //--------------------------------------------------------------------------------------\n    async onShowTab(number) {\n\n      this.localTab = number\n\n      if (this.localTab === 1) {\n        await this.getTabItems()\n      } else if (this.localTab === 3) {\n        await this.getTabMark()\n      } else if (this.localTab === 5) {\n        await this.getTabResume()\n      }\n\n    },\n\n    async getChecklistEnvironment(getFields = false) {\n\n      await http.get('checklist/environment/' + this.checklistEnvironmentId).then(async response => {\n\n        this.form = response.data\n\n        if (this.objValid(this.form.finishDate)) {\n          this.command = \"view\"\n        }\n\n        if (getFields) {\n\n          if (this.objValid(this.form.typeChecklistId)) {\n\n            if (this.form.typeChecklistId > 0 && this.fieldsCustomizable.length > 0) {\n\n              for (const entity of this.fieldsCustomizable) {\n\n                await this.getFieldsCustomizable(entity.entity)\n              }\n\n            }\n          }\n        }\n\n      }).catch(error => ui.generalResponseError(this, error))\n\n    },\n\n    async getDashboard() {\n\n      await http.get('checklist/environment/dashboard/' + this.checklistEnvironmentId).then(response => {\n\n        this.dashboard = response.data\n\n        this.chartSectorOptions.labels = []\n        this.chartSectorOptions.colors = []\n        this.chartSectorSeries = []\n\n        this.chartCriticalityOptions.labels = []\n        this.chartCriticalityOptions.colors = []\n        this.chartCriticalitySeries = []\n\n        for (const item of this.dashboard.sector) {\n\n          this.chartSectorOptions.labels.push(item.sector)\n          this.chartSectorOptions.colors.push(item.sectorColor)\n          this.chartSectorSeries.push(item.qtyRecords)\n\n        }\n\n        for (const item of this.dashboard.criticality) {\n\n          let color = item.typeCriticalityColor\n\n          if (color === null || color === '') {\n            color = \"#ccc\"\n          }\n\n          this.chartCriticalityOptions.labels.push(item.typeCriticality)\n          this.chartCriticalityOptions.colors.push(color)\n          this.chartCriticalitySeries.push(item.qtyRecords)\n\n        }\n\n      }).catch(error => ui.generalResponseError(this, error))\n\n    },\n\n    async onSubmit() {\n\n      //Por padrão irá enviar o comando para finalizar o ambiente\n      this.form.finish = true\n\n      //Avisa o pai que mudou o status para submetido\n      this.localStatus = \"subject\"\n      this.$parent.status = \"subject\"\n\n      this.$refs.validationEnvironment.validate().then(async success => {\n\n        if (!success) {\n          ui.msgErrorForm(this, this.$refs.validationEnvironment)\n          this.localTab = 4\n          return;\n        }\n\n        //console.log('Form validação básica padrão passou!')\n        await http.get(\"checklist/environment/checkIsFinished/\" + this.checklistEnvironmentId).then(async () => {\n\n\n          ui.msgConfirm(this, '', 'Tem certeza que deseja finalizar a vistoria deste ambiente:<br /><b>' + this.form.environment + '</b>', async () => {\n\n            this.localStatus = \"sending\"\n\n            //Verifica se alguma regra será aplicada\n            await this.injectFieldsForm()\n\n            await http.put(\"checklist/environment\", this.form).then(async () => {\n              ui.toast(this, 'Sucesso', 'Ambiente vistoriado com sucesso!')\n              this.onClose()\n            }).catch(error => ui.generalResponseError(this, error))\n\n\n          }, 'Finalizar')\n\n        }).catch(error => {\n          this.localTab = 1\n          ui.generalResponseError(this, error)\n\n        })\n\n\n      });\n\n    },\n\n    async getTabItems(loading = true) {\n\n      if (loading)\n        this.busy = true\n\n      await this.getChecklistEnvironment()\n\n      await http.list(this.path + \"?checklistEnvironmentId=\" + this.checklistEnvironmentId + \"&returnOccurrences=true\").then(list => {\n        this.items = list\n\n        if (loading)\n          this.busy = false\n      }).catch(error => ui.generalResponseError(this, error))\n\n    },\n\n    getElapsedText(startDate, finishDate) {\n      if (startDate !== '' && this.objValid(finishDate)) {\n        return 'Iniciado em: ' + ui.convertDateBR(startDate, true) + ' - finalizado em: ' + ui.convertDateBR(finishDate, true)\n      } else {\n        return 'Iniciado em: ' + ui.convertDateBR(startDate, true)\n      }\n    },\n\n    async getTabMark() {\n\n      this.busy = true\n\n      setTimeout(() => {\n\n        this.busy = false\n      }, 200)\n\n    },\n    async getTabResume() {\n\n      this.busy = true\n\n      setTimeout(async () => {\n\n        await this.getChecklistEnvironment()\n        await this.getDashboard()\n\n        this.busy = false\n      }, 200)\n\n    },\n\n    onClose() {\n\n      this.$emit('onClose')\n      this.blackout = false\n\n    },\n\n\n    startTime() {\n\n      if (this.objValid(this.form.startDate)) {\n\n        let startDate = new Date(this.form.startDate)\n\n        if (this.form.statusEnvironment === StatusChecklistEnvironmentType.type.FINISHED) {\n\n          const finishDate = new Date(this.form.finishDate)\n          let elapsedTime = (finishDate.getTime() - startDate.getTime())\n\n          const time = new Date(elapsedTime).toISOString().slice(11, 19)\n\n          if (time === \"23:59:59\") {\n            elapsedTime = 'Iniciado em: ' + ui.convertDateBR(startDate, true)\n          } else {\n            elapsedTime = time\n          }\n\n          this.elapsedTime = elapsedTime\n\n\n        } else {\n\n          const today = new Date();\n          let elapsedTime = (today.getTime() - startDate.getTime())\n\n          const time = new Date(elapsedTime).toISOString().slice(11, 19)\n\n          if (time === \"23:59:59\") {\n            elapsedTime = 'Iniciado em: ' + ui.convertDateBR(startDate, true)\n          } else {\n            elapsedTime = time\n          }\n\n          this.elapsedTime = elapsedTime\n\n        }\n\n        //Continua somente se estiver aberto\n        if (this.blackout && this.form.statusEnvironment !== StatusChecklistEnvironmentType.type.FINISHED && this.statusChecklist !== StatusChecklistType.type.FINISHED)\n          setTimeout(this.startTime, 1000);\n\n      }\n\n    },\n    async setItemOk(checklistItemId) {\n\n      await http.post(this.path + \"/setOk/\" + checklistItemId, '').then(async () => {\n        await this.getTabItems(false)\n      }).catch(error => ui.generalResponseError(this, error))\n\n    },\n\n    getSignaledText(occurrence) {\n      return 'Sinalizado que foi feito em :<br />' + ui.convertDateBR(occurrence.executorSignaled, true)\n    },\n\n    confirmDeleteNewOccurrence(checklistItemOccurrenceId) {\n\n      ui.msgConfirm(this, '', 'Deseja excluir esta novo apontamento?', async () => {\n\n        await http.remove('checklist/item/occurrence', checklistItemOccurrenceId).then(() => {\n          this.getTabItems(false)\n        }).catch(error => ui.generalResponseError(this, error));\n\n      }, 'Excluir')\n\n    },\n\n    async auxDialogOccurrence(item, occurrence, tabIndex, openAccordion) {\n\n      this.modalOccurrenceItemShow = true\n      this.modalOccurrenceItemId = item.checklistItemId\n      this.modalOccurrenceItemName = item.typeChecklistItem\n      this.modalOccurrenceItemOccurrence = occurrence\n      this.modalOccurrenceItemTabIndex = tabIndex\n      this.modalOccurrenceItemOpenAccordion = openAccordion\n\n      this.openDialogForm('modal-checklist-item-occurrence', '')\n\n    },\n\n    async openDialogOccurrence(item, occurrence, tabIndex, openAccordion) {\n\n      if (occurrence === null && (item.qtyOccurrencesNew !== undefined && item.qtyOccurrencesNew !== null && item.qtyOccurrencesNew > 0)) {\n\n        let msgConfirm = 'Já existe uma novo apontamento inserido, deseja adicionar mais uma apontamento no mesmo item?'\n\n        if (item.qtyOccurrencesNew > 1) {\n          msgConfirm = 'Já existem ' + item.qtyOccurrencesNew + ' novos apontamentos inseridos, deseja adicionar mais um apontamento no mesmo item?'\n        }\n\n        ui.msgConfirm(this, '', msgConfirm, () => {\n          this.auxDialogOccurrence(item, occurrence, tabIndex, openAccordion)\n        })\n\n      } else {\n        this.auxDialogOccurrence(item, occurrence, tabIndex, openAccordion)\n      }\n\n    },\n\n    async onCloseModalItem(wasChanged) {\n\n      this.modalOccurrenceItemShow = false\n\n      await this.getTabItems(false)\n\n      if (this.modalOccurrenceItemOpenAccordion !== null && wasChanged && !this.accordionState) {\n        this.$root.$emit('bv::toggle::collapse', 'accordion-' + this.modalOccurrenceItemOpenAccordion)\n        this.modalOccurrenceItemOpenAccordion = null\n      }\n\n    }\n\n    //--------------------------------------------------------------------------------------\n  },\n  async mounted() {\n\n    this.$root.$on('bv::collapse::state', (collapseId, state) => {\n      this.accordionState = state\n    })\n\n    this.blackout = this.value\n\n    this.busy = true\n\n    await this.getChecklistEnvironment(true)\n\n    this.busy = false\n\n    this.startTime()\n\n\n  },\n  watch: {\n\n    value(v) {\n      this.blackout = v\n    },\n\n    blackout(v) {\n      this.onShowTab(this.localTab)\n      this.$emit(\"input\", v)\n    }\n\n  }\n}\n</script>\n<style>\n.dialog-list-line-buttons {\n  visibility: hidden;\n  opacity: 0;\n  transition: opacity ease-in-out 0.2s;\n}\n\n.list-group-item:hover .dialog-list-line-buttons {\n  opacity: 0.9;\n  visibility: visible;\n}\n\n.container-blackout-content {\n  min-height: calc(100vh - 250px) !important;\n  max-height: calc(100vh - 250px) !important;\n}\n\n.tab-content-blackout {\n  margin-top: 15px;\n  min-height: calc(100vh - 280px) !important;\n  max-height: calc(100vh - 280px) !important;\n  overflow-y: auto;\n  padding-bottom: 15px;\n}\n</style>\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!./ChecklistEnvironmentItemDialog.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!./ChecklistEnvironmentItemDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ChecklistEnvironmentItemDialog.vue?vue&type=template&id=449840ff&\"\nimport script from \"./ChecklistEnvironmentItemDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./ChecklistEnvironmentItemDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ChecklistEnvironmentItemDialog.vue?vue&type=style&index=0&lang=css&\"\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  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","<template>\n\n  <div>\n\n    <ChecklistEnvironmentItemDialog\n        v-if=\"modalEnvironmentItemShow\"\n        :checklist-environment-id=\"modalEnvironmentItemId\"\n        :enterprise-id=\"enterpriseId\"\n        :business-type-survey=\"businessTypeSurvey\"\n        :user-access-budget-show-price=\"userAccessBudgetShowPrice\"\n        :status-checklist=\"statusChecklist\"\n        v-model=\"modalEnvironmentItemShow\" @onClose=\"getList\"/>\n\n    <t-form-list :generalErrors=\"generalErrors\" :items=\"items\" :fields=\"fields\" :command=\"command\" :user-auth=\"userAuth\"\n                 :status=\"status\"\n                 :busy=\"!pageFormIsLoaded\" :busy-form=\"!listFormIsLoaded\" :busy-list=\"!listIsLoaded\"\n                 disable-default-buttons\n                 title-items=\"Ambientes\"\n                 hide-header\n                 disable-footer-length\n                 primary-key-column=\"checklistEnvironmentId\"\n                 @onSubmit=\"onSubmit\" @onItemRead=\"onItemReadDefault\" @onItemDelete=\"onItemDeleteDefault\">\n\n      <template #default>\n\n        <t-input v-model=\"form.checklistEnvironmentId\" hidden/>\n\n        <b-col cols=\"12\" class=\"mb-2\">\n\n          <b-row>\n\n            <t-input cols=\"2\" @change=\"executeSearchInput\" v-model=\"form.environment\" label=\"Ambiente\"/>\n\n            <t-input-search cols=\"3\" @change=\"executeSearchInput\" v-model=\"form.spotFolderId\" select\n                            :options=\"spotFolderOptions\"\n                            label=\"Pavimento\"\n                            disable-unique-select/>\n\n            <t-input-search cols=\"3\" @change=\"executeSearchInput\" v-model=\"form.enterpriseDivisionId\" select\n                            :options=\"divisionOptions\"\n                            label=\"Divisão\"\n                            disable-unique-select/>\n\n            <t-input-search cols=\"3\" @change=\"executeSearchInput\" v-model=\"form.statusEnvironment\"\n                            disable-unique-select\n                            :options=\"StatusChecklistEnvironmentType.list\"\n                            label=\"Status Ambiente\" select/>\n\n            <!--            <t-button @click=\"executeSearchInput\" class=\"ml-3\" form-inline>\n                          <b-icon-search class=\"mr-1\" style=\"scale: 0.8\"></b-icon-search>\n                          Filtrar\n                        </t-button>-->\n\n          </b-row>\n\n          <t-msg info v-show=\"pageFormIsLoaded && listIsLoaded && items.length === 0\">Nenhum ambiente encontrado de\n            acordo com o filtro informado\n          </t-msg>\n\n        </b-col>\n\n      </template>\n\n      <template #list-content=\"{item,index}\">\n\n        <b-col cols=\"12\">\n\n          <b-row class=\"mt-1\">\n\n            <b-col cols=\"3\" class=\"d-flex align-items-center link\" @click=\"openDialogItems(item)\">\n\n              <div style=\"width: 30px;\">\n\n                <b-icon-check-circle-fill class=\"text-success\" style=\"scale: 1.4\"\n                                          v-if=\"item.statusEnvironment === StatusChecklistEnvironmentType.type.FINISHED\"/>\n\n              </div>\n\n              <!--              <div style=\"width: 5px; height: 100%; position: absolute; left: 0; border-radius: 3px\"\n                                 :class=\"{\n                                  'bg-grey':item.statusEnvironment === StatusChecklistEnvironmentType.type.PENDING,\n                                  'bg-warning':item.statusEnvironment === StatusChecklistEnvironmentType.type.STARTED,\n                                  'bg-success':item.statusEnvironment === StatusChecklistEnvironmentType.type.FINISHED\n                                  }\"></div>-->\n\n              <div>\n\n                <span class=\"badge badge-pill badge-light bg-light\">{{ ++index }}/{{ item.qtyEnvironmentTotal }} - Cód.: {{\n                    item.environmentCodeLabel\n                  }}</span><br/>\n\n                <b-card-title class=\"mb-1\">{{ item.environment }}</b-card-title>\n                <small>{{ item.division }} - {{ item.spotFolder }}</small>\n\n              </div>\n\n\n            </b-col>\n\n            <b-col cols=\"3\" class=\"d-flex align-items-center justify-content-center link\"\n                   v-if=\"businessTypeSurvey  >= SurveyType.type.OCCURRENCE\"\n                   @click=\"openDialogItems(item)\">\n\n              <b-badge v-b-tooltip.hover.ds500 title=\"Apontamentos finalizadas neste ambiente através deste checklist.\"\n                       variant=\"success\" class=\"mr-2\">{{ item.qtyItemsOccurrencesDone }}\n              </b-badge>\n              <b-badge v-b-tooltip.hover.ds500\n                       title=\"Apontamentos que já estavam pendentes neste ambiente e continuam da mesma forma.\"\n                       variant=\"warning\" class=\"mr-2\">{{ item.qtyItemsOccurrencesPending }}\n              </b-badge>\n              <b-badge v-b-tooltip.hover.ds500 title=\"Apontamentos abertas neste ambiente através deste checklist.\"\n                       variant=\"danger\">{{ item.qtyItemsOccurrencesNew }}\n              </b-badge>\n\n            </b-col>\n\n            <b-col cols=\"2\" class=\"d-flex align-items-center justify-content-center link\"\n                   @click=\"openDialogItems(item)\">\n\n              <span v-if=\"item.statusEnvironment === StatusChecklistEnvironmentType.type.STARTED\">\n                <b-icon-clock class=\"mr-1\" v-b-tooltip.hover.ds500 :title=\"getElapsedText(item.startDate,'')\"/>\n                {{ item.elapsedTime | minuteOrHour }}\n              </span>\n\n              <span v-else-if=\"item.statusEnvironment === StatusChecklistEnvironmentType.type.FINISHED\">\n                <b-icon-clock class=\"mr-1\" v-b-tooltip.hover.ds500\n                              :title=\"getElapsedText(item.startDate,item.finishDate)\"/>\n                {{ item.elapsedTime | minuteOrHour }}\n              </span>\n\n            </b-col>\n\n            <b-col cols=\"3\"\n                   class=\"d-flex align-items-center justify-content-center\"\n                   v-if=\"statusChecklist === StatusChecklistType.type.PENDING && item.statusEnvironment === StatusChecklistEnvironmentType.type.FINISHED\">\n\n              <t-button @click=\"confirmReverse(item.checklistEnvironmentId, item.environment)\"\n                        small\n                        outline-danger\n                        :sending=\"reverseFinish\"\n                        enable-loader\n                        :title=\"!enableReverseFinish ? 'Perfil de acesso não habilitado para estorno de finalização' : ''\"\n                        :disabled=\"!enableReverseFinish\">\n                <b-icon-clipboard-x class=\"mr-1\"></b-icon-clipboard-x>\n                Estornar Ambiente\n              </t-button>\n\n\n            </b-col>\n\n\n          </b-row>\n\n        </b-col>\n\n      </template>\n\n    </t-form-list>\n\n\n  </div>\n\n\n</template>\n<script>\nimport pageDefaultMixin from \"@/mixins/page/pageDefaultMixin\"\nimport pageFormMixin from \"@/mixins/page/pageFormMixin\"\nimport pageFormListMixin from \"@/mixins/page/pageFormListMixin\"\nimport tFormList from \"@/components/template/form/list/t-form-list\"\nimport pageListMixin from \"@/mixins/page/pageListMixin\";\nimport StatusChecklistEnvironmentType from \"@/model/types/modules/checklist/StatusChecklistEnvironmentType\";\nimport ChecklistEnvironmentItemDialog from \"@/views/modules/checklist/Checklist/ChecklistEnvironmentItemDialog\";\nimport http from \"@/services/config/http-common\";\nimport ui from \"@/assets/scripts/ui\";\nimport SpotFolderService from \"@/services/modules/place/SpotFolder.service\";\nimport StatusChecklistType from \"@/model/types/modules/checklist/StatusChecklistType\";\nimport SurveyType from \"@/model/types/modules/checklist/SurveyType\";\nimport EnterpriseDivisionService from \"@/services/modules/place/EnterpriseDivision.service\";\n\nexport default {\n  mixins: [pageDefaultMixin, pageFormMixin, pageListMixin, pageFormListMixin],\n  components: {tFormList, ChecklistEnvironmentItemDialog},\n  name: 'ChecklistEnvironment',\n  data() {\n    return {\n      SurveyType,\n      StatusChecklistType,\n      StatusChecklistEnvironmentType,\n      path: \"checklist/environment\", //Utilizar somente quando fora do padrão\n      foreignKeyColumn: \"checklistId\", //Utilizar quando usar Tabs com outros componentes\n      fields: [\n        {keyRead: \"checklistEnvironmentId\", keyDelete: \"checklistEnvironmentId\"},\n        {key: \"environmentCodeLabel\", label: \"Cód. Amb.\", cols: \"3\"},\n        {key: \"environment\", label: \"Ambiente\", cols: \"3\"},\n        {key: \"resume\", label: \"Resumo\", cols: \"4\"},\n      ],\n      form: {\n        checklistId: this.foreignKey,\n        checklistEnvironmentId: 0,\n        environment: \"\",\n        statusEnvironment: 0,\n        status: 1,\n      },\n      error: {//Campos que podem receber retorno de erro do backend\n        code: \"\",\n      },\n      reverseFinish: false,\n      modalEnvironmentItemId: 0,\n      modalEnvironmentItemShow: false,\n      request: {},\n      divisionOptions: [],\n      spotFolderOptions: [],\n\n    }\n  },\n  props: {\n    userAccessBudgetShowPrice: {\n      type: Boolean,\n      default: false,\n    },\n    businessTypeSurvey: Number,\n    enterpriseId: Number,\n    statusChecklist: Number,\n    enableReverseFinish: Boolean,\n  },\n  computed: {\n    onForm() {\n      return this.form\n    }\n  },\n  methods: {\n\n    defaultForm() {\n\n      //Preenche somente os campos que foram limpos após o reset\n      this.defaultFormList()\n\n      //Padrão neste caso deste tipo de relação, sendo fixo esta informação\n      this.form.typeRelation = 1\n\n    },\n\n    mountedPrepare() {\n\n      this.mountedPrepareFormListDefault()\n\n    },\n\n    async mountedContinued() {\n\n      await this.getList()\n\n      await SpotFolderService.selectListGroupedByEnterpriseId(this.enterpriseId).then(list => this.spotFolderOptions = list)\n\n      await EnterpriseDivisionService.selectList(this.enterpriseId).then((list) => {\n        this.divisionOptions = list\n      }).catch(error => this.responseError(error))\n\n\n    },\n\n    async onSubmit() {\n\n      await this.setSendingFormListDefault(this.form.checklistEnvironmentId)\n\n    },\n\n    mountedList() {\n\n      this.listIsLoaded = true\n\n    },\n    //--------------------------------------------------------------------------------------\n    //Início de métodos personalizados desta tela\n    getElapsedText(startDate, finishDate) {\n\n      if (startDate !== '' && finishDate !== '') {\n        return 'Iniciado em: ' + ui.convertDateBR(startDate, true) + ' - finalizado em: ' + ui.convertDateBR(finishDate, true)\n      } else {\n        return 'Iniciado em: ' + ui.convertDateBR(startDate, true)\n      }\n\n\n    },\n\n\n    async executeSearchInput() {\n\n      this.listIsLoaded = false\n\n      setTimeout(async () => {\n        await this.executeSearch(false, false)\n        this.listParams = this.searchParams\n      }, 100)\n\n\n    },\n    afterGetPage() {\n\n      this.items = this.request\n      this.listIsLoaded = true\n\n    },\n    async openDialogItems(item) {\n      if (item.statusEnvironment === StatusChecklistEnvironmentType.type.PENDING && this.statusChecklist === StatusChecklistType.type.PENDING) {\n\n        await this.actionEnvironment(item, 'started')\n        this.modalEnvironmentItemShow = true\n        this.modalEnvironmentItemId = item.checklistEnvironmentId\n\n      } else {\n        this.modalEnvironmentItemShow = true\n        this.modalEnvironmentItemId = item.checklistEnvironmentId\n      }\n\n    },\n    async actionEnvironment(item, intent) {\n\n      let action = 0;\n\n      /* action: 1 = Iniciar, 2 = Finalizar ambiente*/\n      if (intent === 'started') {\n        action = 1\n      } else {\n        action = 2\n      }\n\n      const data = {\n        checklistEnvironmentId: item.checklistEnvironmentId,\n        action,\n      }\n\n      if (action === 2) {\n\n        /*  await http.get(this.path + \"/checkIsFinished/\" + item.checklistEnvironmentId).then(async () => {\n\n            ui.msgConfirm(this, '', 'Tem certeza que deseja finalizar a vistoria deste ambiente:<br /><b>' + item.environment + '</b>', async () => {\n\n              console.log(this.form)\n\n              /!*await http.post(this.path + \"/action\", data).then(async () => {\n                await this.getList()\n              }).catch(error => ui.generalResponseError(this, error))*!/\n            }, 'Finalizar')\n\n          }).catch(error => ui.generalResponseError(this, error))*/\n\n      } else {\n\n        await http.post(this.path + \"/action\", data).then(async () => {\n          await this.getList()\n        }).catch(error => ui.generalResponseError(error))\n\n      }\n\n    },\n\n    async confirmReverse(checklistEnvironmentId, environment) {\n\n      ui.msgConfirm(this, 'ESTORNO DA FINALIZAÇÃO DO AMBIENTE', '<span class=\"text-danger\">Tem certeza que deseja realizar o estorno da finalização desta Ambiente <b>' + environment + '</b>?<br /><br />Todos os processos relacionados a este ambiente serão estornados.', async () => {\n\n        this.reverseFinish = true\n\n        await http.get(this.path + \"/reverse-finish/\" + checklistEnvironmentId).then(async () => {\n\n          ui.toast(this, 'Sucesso', \"Estorno no ambiente realizado com sucesso!\")\n          await this.getList()\n\n        }).catch(error => ui.generalResponseError(this, error))\n\n        this.reverseFinish = false\n\n      })\n\n    },\n\n    getListEnvironment(){\n\n\n    },\n\n    //--------------------------------------------------------------------------------------\n  },\n  async mounted() {\n\n    this.mountedPrepare()\n\n    await this.mountedFormList()\n\n    await this.mountedContinued()\n\n  },\n}\n</script>\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!./ChecklistEnvironment.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!./ChecklistEnvironment.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ChecklistEnvironment.vue?vue&type=template&id=b9b1cd8c&\"\nimport script from \"./ChecklistEnvironment.vue?vue&type=script&lang=js&\"\nexport * from \"./ChecklistEnvironment.vue?vue&type=script&lang=js&\"\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  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.modalOccurrenceItemShow)?_c('ChecklistEnvironmentOccurrenceDialog',{attrs:{\"checklist-item-id\":_vm.modalOccurrenceItemId,\"type-checklist-item\":_vm.modalOccurrenceItemName,\"checklist-environment-id\":_vm.modalOccurrenceItemEnvironmentId,\"business-type-survey\":_vm.businessTypeSurvey,\"user-access-budget-show-price\":_vm.userAccessBudgetShowPrice,\"occurrence\":_vm.modalOccurrenceItemOccurrence,\"set-tab-index\":_vm.modalOccurrenceItemTabIndex},on:{\"onClose\":_vm.onCloseModalItem}}):_vm._e(),_c('t-form-list',{attrs:{\"generalErrors\":_vm.generalErrors,\"items\":_vm.items,\"fields\":_vm.fields,\"command\":_vm.command,\"user-auth\":_vm.userAuth,\"status\":_vm.status,\"busy\":!_vm.pageFormIsLoaded,\"busy-form\":!_vm.listFormIsLoaded,\"busy-list\":!_vm.listIsLoaded,\"disable-default-buttons\":\"\",\"title-items\":\"Apontamentos\",\"hide-header\":\"\",\"disable-footer-length\":\"\",\"primary-key-column\":\"checklistItemOccurrenceId\"},on:{\"onSubmit\":_vm.onSubmit,\"onItemRead\":_vm.onItemReadDefault,\"onItemDelete\":_vm.onItemDeleteDefault},scopedSlots:_vm._u([{key:\"default\",fn:function(){return [_c('t-input',{attrs:{\"hidden\":\"\"},model:{value:(_vm.form.checklistItemOccurrenceId),callback:function ($$v) {_vm.$set(_vm.form, \"checklistItemOccurrenceId\", $$v)},expression:\"form.checklistItemOccurrenceId\"}}),_c('b-col',{staticClass:\"mb-2\",attrs:{\"cols\":\"12\"}},[_c('b-row',[_c('t-input',{attrs:{\"cols\":\"2\",\"label\":\"Cód. Apontamento\"},on:{\"change\":_vm.executeSearchInput},model:{value:(_vm.form.occurrenceCodeLabel),callback:function ($$v) {_vm.$set(_vm.form, \"occurrenceCodeLabel\", $$v)},expression:\"form.occurrenceCodeLabel\"}}),_c('t-input',{attrs:{\"cols\":\"2\",\"label\":\"Patologia\"},on:{\"change\":_vm.executeSearchInput},model:{value:(_vm.form.typePathology),callback:function ($$v) {_vm.$set(_vm.form, \"typePathology\", $$v)},expression:\"form.typePathology\"}}),_c('t-input',{attrs:{\"cols\":\"2\",\"label\":\"Ambiente\"},on:{\"change\":_vm.executeSearchInput},model:{value:(_vm.form.environment),callback:function ($$v) {_vm.$set(_vm.form, \"environment\", $$v)},expression:\"form.environment\"}}),_c('t-input',{attrs:{\"cols\":\"2\",\"label\":\"Item\"},on:{\"change\":_vm.executeSearchInput},model:{value:(_vm.form.typeChecklistItem),callback:function ($$v) {_vm.$set(_vm.form, \"typeChecklistItem\", $$v)},expression:\"form.typeChecklistItem\"}}),_c('t-input-search',{attrs:{\"cols\":\"2\",\"options\":_vm.typeCriticalityOptions,\"label\":\"Criticidade\",\"placeholder\":\"Todas\",\"select\":\"\"},on:{\"change\":_vm.executeSearchInput},model:{value:(_vm.form.typeCriticalityId),callback:function ($$v) {_vm.$set(_vm.form, \"typeCriticalityId\", $$v)},expression:\"form.typeCriticalityId\"}}),_c('t-input-search',{attrs:{\"cols\":\"2\",\"options\":_vm.StatusChecklistOccurrenceItemType.list,\"placeholder\":\"Todas\",\"label\":\"Status Apontamento\",\"select\":\"\"},on:{\"change\":_vm.executeSearchInput},model:{value:(_vm.form.statusItemOccurrence),callback:function ($$v) {_vm.$set(_vm.form, \"statusItemOccurrence\", $$v)},expression:\"form.statusItemOccurrence\"}})],1),(_vm.pageListIsLoaded && _vm.items.length === 0)?_c('b-row',{staticClass:\"mt-2\"},[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('t-msg',{attrs:{\"info\":\"\"}},[_vm._v(\"Nenhum apontamento encontrado\")])],1)],1):_vm._e()],1)]},proxy:true},{key:\"list-content\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-row',{staticClass:\"mt-1\"},[_c('b-col',{attrs:{\"cols\":\"7\"}},[_c('div',{class:{\n                        'bg-warning':item.statusItemOccurrence === _vm.StatusChecklistOccurrenceItemType.type.OCCURRENCE_PENDING,\n                        'bg-danger':item.statusItemOccurrence === _vm.StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW,\n                        'bg-success':item.statusItemOccurrence === _vm.StatusChecklistOccurrenceItemType.type.OCCURRENCE_CLOSE,\n                        },staticStyle:{\"width\":\"5px\",\"height\":\"95px\",\"position\":\"absolute\",\"left\":\"3px\",\"top\":\"3px\",\"border-radius\":\"3px\"}}),_c('div',{staticClass:\"link\",on:{\"click\":function($event){return _vm.openDialogOccurrence(item,0)}}},[(_vm.budgetEnabled)?_c('div',[_c('b-card-title',{staticClass:\"mb-0\",staticStyle:{\"font-size\":\"16px\"}},[_vm._v(_vm._s(item.spotFolder)+\" - \"+_vm._s(item.environment)+\" \"),(item.environmentComplement !== '')?_c('span',[_vm._v(\" - \"+_vm._s(item.environmentComplement))]):_vm._e()]),_c('div',[_c('b-card-title',{staticClass:\"mb-0\",staticStyle:{\"font-weight\":\"normal\"}},[_vm._v(_vm._s(item.typeChecklistItem))]),_vm._v(\" \"+_vm._s(item.typePathologyAutomatically)+\" (\"+_vm._s(item.sector)+\") \"),_c('br'),(item.description !== '')?_c('div',[_vm._v(_vm._s(item.description))]):_c('div',[_c('br')]),_c('div',[(item.statusItemOccurrence !== _vm.StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW)?_c('div',[(_vm.objValid(item.occurrenceCodeLabel) && _vm.userAccessBudgetShowPrice)?_c('small',{staticClass:\"opacity-6 mr-2\"},[_vm._v(\" Valor Un. \"+_vm._s(_vm._f(\"money\")(item.budgetPrice))+\" \")]):_c('small',[_c('br')]),(_vm.objValid(item.occurrenceCodeLabel))?_c('small',{staticClass:\"opacity-6 mr-2\"},[_c('i',{staticClass:\"fa fa-info-circle\"}),_vm._v(\" \"+_vm._s(item.occurrenceCodeLabel)+\" \")]):_vm._e(),_c('small',{staticClass:\"opacity-6\"},[_c('i',{staticClass:\"fa fa-user\"}),_vm._v(\" \"+_vm._s(item.occurrenceCreatedUser)+\" \")]),_c('small',{staticClass:\"opacity-6 ml-2\"},[_c('i',{staticClass:\"fa fa-calendar-alt\"}),_vm._v(\" \"+_vm._s(_vm._f(\"datetime\")(item.occurrenceCreatedDate))+\" \")])]):_c('div',[(_vm.userAccessBudgetShowPrice)?_c('small',{staticClass:\"opacity-6 mr-2\"},[_vm._v(\" Valor Un. \"+_vm._s(_vm._f(\"money\")(item.budgetPrice))+\" \")]):_c('small',[_c('br')])])])],1)],1):_c('div',[_c('b-card-title',{staticClass:\"mb-0\"},[_vm._v(_vm._s(item.typeChecklistItem))]),_vm._v(\" \"+_vm._s(item.typePathologyAutomatically)+\" (\"+_vm._s(item.sector)+\") \"),_c('br'),_vm._v(\" \"+_vm._s(item.description)+\" \"),_c('br'),_vm._v(\" \"+_vm._s(item.spotFolder)+\" - \"+_vm._s(item.environment)+\" \"),_c('br'),(item.statusItemOccurrence === _vm.StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW)?_c('div',[(_vm.objValid(item.occurrenceCodeLabel))?_c('small',{staticClass:\"opacity-6 mr-2\"},[_c('i',{staticClass:\"fa fa-info-circle\"}),_vm._v(\" \"+_vm._s(item.occurrenceCodeLabel)+\" \")]):_vm._e(),_c('small',{staticClass:\"opacity-6\"},[_c('i',{staticClass:\"fa fa-user\"}),_vm._v(\" \"+_vm._s(item.logControl.createdUser)+\" \")]),_c('small',{staticClass:\"opacity-6 ml-2\"},[_c('i',{staticClass:\"fa fa-calendar-alt\"}),_vm._v(\" \"+_vm._s(_vm._f(\"datetime\")(item.logControl.createdDate))+\" \")])]):_c('div',[(_vm.objValid(item.occurrenceCodeLabel))?_c('small',{staticClass:\"opacity-6 mr-2\"},[_c('i',{staticClass:\"fa fa-info-circle\"}),_vm._v(\" \"+_vm._s(item.occurrenceCodeLabel)+\" \")]):_vm._e(),_c('small',{staticClass:\"opacity-6\"},[_c('i',{staticClass:\"fa fa-user\"}),_vm._v(\" \"+_vm._s(item.occurrenceCreatedUser)+\" \")]),_c('small',{staticClass:\"opacity-6 ml-2\"},[_c('i',{staticClass:\"fa fa-calendar-alt\"}),_vm._v(\" \"+_vm._s(_vm._f(\"datetime\")(item.occurrenceCreatedDate))+\" \")])])],1)])]),_c('b-col',{staticClass:\"d-flex align-items-center\",attrs:{\"cols\":\"1\"}},[(item.conclusion > 0)?_c('t-progress-bar-line',{attrs:{\"progress\":item.conclusion}}):_vm._e()],1),_c('b-col',{staticClass:\"d-flex align-items-center\",attrs:{\"cols\":\"1\"}},[(_vm.budgetEnabled)?_c('div',[_vm._v(_vm._s(_vm._f(\"number\")(item.budgetQuantity))+_vm._s(item.budgetUnit))]):(_vm.objValid(item.processedDate))?_c('div',[(item.processedSuccess)?_c('b-icon-cloud-check',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.ds500\",modifiers:{\"hover\":true,\"ds500\":true}}],staticClass:\"text-success\",staticStyle:{\"scale\":\"1.5\"},attrs:{\"title\":'Sincronizado com sucesso em: ' + _vm.ui.convertDateBR(item.processedDate,true)}}):_c('b-icon-cloud-slash',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.ds500\",modifiers:{\"hover\":true,\"ds500\":true}}],staticClass:\"text-danger\",staticStyle:{\"scale\":\"1.5\"},attrs:{\"title\":'Sincronizado com erro em: ' + _vm.ui.convertDateBR(item.processedDate,true) + ' - erro: ' +item.processedError}})],1):_vm._e()]),_c('b-col',{staticClass:\"d-flex justify-content-end align-items-center mt-1\",attrs:{\"cols\":\"3\"}},[(_vm.budgetEnabled && _vm.userAccessBudgetShowPrice)?_c('div',[_c('b',[_vm._v(_vm._s(_vm._f(\"money\")(item.budgetTotalPrice)))])]):_c('div',[_c('div',[(item.typeCriticalityDegree > 1 && item.typeCriticalityLineClass === 'bg-danger-light')?_c('b-badge',{staticClass:\"mr-3\",attrs:{\"variant\":\"danger\"}},[_vm._v(\" \"+_vm._s(item.typeCriticality)+\" \")]):(item.typeCriticalityDegree > 1 && item.typeCriticalityLineClass === 'bg-warning-light')?_c('b-badge',{staticClass:\"mr-3\",attrs:{\"variant\":\"warning\"}},[_vm._v(\" \"+_vm._s(item.typeCriticality)+\" \")]):_vm._e(),(_vm.objValid(item.executorSignaled))?_c('b-badge',{staticClass:\"mr-3\",attrs:{\"variant\":\"info\"}},[_vm._v(\"Sinalizada \"),_c('t-help',{attrs:{\"title\":_vm.getSignaledText(_vm.occurrence)}})],1):_vm._e()],1),_c('t-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(item.statusItemOccurrence === _vm.StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW && !_vm.objValid(item.processedDate)),expression:\"item.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW && !objValid(item.processedDate)\"}],staticClass:\"mr-1\",attrs:{\"small\":\"\",\"outline-danger\":\"\"},on:{\"click\":function($event){return _vm.confirmDeleteNewOccurrence(item.checklistItemOccurrenceId)}}},[_c('i',{staticClass:\"nav-link-icon lnr-trash\"})]),_c('t-button',{staticClass:\"mr-1\",attrs:{\"small\":\"\",\"outline-secondary\":\"\"},on:{\"click\":function($event){return _vm.openDialogOccurrence(item,1)}}},[_c('i',{staticClass:\"nav-link-icon lnr-camera\"}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(item.qtyPhotos !== undefined && item.qtyPhotos > 0),expression:\"item.qtyPhotos !== undefined && item.qtyPhotos > 0\"},{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.ds500\",modifiers:{\"hover\":true,\"ds500\":true}}],staticClass:\"badge badge-info badge-pill badge-dot badge-dot-sm\",attrs:{\"title\":'Qtd. novas fotos: ' + item.qtyPhotos}})]),_c('t-button',{staticClass:\"mr-1\",attrs:{\"small\":\"\",\"outline-secondary\":\"\"},on:{\"click\":function($event){return _vm.openDialogOccurrence(item,2)}}},[_c('i',{staticClass:\"nav-link-icon lnr-bubble\"}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.objValid(item.comment)),expression:\"objValid(item.comment)\"},{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.ds500\",modifiers:{\"hover\":true,\"ds500\":true}}],staticClass:\"badge badge-info badge-pill badge-dot badge-dot-sm\",attrs:{\"title\":\"Novo comentário inserido\"}})]),_c('t-button',{attrs:{\"small\":\"\",\"outline-secondary\":\"\"},on:{\"click\":function($event){return _vm.infoDevelopment()}}},[_c('i',{staticClass:\"nav-link-icon lnr-map-marker\"})])],1)])],1)],1)]}}])}),(_vm.budgetEnabled && _vm.userAccessBudgetShowPrice && _vm.listIsLoaded)?_c('div',{staticClass:\"d-flex mr-3 ml-3  justify-content-between align-content-center\"},[_c('div',{staticStyle:{\"font-size\":\"15px\"}},[_vm._v(\"Valor Total orçado nesta Vistoria:\")]),_c('div',{staticStyle:{\"font-size\":\"25px\",\"margin-right\":\"20px\"}},[_c('b',[_vm._v(_vm._s(_vm._f(\"money\")(_vm.checklistBudgetTotalPrice)))])])]):_vm._e(),(_vm.items.length > 0)?_c('div',{staticClass:\"pt-0 p-2 mt-5\"},[_vm._v(\" Legenda:\"),_c('br'),_vm._m(0)]):(_vm.items.length === 0 && _vm.listIsLoaded)?_c('div',[(_vm.businessTypeSurvey  === _vm.SurveyType.type.BUDGET)?_c('div',[(_vm.budgetEnabled)?_c('t-msg',{attrs:{\"info\":\"\"}},[_vm._v(\"Nenhum apontamento relacionado a esta vistoria do tipo 'Orçamento'.\")]):_c('t-msg',{attrs:{\"info\":\"\"}},[_vm._v(\"Nenhum apontamento relacionado a esta vistoria do tipo 'comum' encontrado (não habilitado para orçamento). \")])],1):_c('div',[_c('t-msg',{attrs:{\"info\":\"\"}},[_vm._v(\"Nenhum apontamento relacionado a esta vistoria\")])],1)]):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('table',[_c('tr',[_c('td',[_c('div',{staticClass:\"bg-success\",staticStyle:{\"width\":\"5px\",\"height\":\"15px\",\"border-radius\":\"3px\"}})]),_c('td',{staticClass:\"pl-1\"},[_vm._v(\"Apontamento finalizado nesta vistoria\")])]),_c('tr',[_c('td',[_c('div',{staticClass:\"bg-warning\",staticStyle:{\"width\":\"5px\",\"height\":\"15px\",\"border-radius\":\"3px\"}})]),_c('td',{staticClass:\"pl-1\"},[_vm._v(\"Apontamento pendente de vistoria anterior\")])]),_c('tr',[_c('td',[_c('div',{staticClass:\"bg-danger\",staticStyle:{\"width\":\"5px\",\"height\":\"15px\",\"border-radius\":\"3px\"}})]),_c('td',{staticClass:\"pl-1\"},[_vm._v(\"Apontamento novo nesta vistoria\")])])])}]\n\nexport { render, staticRenderFns }","<template>\n\n  <div>\n\n    <ChecklistEnvironmentOccurrenceDialog\n        :checklist-item-id=\"modalOccurrenceItemId\"\n        :type-checklist-item=\"modalOccurrenceItemName\"\n        :checklist-environment-id=\"modalOccurrenceItemEnvironmentId\"\n        :business-type-survey=\"businessTypeSurvey\"\n        :user-access-budget-show-price=\"userAccessBudgetShowPrice\"\n        :occurrence=\"modalOccurrenceItemOccurrence\"\n        :set-tab-index=\"modalOccurrenceItemTabIndex\"\n        v-if=\"modalOccurrenceItemShow\"\n        @onClose=\"onCloseModalItem\"\n    />\n\n    <t-form-list :generalErrors=\"generalErrors\" :items=\"items\" :fields=\"fields\" :command=\"command\" :user-auth=\"userAuth\"\n                 :status=\"status\"\n                 :busy=\"!pageFormIsLoaded\" :busy-form=\"!listFormIsLoaded\" :busy-list=\"!listIsLoaded\"\n                 disable-default-buttons\n                 title-items=\"Apontamentos\"\n                 hide-header\n                 disable-footer-length\n                 primary-key-column=\"checklistItemOccurrenceId\"\n                 @onSubmit=\"onSubmit\" @onItemRead=\"onItemReadDefault\" @onItemDelete=\"onItemDeleteDefault\">\n\n      <template #default>\n\n        <t-input v-model=\"form.checklistItemOccurrenceId\" hidden/>\n\n        <b-col cols=\"12\" class=\"mb-2\">\n\n          <b-row>\n\n            <t-input cols=\"2\" @change=\"executeSearchInput\" v-model=\"form.occurrenceCodeLabel\" label=\"Cód. Apontamento\"/>\n\n            <t-input cols=\"2\" @change=\"executeSearchInput\" v-model=\"form.typePathology\" label=\"Patologia\"/>\n\n            <t-input cols=\"2\" @change=\"executeSearchInput\" v-model=\"form.environment\" label=\"Ambiente\"/>\n\n            <t-input cols=\"2\" @change=\"executeSearchInput\" v-model=\"form.typeChecklistItem\" label=\"Item\"/>\n\n            <t-input-search v-model=\"form.typeCriticalityId\" cols=\"2\" :options=\"typeCriticalityOptions\"\n                            @change=\"executeSearchInput\"\n                            label=\"Criticidade\" placeholder=\"Todas\"\n                            select\n            />\n\n            <t-input-search cols=\"2\" v-model=\"form.statusItemOccurrence\"\n                            @change=\"executeSearchInput\"\n                            :options=\"StatusChecklistOccurrenceItemType.list\"\n                            placeholder=\"Todas\"\n                            label=\"Status Apontamento\" select/>\n\n          </b-row>\n\n          <b-row v-if=\"pageListIsLoaded && items.length === 0\" class=\"mt-2\">\n            <b-col cols=\"12\">\n\n              <t-msg info>Nenhum apontamento encontrado</t-msg>\n            </b-col>\n\n          </b-row>\n\n        </b-col>\n\n\n      </template>\n\n      <template #list-content=\"{item}\">\n\n        <b-col cols=\"12\">\n\n          <b-row class=\"mt-1\">\n\n\n            <b-col cols=\"7\">\n\n              <div style=\"width: 5px; height: 95px; position: absolute; left: 3px; top:3px; border-radius: 3px\"\n                   :class=\"{\n                          'bg-warning':item.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_PENDING,\n                          'bg-danger':item.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW,\n                          'bg-success':item.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_CLOSE,\n                          }\"></div>\n\n              <div class=\"link\" @click=\"openDialogOccurrence(item,0)\">\n\n                <div v-if=\"budgetEnabled\">\n\n                  <b-card-title style=\"font-size: 16px\" class=\"mb-0\">{{ item.spotFolder }} - {{ item.environment }}\n                    <span v-if=\"item.environmentComplement !== ''\"> - {{ item.environmentComplement }}</span>\n                  </b-card-title>\n\n                  <div>\n\n                    <b-card-title style=\"font-weight: normal\" class=\"mb-0\">{{ item.typeChecklistItem }}</b-card-title>\n\n                    {{ item.typePathologyAutomatically }} ({{ item.sector }}) <br/>\n\n                    <div v-if=\"item.description !== ''\">{{ item.description }}</div>\n                    <div v-else><br/></div>\n\n                    <div>\n\n\n                      <div v-if=\"item.statusItemOccurrence !== StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW\">\n\n                        <small  class=\"opacity-6 mr-2\" v-if=\"objValid(item.occurrenceCodeLabel) && userAccessBudgetShowPrice\">\n                          Valor Un. {{ item.budgetPrice | money }}\n                        </small>\n                        <small v-else><br /></small>\n\n                        <small class=\"opacity-6 mr-2\" v-if=\"objValid(item.occurrenceCodeLabel)\">\n                          <i class=\"fa fa-info-circle\"></i>\n                          {{ item.occurrenceCodeLabel }}\n                        </small>\n\n                        <small class=\"opacity-6\">\n                          <i class=\"fa fa-user\"></i>\n                          {{ item.occurrenceCreatedUser }}\n                        </small>\n                        <small class=\"opacity-6 ml-2\">\n                          <i class=\"fa fa-calendar-alt\"></i>\n                          {{ item.occurrenceCreatedDate | datetime }}\n\n                        </small>\n\n\n                      </div>\n\n                      <div v-else>\n\n                        <small  class=\"opacity-6 mr-2\" v-if=\"userAccessBudgetShowPrice\">\n                          Valor Un. {{ item.budgetPrice | money }}\n                        </small>\n                        <small v-else><br /></small>\n\n                      </div>\n\n\n                    </div>\n\n                  </div>\n\n\n                </div>\n\n                <div v-else>\n\n                  <b-card-title class=\"mb-0\">{{ item.typeChecklistItem }}</b-card-title>\n\n                  {{ item.typePathologyAutomatically }} ({{ item.sector }}) <br/>\n\n                  {{ item.description }} <br/>\n\n                  {{ item.spotFolder }} - {{ item.environment }} <br/>\n\n\n                  <div\n                      v-if=\"item.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW\">\n\n                    <small class=\"opacity-6 mr-2\" v-if=\"objValid(item.occurrenceCodeLabel)\">\n                      <i class=\"fa fa-info-circle\"></i>\n                      {{ item.occurrenceCodeLabel }}\n                    </small>\n\n                    <small class=\"opacity-6\">\n                      <i class=\"fa fa-user\"></i>\n                      {{ item.logControl.createdUser }}\n                    </small>\n                    <small class=\"opacity-6 ml-2\">\n                      <i class=\"fa fa-calendar-alt\"></i>\n                      {{ item.logControl.createdDate | datetime }}\n                    </small>\n\n                  </div>\n\n                  <div v-else>\n\n                    <small class=\"opacity-6 mr-2\" v-if=\"objValid(item.occurrenceCodeLabel)\">\n                      <i class=\"fa fa-info-circle\"></i>\n                      {{ item.occurrenceCodeLabel }}\n                    </small>\n\n                    <small class=\"opacity-6\">\n                      <i class=\"fa fa-user\"></i>\n                      {{ item.occurrenceCreatedUser }}\n                    </small>\n                    <small class=\"opacity-6 ml-2\">\n                      <i class=\"fa fa-calendar-alt\"></i>\n                      {{ item.occurrenceCreatedDate | datetime }}\n\n                    </small>\n\n\n                  </div>\n\n                </div>\n\n\n              </div>\n\n\n            </b-col>\n\n            <b-col cols=\"1\" class=\"d-flex align-items-center\">\n\n              <t-progress-bar-line v-if=\"item.conclusion > 0\" :progress=\"item.conclusion\"/>\n\n            </b-col>\n\n\n            <b-col cols=\"1\" class=\"d-flex align-items-center\">\n\n\n              <div v-if=\"budgetEnabled\">{{ item.budgetQuantity | number }}{{ item.budgetUnit }}</div>\n\n              <div v-else-if=\"objValid(item.processedDate)\">\n\n                <b-icon-cloud-check v-if=\"item.processedSuccess\" style=\"scale: 1.5\" v-b-tooltip.hover.ds500\n                                    :title=\"'Sincronizado com sucesso em: ' + ui.convertDateBR(item.processedDate,true)\"\n                                    class=\"text-success\"/>\n\n                <b-icon-cloud-slash v-else style=\"scale: 1.5\" v-b-tooltip.hover.ds500\n                                    :title=\"'Sincronizado com erro em: ' + ui.convertDateBR(item.processedDate,true) + ' - erro: ' +item.processedError\"\n                                    class=\"text-danger\"/>\n\n              </div>\n\n            </b-col>\n\n            <b-col cols=\"3\" class=\"d-flex justify-content-end align-items-center mt-1\">\n\n              <div v-if=\"budgetEnabled && userAccessBudgetShowPrice\"><b>{{ item.budgetTotalPrice | money }}</b></div>\n\n              <div v-else>\n\n                <div>\n\n                  <b-badge variant=\"danger\"\n                           class=\"mr-3\"\n                           v-if=\"item.typeCriticalityDegree > 1 && item.typeCriticalityLineClass === 'bg-danger-light'\">\n                    {{ item.typeCriticality }}\n                  </b-badge>\n                  <b-badge variant=\"warning\"\n                           class=\"mr-3\"\n                           v-else-if=\"item.typeCriticalityDegree > 1 && item.typeCriticalityLineClass === 'bg-warning-light'\">\n                    {{ item.typeCriticality }}\n                  </b-badge>\n\n                  <b-badge v-if=\"objValid(item.executorSignaled)\" class=\"mr-3\" variant=\"info\">Sinalizada\n                    <t-help :title=\"getSignaledText(occurrence)\"/>\n                  </b-badge>\n\n                </div>\n\n                <t-button small outline-danger class=\"mr-1\"\n                          v-show=\"item.statusItemOccurrence === StatusChecklistOccurrenceItemType.type.OCCURRENCE_NEW && !objValid(item.processedDate)\"\n                          @click=\"confirmDeleteNewOccurrence(item.checklistItemOccurrenceId)\">\n                  <i class=\"nav-link-icon lnr-trash\"/>\n                </t-button>\n\n                <t-button small outline-secondary class=\"mr-1\"\n                          @click=\"openDialogOccurrence(item,1)\">\n                  <i class=\"nav-link-icon lnr-camera\"/>\n                  <span v-show=\"item.qtyPhotos !== undefined && item.qtyPhotos > 0\"\n                        v-b-tooltip.hover.ds500 :title=\"'Qtd. novas fotos: ' + item.qtyPhotos\"\n                        class=\"badge badge-info badge-pill badge-dot badge-dot-sm\"/>\n                </t-button>\n\n                <t-button small outline-secondary class=\"mr-1\"\n                          @click=\"openDialogOccurrence(item,2)\">\n                  <i class=\"nav-link-icon lnr-bubble\"/>\n                  <span v-show=\"objValid(item.comment)\"\n                        v-b-tooltip.hover.ds500 title=\"Novo comentário inserido\"\n                        class=\"badge badge-info badge-pill badge-dot badge-dot-sm\"/>\n                </t-button>\n\n                <t-button small outline-secondary @click=\"infoDevelopment()\">\n                  <i class=\"nav-link-icon lnr-map-marker\"/>\n                </t-button>\n\n              </div>\n\n\n            </b-col>\n\n\n          </b-row>\n\n        </b-col>\n\n      </template>\n\n    </t-form-list>\n\n    <div v-if=\"budgetEnabled && userAccessBudgetShowPrice && listIsLoaded\" class=\"d-flex mr-3 ml-3  justify-content-between align-content-center\">\n\n\n      <div style=\"font-size: 15px\">Valor Total orçado nesta Vistoria:</div>\n      <div style=\"font-size: 25px; margin-right: 20px\"><b>{{checklistBudgetTotalPrice | money}}</b></div>\n\n\n    </div>\n\n    <div class=\"pt-0 p-2 mt-5\" v-if=\"items.length > 0\">\n\n      Legenda:<br/>\n\n      <table>\n        <tr>\n          <td>\n            <div style=\"width: 5px; height: 15px; border-radius: 3px\" class=\"bg-success\"></div>\n          </td>\n          <td class=\"pl-1\">Apontamento finalizado nesta vistoria</td>\n        </tr>\n        <tr>\n          <td>\n            <div style=\"width: 5px; height: 15px; border-radius: 3px\" class=\"bg-warning\"></div>\n          </td>\n          <td class=\"pl-1\">Apontamento pendente de vistoria anterior</td>\n        </tr>\n        <tr>\n          <td>\n            <div style=\"width: 5px; height: 15px; border-radius: 3px\" class=\"bg-danger\"></div>\n          </td>\n          <td class=\"pl-1\">Apontamento novo nesta vistoria</td>\n        </tr>\n\n      </table>\n\n    </div>\n\n\n    <div v-else-if=\"items.length === 0 && listIsLoaded\">\n\n      <div v-if=\"businessTypeSurvey  === SurveyType.type.BUDGET\">\n\n        <t-msg info v-if=\"budgetEnabled\">Nenhum apontamento relacionado a esta vistoria do tipo 'Orçamento'.</t-msg>\n        <t-msg info v-else>Nenhum apontamento relacionado a esta vistoria do tipo 'comum' encontrado (não habilitado\n          para orçamento).\n        </t-msg>\n      </div>\n\n      <div v-else>\n\n        <t-msg info>Nenhum apontamento relacionado a esta vistoria</t-msg>\n\n\n      </div>\n\n    </div>\n\n\n  </div>\n\n\n</template>\n<script>\n\nimport pageDefaultMixin from \"@/mixins/page/pageDefaultMixin\"\nimport pageFormMixin from \"@/mixins/page/pageFormMixin\"\nimport pageFormListMixin from \"@/mixins/page/pageFormListMixin\"\nimport tFormList from \"@/components/template/form/list/t-form-list\"\nimport pageListMixin from \"@/mixins/page/pageListMixin\";\nimport StatusChecklistEnvironmentType from \"@/model/types/modules/checklist/StatusChecklistEnvironmentType\";\nimport StatusChecklistOccurrenceItemType from \"@/model/types/modules/checklist/StatusChecklistOccurrenceItemType\";\nimport TypeCriticalityService from \"@/services/modules/checklist/TypeCriticality.service\";\nimport ui from \"@/assets/scripts/ui\";\nimport http from \"@/services/config/http-common\";\nimport ChecklistEnvironmentOccurrenceDialog\n  from \"@/views/modules/checklist/Checklist/ChecklistEnvironmentOccurrenceDialog\";\nimport SurveyType from \"@/model/types/modules/checklist/SurveyType\";\n\nexport default {\n  mixins: [pageDefaultMixin, pageFormMixin, pageListMixin, pageFormListMixin],\n  components: {tFormList, ChecklistEnvironmentOccurrenceDialog},\n  name: 'ChecklistEnvironment',\n  data() {\n    return {\n      ui,\n      SurveyType,\n      StatusChecklistEnvironmentType,\n      StatusChecklistOccurrenceItemType,\n      path: \"checklist/item/occurrence\", //Utilizar somente quando fora do padrão\n      foreignKeyColumn: \"checklistId\", //Utilizar quando usar Tabs com outros componentes\n      fields: [\n        {keyRead: \"checklistItemOccurrenceId\", keyDelete: \"checklistItemOccurrenceId\"},\n      ],\n      form: {\n        checklistId: this.foreignKey,\n        occurrenceCodeLabel: \"\",\n        typePathology: \"\",\n        environment: \"\",\n        typeChecklistItem: \"\",\n        typeCriticalityId: 0,\n        statusItemOccurrence: 0,\n        status: 1,\n        budgetEnabled: this.budgetEnabled,\n        sorted: \"statusItemOccurrence,spotFolder,environment\",\n      },\n      error: {//Campos que podem receber retorno de erro do backend\n        code: \"\",\n      },\n      typeCriticalityOptions: [],\n      request: {},\n      modalOccurrenceItemEnvironmentId: 0,\n      modalOccurrenceItemShow: false,\n      modalOccurrenceItemId: 0,            /* checklistItemId */\n      modalOccurrenceItemName: \"\"          /*typeChecklistItem*/,\n      modalOccurrenceItemOccurrence: {},  /* checklistItemOccurrenceId */\n      modalOccurrenceItemTabIndex: 0,      /*Tab para exibição por padrão*/\n      checklistBudgetTotalPrice: 0.0,\n    }\n  },\n  computed: {\n    onForm() {\n      return this.form\n    }\n  },\n  props: {\n    businessTypeSurvey: Number,\n    userAccessBudgetShowPrice: {\n      type: Boolean,\n      default: false,\n    },\n    budgetEnabled: {\n      type: Boolean,\n      default: false,\n    },\n  },\n  methods: {\n\n    defaultForm() {\n\n      //Preenche somente os campos que foram limpos após o reset\n      this.defaultFormList()\n\n\n    },\n\n    mountedPrepare() {\n\n      this.listParams.append('budgetEnabled', this.budgetEnabled)\n      this.listParams.append('sorted', 'statusItemOccurrence,spotFolder,environment')\n\n      this.mountedPrepareFormListDefault()\n\n    },\n\n    async mountedContinued() {\n\n      await this.getList()\n\n      await TypeCriticalityService.selectList(\"\").then((list) => {\n        this.typeCriticalityOptions = list\n      }).catch(error => this.responseError(error))\n\n\n    },\n\n    async onSubmit() {\n\n\n    },\n\n    mountedList() {\n\n      this.budgetSumTotalPrice()\n\n      this.listIsLoaded = true\n\n    },\n    //--------------------------------------------------------------------------------------\n    //Início de métodos personalizados desta tela\n\n    async executeSearchInput() {\n\n      this.listIsLoaded = false\n\n\n      setTimeout(async () => {\n        await this.executeSearch(false, false)\n      }, 100)\n\n\n    },\n    afterGetPage() {\n\n      this.items = this.request\n      this.listIsLoaded = true\n\n      this.budgetSumTotalPrice()\n\n\n    },\n\n    async openDialogOccurrence(item, tabIndex) {\n\n      this.modalOccurrenceItemShow = true\n      this.modalOccurrenceItemId = item.checklistItemId\n      this.modalOccurrenceItemName = item.typeChecklistItem\n      this.modalOccurrenceItemEnvironmentId = item.checklistEnvironmentId\n      this.modalOccurrenceItemOccurrence = item\n      this.modalOccurrenceItemTabIndex = tabIndex\n\n      this.openDialogForm('modal-checklist-item-occurrence', '')\n\n    },\n\n    confirmDeleteNewOccurrence(checklistItemOccurrenceId) {\n\n      ui.msgConfirm(this, '', 'Deseja excluir esta novo apontamento?', async () => {\n\n        await http.remove('checklist/item/occurrence', checklistItemOccurrenceId).then(async () => {\n          await this.getList()\n        }).catch(error => ui.generalResponseError(this, error));\n\n      }, 'Excluir')\n    },\n\n    getSignaledText(occurrence) {\n      return 'Sinalizado que foi feito em :<br />' + ui.convertDateBR(occurrence.executorSignaled, true)\n    },\n\n    async onCloseModalItem() {\n\n      this.modalOccurrenceItemShow = false\n\n      this.showLoadingList = false\n\n      await this.getList()\n\n      this.showLoadingList = true\n\n    },\n\n    async budgetSumTotalPrice() {\n\n      this.checklistBudgetTotalPrice = 0\n\n      for (let item of this.items) {\n\n        if(item.budgetEnabled){\n          this.checklistBudgetTotalPrice += item.budgetTotalPrice\n        }\n\n      }\n\n    }\n\n\n\n\n    //--------------------------------------------------------------------------------------\n  },\n  async mounted() {\n\n    this.mountedPrepare()\n\n    await this.mountedFormList()\n\n    await this.mountedContinued()\n\n  },\n}\n</script>","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!./ChecklistOccurrence.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!./ChecklistOccurrence.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ChecklistOccurrence.vue?vue&type=template&id=d06d44e6&\"\nimport script from \"./ChecklistOccurrence.vue?vue&type=script&lang=js&\"\nexport * from \"./ChecklistOccurrence.vue?vue&type=script&lang=js&\"\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  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dialogModalActivityFormShow)?_c('ChecklistModelActivityDialog',{attrs:{\"model-activity\":_vm.dialogModelActivityForm},on:{\"onClose\":function($event){_vm.dialogModalActivityFormShow = false},\"onSubmit\":_vm.onSubmitActivityForm}}):_vm._e(),(_vm.items.length === 0 && _vm.pageFormIsLoaded)?_c('t-msg',{attrs:{\"info\":\"\"}},[_vm._v(\"Atividades são formulários adicionais que podem ser obrigatórios ou não para finalização do checklist. Para implementar é necessário acessar os Modelos de Vistoria, informando quais as atividades adicionais deseja realizar. Este recurso somente estará disponível mediante a customização junto a Onlaine. \")]):_c('t-form-list',{attrs:{\"generalErrors\":_vm.generalErrors,\"items\":_vm.items,\"fields\":_vm.fields,\"command\":_vm.command,\"user-auth\":_vm.userAuth,\"status\":_vm.status,\"busy\":!_vm.pageFormIsLoaded,\"busy-form\":!_vm.listFormIsLoaded,\"busy-list\":!_vm.listIsLoaded,\"disable-default-buttons\":\"\",\"title-items\":\"Atividades\",\"hide-header\":\"\",\"disable-footer-length\":\"\",\"primary-key-column\":\"checklistActivityId\"},on:{\"onSubmit\":_vm.onSubmit,\"onItemRead\":_vm.onItemReadDefault,\"onItemDelete\":_vm.onItemDeleteDefault},scopedSlots:_vm._u([{key:\"list-content\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-row',{staticClass:\"mt-1 link d-flex\",on:{\"click\":function($event){return _vm.openActivityForm(item)}}},[_c('div',{staticClass:\"card-title mr-2\"},[_vm._v(_vm._s(item.name))]),_c('div',[(_vm.objValid(item.finishDate))?_c('b-badge',{attrs:{\"variant\":\"success\"}},[_vm._v(\"PREENCHIDA\")]):_c('b-badge',{attrs:{\"variant\":\"warning\"}},[_vm._v(\"PENDENTE\")])],1)])],1)]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('t-dialog-form',{ref:\"dialog_form\",attrs:{\"generalErrors\":_vm.generalErrors,\"title\":_vm.modelActivity.name,\"ok-text\":_vm.onlyView ? 'Fechar' : 'Salvar ' + _vm.modelActivity.name,\"status\":_vm.status,\"large\":\"\",\"command\":_vm.onlyView ? 'view' : 'update',\"id\":_vm.id},on:{\"hidden\":_vm.closeDialog,\"onSubmit\":_vm.onSubmit},scopedSlots:_vm._u([{key:\"add-buttons\",fn:function(){return [(_vm.pageFormIsLoaded && _vm.form.modelActivity.enableCopyLastActivity)?_c('t-button',{on:{\"click\":function($event){return _vm.confirmCopyLastActivity()}}},[_vm._v(\"Copiar última atividade \")]):_vm._e()]},proxy:true},{key:\"default\",fn:function(){return [_c('b-card',{staticClass:\"border\"},[(_vm.pageFormIsLoaded && _vm.modelActivity.note !== '')?_c('t-msg',{attrs:{\"info\":\"\"}},[_vm._v(_vm._s(_vm.modelActivity.note))]):_vm._e(),_c('b-card-title',[_vm._v(\"DADOS BÁSICOS\")]),_c('t-page-form-field-customized',{ref:\"fieldsGeneral\",attrs:{\"command\":_vm.command,\"status\":_vm.status,\"user-auth\":_vm.userAuth,\"fields-customizable\":_vm.entityFieldCustomized('page'),\"primary-key\":_vm.form['activity'+_vm.modelActivity.typeActivityNumber+'Id'],\"foreign-key\":_vm.currentPage.pageId,\"busy\":!_vm.pageFormIsLoaded,\"primary-key-column\":_vm.fieldKey,\"foreign-key-column\":\"pageId\"}}),_c('t-input',{attrs:{\"label\":\"Observações\",\"max-length\":\"500\",\"textarea\":\"\"},model:{value:(_vm.form.note),callback:function ($$v) {_vm.$set(_vm.form, \"note\", $$v)},expression:\"form.note\"}})],1)]},proxy:true},{key:\"out-of-form\",fn:function(){return [(_vm.modelActivity.enableChild && _vm.pageFormIsLoaded)?_c('b-card',{staticClass:\"border mt-2\"},[_c('b-card-title',[_vm._v(_vm._s(_vm.form.typeActivity.titleChild))]),_c('ChecklistActivityFormChildEmbeddable',{attrs:{\"activity-number\":_vm.modelActivity.typeActivityNumber,\"foreign-key\":_vm.form['activity'+ _vm.modelActivity.typeActivityNumber + 'Id'],\"checklist-id\":_vm.form.checklistId}})],1):_vm._e()]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\n\n  <t-dialog-form :generalErrors=\"generalErrors\" :title=\"modelActivity.name\"\n                 :ok-text=\"onlyView ? 'Fechar' : 'Salvar ' + modelActivity.name\"\n                 :status=\"status\"\n                 @hidden=\"closeDialog\" large\n                 :command=\"onlyView ? 'view' : 'update'\"\n                 :id=\"id\"\n                 ref=\"dialog_form\" @onSubmit=\"onSubmit\">\n\n\n    <template #add-buttons>\n      <t-button v-if=\"pageFormIsLoaded && form.modelActivity.enableCopyLastActivity\"\n                @click=\"confirmCopyLastActivity()\">Copiar última atividade\n      </t-button>\n    </template>\n\n\n    <template #default>\n\n      <b-card class=\"border\">\n\n        <t-msg info v-if=\"pageFormIsLoaded && modelActivity.note !== ''\">{{ modelActivity.note }}</t-msg>\n\n        <b-card-title>DADOS BÁSICOS</b-card-title>\n\n        <!--ATENÇÃO NÃO ESQUECER DE UTILIZAR template #default=\"{status} para funcionamento correto-->\n        <t-page-form-field-customized\n            ref=\"fieldsGeneral\"\n            :command=\"command\" :status=\"status\" :user-auth=\"userAuth\"\n            :fields-customizable=\"entityFieldCustomized('page')\"\n            :primary-key=\"form['activity'+modelActivity.typeActivityNumber+'Id']\" :foreign-key=\"currentPage.pageId\"\n            :busy=\"!pageFormIsLoaded\"\n            :primary-key-column=\"fieldKey\" foreign-key-column=\"pageId\"\n        />\n\n        <t-input v-model=\"form.note\" label=\"Observações\" max-length=\"500\" textarea/>\n\n\n      </b-card>\n\n    </template>\n\n    <template #out-of-form>\n\n      <b-card class=\"border mt-2\" v-if=\"modelActivity.enableChild && pageFormIsLoaded\">\n\n        <b-card-title>{{ form.typeActivity.titleChild }}</b-card-title>\n\n        <ChecklistActivityFormChildEmbeddable\n            :activity-number=\"modelActivity.typeActivityNumber\"\n            :foreign-key=\"form['activity'+ modelActivity.typeActivityNumber + 'Id']\"\n            :checklist-id=\"form.checklistId\"/>\n\n\n      </b-card>\n\n    </template>\n\n\n  </t-dialog-form>\n\n\n</template>\n<script>\n\nimport pageDefaultMixin from \"@/mixins/page/pageDefaultMixin\";\nimport pageFormMixin from \"@/mixins/page/pageFormMixin\";\nimport {crudGeneral} from \"@/services/resource/GeneralCRUD.service\";\nimport tDialogForm from \"@/components/template/dialog/t-dialog-form\";\nimport ChecklistActivityFormChildEmbeddable\n  from \"@/views/modules/checklist/ChecklistActivity/embeddable/ChecklistActivityFormChildEmbeddable\";\nimport ui from \"@/assets/scripts/ui\";\nimport ChecklistModelActivityService from \"@/services/modules/checklist/ChecklistModelActivity.service\";\n\n\nexport default {\n  name: 'ChecklistModelActivityDialog',\n  components: {tDialogForm, ChecklistActivityFormChildEmbeddable},\n  mixins: [pageDefaultMixin, pageFormMixin],\n  data() {\n    return {\n      id: \"modal-checklist-activity-form-detail\",\n      pageIsLoaded: false,\n      path: \"checklist/activity\" + this.modelActivity.typeActivityNumber, //Utilizar somente quando fora do padrão\n      enableGeneralFields: true,\n      fieldKey: \"activity\" + this.modelActivity.typeActivityNumber + \"Id\",\n      form: {},\n    }\n  },\n  props: {\n    show: Boolean,\n    onlyView: Boolean,\n    modelActivity: Object,\n  },\n\n  methods: {\n\n    mountedPrepare() {\n\n\n    },\n    async mountedContinued() {\n\n      await crudGeneral.getById(this.path, this.modelActivity.activityNumber).then(\n          async response => {\n\n            this.form = response.data\n\n            if (this.fieldsCustomizable.length > 0) {\n\n              for (const entity of this.fieldsCustomizable) {\n                await this.getFieldsCustomizable(entity.entity)\n              }\n\n            }\n          }\n      ).catch(error => this.responseError(error))\n\n      this.pageIsLoaded = true\n      this.pageFormIsLoaded = true\n\n    },\n    //--------------------------------------------------------------------------------------\n    //Início de métodos personalizados desta tela\n\n    confirmCopyLastActivity() {\n\n      ui.msgConfirm(this, 'Atenção', 'Deseja realizar a cópia dos dados da última atividade preenchida para o mesmo local?<br /><br />Atenção caso o sistema encontrar, irá sobrepor as informações atuais.', async () => {\n\n        this.pageIsLoaded = false\n        this.pageFormIsLoaded = false\n\n        await ChecklistModelActivityService.copyData(this.form.checklistActivityId).then(async() => {\n\n          ui.toast(this,'Informação','Copia dos dados da última atividade realizada com sucesso!')\n\n          await this.mountedContinued()\n\n\n        }).catch(error => this.responseError(error))\n\n      })\n\n    },\n\n\n    closeDialog() {\n      this.$emit(\"onClose\")\n    },\n\n    async onSubmitContinued() {\n\n      this.command = 'update'\n      this.status = \"sending\"\n\n      await this.setSending(\n          this.form[this.fieldKey],\n          () => {\n            this.$bvModal.hide(this.id)\n            this.$emit(\"onSubmit\", this.form) //Envia o proprio formulário pois é mais completo\n          },\n      )\n\n\n    },\n\n    async onSubmit() {\n\n      if (this.onlyView) {\n        this.$emit(\"onClose\")\n      } else {\n\n        this.status = \"sending\"\n\n        //Verifica se alguma regra será aplicada\n        await this.injectFieldsForm()\n        await this.onSubmitContinued()\n\n\n      }\n\n\n    },\n\n    //--------------------------------------------------------------------------------------\n  },\n\n\n  async mounted() {\n\n    this.mountedPrepare()\n\n    await this.mountedDefault(false, false)\n\n    await this.mountedContinued()\n\n  },\n\n}\n</script>","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!./ChecklistModelActivityDialog.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!./ChecklistModelActivityDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ChecklistModelActivityDialog.vue?vue&type=template&id=4bd754c4&\"\nimport script from \"./ChecklistModelActivityDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./ChecklistModelActivityDialog.vue?vue&type=script&lang=js&\"\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  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","<template>\n\n  <div>\n\n    <ChecklistModelActivityDialog\n        v-if=\"dialogModalActivityFormShow\"\n        @onClose=\"dialogModalActivityFormShow = false\"\n        @onSubmit=\"onSubmitActivityForm\"\n        :model-activity=\"dialogModelActivityForm\"\n\n    />\n\n    <t-msg info v-if=\"items.length === 0 && pageFormIsLoaded\">Atividades são formulários adicionais que podem ser\n      obrigatórios ou não para finalização do checklist. Para implementar é necessário acessar os Modelos de Vistoria,\n      informando quais as atividades adicionais deseja realizar. Este recurso somente estará disponível mediante a\n      customização junto a Onlaine.\n    </t-msg>\n\n\n    <t-form-list v-else :generalErrors=\"generalErrors\" :items=\"items\" :fields=\"fields\" :command=\"command\"\n                 :user-auth=\"userAuth\"\n                 :status=\"status\"\n                 :busy=\"!pageFormIsLoaded\" :busy-form=\"!listFormIsLoaded\" :busy-list=\"!listIsLoaded\"\n                 disable-default-buttons\n                 title-items=\"Atividades\"\n                 hide-header\n                 disable-footer-length\n                 primary-key-column=\"checklistActivityId\"\n                 @onSubmit=\"onSubmit\" @onItemRead=\"onItemReadDefault\" @onItemDelete=\"onItemDeleteDefault\">\n\n\n      <template #list-content=\"{item}\">\n\n        <b-col cols=\"12\">\n\n          <b-row class=\"mt-1 link d-flex\" @click=\"openActivityForm(item)\">\n\n            <div class=\"card-title mr-2\">{{ item.name }}</div>\n            <div>\n              <b-badge v-if=\"objValid(item.finishDate)\" variant=\"success\">PREENCHIDA</b-badge>\n              <b-badge v-else variant=\"warning\">PENDENTE</b-badge>\n            </div>\n\n\n          </b-row>\n\n        </b-col>\n\n      </template>\n\n    </t-form-list>\n\n\n  </div>\n\n\n</template>\n<script>\nimport pageDefaultMixin from \"@/mixins/page/pageDefaultMixin\"\nimport pageFormMixin from \"@/mixins/page/pageFormMixin\"\nimport pageFormListMixin from \"@/mixins/page/pageFormListMixin\"\nimport tFormList from \"@/components/template/form/list/t-form-list\"\nimport pageListMixin from \"@/mixins/page/pageListMixin\";\nimport ChecklistModelActivityDialog from \"@/views/modules/checklist/Checklist/ChecklistModelActivityDialog\";\nimport ui from \"@/assets/scripts/ui\";\n\nexport default {\n  mixins: [pageDefaultMixin, pageFormMixin, pageListMixin, pageFormListMixin],\n  components: {tFormList, ChecklistModelActivityDialog},\n  name: 'ChecklistEnvironment',\n  data() {\n    return {\n      path: \"checklist/model-activity\", //Utilizar somente quando fora do padrão\n      foreignKeyColumn: \"checklistId\", //Utilizar quando usar Tabs com outros componentes\n      fields: [\n        {keyRead: \"checklistActivityId\", keyDelete: \"checklistActivityId\"},\n        {key: \"environmentCodeLabel\", label: \"Cód. Amb.\", cols: \"3\"},\n        {key: \"name\", label: \"Atividade\", cols: \"3\"},\n        {key: \"status\", label: \"Status\", cols: \"4\"},\n      ],\n      form: {\n        checklistId: this.foreignKey,\n        checklistActivityId: 0,\n        status: 1,\n      },\n      error: {//Campos que podem receber retorno de erro do backend\n        code: \"\",\n      },\n      dialogModalActivityFormShow: false,\n      dialogModelActivityForm: {},\n    }\n  },\n  computed: {\n    onForm() {\n      return this.form\n    }\n  },\n  methods: {\n\n    defaultForm() {\n\n      //Preenche somente os campos que foram limpos após o reset\n      this.defaultFormList()\n\n\n    },\n\n    mountedPrepare() {\n\n      this.mountedPrepareFormListDefault()\n\n    },\n\n    async mountedContinued() {\n\n      await this.getList()\n\n\n    },\n\n    async onSubmit() {\n\n      await this.setSendingFormListDefault(this.form.checklistActivityId)\n\n    },\n\n    mountedList() {\n\n      this.listIsLoaded = true\n\n    },\n    //--------------------------------------------------------------------------------------\n    //Início de métodos personalizados desta tela\n    openActivityForm(item) {\n\n      this.dialogModalActivityFormShow = true\n      this.dialogModelActivityForm = item\n      this.openModal(\"modal-checklist-activity-form-detail\")\n\n    },\n\n    async onSubmitActivityForm(){\n      ui.toast(this, \"Atividade salva\", this.dialogModelActivityForm.name + \" preenchido com sucesso!\")\n      await this.getList()\n    }\n    //--------------------------------------------------------------------------------------\n  },\n  async mounted() {\n\n    this.mountedPrepare()\n\n    await this.mountedFormList()\n\n    await this.mountedContinued()\n\n  },\n}\n</script>\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!./ChecklistModelActivity.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!./ChecklistModelActivity.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ChecklistModelActivity.vue?vue&type=template&id=748927c3&\"\nimport script from \"./ChecklistModelActivity.vue?vue&type=script&lang=js&\"\nexport * from \"./ChecklistModelActivity.vue?vue&type=script&lang=js&\"\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  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","import http from '../../config/http-common';\r\n\r\n//Usado somente se for realmente necessário algo fora do padrão GeneralCRUD.service.js\r\nconst path = \"place/enterprise-step\"\r\n\r\nclass service {\r\n\r\n    selectList(enterpriseId) {\r\n\r\n        let params = new URLSearchParams()\r\n        params.append(\"enterpriseId\", enterpriseId)\r\n\r\n        return http.list(path + \"/selectList\",params);\r\n    }\r\n\r\n}\r\n\r\nexport default new service();\r\n\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('t-msg',{attrs:{\"info\":\"\"}},[_vm._v(\"Recurso em desenvolvimento, por enquanto não exibido em nenhum relatório, previsão de término em 25/11/2024.\")]),_c('ChecklistContentDialog',{attrs:{\"command\":_vm.command,\"foreign-key\":_vm.foreignKey,\"primary-key\":_vm.form.checklistContentId},on:{\"onSubmit\":_vm.onChecklistContentDialog}}),_c('t-form-list',{attrs:{\"generalErrors\":_vm.generalErrors,\"items\":_vm.items,\"fields\":_vm.fields,\"command\":_vm.command,\"user-auth\":_vm.userAuth,\"status\":_vm.status,\"path\":_vm.path,\"busy\":!_vm.pageFormIsLoaded,\"busy-form\":!_vm.listFormIsLoaded,\"busy-list\":!_vm.listIsLoaded,\"primary-key-column\":\"checklistContentId\",\"primary-key\":_vm.form.checklistContentId,\"foreign-key-column\":_vm.foreignKeyColumn,\"foreign-key\":_vm.foreignKey,\"sortable\":\"\",\"enable-change-order-up-down\":\"\",\"disable-footer-length\":\"\"},on:{\"onChangeOrder\":_vm.getList,\"onSubmit\":_vm.onSubmit,\"onItemRead\":_vm.onContentReadItem,\"onItemDelete\":_vm.onItemDeleteDefault},scopedSlots:_vm._u([{key:\"item(typeContent)\",fn:function(ref){\nvar item = ref.item;\nreturn [(item.typeContent === _vm.ContentType.type.BEFORE)?_c('div',[_vm._v(\"Início\")]):_c('div',[_vm._v(\"Fim\")])]}}])},[_c('div',{staticClass:\"ml-1 mb-3\"},[_c('t-button',{on:{\"click\":_vm.openContentInsert}},[_c('b-icon-plus-circle'),_vm._v(\" \"+_vm._s(_vm.t('insert') + ' Conteúdo')+\" \")],1)],1),_c('t-input',{attrs:{\"hidden\":\"\"},model:{value:(_vm.form.checklistContentId),callback:function ($$v) {_vm.$set(_vm.form, \"checklistContentId\", $$v)},expression:\"form.checklistContentId\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('t-dialog-form',{ref:\"dialog_form\",attrs:{\"generalErrors\":_vm.generalErrors,\"large\":\"\",\"title\":_vm.t(_vm.command) + ' Conteúdo',\"ok-text\":_vm.t(_vm.command) + ' Conteúdo',\"busy\":_vm.busy,\"id\":_vm.id,\"status\":_vm.status,\"command\":_vm.command},on:{\"show\":_vm.showModal,\"hidden\":_vm.resetModal,\"onSubmit\":_vm.onSubmit}},[_c('t-input',{attrs:{\"hidden\":\"\"},model:{value:(_vm.form.checklistContentId),callback:function ($$v) {_vm.$set(_vm.form, \"checklistContentId\", $$v)},expression:\"form.checklistContentId\"}}),_c('t-input',{attrs:{\"radio\":\"\",\"options\":_vm.ContentType.list,\"label\":\"Tipo\",\"required\":\"\"},model:{value:(_vm.form.typeContent),callback:function ($$v) {_vm.$set(_vm.form, \"typeContent\", $$v)},expression:\"form.typeContent\"}}),_c('t-input',{attrs:{\"add-error\":_vm.error.title,\"label\":\"Título\",\"required\":\"\"},model:{value:(_vm.form.title),callback:function ($$v) {_vm.$set(_vm.form, \"title\", $$v)},expression:\"form.title\"}}),_c('label',[_vm._v(\"Conteúdo\")]),_c('vue-editor',{ref:\"editorComment\",staticClass:\"editorSmall\",attrs:{\"id\":\"editor-sm\",\"editor-toolbar\":_vm.customToolbar,\"disabled\":_vm.status === 'sending'},model:{value:(_vm.form.content),callback:function ($$v) {_vm.$set(_vm.form, \"content\", $$v)},expression:\"form.content\"}}),_c('div',{staticClass:\"divider\"}),_c('div',{staticClass:\"card-title\"},[_vm._v(\"Imagens\")]),(_vm.form.checklistContentId > 0)?_c('ChecklistContentFile',{attrs:{\"type-image\":\"\",\"foreign-key\":_vm.form.checklistContentId}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('t-page-form-upload',{attrs:{\"type-image\":_vm.typeImage,\"command\":_vm.command,\"other-entity\":_vm.otherEntity,\"path\":_vm.path,\"primaryKeyColumn\":_vm.primaryKeyColumn,\"foreign-key-column\":_vm.foreignKeyColumn,\"primary-key\":_vm.form.checklistContentFileId,\"foreign-key\":_vm.form.checklistContentId,\"items\":_vm.items,\"user-auth\":_vm.userAuth,\"status\":_vm.status,\"busy\":!_vm.pageFormIsLoaded,\"busy-form\":!_vm.listFormIsLoaded,\"busy-list\":!_vm.listIsLoaded,\"message-not-record\":_vm.messageNotRecord,\"only-view\":_vm.onlyView},on:{\"onSubmit\":_vm.onSubmit,\"itemDownload\":_vm.onItemFileDownload,\"onItemDelete\":_vm.onItemDeleteDefault,\"onUploadComplete\":_vm.onUploadComplete,\"onRequestList\":_vm.getList}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\n  <div>\n\n    <t-page-form-upload\n        :type-image=\"typeImage\"\n        :command=\"command\"\n        :other-entity=\"otherEntity\"\n        :path=\"path\" :primaryKeyColumn=\"primaryKeyColumn\" :foreign-key-column=\"foreignKeyColumn\"\n        :primary-key=\"form.checklistContentFileId\" :foreign-key=\"form.checklistContentId\"\n        :items=\"items\" :user-auth=\"userAuth\" :status=\"status\"\n        :busy=\"!pageFormIsLoaded\" :busy-form=\"!listFormIsLoaded\" :busy-list=\"!listIsLoaded\"\n        :message-not-record=\"messageNotRecord\"\n        :only-view=\"onlyView\"\n        @onSubmit=\"onSubmit\" @itemDownload=\"onItemFileDownload\" @onItemDelete=\"onItemDeleteDefault\"\n        @onUploadComplete=\"onUploadComplete\" @onRequestList=\"getList\">\n\n    </t-page-form-upload>\n\n  </div>\n\n\n</template>\n<script>\nimport pageDefaultMixin from \"@/mixins/page/pageDefaultMixin\"\nimport pageFormMixin from \"@/mixins/page/pageFormMixin\"\nimport pageFormListMixin from \"@/mixins/page/pageFormListMixin\";\nimport pageFormUploadMixin from \"@/mixins/page/pageFormUploadMixin\";\nimport tPageFormUpload from \"@/components/template/page/t-page-form-upload\";\nimport SharingFileType from \"@/model/types/resource/SharingFileType\";\n\nexport default {\n  mixins: [pageDefaultMixin, pageFormMixin, pageFormListMixin, pageFormUploadMixin],\n  components: {tPageFormUpload},\n  name: 'ChecklistFile',\n  data() {\n    return {\n      SharingFileType,\n      path: \"checklist/content-file\", //Utilizar somente quando fora do padrão\n      primaryKeyColumn: \"checklistContentFileId\",\n      foreignKeyColumn: \"checklistContentId\", //Utilizar quando usar Tabs com outros componentes\n      type: \"I\", //Tipo padrão de modelo de envio de arquivos poderá ser I ou D\n      form: {\n        checklistContentId: this.foreignKey,\n        checklistContentFileId: 0,\n        orderList: 0,\n        type: \"\",\n        fileEntity: {\n          nameOriginal: \"\",\n          nameSave: \"\",\n          sizeKb: 0,\n          extension: \"\",\n        }\n      },\n      error: {//Campos que podem receber retorno de erro do backend\n        name: \"\",\n      },\n      fieldsNotReset: [//Marca os nomes de colunas que não devem ser resetados\n        this.foreignKeyColumn,\n      ],\n      //--------------------------------------------------------------------------------------\n      //Início de campos personalizados desta tela\n\n      //--------------------------------------------------------------------------------------\n    }\n  },\n  props: {\n    otherEntity: Boolean,\n  },\n  methods: {\n\n    defaultForm() {\n      //Preenche somente os campos que foram limpos após o reset\n      this.defaultFormList()\n    },\n\n    mountedPrepare() {\n\n      if (this.otherEntity) {\n        this.command = 'view'\n      }\n\n      this.mountedPrepareFormUploadDefault()\n\n    },\n\n    async mountedContinued() {\n\n      await this.getList()\n\n    },\n\n    async onSubmit() {\n\n      await this.setSendingFormListDefault(this.form.checklistContentFileId)\n\n    },\n\n    mountedList() {\n\n      // Manipulação da listagem após carregando\n      //--------------------------------------\n\n      //--------------------------------------\n\n      this.listIsLoaded = true\n\n    },\n    //--------------------------------------------------------------------------------------\n    //Início de métodos personalizados desta tela\n\n\n    //--------------------------------------------------------------------------------------\n  },\n  async mounted() {\n\n    this.mountedPrepare()\n\n    await this.mountedFormList()\n\n    await this.mountedContinued()\n\n  },\n}\n</script>\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!./ChecklistContentFile.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!./ChecklistContentFile.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ChecklistContentFile.vue?vue&type=template&id=d8ccfaec&\"\nimport script from \"./ChecklistContentFile.vue?vue&type=script&lang=js&\"\nexport * from \"./ChecklistContentFile.vue?vue&type=script&lang=js&\"\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  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","<template>\n\n  <t-dialog-form :generalErrors=\"generalErrors\" large :title=\"t(command) + ' Conteúdo'\"\n                 :ok-text=\"t(command) + ' Conteúdo'\" @show=\"showModal\" @hidden=\"resetModal\" :busy=\"busy\" :id=\"id\"\n                 :status=\"status\" :command=\"command\"\n                 ref=\"dialog_form\" @onSubmit=\"onSubmit\">\n\n\n    <t-input v-model=\"form.checklistContentId\" hidden/>\n\n    <t-input v-model=\"form.typeContent\" radio :options=\"ContentType.list\" label=\"Tipo\" required/>\n\n    <t-input v-model=\"form.title\" :add-error=\"error.title\" label=\"Título\" required/>\n\n    <label>Conteúdo</label>\n    <vue-editor\n        id=\"editor-sm\"\n        ref=\"editorComment\"\n        class=\"editorSmall\"\n        :editor-toolbar=\"customToolbar\"\n        :disabled=\"status === 'sending'\"\n        v-model=\"form.content\">\n    </vue-editor>\n\n    <div class=\"divider\"></div>\n\n    <div class=\"card-title\">Imagens</div>\n    <ChecklistContentFile v-if=\"form.checklistContentId > 0\" type-image :foreign-key=\"form.checklistContentId\"/>\n\n  </t-dialog-form>\n\n</template>\n<script>\nimport tDialogForm from \"@/components/template/dialog/t-dialog-form\";\nimport pageDialogFormMixin from \"@/mixins/page/pageDialogFormMixin\";\nimport ContentType from \"@/model/types/resource/ContentType\";\nimport {VueEditor} from \"vue2-editor\";\nimport ChecklistContentFile from \"@/views/modules/checklist/ChecklistContentFile\";\nimport ui from \"@/assets/scripts/ui\";\n\n\nexport default {\n  name: 'ChecklistContentDialog',\n  components: {tDialogForm, VueEditor, ChecklistContentFile},\n  mixins: [pageDialogFormMixin],\n  data() {\n    return {\n      ContentType,\n      id: \"modal-checklist-content-dialog\",\n      path: \"checklist/content\", //Utilizar somente quando fora do padrão\n      genKey: true, //Utilizar quando desejar gerar chave temporária\n      primaryKeyColumn: \"checklistContentId\",\n      foreignKeyColumn: \"checklistId\", //Utilizar quando usar Tabs com outros componentes\n      form: {\n        checklistId: this.foreignKey,\n        checklistContentId: this.primaryKey,\n        title: \"\",\n        content: \"\",\n        typeContent: ContentType.type.BEFORE,\n        status: 1,\n      },\n      error: {//Campos que podem receber retorno de erro do backend\n\n      },\n      fieldsNotReset: [//Marca os nomes de colunas que não devem ser resetados\n        this.foreignKeyColumn,\n      ],\n      //--------------------------------------------------------------------------------------\n      //Início de campos personalizados desta tela\n      customToolbar: [\n        [\"bold\", \"italic\", \"underline\"],\n        [{list: \"ordered\"}, {list: \"bullet\"}],\n      ],\n\n    }\n  },\n  methods: {\n\n    //Declaro sempre localmente, pois poderá realizar operações diferentes do padrão como setar algum valor padrão vindo de fora e que seria limpo pelo resetModal de forma dinamica\n    async showModal() {\n\n      this.busy = true\n\n      //Limpa os campos\n      this.resetModal()\n\n\n      //Setar alguma informações padrão por exemplo vindo de fora\n      this.originalGroupUserOptions = []\n      this.form.checklistContentId = this.primaryKey\n      this.form.checklistId = this.foreignKey\n      this.form.typeContent = ContentType.type.BEFORE\n      this.form.title = \"\"\n      this.form.content = \"\"\n      this.form.status = 1\n\n\n      //Coreção para atualização de chave\n      setTimeout(async () => {\n\n        //Habilita novamente para forçar geração de chave temporária\n        this.genKey = true\n\n        await this.readModal(false)\n        this.busy = false\n\n      }, 50)\n\n    },\n\n    async onSubmit() {\n\n      //Corrigir strong por b\n      this.form.content = ui.prepareHTML(this.form.content,5000)\n\n      //Validações específicas da tela\n      await this.setSubmitDialogDefault()\n\n    },\n\n  },\n\n\n  //--------------------------------------------------------------------------------------\n  //Início de métodos personalizados desta tela\n\n\n  //--------------------------------------------------------------------------------------\n\n}\n</script>\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!./ChecklistContentDialog.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!./ChecklistContentDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ChecklistContentDialog.vue?vue&type=template&id=4259ea1e&\"\nimport script from \"./ChecklistContentDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./ChecklistContentDialog.vue?vue&type=script&lang=js&\"\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  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","<template>\n\n  <div>\n\n    <t-msg info>Recurso em desenvolvimento, por enquanto não exibido em nenhum relatório, previsão de término em 25/11/2024.</t-msg>\n\n    <ChecklistContentDialog :command=\"command\"\n                            :foreign-key=\"foreignKey\"\n                            :primary-key=\"form.checklistContentId\"\n                            @onSubmit=\"onChecklistContentDialog\"/>\n\n    <t-form-list :generalErrors=\"generalErrors\" :items=\"items\" :fields=\"fields\" :command=\"command\" :user-auth=\"userAuth\"\n                 :status=\"status\"\n                 :path=\"path\"\n                 :busy=\"!pageFormIsLoaded\" :busy-form=\"!listFormIsLoaded\" :busy-list=\"!listIsLoaded\"\n                 primary-key-column=\"checklistContentId\"\n                 :primary-key=\"form.checklistContentId\"\n                 :foreign-key-column=\"foreignKeyColumn\"\n                 :foreign-key=\"foreignKey\"\n                 sortable\n                 enable-change-order-up-down\n                 disable-footer-length\n                 @onChangeOrder=\"getList\"\n                 @onSubmit=\"onSubmit\" @onItemRead=\"onContentReadItem\" @onItemDelete=\"onItemDeleteDefault\">\n\n      <div class=\"ml-1 mb-3\">\n\n        <t-button @click=\"openContentInsert\">\n          <b-icon-plus-circle/>\n          {{ t('insert') + ' Conteúdo' }}\n        </t-button>\n\n      </div>\n\n      <t-input v-model=\"form.checklistContentId\" hidden/>\n\n      <template #item(typeContent)=\"{item}\">\n\n        <div v-if=\"item.typeContent === ContentType.type.BEFORE\">Início</div>\n        <div v-else>Fim</div>\n      </template>\n\n    </t-form-list>\n\n  </div>\n\n</template>\n\n<script>\nimport pageDefaultMixin from \"@/mixins/page/pageDefaultMixin\"\nimport pageFormMixin from \"@/mixins/page/pageFormMixin\"\nimport pageFormListMixin from \"@/mixins/page/pageFormListMixin\"\nimport tFormList from \"@/components/template/form/list/t-form-list\"\nimport ContentType from \"@/model/types/resource/ContentType\";\nimport ChecklistContentDialog from \"@/views/modules/checklist/ChecklistContentDialog\";\n\nexport default {\n  mixins: [pageDefaultMixin, pageFormMixin, pageFormListMixin],\n  components: {tFormList, ChecklistContentDialog},\n  name: 'ChecklistContent',\n  data() {\n    return {\n      ContentType,\n      path: \"checklist/content\", //Utilizar somente quando fora do padrão\n      foreignKeyColumn: \"checklistId\", //Utilizar quando usar Tabs com outros componentes\n      fields: [\n        {keyRead: \"checklistContentId\", keyDelete: \"checklistContentId\"},\n        {key: \"typeContent\", label: \"Tipo\", cols: \"1\", formatter: \"\"},\n        {key: \"title\", label: \"Título\", cols: \"3\"},\n        {key: \"content\", label: \"Conteúdo\", cols: \"3\"},\n        {key: \"qtyPhotos\", label: \"Qtd. Fotos.\", cols: \"2\", formatter: \"number\"},\n\n      ],\n      form: {\n        checklistId: this.foreignKey,\n        checklistContentId: 0,\n        title: \"\",\n        content: \"\",\n        typeContent: ContentType.type.BEFORE,\n        status: 1,\n      },\n      error: {//Campos que podem receber retorno de erro do backend\n        checklistContentId: \"\",\n      },\n    }\n  },\n  computed: {\n    onForm() {\n      return this.form\n    }\n  },\n  methods: {\n\n\n    defaultForm() {\n\n      //Preenche somente os campos que foram limpos após o reset\n      this.defaultFormList()\n\n    },\n\n    mountedPrepare() {\n\n      this.mountedPrepareFormListDefault()\n\n    },\n\n    async mountedContinued() {\n\n\n      await this.getList()\n\n    },\n\n    async onSubmit() {\n\n      await this.setSendingFormListDefault(this.form.checklistContentId)\n\n\n    },\n\n    mountedList() {\n\n\n      this.listIsLoaded = true\n\n    },\n    //--------------------------------------------------------------------------------------\n    //Início de métodos personalizados desta tela\n    openContentInsert() {\n      this.form.checklistContentId = 0\n      this.command = 'insert'\n      this.openDialogForm('modal-checklist-content-dialog')\n    },\n    onContentReadItem(id) {\n      this.form.checklistContentId = id\n      this.command = 'update'\n      this.openDialogForm('modal-checklist-content-dialog')\n    },\n\n    async onChecklistContentDialog() {\n\n      //Atualiza a listagem\n      await this.getList()\n\n    },\n    //--------------------------------------------------------------------------------------\n  },\n  async mounted() {\n\n    this.mountedPrepare()\n\n    await this.mountedFormList()\n\n    await this.mountedContinued()\n\n  },\n}\n</script>\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!./ChecklistContent.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!./ChecklistContent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ChecklistContent.vue?vue&type=template&id=427a1d48&\"\nimport script from \"./ChecklistContent.vue?vue&type=script&lang=js&\"\nexport * from \"./ChecklistContent.vue?vue&type=script&lang=js&\"\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  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","<template>\r\n\r\n  <t-page>\r\n\r\n\r\n    <t-page-form tabs\r\n                 :set-tab-index=\"tabIndex\"\r\n                 :title=\"t('form-of')+currentPage.pageTitle\"\r\n                 :command=\"command\" :status=\"status\" :generalErrors=\"generalErrors\" @onSubmit=\"onSubmit\"\r\n                 :check-errors-again=\"checkErrorsComponent\"\r\n                 :submit-text=\"command === 'delete' ? currentPage.singularTitle : 'Finalizar Vistoria'\"\r\n                 :submit-text-not-default=\"command !== 'delete'\"\r\n                 :go-back-title=\"t('go-back-list')\" :go-back-to=\"currentPage.name\" :busy=\"!pageFormIsLoaded\">\r\n\r\n\r\n      <template #title-buttons>\r\n\r\n        <t-button @click=\"confirmReverse()\"\r\n                  outline-danger\r\n                  v-show=\"(command === 'delete' || command === 'view') && form.statusChecklist === StatusChecklistType.type.FINISHED\"\r\n                  :sending=\"reverseFinish\"\r\n                  enable-loader\r\n                  :title=\"!relationAccessSubValidation('sub-checklist-reverse-finish') ? 'Perfil de acesso não habilitado para estorno de finalização' : ''\"\r\n                  :disabled=\"!relationAccessSubValidation('sub-checklist-reverse-finish')\">\r\n          <b-icon-clipboard-x class=\"mr-1\"></b-icon-clipboard-x>\r\n          Estornar finalização\r\n        </t-button>\r\n\r\n      </template>\r\n\r\n      <template #default>\r\n\r\n        <t-form-tab title=\"Vistoria\" @onClick=\"getChecklist()\">\r\n\r\n          <div class=\"p-2 mb-2\">\r\n            <t-msg danger v-if=\"isDelete()\">\r\n\r\n              Atenção ao excluir a Vistoria todos os processos relacionados a mesma serão excluídos automaticamente\r\n              como:\r\n              <ul>\r\n                <li>Apontamentos novos serão excluídos por completo</li>\r\n                <li>Apontamentos finalizados voltaram para pendentes</li>\r\n                <li>Exclusão de relatório de apontamentos por vistoria que estiverem disponíveis para download</li>\r\n              </ul>\r\n\r\n              <br/><br/>\r\n              Este processo é irreversível, verifique se realmente deseja continuar ou faça um estorno da finalização e\r\n              edite as informações desejadas e depois finalize novamente.\r\n\r\n\r\n            </t-msg>\r\n\r\n          </div>\r\n\r\n\r\n          <t-form-card title=\"Dados Básicos\">\r\n\r\n            <b-row>\r\n\r\n\r\n              <t-input v-model=\"form.checklistNumber\"\r\n                       lpad=\"4\"\r\n                       cols=\"4\"\r\n                       label=\"Cód. Vistoria\"\r\n                       fixed\r\n                       highlight/>\r\n\r\n              <t-input cols=\"4\" v-model=\"form.issueDate\" date fixed label=\"Data Vistoria\" required/>\r\n\r\n              <t-input cols=\"4\" v-model=\"form.inspector\" fixed label=\"Vistoriador\"/>\r\n\r\n\r\n            </b-row>\r\n\r\n            <b-row>\r\n\r\n              <t-input cols=\"3\" v-model=\"form.enterpriseCodeLabel\" fixed label=\"Cód. Empr.\"/>\r\n\r\n              <t-input :cols=\"enterpriseStepOptions.length > 0 ? 6 : 9\" v-model=\"form.enterprise\" fixed\r\n                       label=\"Empreendimento\"/>\r\n\r\n              <t-input cols=\"3\" v-if=\"enterpriseStepOptions.length > 0\" @change=\"updateEnterpriseStep\"\r\n                       v-model=\"form.enterpriseStepId\" select\r\n                       :options=\"enterpriseStepOptions\"\r\n                       label=\"Fase\"\r\n                       disable-unique-select/>\r\n\r\n\r\n            </b-row>\r\n\r\n            <b-row>\r\n\r\n              <t-input cols=\"3\" v-model=\"form.enterpriseZipcode\" fixed label=\"CEP\"/>\r\n\r\n              <t-input cols=\"9\" v-model=\"form.enterpriseAddressFull\" fixed label=\"Endereço\"/>\r\n\r\n            </b-row>\r\n\r\n            <b-row>\r\n\r\n              <t-input cols=\"6\" v-model=\"form.enterpriseNeighborhood\" fixed label=\"Bairro\"/>\r\n\r\n              <t-input cols=\"6\" v-model=\"form.enterpriseCityFull\" fixed label=\"Cidade - UF\"/>\r\n\r\n            </b-row>\r\n\r\n            <b-row>\r\n\r\n              <t-input cols=\"6\" style=\"max-width: 300px\" v-model=\"form.typeChecklistStatus\"\r\n                       v-if=\"form.typeChecklistStatus !== ''\" fixed\r\n                       label=\"Status Operacional\"/>\r\n\r\n              <b-col cols=\"6\" style=\"max-width: 300px\">\r\n\r\n                Status Checklist\r\n\r\n                <div\r\n                    v-if=\"form.statusChecklist=== StatusChecklistType.type.PENDING\"\r\n                    class=\"border p-2 b-radius mt-1 d-flex\">\r\n\r\n                    <span class=\"badge badge-dot badge-dot-xl mr-2 badge-danger\"\r\n                          style=\"margin-top:2px\"></span>\r\n\r\n                  <div style=\"font-size: 15px;\" class=\"text-danger\"> Pendente</div>\r\n\r\n                </div>\r\n\r\n                <div\r\n                    v-else\r\n                    class=\"border p-2 b-radius mt-1 d-flex\">\r\n                    <span class=\"badge badge-dot badge-dot-xl mr-2 badge-success\"\r\n                          style=\"margin-top:2px\"></span>\r\n\r\n                  <div style=\"font-size: 15px;\" class=\"text-success\"> Finalizada</div>\r\n\r\n                </div>\r\n\r\n\r\n              </b-col>\r\n\r\n            </b-row>\r\n\r\n\r\n          </t-form-card>\r\n\r\n\r\n          <t-form-card title=\"Resumo\">\r\n\r\n\r\n            <div class=\"no-gutters row\">\r\n              <div class=\"col-sm-12 col-md-4 col-xl-4\">\r\n                <div class=\"card no-shadow rm-border bg-transparent widget-chart text-left\">\r\n                  <div class=\"icon-wrapper rounded-circle\">\r\n                    <div class=\"icon-wrapper-bg opacity-9 bg-success d-flex align-items-center justify-content-center\">\r\n                      <b-icon-clipboard-check style=\"scale: 1.7\" class=\"text-white\"/>\r\n                    </div>\r\n\r\n                  </div>\r\n                  <div class=\"widget-chart-content\">\r\n                    <div class=\"widget-subheading\">Apontamentos Finalizados\r\n                      <t-help title=\"Apontamentos finalizadas através deste checklist\"/>\r\n                    </div>\r\n                    <div class=\"widget-numbers text-success\"><span>{{ form.qtyGeneralOccurrencesDone }}</span></div>\r\n                  </div>\r\n                </div>\r\n              </div>\r\n              <div class=\"col-sm-6 col-md-4 col-xl-4\">\r\n                <div class=\"card no-shadow rm-border bg-transparent widget-chart text-left\">\r\n                  <div class=\"icon-wrapper rounded-circle\">\r\n                    <div class=\"icon-wrapper-bg opacity-9 bg-warning d-flex align-items-center justify-content-center\">\r\n                      <b-icon-clipboard-minus style=\"scale: 1.7\" class=\"text-white\"/>\r\n                    </div>\r\n                  </div>\r\n                  <div class=\"widget-chart-content\">\r\n                    <div class=\"widget-subheading\">Apontamentos Pendentes\r\n                      <t-help\r\n                          title=\"Apontamentos que estavam pendentes e que continuam da mesma forma após este checklist ser realizado\"/>\r\n                    </div>\r\n                    <div class=\"widget-numbers\">{{ form.qtyGeneralOccurrencesPending }}</div>\r\n                  </div>\r\n                </div>\r\n                <div class=\"divider m-0 d-md-none d-sm-block\"></div>\r\n              </div>\r\n              <div class=\"col-sm-6 col-md-4 col-xl-4\">\r\n                <div class=\"card no-shadow rm-border bg-transparent widget-chart text-left\">\r\n                  <div class=\"icon-wrapper rounded-circle\">\r\n\r\n                    <div class=\"icon-wrapper-bg opacity-9 bg-danger d-flex align-items-center justify-content-center\">\r\n                      <b-icon-clipboard-plus style=\"scale: 1.7\" class=\"text-white\"/>\r\n                    </div>\r\n\r\n\r\n                  </div>\r\n                  <div class=\"widget-chart-content\">\r\n                    <div class=\"widget-subheading\">Apontamentos novos\r\n                      <t-help title=\"Apontamentos novos com origem neste checklist\"/>\r\n                    </div>\r\n                    <div class=\"widget-numbers\"><span>{{ form.qtyGeneralOccurrencesNew }}</span></div>\r\n                  </div>\r\n                </div>\r\n                <div class=\"divider m-0 d-md-none d-sm-block\"></div>\r\n              </div>\r\n            </div>\r\n\r\n            <b-row>\r\n\r\n              <div class=\"col-sm-12 col-md-4\">\r\n                <div class=\"widget-content p-0\">\r\n                  <div class=\"widget-content-outer\">\r\n                    <div class=\"widget-content-wrapper\">\r\n                      <div class=\"widget-content-left\">\r\n                        <div class=\"widget-numbers text-dark\">\r\n                          {{ ((form.qtyEnvironmentFinished / form.qtyEnvironmentTotal) * 100) | number(2) }}%\r\n                        </div>\r\n                      </div>\r\n                    </div>\r\n                    <div class=\"widget-progress-wrapper mt-1\">\r\n                      <div class=\"progress-bar-xs progress-bar-animated-alt progress\">\r\n                        <div class=\"progress-bar bg-info\" role=\"progressbar\" aria-valuemin=\"0\"\r\n                             aria-valuemax=\"100\"\r\n                             :style=\"{'width':((form.qtyEnvironmentFinished/form.qtyEnvironmentTotal)*100)+'%'}\"></div>\r\n                      </div>\r\n                      <div class=\"progress-sub-label\">\r\n                        <div class=\"sub-label-left font-size-md text-dark\">Ambientes vistoriados:\r\n                          {{ form.qtyEnvironmentResume }}\r\n                        </div>\r\n                      </div>\r\n                    </div>\r\n                  </div>\r\n                </div>\r\n              </div>\r\n\r\n              <div class=\"col-sm-12 col-md-4\">\r\n                <div class=\"widget-content p-0\">\r\n                  <div class=\"widget-content-outer\">\r\n                    <div class=\"widget-content-wrapper\">\r\n                      <div class=\"widget-content-left\">\r\n                        <div class=\"widget-numbers text-dark\">\r\n                          {{ ((form.qtyGeneralItemsOk / form.qtyGeneralItemsTotal) * 100) | number(2) }}%\r\n                        </div>\r\n                      </div>\r\n                    </div>\r\n                    <div class=\"widget-progress-wrapper mt-1\">\r\n                      <div class=\"progress-bar-xs progress-bar-animated-alt progress\">\r\n                        <div class=\"progress-bar bg-info\" role=\"progressbar\" aria-valuemin=\"0\"\r\n                             aria-valuemax=\"100\"\r\n                             :style=\"{'width':((form.qtyGeneralItemsOk/form.qtyGeneralItemsTotal)*100)+'%'}\">\r\n                        </div>\r\n                      </div>\r\n                      <div class=\"progress-sub-label\">\r\n                        <div class=\"sub-label-left font-size-md text-dark\">Itens sem apontamentos ou finalizados\r\n                          <t-help title=\"Itens sem nenhum apontamento nova ou pendente.\"/>\r\n                        </div>\r\n                      </div>\r\n                    </div>\r\n                  </div>\r\n                </div>\r\n              </div>\r\n\r\n              <div class=\"col-sm-12 col-md-4\">\r\n\r\n                <div>\r\n\r\n                  <span class=\"sub-label-left font-size-md text-dark opacity-6\">Tempo de vistoria</span>\r\n                  <div style=\"font-size: 30px\">\r\n                    <b-icon-clock class=\"mr-1\"/>\r\n                    {{ form.elapsedTimeTotal | minuteOrHour }}\r\n\r\n                  </div>\r\n                </div>\r\n\r\n              </div>\r\n\r\n\r\n            </b-row>\r\n\r\n\r\n          </t-form-card>\r\n\r\n          <t-form-card title=\"Observações\">\r\n\r\n            <t-input textarea v-model=\"form.note\" @focusout=\"updateGeneralInformation\" hide-label\r\n                     label=\"Observações gerais desta vistoria\" max-length=\"1000\"/>\r\n\r\n          </t-form-card>\r\n\r\n          <t-form-card title=\"Origem\">\r\n\r\n            <div v-if=\"form.enableSingleEnvironment\">\r\n\r\n              <b-card-title>Manual para um ambiente exclusivo</b-card-title>\r\n\r\n              <b-row>\r\n\r\n                <t-input cols=\"2\" v-model=\"form.environmentCodeLabel\" fixed label=\"Cód. Amb.\"/>\r\n\r\n                <t-input cols=\"5\" v-model=\"form.environment\" fixed label=\"Ambiente\"/>\r\n\r\n                <t-input cols=\"5\" v-model=\"form.spotFolder\" fixed label=\"Pavimento\"/>\r\n\r\n              </b-row>\r\n\r\n\r\n            </div>\r\n\r\n            <div v-else-if=\"form.scheduleId > 0\">\r\n\r\n              <b-card-title>Agenda de Vistoria</b-card-title>\r\n\r\n              <t-input v-model=\"form.typeChecklist\" fixed label=\"Modelo de Vistoria\"/>\r\n\r\n              <b-row>\r\n\r\n\r\n                <t-input cols=\"3\" v-model=\"form.scheduleStartDate\" date fixed label=\"Data Inicial\"\r\n                         help=\"Data especificada para início da vistoria\"/>\r\n\r\n                <t-input cols=\"3\" v-model=\"form.scheduleStartTime\" time fixed label=\"Horário Inicial\"\r\n                         help=\"Horário sugestão para início da vistoria\"/>\r\n\r\n                <t-input cols=\"3\" v-model=\"form.scheduleFinishDate\" date fixed label=\"Data Final\"\r\n                         help=\"Data especificada limite para realização da vistoria\"/>\r\n\r\n                <t-input cols=\"3\" v-model=\"form.scheduleFinishTime\" time fixed label=\"Horário Final\"\r\n                         help=\"Horário sugestão de término da vistoria\"/>\r\n\r\n\r\n              </b-row>\r\n\r\n            </div>\r\n\r\n            <div v-else>\r\n\r\n              <b-card-title>Manual para um modelo de vistoria</b-card-title>\r\n\r\n              <t-input v-model=\"form.typeChecklist\" fixed label=\"Modelo de Vistoria\"/>\r\n\r\n\r\n            </div>\r\n\r\n\r\n          </t-form-card>\r\n\r\n\r\n          <t-form-card title=\"Localização\">\r\n\r\n\r\n            <div\r\n                v-if=\"(form.initialLat !== undefined && form.initialLat !== 0) || (form.finalLat !== undefined && form.finalLat !== 0)\">\r\n\r\n              <t-msg info v-if=\"form.platformOrigin === ChecklistPlatformType.type.WEB\">Localização não é precisa por\r\n                conta da plataforma web utilizada para realização do checklist\r\n              </t-msg>\r\n\r\n              <b-row>\r\n\r\n                <b-col cols=\"6\">\r\n\r\n                  <b-card-title>Início: {{ form.initialDate | datetime }}</b-card-title>\r\n\r\n                  <t-map\r\n                      bordered\r\n                      v-if=\"form.initialLat !== undefined && form.initialLat !== 0\"\r\n                      :latitude=\"form.initialLat\"\r\n                      :zoom=\"form.platformOrigin === ChecklistPlatformType.type.WEB ? 14 : 16\"\r\n                      :longitude=\"form.initialLng\"/>\r\n\r\n                </b-col>\r\n\r\n                <b-col cols=\"6\" v-if=\"form.finalDate !== undefined && form.finalDate !== ''\">\r\n\r\n                  <b-card-title>Término: {{ form.finalDate | datetime }}</b-card-title>\r\n\r\n                  <t-map\r\n                      bordered\r\n                      v-if=\"form.finalLat !== undefined && form.finalLat !== 0\"\r\n                      :latitude=\"form.finalLat\"\r\n                      :zoom=\"form.platformOrigin === ChecklistPlatformType.type.WEB ? 14 : 16\"\r\n                      :longitude=\"form.finalLng\"/>\r\n\r\n                </b-col>\r\n\r\n              </b-row>\r\n\r\n            </div>\r\n\r\n            <t-msg v-else warning>Localização de início ou término não identificada</t-msg>\r\n\r\n\r\n          </t-form-card>\r\n\r\n          <t-form-card title=\"Dispositivo\">\r\n\r\n            <b-row>\r\n\r\n              <t-input v-model=\"form.platformOrigin\" :options=\"ChecklistPlatformType.list\" radio cols=\"6\" fixed\r\n                       label=\"Plataforma\"/>\r\n\r\n              <t-input v-model=\"form.mobileDevice.systemType\" cols=\"6\" fixed label=\"Sistema\"/>\r\n\r\n            </b-row>\r\n\r\n            <b-row>\r\n\r\n              <t-input v-model=\"form.mobileDevice.device\" cols=\"6\" fixed label=\"Modelo\"/>\r\n\r\n              <t-input v-model=\"form.mobileDevice.systemVersion\" cols=\"6\" fixed label=\"Versão\"/>\r\n\r\n            </b-row>\r\n\r\n\r\n          </t-form-card>\r\n\r\n        </t-form-tab>\r\n\r\n      </template>\r\n\r\n      <template #out-of-form>\r\n\r\n        <t-form-tab title=\"Ambientes\" hash=\"environment\" lazy>\r\n\r\n          <ChecklistEnvironment :status-checklist=\"form.statusChecklist\"\r\n                                :business-type-survey=\"form.businessTypeSurvey\"\r\n                                :enable-reverse-finish=\"relationAccessSubValidation('sub-checklist-reverse-finish')\"\r\n                                :user-access-budget-show-price=\"relationAccessSubValidation('sub-checklist-budget-show-price')\"\r\n                                :foreign-key=\"form.checklistId\" :enterpriseId=\"form.enterpriseId\"/>\r\n\r\n        </t-form-tab>\r\n\r\n        <t-form-tab title=\"Apontamentos\" v-if=\"form.businessTypeSurvey  >= SurveyType.type.OCCURRENCE\" hash=\"occurrence\"\r\n                    lazy>\r\n\r\n          <ChecklistOccurrence :business-type-survey=\"form.businessTypeSurvey\"\r\n                               :user-access-budget-show-price=\"relationAccessSubValidation('sub-checklist-budget-show-price')\"\r\n                               :foreign-key=\"form.checklistId\"/>\r\n\r\n        </t-form-tab>\r\n\r\n        <t-form-tab v-if=\"form.businessTypeSurvey  === SurveyType.type.BUDGET\" title=\"Orçamento\" hash=\"budget\"\r\n                    lazy>\r\n          <ChecklistOccurrence :business-type-survey=\"form.businessTypeSurvey\"\r\n                               :user-access-budget-show-price=\"relationAccessSubValidation('sub-checklist-budget-show-price')\"\r\n                               :foreign-key=\"form.checklistId\" budget-enabled/>\r\n\r\n        </t-form-tab>\r\n\r\n        <t-form-tab title=\"Planta\" v-if=\"form.businessTypeSurvey  >= SurveyType.type.OCCURRENCE\" hash=\"floor-plan\" lazy>\r\n\r\n          <t-msg info>Em desenvolvimento!</t-msg>\r\n          <!--Imagens com as plantas e os pinos inseridos.-->\r\n\r\n        </t-form-tab>\r\n\r\n        <t-form-tab title=\"Atividades\" hash=\"activity\" lazy>\r\n\r\n          <ChecklistModelActivity :foreign-key=\"form.checklistId\"/>\r\n\r\n        </t-form-tab>\r\n\r\n        <!-- Em desenvolvimento!!!! -->\r\n        <t-form-tab v-if=\"1===2\" title=\"Conteúdo\" hash=\"content\"\r\n                    :disabled=\"!relationAccessPageGeneral('checklist-executed-content')\" lazy>\r\n\r\n          <t-msg info class=\"mb-3\">Cadastre conteúdos para serem inseridos junto com os relatórios fotográficos\r\n            relacionados a esta vistoria, podendo especificar no início ou no final a exibição do conteúdo desta\r\n            vistoria.\r\n          </t-msg>\r\n\r\n          <ChecklistContent :foreign-key=\"form.checklistId\"/>\r\n\r\n        </t-form-tab>\r\n\r\n\r\n        <t-form-tab title=\"Resumo\" hash=\"resume\" @onClick=\"getDashboard()\" lazy>\r\n\r\n\r\n          <b-row style=\"width: 100%; margin: auto; max-width: 1000px; margin:auto\"\r\n                 v-show=\"dashboard.pathology !== undefined && dashboard.pathology.length > 0\">\r\n\r\n            <b-col cols=\"6\">\r\n\r\n\r\n              <div style=\"max-height: 350px; overflow-y: auto\" class=\"mt-3\">\r\n\r\n                <table class=\"align-middle table table-borderless table-striped table-hover\">\r\n                  <thead>\r\n                  <tr>\r\n                    <th class=\"text-center\"></th>\r\n                    <th>Ranking Patologias</th>\r\n                    <th class=\"text-center\">Qtd.</th>\r\n                  </tr>\r\n                  </thead>\r\n                  <tbody>\r\n                  <tr v-for=\"(pathology,index) in dashboard.pathology\" :key=\"pathology.typePathologyId\">\r\n                    <td class=\"text-center text-muted\">{{ ++index }}º</td>\r\n                    <td>\r\n                      <div style=\"font-size: 14px\">{{ pathology.typePathology }}</div>\r\n\r\n                      <div class=\"d-flex align-items-center justify-content-start border b-radius\">\r\n                        <div class=\"mb-2 ml-2 mt-2 mr-2 badge badge-dot badge-dot-xl\"\r\n                             :style=\"{'background-color': pathology.sectorColor}\"></div>\r\n                        <div class=\"small\">{{ pathology.sector }}</div>\r\n                      </div>\r\n\r\n                    </td>\r\n\r\n                    <td class=\"text-center\">\r\n                      {{ pathology.qtyRecords }}\r\n                    </td>\r\n                  </tr>\r\n\r\n                  </tbody>\r\n                </table>\r\n\r\n              </div>\r\n\r\n\r\n            </b-col>\r\n\r\n            <b-col cols=\"6\">\r\n\r\n              <apexchart type=\"pie\" class=\"mt-4\" :options=\"chartSectorOptions\" v-if=\"chartSectorSeries.length > 0\"\r\n                         :series=\"chartSectorSeries\"></apexchart>\r\n\r\n            </b-col>\r\n\r\n          </b-row>\r\n\r\n          <b-row style=\"width: 100%; margin: auto; max-width: 1000px; margin:auto\"\r\n                 v-show=\"dashboard.criticality !== undefined && dashboard.criticality.length > 0\">\r\n\r\n            <b-col cols=\"6\">\r\n\r\n\r\n              <div style=\"max-height: 350px; overflow-y: auto\" class=\"mt-3\">\r\n\r\n                <table class=\"align-middle table table-borderless table-striped table-hover\">\r\n                  <thead>\r\n                  <tr>\r\n                    <th class=\"text-center\"></th>\r\n                    <th>Ranking Criticidade</th>\r\n                    <th class=\"text-center\">Qtd.</th>\r\n                  </tr>\r\n                  </thead>\r\n                  <tbody>\r\n                  <tr v-for=\"(criticality,index) in dashboard.criticality\" :key=\"criticality.typeCriticalityId\">\r\n                    <td class=\"text-center text-muted\"\r\n                        :class=\"{[criticality.typeCriticalityLineClass] : criticality.typeCriticalityLineClass !== '' }\">\r\n                      {{ ++index }}º\r\n                    </td>\r\n                    <td>\r\n                      <div style=\"font-size: 14px\" :style=\"{'color': criticality.typeCriticalityColor}\">\r\n                        {{ criticality.typeCriticality }}\r\n                      </div>\r\n\r\n                    </td>\r\n\r\n                    <td class=\"text-center\">\r\n                      {{ criticality.qtyRecords }}\r\n                    </td>\r\n                  </tr>\r\n\r\n                  </tbody>\r\n                </table>\r\n\r\n              </div>\r\n\r\n\r\n            </b-col>\r\n\r\n            <b-col cols=\"6\">\r\n\r\n              <apexchart type=\"pie\" class=\"mt-4\" :options=\"chartCriticalityOptions\"\r\n                         v-if=\"chartCriticalitySeries.length > 0\" :series=\"chartCriticalitySeries\"></apexchart>\r\n\r\n            </b-col>\r\n\r\n          </b-row>\r\n\r\n\r\n        </t-form-tab>\r\n\r\n      </template>\r\n\r\n    </t-page-form>\r\n\r\n  </t-page>\r\n\r\n</template>\r\n\r\n<script>\r\n\r\nimport pageDefaultMixin from \"@/mixins/page/pageDefaultMixin\"\r\nimport pageFormMixin from \"@/mixins/page/pageFormMixin\"\r\nimport ChecklistPlatformType from \"@/model/types/modules/checklist/ChecklistPlatformType\";\r\nimport ChecklistEnvironment from \"@/views/modules/checklist/Checklist/ChecklistEnvironment\";\r\nimport ChecklistOccurrence from \"@/views/modules/checklist/Checklist/ChecklistOccurrence\";\r\nimport ChecklistModelActivity from \"@/views/modules/checklist/Checklist/ChecklistModelActivity\";\r\nimport ui from \"@/assets/scripts/ui\";\r\nimport http from \"@/services/config/http-common\";\r\nimport EnterpriseStepService from \"@/services/modules/place/EnterpriseStep.service\";\r\nimport {crudGeneral} from \"@/services/resource/GeneralCRUD.service\";\r\nimport StatusChecklistType from \"@/model/types/modules/checklist/StatusChecklistType\";\r\nimport ChecklistContent from \"@/views/modules/checklist/ChecklistContent\";\r\nimport SurveyType from \"@/model/types/modules/checklist/SurveyType\";\r\n\r\nexport default {\r\n  mixins: [pageDefaultMixin, pageFormMixin],\r\n  components: {ChecklistEnvironment, ChecklistOccurrence, ChecklistModelActivity, ChecklistContent},\r\n  name: 'ChecklistForm',\r\n  data() {\r\n    return {\r\n      SurveyType,\r\n      StatusChecklistType,\r\n      ChecklistPlatformType,\r\n      path: \"checklist\", //Utilizar somente quando fora do padrão\r\n      genKey: false, //Utilizar quando desejar gerar chave temporária\r\n      enableGeneralFields: false,\r\n      fieldKey: \"checklistId\",\r\n      form: {\r\n        checklistId: 0,\r\n        checklistNumber: 0,\r\n        enterpriseId: 0,\r\n        enterpriseStepId: 0,\r\n        finalDate: \"\",\r\n        finalLat: 0,\r\n        finalLng: 0,\r\n        initialDate: \"\",\r\n        initialLat: 0,\r\n        initialLng: 0,\r\n        inspectorId: 0,\r\n        scheduleId: 0,\r\n        typeChecklistId: 0,\r\n        platformOrigin: 0,\r\n        enableAllSectors: false,\r\n        processedDate: \"\",\r\n        enableSingleEnvironment: 0,\r\n        environmentId: 0,\r\n        statusChecklist: 0,\r\n        qtyGeneralItemsOk: 0,\r\n        qtyGeneralItemsTotal: 0,\r\n        qtyGeneralOccurrencesDone: 0,\r\n        qtyGeneralOccurrencesNew: 0,\r\n        qtyGeneralOccurrencesPending: 0,\r\n        qtyGeneralOccurrencesSignaled: 0,\r\n        qtyGeneralOccurrencesTotal: 0,\r\n        qtyEnvironmentFinished: 0,\r\n        qtyEnvironmentPending: 0,\r\n        qtyEnvironmentStarted: 0,\r\n        qtyEnvironmentTotal: 0,\r\n        typeChecklistStatus: \"\",\r\n        issueDate: \"\",\r\n        note: \"\",\r\n        status: 1,\r\n        mobileDevice: {\r\n          device: \"\",\r\n          systemType: \"\",\r\n          systemVersion: \"\",\r\n          internetType: \"\",\r\n        },\r\n\r\n        /*Campos vindos da view*/\r\n        typeChecklist: \"\",\r\n        scheduleStartDate: \"\",\r\n        scheduleStartTime: \"\",\r\n        scheduleFinishDate: \"\",\r\n        scheduleFinishTime: \"\",\r\n        scheduleSharing: false,\r\n        elapsedTimeTotal: \"\",\r\n        sectors: \"\",\r\n        enterprise: \"\",\r\n        enterpriseCodeLabel: \"\",\r\n        enterpriseFederalTaxpayer: \"\",\r\n        enterpriseAddressFull: \"\",\r\n        enterpriseNeighborhood: \"\",\r\n        enterpriseZipcode: \"\",\r\n        enterpriseCityFull: \"\",\r\n        inspector: \"\",\r\n        businessTypeSurvey: 0,\r\n        /*Somente quando é ambiente único*/\r\n        environment: \"\",\r\n        environmentCodeLabel: \"\",\r\n        spotFolderId: 0,\r\n        spotFolder: \"\",\r\n        /*-------------------------------*/\r\n      },\r\n      error: {//Campos que podem receber retorno de erro do backend\r\n        name: \"\"\r\n      },\r\n      //--------------------------------------------------------------------------------------\r\n      //Início de campos personalizados desta tela\r\n      tabIndex: 0,\r\n      reverseFinish: false,\r\n      enterpriseStepOptions: [],\r\n      dashboard: {},\r\n      chartSectorSeries: [],\r\n      chartSectorOptions: {\r\n        chart: {\r\n          width: 200,\r\n          type: 'pie',\r\n        },\r\n        colors: [],\r\n        labels: [],\r\n        legend: {\r\n          position: 'bottom',\r\n          horizontalAlign: 'center',\r\n        },\r\n        options: {\r\n          chart: {\r\n            width: 200\r\n          },\r\n          legend: {\r\n            position: 'bottom'\r\n          }\r\n        },\r\n      },\r\n      chartCriticalitySeries: [],\r\n      chartCriticalityOptions: {\r\n        chart: {\r\n          width: 200,\r\n          type: 'pie',\r\n        },\r\n        colors: [],\r\n        labels: [],\r\n        legend: {\r\n          position: 'bottom',\r\n          horizontalAlign: 'center',\r\n        },\r\n        options: {\r\n          chart: {\r\n            width: 200\r\n          },\r\n          legend: {\r\n            position: 'bottom'\r\n          }\r\n        },\r\n      },\r\n      //--------------------------------------------------------------------------------------\r\n    }\r\n  },\r\n  methods: {\r\n\r\n    mountedPrepare() {\r\n\r\n\r\n    },\r\n    async mountedContinued() {\r\n\r\n      if (this.form.enterpriseId > 0) {\r\n\r\n        await EnterpriseStepService.selectList(this.form.enterpriseId).then((list) => {\r\n          this.enterpriseStepOptions = list\r\n        }).catch(error => this.responseError(error))\r\n\r\n      }\r\n\r\n      if (this.form.statusChecklist === StatusChecklistType.type.FINISHED && this.command === 'update') {\r\n        this.command = 'view'\r\n      }\r\n\r\n      this.pageFormIsLoaded = true\r\n\r\n    },\r\n    async onSubmit() {\r\n\r\n      //await http.get(this.path + \"/checkIsFinished/\" + this.form.checklistId).then(async () => {\r\n      if (this.isDelete()) {\r\n        await this.setSendingDefault()\r\n      } else {\r\n\r\n        ui.msgConfirm(this, '', 'Tem certeza que deseja finalizar a vistoria?', async () => {\r\n          await this.setSendingDefault((error) => {\r\n\r\n            if (error && Array.isArray(error)) {\r\n              if (error.some(mensagem => mensagem.includes('\"Atividades\"'))) {\r\n\r\n                /*Desabilitado, pois a quantidade de abas pode variar, desta forma teremos que analisar qual a aba atividade para poder direcionar de forma correta.*/\r\n\r\n                /* //Aguarda um pouco pois o checkAgain irá voltar para primeira aba com erro, mas esta não acusa erro.\r\n                 setTimeout(() => {\r\n                   this.tabIndex = 4\r\n                 }, 200)*/\r\n\r\n              }\r\n\r\n            }\r\n\r\n          })\r\n\r\n\r\n        }, 'Finalizar Vistoria')\r\n\r\n      }\r\n      //}).catch(error => this.responseError(error))\r\n\r\n    },\r\n    //--------------------------------------------------------------------------------------\r\n    //Início de métodos personalizados desta tela\r\n\r\n    async getChecklist() {\r\n\r\n      await this.setInitiate(false)\r\n\r\n\r\n    },\r\n\r\n    async getDashboard() {\r\n\r\n      await http.get(this.path + '/dashboard/' + this.form.checklistId).then(response => {\r\n\r\n        this.dashboard = response.data\r\n\r\n        this.chartSectorOptions.labels = []\r\n        this.chartSectorOptions.colors = []\r\n        this.chartSectorSeries = []\r\n\r\n        this.chartCriticalityOptions.labels = []\r\n        this.chartCriticalityOptions.colors = []\r\n        this.chartCriticalitySeries = []\r\n\r\n        for (const item of this.dashboard.sector) {\r\n\r\n          this.chartSectorOptions.labels.push(item.sector)\r\n          this.chartSectorOptions.colors.push(item.sectorColor)\r\n          this.chartSectorSeries.push(item.qtyRecords)\r\n\r\n        }\r\n\r\n        for (const item of this.dashboard.criticality) {\r\n\r\n          let color = item.typeCriticalityColor\r\n\r\n          if (color === null || color === '') {\r\n            color = \"#ccc\"\r\n          }\r\n\r\n          this.chartCriticalityOptions.labels.push(item.typeCriticality)\r\n          this.chartCriticalityOptions.colors.push(color)\r\n          this.chartCriticalitySeries.push(item.qtyRecords)\r\n\r\n        }\r\n\r\n\r\n      }).catch(error => ui.generalResponseError(this, error))\r\n\r\n    },\r\n\r\n    async updateGeneralInformation() {\r\n\r\n      const generalInformation = {\r\n        checklistId: this.form.checklistId,\r\n        note: this.form.note,\r\n      }\r\n\r\n      await crudGeneral.update(this.path + \"/updateGeneral\", generalInformation).then(\r\n          () => ui.toast(this, \"Informação\", \"Informações gerais atualizadas com sucesso!\")\r\n      ).catch(error => this.responseError(error))\r\n\r\n\r\n    },\r\n\r\n    async updateEnterpriseStep() {\r\n\r\n      if (this.form.enterpriseStepId > 0) {\r\n\r\n        const checklistStepUpdate = {\r\n          checklistId: this.form.checklistId,\r\n          enterpriseStepId: this.form.enterpriseStepId,\r\n        }\r\n\r\n        await crudGeneral.update(this.path + \"/updateStep\", checklistStepUpdate).then(\r\n            () => ui.toast(this, \"Informação\", \"Fase atualizada com sucesso!\")\r\n        ).catch(error => this.responseError(error))\r\n\r\n      }\r\n\r\n    },\r\n\r\n    async confirmReverse() {\r\n\r\n      let complementMsg = ''\r\n\r\n      if(this.form.businessTypeSurvey  === SurveyType.type.BUDGET){\r\n        complementMsg = '<br />O orçamento gerado automaticamente através desta vistoria será excluído também.'\r\n      }\r\n\r\n      ui.msgConfirm(this, 'ESTORNO DA FINALIZAÇÃO DA VISTORIA', '<span class=\"text-danger\">Tem certeza que deseja realizar o estorno da finalização desta Vistoria <b>' + this.form.checklistNumber + '</b>?' + complementMsg, async () => {\r\n\r\n        this.reverseFinish = true\r\n\r\n        await http.get(this.userAuth.currentPage.path + \"/reverse-finish/\" + this.form.checklistId).then(async () => {\r\n\r\n          await this.goPath(this.userAuth.currentPage.path, {\r\n            codSuccess: 100,\r\n            returnMessage: 'Vistoria ' + this.form.checklistNumber + ' foi estornada com sucesso!'\r\n          })\r\n\r\n        }).catch(error => ui.generalResponseError(this, error))\r\n\r\n        this.reverseFinish = false\r\n\r\n      })\r\n\r\n    },\r\n\r\n\r\n    //--------------------------------------------------------------------------------------\r\n\r\n  },\r\n  async mounted() {\r\n\r\n    this.mountedPrepare()\r\n\r\n    await this.mountedForm(true, false)\r\n\r\n    await this.mountedContinued()\r\n\r\n  }\r\n\r\n}\r\n</script>\r\n\r\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!./ChecklistForm.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!./ChecklistForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ChecklistForm.vue?vue&type=template&id=0ae804fb&\"\nimport script from \"./ChecklistForm.vue?vue&type=script&lang=js&\"\nexport * from \"./ChecklistForm.vue?vue&type=script&lang=js&\"\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  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","import http from '../../config/http-common';\r\n\r\n//Usado somente se for realmente necessário algo fora do padrão GeneralCRUD.service.js\r\nconst path = \"place/enterprise-division\"\r\n\r\nclass service {\r\n\r\n    selectList(enterpriseId) {\r\n\r\n        let params = new URLSearchParams()\r\n        params.append(\"enterpriseId\", enterpriseId)\r\n\r\n        return http.list(path + \"/selectList\",params);\r\n    }\r\n\r\n}\r\n\r\nexport default new service();\r\n\r\n","import Type from \"@/model/types/Type\";\r\n\r\nconst type = {\r\n    TYPE_1: 1,\r\n    TYPE_2: 2,\r\n    TYPE_3: 3,\r\n    TYPE_4: 4,\r\n    TYPE_5: 5,\r\n}\r\n\r\nconst list = [\r\n    {\r\n        value: type.TYPE_1,\r\n        text: \"1 - Sem tendência de piorar\",\r\n    },\r\n    {\r\n        value: type.TYPE_2,\r\n        text: \"2 - Piorar em longo prazo\",\r\n    },\r\n    {\r\n        value: type.TYPE_3,\r\n        text: \"3 - Piorar em médio prazo\",\r\n    },\r\n    {\r\n        value: type.TYPE_4,\r\n        text: \"4 - Piorar em curto prazo\",\r\n    },\r\n    {\r\n        value: type.TYPE_5,\r\n        text: \"5 - Agravar rápido\",\r\n    },\r\n]\r\n\r\nconst contains = function (typeInput) {\r\n    return Type.contains(list, typeInput)\r\n}\r\n\r\nexport default {\r\n    type,\r\n    list,\r\n    contains,\r\n}","import Type from \"@/model/types/Type\";\r\n\r\nconst type = {\r\n    PENDING : 1,\r\n    FINISHED : 2,\r\n}\r\n\r\nconst list = [\r\n    {\r\n        value: type.PENDING,\r\n        text: \"Pendente\",\r\n    },\r\n    {\r\n        value: type.FINISHED,\r\n        text: \"Finalizada\",\r\n    },\r\n]\r\n\r\nconst contains = function (typeInput) {\r\n    return Type.contains(list, typeInput)\r\n}\r\n\r\nexport default {\r\n    type,\r\n    list,\r\n    contains,\r\n}\r\n\r\n\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('t-page-form-upload',{attrs:{\"type-image\":_vm.typeImage,\"command\":_vm.command,\"other-entity\":_vm.otherEntity,\"path\":_vm.path,\"primaryKeyColumn\":_vm.primaryKeyColumn,\"foreign-key-column\":_vm.foreignKeyColumn,\"primary-key\":_vm.form.occurrenceFileId,\"foreign-key\":_vm.form.occurrenceId,\"items\":_vm.items,\"user-auth\":_vm.userAuth,\"status\":_vm.status,\"busy\":!_vm.pageFormIsLoaded,\"busy-form\":!_vm.listFormIsLoaded,\"busy-list\":!_vm.listIsLoaded,\"categoryId\":_vm.occurrenceFileType,\"category-options\":_vm.OccurrenceFileType.list,\"category-column\":\"occurrenceFileType\",\"message-not-record\":_vm.messageNotRecord,\"only-view\":_vm.onlyView},on:{\"onSubmit\":_vm.onSubmit,\"itemDownload\":_vm.onItemFileDownload,\"onItemDelete\":_vm.onItemDeleteDefault,\"onUploadComplete\":_vm.onUploadComplete,\"onRequestList\":_vm.getList}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\n  <t-page-form-upload\n      :type-image=\"typeImage\"\n      :command=\"command\"\n      :other-entity=\"otherEntity\"\n      :path=\"path\" :primaryKeyColumn=\"primaryKeyColumn\" :foreign-key-column=\"foreignKeyColumn\"\n      :primary-key=\"form.occurrenceFileId\" :foreign-key=\"form.occurrenceId\"\n      :items=\"items\" :user-auth=\"userAuth\" :status=\"status\"\n      :busy=\"!pageFormIsLoaded\" :busy-form=\"!listFormIsLoaded\" :busy-list=\"!listIsLoaded\"\n      :categoryId=\"occurrenceFileType\"\n      :category-options=\"OccurrenceFileType.list\"\n      category-column=\"occurrenceFileType\"\n      :message-not-record=\"messageNotRecord\"\n      :only-view=\"onlyView\"\n      @onSubmit=\"onSubmit\" @itemDownload=\"onItemFileDownload\" @onItemDelete=\"onItemDeleteDefault\"\n      @onUploadComplete=\"onUploadComplete\" @onRequestList=\"getList\">\n\n  </t-page-form-upload>\n\n\n</template>\n<script>\nimport pageDefaultMixin from \"@/mixins/page/pageDefaultMixin\"\nimport pageFormMixin from \"@/mixins/page/pageFormMixin\"\nimport pageFormListMixin from \"@/mixins/page/pageFormListMixin\";\nimport pageFormUploadMixin from \"@/mixins/page/pageFormUploadMixin\";\nimport tPageFormUpload from \"@/components/template/page/t-page-form-upload\";\nimport OccurrenceFileType from \"@/model/types/modules/checklist/OccurrenceFileType\";\n\nexport default {\n  mixins: [pageDefaultMixin, pageFormMixin, pageFormListMixin, pageFormUploadMixin],\n  components: {tPageFormUpload},\n  name: 'OccurrenceFile',\n  data() {\n    return {\n      OccurrenceFileType,\n      path: \"checklist/occurrence-file\", //Utilizar somente quando fora do padrão\n      primaryKeyColumn: \"occurrenceFileId\",\n      foreignKeyColumn: \"occurrenceId\", //Utilizar quando usar Tabs com outros componentes\n      type: \"D\", //Tipo padrão de modelo de envio de arquivos poderá ser I ou D\n      form: {\n        occurrenceId: this.foreignKey,\n        occurrenceFileId: 0,\n        occurrenceFileType: 0,\n        orderList: 0,\n        type: \"\",\n        subtitle: \"\",\n        fileEntity: {\n          nameOriginal: \"\",\n          nameSave: \"\",\n          sizeKb: 0,\n          extension: \"\",\n        }\n      },\n      error: {//Campos que podem receber retorno de erro do backend\n        name: \"\",\n      },\n      fieldsNotReset: [//Marca os nomes de colunas que não devem ser resetados\n        this.foreignKeyColumn,\n      ],\n      //--------------------------------------------------------------------------------------\n      //Início de campos personalizados desta tela\n\n      //--------------------------------------------------------------------------------------\n    }\n  },\n  props: {\n    otherEntity: Boolean,\n    occurrenceFileType: {\n      type: Number,\n      default: 0,\n    }\n  },\n  methods: {\n\n    defaultForm() {\n\n      //Preenche somente os campos que foram limpos após o reset\n      this.defaultFormList()\n\n\n    },\n\n    mountedPrepare() {\n\n      if (this.otherEntity) {\n        this.command = 'view'\n      }\n\n      this.mountedPrepareFormUploadDefault()\n\n    },\n\n    async mountedContinued() {\n\n      await this.getList()\n\n    },\n\n    async onSubmit() {\n\n      await this.setSendingFormListDefault(this.form.occurrenceFileId)\n\n    },\n\n    mountedList() {\n\n      // Manipulação da listagem após carregando\n      //--------------------------------------\n\n      //--------------------------------------\n\n      this.listIsLoaded = true\n\n    },\n    //--------------------------------------------------------------------------------------\n    //Início de métodos personalizados desta tela\n\n\n    //--------------------------------------------------------------------------------------\n  },\n  async mounted() {\n\n    this.mountedPrepare()\n\n    await this.mountedFormList()\n\n    await this.mountedContinued()\n\n  },\n}\n</script>\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!./OccurrenceFile.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!./OccurrenceFile.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./OccurrenceFile.vue?vue&type=template&id=2f4378d1&\"\nimport script from \"./OccurrenceFile.vue?vue&type=script&lang=js&\"\nexport * from \"./OccurrenceFile.vue?vue&type=script&lang=js&\"\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  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","import Type from \"@/model/types/Type\";\r\n\r\nconst type = {\r\n    EVIDENCE: 100, /*ABA VISTORIA APENAS*/\r\n    OCCURRENCE: 200, /*ABA VISTORIA E APONTAMENTO*/\r\n    BUDGET: 300, /*ABA VISTORIA, APONTAMENTO E ORÇAMENTO*/\r\n}\r\n\r\nconst list = [\r\n    {\r\n        value: type.EVIDENCE,\r\n        text: \"Vistoria Básica\",\r\n    },\r\n    {\r\n        value: type.OCCURRENCE,\r\n        text: \"Vistoria de Apontamentos\",\r\n    },\r\n    {\r\n        value: type.BUDGET,\r\n        text: \"Vistoria Orçamentária\",\r\n    },\r\n]\r\n\r\nconst contains = function (typeInput) {\r\n    return Type.contains(list, typeInput)\r\n}\r\n\r\nexport default {\r\n    type,\r\n    list,\r\n    contains,\r\n}","import http from '../../config/http-common';\r\n\r\n//Usado somente se for realmente necessário algo fora do padrão GeneralCRUD.service.js\r\nconst path = \"place/spot-folder\"\r\n\r\nclass service {\r\n\r\n    selectListGroupedByEnterpriseId(enterpriseId){\r\n\r\n        let params = new URLSearchParams()\r\n        params.append(\"enterpriseId\", enterpriseId)\r\n        params.append(\"status\", \"1\")\r\n        params.append(\"grouped\", \"true\")\r\n\r\n        return this.selectList(params)\r\n\r\n    }\r\n\r\n\r\n    selectList(params) {\r\n        return http.list(path + \"/selectList\",params);\r\n    }\r\n\r\n\r\n}\r\n\r\nexport default new service();\r\n\r\n","import http from '../../config/http-common';\r\n\r\n//Usado somente se for realmente necessário algo fora do padrão GeneralCRUD.service.js\r\nconst path = \"checklist/regulation\"\r\n\r\nclass service {\r\n\r\n    selectList(params) {\r\n        return http.list(path + \"/selectList\", params);\r\n    }\r\n\r\n    selectAll(params){\r\n        return http.list(path + \"/selectAll\",params);\r\n    }\r\n\r\n\r\n}\r\n\r\nexport default new service();\r\n\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('t-form-list',{attrs:{\"generalErrors\":_vm.generalErrors,\"items\":_vm.items,\"fields\":_vm.fields,\"command\":_vm.command,\"user-auth\":_vm.userAuth,\"status\":_vm.status,\"path\":_vm.path,\"busy\":!_vm.pageFormIsLoaded,\"busy-form\":!_vm.listFormIsLoaded,\"busy-list\":!_vm.listIsLoaded,\"primary-key-column\":'activity'+_vm.activityNumber+'ChildId',\"primary-key\":_vm.form['activity'+_vm.activityNumber+'ChildId'],\"foreign-key-column\":_vm.foreignKeyColumn,\"foreign-key\":_vm.foreignKey,\"title-items\":\"Itens\",\"sortable\":\"\",\"enable-change-order-up-down\":\"\",\"disable-footer-length\":\"\"},on:{\"onChangeOrder\":_vm.getList,\"onSubmit\":_vm.onSubmit,\"onItemRead\":_vm.onItemReadDefault,\"onItemDelete\":_vm.onItemDeleteDefault},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar status = ref.status;\nreturn [_c('b-col',{staticClass:\"mb-2\",attrs:{\"cols\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"xl\":\"6\"}},[_c('t-page-form-field-customized',{ref:\"fieldsGeneral\",attrs:{\"command\":_vm.command,\"status\":status,\"user-auth\":_vm.userAuth,\"fields-customizable\":_vm.entityFieldCustomized('page'),\"primary-key\":_vm.form['activityChild'+_vm.activityNumber+'Id'],\"foreign-key\":_vm.currentPage.pageId,\"busy\":!_vm.pageFormIsLoaded,\"primary-key-column\":_vm.fieldKey,\"foreign-key-column\":\"pageId\"}})],1),_c('b-col',{attrs:{\"xl\":\"3\"}},[_c('t-input',{attrs:{\"label\":\"Obs.\"},model:{value:(_vm.form.note),callback:function ($$v) {_vm.$set(_vm.form, \"note\", $$v)},expression:\"form.note\"}})],1),_c('b-col',{staticClass:\"button-form-inline\",attrs:{\"xl\":\"3\"}},[_c('t-button',{attrs:{\"sending\":status === 'sending',\"text\":_vm.onButtonSubmitText(_vm.command) + ' Item',\"no-icon\":\"\",\"submit\":\"\"}}),(_vm.command === 'update')?_c('b-link',{staticClass:\"ml-2 text-focus\",on:{\"click\":function($event){return _vm.cancelUpdatedList()}}},[_vm._v(\" \"+_vm._s(_vm.t('go-back'))+\" \")]):_vm._e()],1)],1)],1)]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\n  <div>\n\n    <t-form-list :generalErrors=\"generalErrors\" :items=\"items\" :fields=\"fields\" :command=\"command\" :user-auth=\"userAuth\"\n                 :status=\"status\" :path=\"path\"\n                 :busy=\"!pageFormIsLoaded\" :busy-form=\"!listFormIsLoaded\" :busy-list=\"!listIsLoaded\"\n                 :primary-key-column=\"'activity'+activityNumber+'ChildId'\"\n                 :primary-key=\"form['activity'+activityNumber+'ChildId']\"\n                 :foreign-key-column=\"foreignKeyColumn\" :foreign-key=\"foreignKey\"\n                 title-items=\"Itens\" sortable\n                 enable-change-order-up-down\n                 disable-footer-length\n                 @onChangeOrder=\"getList\"\n                 @onSubmit=\"onSubmit\"\n                 @onItemRead=\"onItemReadDefault\"\n                 @onItemDelete=\"onItemDeleteDefault\">\n\n      <template #default=\"{status}\">\n\n\n        <b-col cols=\"12\" class=\"mb-2\">\n\n          <b-row>\n\n            <b-col xl=\"6\">\n\n              <t-page-form-field-customized\n                  ref=\"fieldsGeneral\"\n                  :command=\"command\" :status=\"status\" :user-auth=\"userAuth\"\n                  :fields-customizable=\"entityFieldCustomized('page')\"\n                  :primary-key=\"form['activityChild'+activityNumber+'Id']\" :foreign-key=\"currentPage.pageId\"\n                  :busy=\"!pageFormIsLoaded\"\n                  :primary-key-column=\"fieldKey\" foreign-key-column=\"pageId\"\n              />\n\n\n\n            </b-col>\n\n            <b-col xl=\"3\">\n              <t-input v-model=\"form.note\" label=\"Obs.\"/>\n            </b-col>\n\n\n\n            <b-col xl=\"3\" class=\"button-form-inline\">\n\n              <t-button :sending=\"status === 'sending'\" :text=\"onButtonSubmitText(command) + ' Item'\" no-icon submit/>\n\n              <b-link class=\"ml-2 text-focus\" v-if=\"command === 'update'\" @click=\"cancelUpdatedList()\">\n                {{ t('go-back') }}\n              </b-link>\n\n            </b-col>\n\n          </b-row>\n\n        </b-col>\n\n\n\n\n      </template>\n\n    </t-form-list>\n\n  </div>\n\n\n</template>\n<script>\nimport pageDefaultMixin from \"@/mixins/page/pageDefaultMixin\"\nimport pageFormMixin from \"@/mixins/page/pageFormMixin\"\nimport pageFormListMixin from \"@/mixins/page/pageFormListMixin\"\nimport tFormList from \"@/components/template/form/list/t-form-list\"\nimport pageViewService from \"@/services/modules/setting/PageView.service\";\n\n\nexport default {\n  mixins: [pageDefaultMixin, pageFormMixin, pageFormListMixin],\n  components: {tFormList},\n  name: 'ChecklistActivityFormChildEmbeddable',\n  data() {\n    return {\n      path: \"checklist/activity-child\" + this.activityNumber, //Utilizar somente quando fora do padrão\n      foreignKeyColumn: \"activity\" + this.activityNumber + \"Id\", //Utilizar quando usar Tabs com outros componentes\n      fields: [\n        {keyRead: \"activity\" + this.activityNumber + \"ChildId\", keyDelete: \"activity\" + this.activityNumber + \"ChildId\"},\n\n      ],\n      enableGeneralFields: true,\n      fieldKey: \"activityChild\" + this.activityNumber + \"Id\",\n      form: {\n        [\"activity\" + this.activityNumber + \"Id\"]: this.foreignKey,\n        [\"activity\" + this.activityNumber + \"ChildId\"]: 0,\n        checklistId: this.checklistId,\n        name: \"\",\n        note: \"\",\n        status: 1,\n\n      },\n      error: {//Campos que podem receber retorno de erro do backend\n        name: \"\",\n      },\n      fieldsNotReset: [//Marca os nomes de colunas que não devem ser resetados\n        this.foreignKeyColumn,\n          \"checklistId\",\n      ],\n      viewFieldsPageChild:[],\n      //--------------------------------------------------------------------------------------\n\n      //--------------------------------------------------------------------------------------\n    }\n  },\n  props: {\n    checklistId: Number,\n    activityNumber: Number,\n  },\n  computed: {\n    onForm() {\n      return this.form\n    }\n  },\n  methods: {\n\n    defaultForm() {\n\n      //Preenche somente os campos que foram limpos após o reset\n      this.defaultFormList()\n\n\n\n    },\n\n    mountedPrepare() {\n\n      this.mountedPrepareFormListDefault()\n\n    },\n\n    async mountedContinued() {\n\n      await pageViewService.getViewFieldsByPage(this.currentPage.pageId, true, [\"\"]).then((response) => {\n        this.viewFieldsPageChild = response\n\n        const cols = Math.round(10 / this.viewFieldsPageChild.length)\n\n        for(let viewFields of this.viewFieldsPageChild){\n          viewFields.cols = cols\n          this.fields.push(viewFields)\n        }\n\n      }).catch(error => this.responseError(error))\n\n      await this.getList()\n\n    },\n\n    async onSubmit() {\n\n      await this.setSendingFormListDefault(this.form[\"activity\" + this.activityNumber + \"ChildId\"])\n\n    },\n\n    mountedList() {\n\n      this.listIsLoaded = true\n\n    },\n    //--------------------------------------------------------------------------------------\n    //Início de métodos personalizados desta tela\n\n    //--------------------------------------------------------------------------------------\n  },\n  async mounted() {\n\n    this.mountedPrepare()\n\n    await this.mountedFormList()\n\n    await this.mountedContinued()\n\n  },\n}\n</script>\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!./ChecklistActivityFormChildEmbeddable.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!./ChecklistActivityFormChildEmbeddable.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ChecklistActivityFormChildEmbeddable.vue?vue&type=template&id=1b57dc8c&\"\nimport script from \"./ChecklistActivityFormChildEmbeddable.vue?vue&type=script&lang=js&\"\nexport * from \"./ChecklistActivityFormChildEmbeddable.vue?vue&type=script&lang=js&\"\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  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChecklistEnvironmentItemDialog.vue?vue&type=style&index=0&lang=css&\"","import Type from \"@/model/types/Type\";\r\n\r\n\r\nconst type = {\r\n    BEFORE: 10,\r\n    AFTER: 50,\r\n\r\n}\r\n\r\nconst list = [\r\n    {\r\n        value: type.BEFORE,\r\n        text: \"Início do relatório\",\r\n    },\r\n    {\r\n        value: type.AFTER,\r\n        text: \"Fim do relatório\",\r\n\r\n    },\r\n]\r\nconst contains = function (typeInput) {\r\n    return Type.contains(list, typeInput)\r\n}\r\n\r\nexport default {\r\n    type,\r\n    list,\r\n    contains\r\n}"],"sourceRoot":""}