{"version":3,"sources":["webpack:///./src/services/modules/production/ProcessFlowStep.service.js","webpack:///./src/mixins/embeddable/resource/defaultEmbeddableMixin.js","webpack:///./src/model/types/modules/production/FlowStepNotSequenceActionType.js","webpack:///./src/services/modules/production/ProductionOrderStep.service.js","webpack:///./src/model/types/modules/production/StepActionType.js","webpack:///./src/views/modules/production/ProductionOrder/embeddable/ProductionOrderStepEmbeddable.vue?6e73","webpack:///src/views/modules/production/ProductionOrder/embeddable/ProductionOrderStepEmbeddable.vue","webpack:///./src/views/modules/production/ProductionOrder/embeddable/ProductionOrderStepEmbeddable.vue?08ed","webpack:///./src/views/modules/production/ProductionOrder/embeddable/ProductionOrderStepEmbeddable.vue","webpack:///./src/mixins/embeddable/production/productionOrderStepEmbeddableMixin.js","webpack:///./src/services/modules/production/TypeNonConformance.service.js","webpack:///./src/model/types/modules/production/FlowStepGroupUserAccessType.js","webpack:///./src/model/types/modules/production/StatusStepType.js","webpack:///./src/views/modules/production/ProductionOrder/components/ProductionStatusBadge.vue?ccac","webpack:///src/views/modules/production/ProductionOrder/components/ProductionStatusBadge.vue","webpack:///./src/views/modules/production/ProductionOrder/components/ProductionStatusBadge.vue?8fdc","webpack:///./src/views/modules/production/ProductionOrder/components/ProductionStatusBadge.vue","webpack:///./src/model/types/modules/production/FlowStepRuleActionType.js","webpack:///./src/views/modules/production/ProductionOrder/components/StepActionDialog.vue?6ed8","webpack:///src/views/modules/production/ProductionOrder/components/StepActionDialog.vue","webpack:///./src/views/modules/production/ProductionOrder/components/StepActionDialog.vue?c29d","webpack:///./src/views/modules/production/ProductionOrder/components/StepActionDialog.vue","webpack:///./src/mixins/embeddable/resource/listEmbeddableMixin.js","webpack:///./src/model/types/modules/production/StatusProductionOrderType.js"],"names":["path","processFlowStepService","processFlowId","grouped","params","URLSearchParams","append","http","list","mixins","functionsMixins","data","currentPage","CurrentPageEntity","userAuth","UserAuthEntity","pageEmbeddableLoaded","mountAgain","methods","onMountedDefault","this","mountedContinued","reload","setTimeout","getAssemble","type","crudGeneral","then","response","catch","error","console","log","EXECUTION_PARALLEL","RETURN_SPECIFIC_STEP","DELEGATE_RULES","FINAL_INSPECTION_SHIPPING","value","text","contains","typeInput","Type","service","type_action","id","goProductionOrderBatchStepId","typeStopId","stopNote","action","productionOrderBatchStepId","post","state","form","onSubmitContinued","openAgainCallback","removeStatus","setAlternativeChosen","setTypeNonConformanceChosen","hasError","validateRules","ui","generalResponseError","productionOrderCodeLabel","get","set","typeNonConformanceOptions","TypeNonConformanceService","selectList","options","rule","msgConfirm","name","alertErrorsField","alert","field","undefined","goStep","statusProduction","typeActionRule","FlowStepRuleActionType","ALTERNATIVES","question","alternatives","alternative","requiredTypeNonConformance","item","typeNonConformanceId","INFO","info","BLOCK","msgError","getTypeNonConformanceChosen","typeNonConformanceChosen","checkTypeNonConformance","getAlternativeChosen","alternativeChosen","checkAlternative","chosen","object","document","getElementById","checked","parseInt","array","getElementsByName","Array","from","find","radio","START","FINISH","RETURN","STOP","CANCEL_STOP","SET_RESPONSIBLE","START_EXECUTION","FINISH_EXECUTION","SET_GROUP_USER","SET_OPERATION_STATUS","FINISH_WITH_SUCCESS","FINISH_WITH_ERROR","returnMessage","getText","getReturnMessage","message","a","render","_vm","_h","$createElement","_c","_self","attrs","modalActionType","modalActionStepId","on","onSubmitStepAction","t","pageTitle","request","totalPages","totalElements","getPage","scopedSlots","_u","key","fn","entityFieldCustomized","filteredDefault","filteredAdvanced","searchDefault","$event","clearSearch","_t","relationAccessSubValidation","staticClass","groupUserOptions","model","callback","$$v","$set","expression","_e","groupProductOptions","unitOptions","stepOptions","typeStatusProductionOptions","statusExecutionOptions","proxy","checkViewListTableDefault","checkIsFiltered","pageListIsLoaded","content","viewFields","_l","getViewFields","itemSlotsDefault","mountTemplate","ref","formatter","statusExecution","_v","statusBatch","typeActionNotSequential","FlowStepNotSequenceActionType","directives","rawName","modifiers","_s","responsibleName","stepActionSetResponsible","operatorId","operator","StatusProductionOrderType","PRODUCTION","statusProductionColor","style","pdfReportId","downloadReport","productionOrderId","staticRenderFns","components","pageDefaultMixin","StatusStepType","enableGeneralFields","props","Object","required","pathOrder","String","default","slot","mountedPrepare","setValue","afterGetPage","v","openDialogForm","watch","$emit","component","ProductionOrderStepEmbeddable","listEmbeddableMixin","mounted","formDefault","groupProductId","unitId","modelId","issueDate","groupUserId","operationStatusId","processFlowStepId","assign","FULL","ONLY_VIEW","CREATED","PENDING","CURRENT","DONE","DELETED","hasDone","DONE_WITH_ERROR","status","STOPPED_PRODUCTION","BEFORE_PRODUCTION","SCHEDULED","Number","GO_TO_STEP","CHANGE_STATUS_OPERATIONAL","generalErrors","title","okText","command","variant","showModal","resetModal","onSubmit","step","typeProductionReturnOptions","stopTypeOption","stopType","typeProductionStopOptions","operatorOptions","typeStatusProductionCommonOptions","addGroupUser","FlowStepGroupUserAccessType","addGroupSelected","pageDialogFormMixin","groupUsers","originalGroupUserOptions","dialogId","setGroupUserAvailable","length","el","push","indexRemove","splice","original","defaultEmbeddableMixin","yesOrNotOptions"],"mappings":"oMAGMA,EAAO,+BAEPC,E,gGAEF,WAA+C,IAApCC,EAAoC,uDAApB,EAAGC,EAAiB,wDAEvCC,EAAS,IAAIC,gBAQjB,OANIH,EAAgB,GAChBE,EAAOE,OAAO,gBAAiBJ,GAEhCC,GACCC,EAAOE,OAAO,UAAW,QAEtBC,OAAKC,KAAKR,EAAO,cAAeI,O,KAMhC,WAAIH,G,8GClBJ,QAEXQ,OAAQ,CAACC,QACTC,KAHW,WAIP,MAAO,CACHC,YAAaC,OACbC,SAAUC,OACVC,sBAAqB,EACrBC,YAAY,IAGpBC,QAAQ,CAEJC,iBAFI,SAEaL,GAEbM,KAAKN,SAAWA,EAGhBM,KAAKC,oBAGTC,OAVI,WAUI,WACJF,KAAKH,YAAa,EAElBM,YAAW,WACP,EAAKN,YAAa,IACpB,MAKAO,YApBF,SAoBcxB,EAAKyB,GAAK,wKAClBC,OAAYF,YAAYxB,EAAMyB,GAC/BE,MAAK,SAAAC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.1f147cb5.js","sourcesContent":["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 = \"production/process-flow-step\"\r\n\r\nclass processFlowStepService {\r\n\r\n selectList(processFlowId = 0, grouped = false) {\r\n\r\n let params = new URLSearchParams()\r\n\r\n if (processFlowId > 0)\r\n params.append(\"processFlowId\", processFlowId)\r\n\r\n if(grouped)\r\n params.append(\"grouped\", \"true\")\r\n\r\n return http.list(path + \"/selectList\", params);\r\n\r\n }\r\n\r\n}\r\n\r\nexport default new processFlowStepService();\r\n\r\n\r\n","import functionsMixins from \"@/mixins/page/functionsMixins\";\r\nimport CurrentPageEntity from \"@/model/entities/resource/entity/CurrentPageEntity\";\r\nimport UserAuthEntity from \"@/model/entities/resource/entity/UserAuthEntity\";\r\nimport {crudGeneral} from \"@/services/resource/GeneralCRUD.service\";\r\n\r\nexport default {\r\n\r\n mixins: [functionsMixins],\r\n data() {\r\n return {\r\n currentPage: CurrentPageEntity,\r\n userAuth: UserAuthEntity,\r\n pageEmbeddableLoaded:false,\r\n mountAgain: false,\r\n }\r\n },\r\n methods:{\r\n\r\n onMountedDefault(userAuth){\r\n\r\n this.userAuth = userAuth\r\n\r\n //Chama o mountedContinued interno\r\n this.mountedContinued()\r\n },\r\n\r\n reload(){\r\n this.mountAgain = true\r\n\r\n setTimeout(()=>{\r\n this.mountAgain = false\r\n },200)\r\n\r\n },\r\n\r\n /*MONTAGEM SIMPLIFICADA Utilizado quando é necessário realizar a montagem para condicionar a exibição do formulário*/\r\n async getAssemble(path,type){\r\n await crudGeneral.getAssemble(path, type)\r\n .then(response => {\r\n\r\n this.userAuth = response.data;\r\n this.currentPage = this.userAuth.currentPage\r\n\r\n\r\n })\r\n .catch(error => {\r\n console.log('Erro externo: ' + error)\r\n });\r\n }\r\n\r\n }\r\n\r\n}","import Type from \"@/model/types/Type\";\r\n\r\nconst type = {\r\n EXECUTION_PARALLEL: 4,\r\n/* RETURN_STEP_ORIGIN: 1,\r\n RETURN_NEXT_STEP_ORIGIN: 2,NÃO IMPLEMENTADOS NO BACK-END*/\r\n RETURN_SPECIFIC_STEP: 3,\r\n DELEGATE_RULES: 5,\r\n FINAL_INSPECTION_SHIPPING: 6,\r\n}\r\nconst list = [\r\n {\r\n value: type.EXECUTION_PARALLEL,\r\n text: \"Etapa em paralelo\",\r\n },\r\n /*{\r\n NÃO IMPLEMENTADOS NO BACK-END\r\n value: type.RETURN_STEP_ORIGIN,\r\n text: \"Retornar para mesma etapa de origem\",\r\n },\r\n {\r\n value: type.RETURN_NEXT_STEP_ORIGIN,\r\n text: \"Retornar para próxima etapa em relação a origem\",\r\n },*/\r\n {\r\n value: type.RETURN_SPECIFIC_STEP,\r\n text: \"Retornar para etapa específica\",\r\n },\r\n {\r\n value: type.DELEGATE_RULES,\r\n text: \"Definir posteriormente pelas regras\",\r\n },\r\n {\r\n value: type.FINAL_INSPECTION_SHIPPING,\r\n text: \"Inspeção Final para Expedição\",\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\nimport ui from \"@/assets/scripts/ui\";\r\nimport FlowStepRuleActionType from \"@/model/types/modules/production/FlowStepRuleActionType\";\r\nimport TypeNonConformanceService from \"@/services/modules/production/TypeNonConformance.service\";\r\n\r\n//Usado somente se for realmente necessário algo fora do padrão GeneralCRUD.service.js\r\nconst path = \"production/order-step\"\r\n\r\nclass service {\r\n\r\n action(type_action, id, goProductionOrderBatchStepId = 0, typeStopId = 0, stopNote = '') {\r\n\r\n const action = {\r\n action: type_action,\r\n productionOrderBatchStepId: id,\r\n goProductionOrderBatchStepId,\r\n typeStopId,\r\n stopNote,\r\n }\r\n\r\n return http.post(path + \"/action\", action).then(response => response.data);\r\n\r\n }\r\n\r\n async checkRules(state,form,onSubmitContinued,openAgainCallback,removeStatus,setAlternativeChosen,setTypeNonConformanceChosen) {\r\n\r\n return http.post(path + \"/checkRules\", form).then(async response => {\r\n\r\n if (response.data.hasError) {\r\n removeStatus()\r\n await this.validateRules(state,response.data, form, onSubmitContinued,openAgainCallback,setAlternativeChosen,setTypeNonConformanceChosen)\r\n } else {\r\n onSubmitContinued()\r\n }\r\n\r\n }).catch(error => ui.generalResponseError(this,error));\r\n }\r\n\r\n copyData(productionOrderBatchStepId, productionOrderCodeLabel) {\r\n return http.get(path + \"/copyData/?productionOrderBatchStepId=\" + productionOrderBatchStepId + \"&productionOrderCodeLabel=\" + productionOrderCodeLabel)\r\n }\r\n\r\n selectStopProductionRelationList(productionOrderBatchStepId) {\r\n\r\n let params = new URLSearchParams()\r\n params.set(\"productionOrderBatchStepId\", productionOrderBatchStepId)\r\n\r\n return http.list(path + \"/selectStopProductionRelationList\", params)\r\n }\r\n\r\n\r\n async validateRules(state,response,form,onSubmitContinued,openAgainCallback,setAlternativeChosen,setTypeNonConformanceChosen){\r\n\r\n let typeNonConformanceOptions = []\r\n\r\n await TypeNonConformanceService.selectList().then((options) => {\r\n typeNonConformanceOptions = options\r\n }).catch(error => ui.generalResponseError(state,error))\r\n\r\n\r\n const rule = response.rule\r\n\r\n\r\n\r\n let msgConfirm = '' + rule.name + \":
\"\r\n\r\n\r\n for (const alert of rule.alertErrorsField) {\r\n msgConfirm += `- ${alert.field} : ${alert.error}
`\r\n }\r\n\r\n\r\n if (rule.goStep !== undefined && rule.goStep !== null && rule.goStep !== '') {\r\n msgConfirm += \"
Caso continuar irá para etapa:
\" + rule.goStep + \"\"\r\n }\r\n\r\n if (rule.statusProduction !== undefined && rule.statusProduction !== null && rule.statusProduction !== '') {\r\n msgConfirm += \"
Caso continuar altera o status para:
\" + rule.statusProduction + \"\"\r\n }\r\n\r\n if (rule.typeActionRule === FlowStepRuleActionType.type.ALTERNATIVES) {\r\n\r\n msgConfirm += \"
\"\r\n\r\n msgConfirm += \"
\" + rule.question + \"
\"\r\n\r\n for (const alternative of rule.alternatives) {\r\n\r\n msgConfirm += \"
\" +\r\n \"\" +\r\n \"
\"\r\n\r\n }\r\n\r\n\r\n msgConfirm += \"

Escolha uma alternativa
\"\r\n\r\n }\r\n\r\n if (rule.requiredTypeNonConformance) {\r\n\r\n msgConfirm += \"
\"\r\n\r\n msgConfirm += \"
Escolha um tipo de não conformidade geral
\"\r\n\r\n msgConfirm += \"
\"\r\n\r\n }\r\n\r\n if (rule.typeActionRule === FlowStepRuleActionType.type.INFO) {\r\n msgConfirm += rule.info\r\n msgConfirm += \"
Obs.: Este é somente um lembrete, não haverá bloqueio ou impedimento de continuidade, deseja continuar mesmo assim?\"\r\n } else {\r\n msgConfirm += \"

Obs.: Está é a não conformidade de maior prioridade encontrada\"\r\n }\r\n\r\n if (rule.typeActionRule === FlowStepRuleActionType.type.INFO) {\r\n ui.msgConfirm(state, \"Informação\", msgConfirm, async () => {\r\n await onSubmitContinued()\r\n })\r\n } else if (rule.typeActionRule === FlowStepRuleActionType.type.BLOCK) {\r\n msgConfirm += \", NÃO será permitido continuar até correção do valor.\"\r\n\r\n ui.msgError(state, msgConfirm, null, \"Não conformidade encontrada\")\r\n\r\n } else {\r\n\r\n ui.msgConfirm(state, \"Não conformidade encontrada\", msgConfirm, async () => {\r\n\r\n let typeNonConformanceChosen = await this.getTypeNonConformanceChosen(state,rule.requiredTypeNonConformance,openAgainCallback)\r\n let checkTypeNonConformance = true\r\n\r\n if (rule.requiredTypeNonConformance && typeNonConformanceChosen === 0) {\r\n //Exigido escolha de tipo de não conformidade e a mesma não foi selecionada\r\n checkTypeNonConformance = false\r\n } else if (rule.requiredTypeNonConformance && typeNonConformanceChosen > 0) {\r\n //Exigido e escolhido corretamente\r\n setTypeNonConformanceChosen(typeNonConformanceChosen)\r\n }\r\n\r\n if (!checkTypeNonConformance)\r\n return false;//Pausa continuidade,pois já encontrou erro\r\n\r\n\r\n let alternativeChosen = await this.getAlternativeChosen(state,rule.typeActionRule,openAgainCallback)\r\n let checkAlternative = true\r\n\r\n if (rule.typeActionRule === FlowStepRuleActionType.type.ALTERNATIVES && alternativeChosen === 0) {\r\n //Tipo de escolha de alternativas e não escolhida uma alternativa\r\n checkAlternative = false\r\n } else if (rule.typeActionRule === FlowStepRuleActionType.type.ALTERNATIVES && alternativeChosen > 0) {\r\n setAlternativeChosen(alternativeChosen)\r\n }\r\n\r\n if (!checkAlternative)\r\n return false;//Pausa continuidade,pois já encontrou erro\r\n\r\n\r\n await onSubmitContinued()\r\n\r\n })\r\n\r\n }\r\n\r\n }\r\n\r\n\r\n async getTypeNonConformanceChosen(state,requiredTypeNonConformance,openAgainCallback) {\r\n\r\n let chosen = 0\r\n\r\n if (requiredTypeNonConformance) {\r\n\r\n const object = document.getElementById(\"typeNonConformanceChosen\");\r\n const checked = object.value\r\n\r\n if (checked !== null && checked !== undefined) {\r\n chosen = parseInt(object.value)\r\n }\r\n\r\n if (chosen === 0) {\r\n ui.msgError(state, 'Para continuar é necessário que você escolha o tipo de não conformidade geral desta ordem de fabricação', () => {\r\n openAgainCallback()\r\n //this.sendingForm()\r\n }, \"Escolha um tipo de não conformidade\")\r\n\r\n }\r\n\r\n }\r\n\r\n return chosen\r\n\r\n }\r\n\r\n async getAlternativeChosen(state,typeActionRule,openAgainCallback) {\r\n\r\n let chosen = 0\r\n\r\n if (typeActionRule === FlowStepRuleActionType.type.ALTERNATIVES) {\r\n\r\n const array = document.getElementsByName(\"alternativeChosen\");\r\n const checked = Array.from(array).find(radio => radio.checked);\r\n\r\n if (checked !== null && checked !== undefined) {\r\n chosen = parseInt(checked.value)\r\n }\r\n\r\n if (chosen === 0) {\r\n ui.msgError(state, 'Para continuar é necessário que você realize uma escolha entre as alternativas', () => {\r\n openAgainCallback()\r\n //this.sendingForm()\r\n }, \"Escolha uma alternativa\")\r\n }\r\n\r\n }\r\n\r\n return chosen\r\n }\r\n\r\n\r\n\r\n\r\n\r\n\r\n}\r\n\r\nexport default new service();\r\n\r\n\r\n","import Type from \"@/model/types/Type\";\r\n\r\nconst type = {\r\n\r\n START: 1,\r\n FINISH: 2,\r\n RETURN: 3,\r\n STOP: 4,\r\n CANCEL_STOP: 5,\r\n SET_RESPONSIBLE: 6,\r\n START_EXECUTION: 7,\r\n FINISH_EXECUTION: 8,\r\n SET_GROUP_USER: 9,\r\n SET_OPERATION_STATUS: 10,\r\n FINISH_WITH_SUCCESS: 20,\r\n FINISH_WITH_ERROR: 90,\r\n}\r\n\r\nconst list = [\r\n {\r\n value: type.START,\r\n text: \"Iniciar\",\r\n returnMessage: 'iniciada'\r\n },\r\n {\r\n value: type.FINISH,\r\n text: \"Finalizar\",\r\n returnMessage: 'finalizada'\r\n },\r\n {\r\n value: type.RETURN,\r\n text: \"Retornar\",\r\n returnMessage: 'retornada'\r\n },\r\n {\r\n value: type.STOP,\r\n text: \"Parar\",\r\n returnMessage: 'paralizada'\r\n },\r\n {\r\n value: type.CANCEL_STOP,\r\n text: \"Cancelar a paralização\",\r\n returnMessage: 'cancelada paralização'\r\n },\r\n {\r\n value: type.SET_RESPONSIBLE,\r\n text: \"Responsabilizar\",\r\n returnMessage: 'responsabilizada'\r\n },\r\n {\r\n value: type.SET_GROUP_USER,\r\n text: \"Responsabilizar\",\r\n returnMessage: 'responsabilizada'\r\n },\r\n {\r\n value: type.SET_OPERATION_STATUS,\r\n text: \"Alterar Status Operacional\",\r\n returnMessage: 'status operacional alterado'\r\n },\r\n {\r\n value: type.START_EXECUTION,\r\n text: \"Iniciar Execução\", /*??? acredito que neste contexto não seja utilizado*/\r\n returnMessage: 'iniciada Execução'\r\n },\r\n {\r\n value: type.FINISH_EXECUTION,\r\n text: \"Finalizar Execução\", /*??? acredito que neste contexto não seja utilizado*/\r\n returnMessage: 'finalizada Execução'\r\n },\r\n {\r\n value: type.FINISH_WITH_ERROR,\r\n text: \"Finalizar com erro\",\r\n returnMessage: 'finalizada definitivamente'\r\n },\r\n {\r\n value: type.FINISH_WITH_SUCCESS,\r\n text: \"Finalizar com sucesso\",\r\n returnMessage: 'finalizada definitivamente'\r\n },\r\n]\r\n\r\nconst contains = function (type) {\r\n return Type.contains(list, type)\r\n}\r\n\r\nconst getText = function (type) {\r\n return Type.getText(list, type)\r\n}\r\n\r\nconst getReturnMessage = function(type){\r\n\r\n const message = list.find(a => a.value === type).returnMessage\r\n\r\n if(message !== undefined){\r\n return message\r\n }else{\r\n return null\r\n }\r\n\r\n}\r\n\r\nexport default {\r\n type,\r\n list,\r\n contains,\r\n getText,\r\n getReturnMessage,\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',[_c('StepActionDialog',{attrs:{\"type\":_vm.modalActionType,\"production-order-batch-step-id\":_vm.modalActionStepId},on:{\"onSubmit\":_vm.onSubmitStepAction}}),_c('t-page-list',{attrs:{\"title\":_vm.t('list-of') + _vm.currentPage.pageTitle,\"user-auth\":_vm.userAuth,\"total-pages\":_vm.request.totalPages,\"total-elements\":_vm.request.totalElements,\"msg-return-gender-feminine\":\"\",\"title-items\":\"Ordens de Fabricação\"},on:{\"getPage\":_vm.getPage},scopedSlots:_vm._u([{key:\"search\",fn:function(){return [_c('t-content-header-search-default',{attrs:{\"placeholder\":\"Cód. Ordem de Fabricação\",\"big-search\":\"\",\"fields-custom\":_vm.entityFieldCustomized('page'),\"filtered-default\":_vm.filteredDefault,\"filtered-advanced\":_vm.filteredAdvanced,\"search-form\":_vm.form},on:{\"searchChange\":_vm.searchDefault,\"onClearSearch\":function($event){return _vm.clearSearch()}}},[_vm._t(\"search-header\"),_vm._t(\"search-default\",function(){return [(_vm.relationAccessSubValidation('sub-production-step-enable-list-all'))?_c('t-input-search',{staticClass:\"alert-warning p-1 pb-0 mb-2\",attrs:{\"small\":\"Habilitado, pois você possui acesso a listagem completa\",\"options\":_vm.groupUserOptions,\"label\":\"Responsável\",\"select\":\"\"},model:{value:(_vm.form.groupUserId),callback:function ($$v) {_vm.$set(_vm.form, \"groupUserId\", $$v)},expression:\"form.groupUserId\"}}):_vm._e(),_c('t-input-search',{attrs:{\"enable-range\":\"\",\"date\":\"\",\"label\":\"Data de Emissão\"},model:{value:(_vm.form.issueDate),callback:function ($$v) {_vm.$set(_vm.form, \"issueDate\", $$v)},expression:\"form.issueDate\"}})]}),_vm._t(\"search-footer\",function(){return [_c('b-row',[_c('t-input-search',{attrs:{\"cols\":\"4\",\"options\":_vm.groupProductOptions,\"label\":\"Grupo\",\"select\":\"\"},model:{value:(_vm.form.groupProductId),callback:function ($$v) {_vm.$set(_vm.form, \"groupProductId\", $$v)},expression:\"form.groupProductId\"}}),_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('t-input-code-label',{attrs:{\"model\":\"\",\"label\":\"Modelo\"},model:{value:(_vm.form.modelId),callback:function ($$v) {_vm.$set(_vm.form, \"modelId\", $$v)},expression:\"form.modelId\"}})],1),_c('t-input-search',{attrs:{\"cols\":\"4\",\"label\":\"Embalagem\",\"options\":_vm.unitOptions,\"select\":\"\"},model:{value:(_vm.form.unitId),callback:function ($$v) {_vm.$set(_vm.form, \"unitId\", $$v)},expression:\"form.unitId\"}})],1)]}),_c('b-row',[_c('t-input',{attrs:{\"cols\":\"4\",\"options\":_vm.stepOptions,\"label\":\"Etapa\",\"select\":\"\"},model:{value:(_vm.form.processFlowStepId),callback:function ($$v) {_vm.$set(_vm.form, \"processFlowStepId\", $$v)},expression:\"form.processFlowStepId\"}}),_c('t-input-search',{attrs:{\"options\":_vm.typeStatusProductionOptions,\"label\":\"Status Operacional\",\"cols\":\"4\",\"select\":\"\"},model:{value:(_vm.form.operationStatusId),callback:function ($$v) {_vm.$set(_vm.form, \"operationStatusId\", $$v)},expression:\"form.operationStatusId\"}}),_c('t-input-search',{attrs:{\"options\":_vm.statusExecutionOptions,\"label\":\"Status Execução\",\"cols\":\"4\",\"radio\":\"\"},model:{value:(_vm.form.statusExecution),callback:function ($$v) {_vm.$set(_vm.form, \"statusExecution\", $$v)},expression:\"form.statusExecution\"}})],1)],2)]},proxy:true}],null,true)},[_c('t-table',{attrs:{\"show\":_vm.checkViewListTableDefault(),\"filtered\":_vm.checkIsFiltered(),\"busy\":!_vm.pageListIsLoaded,\"items\":_vm.request.content,\"user-auth\":_vm.userAuth,\"fields\":_vm.userAuth.viewFields,\"link-primary-column\":\"productionOrderCodeLabel\",\"primary-key-column\":\"productionOrderBatchStepId\"},scopedSlots:_vm._u([_vm._l((_vm.getViewFields(_vm.itemSlotsDefault)),function(field){return {key:_vm.mountTemplate(field),fn:function(ref){\nvar item = ref.item;\nreturn [_vm._t('item(' + field.key + ')',function(){return [_c('t-table-field',{attrs:{\"column\":field.key,\"formatter\":field.formatter,\"item\":item}})]},{\"item\":item})]}}}),{key:\"item(statusExecution)\",fn:function(ref){\nvar item = ref.item;\nreturn [_vm._t(\"item(statusExecution)\",function(){return [(item.statusExecution === 1)?_c('span',[_vm._v(\"Em execução\")]):_c('span',[_vm._v(\"Aguardando início\")])]},{\"item\":item})]}},{key:\"item(statusBatch)\",fn:function(ref){\nvar item = ref.item;\nreturn [_vm._t(\"item(statusBatch)\",function(){return [_c('ProductionStatusBadge',{attrs:{\"status\":item.statusBatch}})]},{\"item\":item})]}},{key:\"item(name)\",fn:function(ref){\nvar item = ref.item;\nreturn [_vm._t(\"item(name)\",function(){return [(item.typeActionNotSequential === _vm.FlowStepNotSequenceActionType.type.EXECUTION_PARALLEL)?_c('b-icon-bezier',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.ds500\",modifiers:{\"hover\":true,\"ds500\":true}}],attrs:{\"title\":\"Etapa em paralelo disponível para finalização\"}}):_c('b-icon-bezier2',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.ds500\",modifiers:{\"hover\":true,\"ds500\":true}}],attrs:{\"title\":\"Etapa atual\"}}),_vm._v(\" \"+_vm._s(item.name)+\" \")]},{\"item\":item})]}},{key:\"item(responsibleName)\",fn:function(ref){\nvar item = ref.item;\nreturn [_vm._v(\" \"+_vm._s(item.responsibleName)+\" \"),(_vm.relationAccessSubValidation('sub-production-step-change-responsibility'))?_c('div',[_c('b-link',{on:{\"click\":function($event){return _vm.stepActionSetResponsible(item.productionOrderBatchStepId,'set_groupUser')}}},[_vm._v(\"Alterar?\")])],1):_vm._e()]}},{key:\"item(operator)\",fn:function(ref){\nvar item = ref.item;\nreturn [_vm._t(\"item(operator)\",function(){return [(item.operatorId === 0)?_c('div',[_c('small',[_vm._v(\"Sem operador\")]),(_vm.relationAccessSubValidation('sub-production-step-change-responsibility'))?_c('div',[_c('b-link',{on:{\"click\":function($event){return _vm.stepActionSetResponsible(item.productionOrderBatchStepId,'set_responsible')}}},[_vm._v(\"Alterar?\")])],1):_vm._e()]):_c('div',[_c('span',[_vm._v(_vm._s(item.operator))]),(_vm.relationAccessSubValidation('sub-production-step-change-responsibility'))?_c('div',[_c('b-link',{on:{\"click\":function($event){return _vm.stepActionSetResponsible(item.productionOrderBatchStepId)}}},[_vm._v(\"Alterar?\")])],1):_vm._e()])]},{\"item\":item})]}},{key:\"append-actions\",fn:function(ref){\nvar item = ref.item;\nreturn [_vm._t(\"append-actions\",null,{\"item\":item})]}},{key:\"item(statusProduction)\",fn:function(ref){\nvar item = ref.item;\nreturn [_vm._t(\"item(statusProduction)\",function(){return [(item.statusBatch === _vm.StatusProductionOrderType.type.PRODUCTION)?_c('div',{staticClass:\"d-flex align-items-center\"},[(item.statusProductionColor !== '')?_c('span',{staticClass:\"badge badge-dot badge-dot-xl mr-2\",style:({'background-color': item.statusProductionColor})}):_vm._e(),_vm._v(\" \"+_vm._s(item.statusProduction)+\" \")]):_c('span')]},{\"item\":item})]}},{key:\"actions\",fn:function(ref){\nvar item = ref.item;\nreturn [_vm._t(\"actions\",function(){return [(item.pdfReportId && item.pdfReportId > 0 && _vm.relationAccessSubValidation('sub-production-step-order-detail'))?_c('b-button',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.ds500\",modifiers:{\"hover\":true,\"ds500\":true}}],attrs:{\"title\":\"Gerar PDF\",\"size\":\"sm\",\"variant\":\"outline\"},on:{\"click\":function($event){return _vm.downloadReport(item.pdfReportId, item.productionOrderId, item.productionOrderCodeLabel)}}},[_c('b-icon-file-pdf',{attrs:{\"variant\":\"primary\"}})],1):_vm._e()]},{\"item\":item})]}}],null,true)})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./ProductionOrderStepEmbeddable.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!./ProductionOrderStepEmbeddable.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ProductionOrderStepEmbeddable.vue?vue&type=template&id=38bad76a&\"\nimport script from \"./ProductionOrderStepEmbeddable.vue?vue&type=script&lang=js&\"\nexport * from \"./ProductionOrderStepEmbeddable.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 listEmbeddableMixin from \"@/mixins/embeddable/resource/listEmbeddableMixin\";\r\nimport ProductionOrderStepEmbeddable from \"@/views/modules/production/ProductionOrder/embeddable/ProductionOrderStepEmbeddable\";\r\n\r\nexport default {\r\n components:{ProductionOrderStepEmbeddable},\r\n mixins: [listEmbeddableMixin],\r\n data() {\r\n return {\r\n path: \"production/order-step\", //Override somente de front-end, por tanto irá utilizar o mesmo path que o original da página por padrão\r\n }\r\n\r\n },\r\n async mounted() {\r\n\r\n /*Declarar todos os campos no padrão que podem ser utilizados*/\r\n\r\n const formDefault = {\r\n default: \"\", //NÃO ESQUECER DOS CAMPOS PADROES DE BUSCA COMO DEFAULT E STATUS (caso existir)\r\n groupProductId: 0,\r\n unitId: 0,\r\n modelId:0,\r\n issueDate: \"\",\r\n statusExecution: null,\r\n groupUserId: 0,\r\n operationStatusId: 0,\r\n processFlowStepId:[],\r\n statusBatch: 0,\r\n }\r\n\r\n this.form = Object.assign({}, formDefault,this.form);\r\n },\r\n methods:{\r\n\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 = \"production/type-non-conformance\"\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}\r\n\r\nexport default new service();","import Type from \"@/model/types/Type\";\r\n\r\nconst type = {\r\n FULL: 1,\r\n ONLY_VIEW: 2,\r\n}\r\n\r\nconst list = [\r\n {\r\n value: type.FULL,\r\n text: \"Responsável\",\r\n },\r\n {\r\n value: type.ONLY_VIEW,\r\n text: \"Visualização\",\r\n },\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 CREATED : 0,\r\n PENDING : 1,\r\n CURRENT : 2,\r\n DONE : 3,\r\n DELETED : 99,\r\n}\r\n\r\nconst list = [\r\n {\r\n value: type.CREATED,\r\n text: \"Criada\",\r\n },\r\n {\r\n value: type.PENDING,\r\n text: \"Pendente\",\r\n },\r\n {\r\n value: type.CURRENT,\r\n text: \"Atual\",\r\n },\r\n {\r\n value: type.DONE,\r\n text: \"Finalizada\",\r\n },\r\n {\r\n value: type.DELETED,\r\n text: \"Excluída\",\r\n },\r\n\r\n]\r\n\r\nconst contains = function (typeInput) {\r\n return Type.contains(list, typeInput)\r\n}\r\n\r\nconst hasDone = function(t) {\r\n return t === type.DONE || t === type.DONE_WITH_ERROR\r\n}\r\n\r\nexport default {\r\n type,\r\n list,\r\n contains,\r\n hasDone\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 (_vm.status === _vm.StatusProductionOrderType.type.DONE)?_c('b-badge',{attrs:{\"variant\":\"success\"}},[_vm._v(\"Produzido \")]):(_vm.status === _vm.StatusProductionOrderType.type.DONE_WITH_ERROR)?_c('b-badge',{attrs:{\"variant\":\"danger\"}},[_vm._v(\"Finalizada com Erro \")]):(_vm.status === _vm.StatusProductionOrderType.type.STOPPED_PRODUCTION)?_c('b-badge',{attrs:{\"variant\":\"danger\"}},[_vm._v(\"Parada \")]):(_vm.status === _vm.StatusProductionOrderType.type.BEFORE_PRODUCTION)?_c('b-badge',{attrs:{\"variant\":\"warning\"}},[_vm._v(\"Aguardando programação \")]):(_vm.status === _vm.StatusProductionOrderType.type.SCHEDULED)?_c('b-badge',{attrs:{\"variant\":\"warning\"}},[_vm._v(\"Agendada \")]):(_vm.status === _vm.StatusProductionOrderType.type.PENDING)?_c('b-badge',{attrs:{\"variant\":\"light\"}},[_vm._v(\"Pendente \")]):(_vm.status === _vm.StatusProductionOrderType.type.PRODUCTION)?_c('b-badge',{attrs:{\"variant\":\"warning\"}},[_vm._v(\"Em andamento \")]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./ProductionStatusBadge.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!./ProductionStatusBadge.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ProductionStatusBadge.vue?vue&type=template&id=01a04554&\"\nimport script from \"./ProductionStatusBadge.vue?vue&type=script&lang=js&\"\nexport * from \"./ProductionStatusBadge.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\r\n GO_TO_STEP: 1,\r\n FINISH_WITH_ERROR: 2,\r\n CHANGE_STATUS_OPERATIONAL: 3,\r\n BLOCK: 4,\r\n INFO: 5,\r\n ALTERNATIVES: 6,\r\n}\r\n\r\nconst list = [\r\n {\r\n value: type.GO_TO_STEP,\r\n text: \"Ir para etapa de correção\",\r\n },\r\n {\r\n value: type.FINISH_WITH_ERROR,\r\n text: \"Finalizar com erro\",\r\n },\r\n {\r\n value: type.CHANGE_STATUS_OPERATIONAL,\r\n text: \"Alterar status operacional\",\r\n },\r\n {\r\n value: type.BLOCK,\r\n text: \"Bloquear e não permitir avançar\",\r\n },\r\n {\r\n value: type.INFO,\r\n text: \"Informar apenas, sem bloquear\",\r\n },\r\n {\r\n value: type.ALTERNATIVES,\r\n text: \"Exibir alternativas\",\r\n },\r\n]\r\n\r\nconst contains = function (type) {\r\n return Type.contains(list, type)\r\n}\r\n\r\nconst getText = function (type) {\r\n return Type.getText(list, type)\r\n}\r\n\r\nexport default {\r\n type,\r\n list,\r\n contains,\r\n getText,\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:{\"generalErrors\":_vm.generalErrors,\"title\":_vm.title,\"ok-text\":_vm.okText,\"id\":_vm.id,\"command\":_vm.command,\"status\":_vm.status,\"variant\":_vm.variant},on:{\"show\":_vm.showModal,\"hidden\":_vm.resetModal,\"onSubmit\":_vm.onSubmit}},[_c('table',{staticClass:\"mb-2 table-bordered table\"},[_c('thead',[_c('tr',[_c('td',[_vm._v(\"Ordem de Fabricação\")]),_c('td',[_vm._v(\"Etapa atual\")])])]),_c('tbody',[_c('tr',[_c('td',[_c('b',[_vm._v(_vm._s(_vm.step.productionOrderCodeLabel))])]),_c('td',[_c('b',[_vm._v(_vm._s(_vm.step.name))])])])])]),(_vm.type === 'return')?_c('div',[_c('t-input',{attrs:{\"required\":\"\",\"select\":\"\",\"options\":_vm.stepOptions,\"label\":\"Etapa desejada\"},model:{value:(_vm.form.goProductionOrderBatchStepId),callback:function ($$v) {_vm.$set(_vm.form, \"goProductionOrderBatchStepId\", $$v)},expression:\"form.goProductionOrderBatchStepId\"}}),_c('t-input',{attrs:{\"required\":\"\",\"select\":\"\",\"options\":_vm.typeProductionReturnOptions,\"label\":\"Motivo\"},model:{value:(_vm.form.typeStopId),callback:function ($$v) {_vm.$set(_vm.form, \"typeStopId\", $$v)},expression:\"form.typeStopId\"}}),_c('t-input',{attrs:{\"textarea\":\"\",\"label\":\"Descrição adicional\"},model:{value:(_vm.form.stopNote),callback:function ($$v) {_vm.$set(_vm.form, \"stopNote\", $$v)},expression:\"form.stopNote\"}})],1):(_vm.type === 'stop')?_c('div',[_c('t-input',{attrs:{\"stacked\":\"\",\"options\":_vm.stopTypeOption,\"radio\":\"\",\"required\":\"\"},model:{value:(_vm.stopType),callback:function ($$v) {_vm.stopType=$$v},expression:\"stopType\"}}),(_vm.stopType === 1)?_c('t-input',{attrs:{\"required\":\"\",\"select\":\"\",\"options\":_vm.typeProductionStopOptions,\"label\":\"Motivo\"},model:{value:(_vm.form.typeStopId),callback:function ($$v) {_vm.$set(_vm.form, \"typeStopId\", $$v)},expression:\"form.typeStopId\"}}):(_vm.stopType === 2)?_c('t-input',{attrs:{\"required\":\"\",\"select\":\"\",\"options\":_vm.typeStatusProductionOptions,\"label\":\"Status do Erro\"},model:{value:(_vm.form.operationStatusId),callback:function ($$v) {_vm.$set(_vm.form, \"operationStatusId\", $$v)},expression:\"form.operationStatusId\"}}):_vm._e(),_c('t-input',{attrs:{\"textarea\":\"\",\"label\":\"Descrição adicional\"},model:{value:(_vm.form.stopNote),callback:function ($$v) {_vm.$set(_vm.form, \"stopNote\", $$v)},expression:\"form.stopNote\"}})],1):(_vm.type === 'cancel_stop')?_c('div',{staticClass:\"p-3\"},[_c('h5',[_vm._v(\"Deseja continuar com a produção?\")])]):(_vm.type === 'set_responsible')?_c('div',[_c('t-input',{attrs:{\"required\":\"\",\"select\":\"\",\"options\":_vm.operatorOptions,\"label\":\"Operador responsável\"},model:{value:(_vm.form.operatorId),callback:function ($$v) {_vm.$set(_vm.form, \"operatorId\", $$v)},expression:\"form.operatorId\"}})],1):(_vm.type === 'set_operationStatus')?_c('div',[_c('t-input',{attrs:{\"required\":\"\",\"select\":\"\",\"options\":_vm.typeStatusProductionCommonOptions,\"label\":\"Status Operacional novo\"},model:{value:(_vm.form.operationStatusId),callback:function ($$v) {_vm.$set(_vm.form, \"operationStatusId\", $$v)},expression:\"form.operationStatusId\"}})],1):(_vm.type === 'set_groupUser')?_c('div',[_c('b-row',[_c('t-input',{attrs:{\"cols\":\"8\",\"select\":\"\",\"options\":_vm.groupUserOptions,\"label\":\"Grupo de Usuários\"},model:{value:(_vm.groupUserId),callback:function ($$v) {_vm.groupUserId=$$v},expression:\"groupUserId\"}}),_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('t-button',{attrs:{\"outline-primary\":\"\",\"form-inline\":\"\"},on:{\"click\":_vm.addGroupUser}},[_vm._v(\"Adicionar\")])],1)],1),_c('b-list-group',_vm._l((_vm.form.groupUsers),function(item){return _c('b-list-group-item',{key:item.groupUserId,staticClass:\"m-0 p-0\"},[_c('b-row',{staticClass:\"d-flex align-items-center\"},[_c('div',{staticClass:\"col-10 d-flex align-items-center\"},[_c('b-row',[_c('div',{staticClass:\"col-12 pt-1\"},[_c('b',{staticClass:\"pl-2\"},[_vm._v(_vm._s(item.name))])]),_c('div',{staticClass:\"col-12\"},[_c('t-input',{attrs:{\"radio\":\"\",\"options\":_vm.FlowStepGroupUserAccessType.list},model:{value:(item.stepTypeAccess),callback:function ($$v) {_vm.$set(item, \"stepTypeAccess\", $$v)},expression:\"item.stepTypeAccess\"}})],1)])],1),_c('div',{staticClass:\"col-2\"},[_c('b-icon-trash',{staticClass:\"text-danger opacity-6 opacity-10-hover link\",on:{\"click\":function($event){return _vm.addGroupSelected(false, item.groupUserId)}}})],1)])],1)}),1)],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./StepActionDialog.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!./StepActionDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./StepActionDialog.vue?vue&type=template&id=49d8220a&\"\nimport script from \"./StepActionDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./StepActionDialog.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 defaultEmbeddableMixin from \"@/mixins/embeddable/resource/defaultEmbeddableMixin\";\r\n\r\nexport default {\r\n\r\n mixins: [defaultEmbeddableMixin],\r\n data() {\r\n return {\r\n yesOrNotOptions: [{value: \"Y\", text: this.t('yes')}, {value: \"N\", text: this.t('no')}],\r\n }\r\n }\r\n}","import Type from \"@/model/types/Type\";\r\n\r\nconst type = {\r\n PENDING : 1,\r\n SCHEDULED : 2,\r\n BEFORE_PRODUCTION : 3,\r\n PRODUCTION : 4,\r\n DONE : 10,\r\n STOPPED_PRODUCTION : 90,\r\n DONE_WITH_ERROR : 91,\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.SCHEDULED,\r\n text: \"Programado\",\r\n },\r\n {\r\n value: type.BEFORE_PRODUCTION,\r\n text: \"Aguardando início\",\r\n },\r\n {\r\n value: type.PRODUCTION,\r\n text: \"Em andamento\",\r\n },\r\n {\r\n value: type.STOPPED_PRODUCTION,\r\n text: \"Parado\",\r\n },\r\n {\r\n value: type.DONE,\r\n text: \"Finalizado\",\r\n },\r\n {\r\n value: type.DONE_WITH_ERROR,\r\n text: \"Finalizado com erro\",\r\n },\r\n\r\n]\r\n\r\nconst contains = function (typeInput) {\r\n return Type.contains(list, typeInput)\r\n}\r\n\r\nconst hasDone = function(t) {\r\n return t === type.DONE || t === type.DONE_WITH_ERROR\r\n}\r\n\r\nexport default {\r\n type,\r\n list,\r\n contains,\r\n hasDone\r\n}\r\n\r\n\r\n"],"sourceRoot":""}