{"version":3,"sources":["webpack:///./src/components/FamiPhone.vue?462e","webpack:///src/components/FamiPhone.vue","webpack:///./src/components/FamiPhone.vue?79a3","webpack:///./src/components/FamiPhone.vue","webpack:///../../../src/components/VFileInput/VFileInput.ts","webpack:///../../../src/components/VTextField/index.ts","webpack:///../../../src/components/VRadioGroup/VRadioGroup.ts","webpack:///./src/views/corresponsal/Tramites.vue?a34f","webpack:///./src/components/corresponsal/CorresponsalForm.vue?522f","webpack:///src/components/corresponsal/CorresponsalForm.vue","webpack:///./src/components/corresponsal/CorresponsalForm.vue?1ef6","webpack:///./src/components/corresponsal/CorresponsalForm.vue","webpack:///src/views/corresponsal/Tramites.vue","webpack:///./src/views/corresponsal/Tramites.vue?2640","webpack:///../../../src/components/VSwitch/VSwitch.ts","webpack:///./src/views/corresponsal/Tramites.vue","webpack:///../../../src/components/VRadioGroup/VRadio.ts","webpack:///./src/components/FamiAddress.vue?6a80","webpack:///../../../src/components/VTextarea/VTextarea.ts","webpack:///./src/components/corresponsal/CorresponsalForm.vue?3f89","webpack:///../../../src/components/VAutocomplete/VAutocomplete.ts","webpack:///./src/components/FamiAddress.vue?2a5c","webpack:///src/components/FamiAddress.vue","webpack:///./src/components/FamiAddress.vue?6c49","webpack:///./src/components/FamiAddress.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","labelField","required","viewPlaceholder","isCellPhone","rules","allowedNumbers","minCharacters","filled","color","disabled","on","inputChange","$event","type","indexOf","_k","keyCode","key","preventDefault","isNumber","paste","model","value","callback","$$v","numberPhone","expression","staticRenderFns","component","VTextField","name","prop","event","props","chips","clearable","default","counterSizeString","counterString","hideInput","placeholder","prependIcon","readonly","showSize","Boolean","validator","v","includes","smallChips","truncateLength","Number","val","computed","classes","computedCounterValue","fileCount","isMultiple","lazyValue","$vuetify","lang","t","bytes","internalArrayValue","reduce","size","base","internalValue","get","set","isDirty","length","isLabelActive","$attrs","hasOwnProperty","text","isFocused","map","file","truncatedText","hasChips","watch","handler","immediate","$refs","input","methods","clearableCallback","genChips","small","genControl","display","genInput","genPrependSlot","icon","genIcon","genSlot","genSelectionText","genSelections","children","$scopedSlots","index","staticClass","class","selection","genTextFieldSlot","node","click","onInput","files","e","onKeyDown","truncateText","str","charsKeepOneSide","Math","baseMixins","provide","radioGroup","column","height","row","genDefaultSlot","id","role","computedId","genInputSlot","genLabel","label","onClick","isLoading","directives","rawName","headers","entity","dataFiltro","urlLista","popup","updateTable","formTitle","parametrosTabla","editItem","openFormFunc","onRowSelect","scopedSlots","_u","fn","_v","_s","busquedaAvanzada","proxy","_e","stopPropagation","filtrar","limpiarFiltro","tablaBusquedaGeneral","listas","tiposDocumento","tipoDoc","doc","listaFechas","fechaSeleccionada","ref","_g","fechaFiltroInicial","menuFechaInicial","Date","toISOString","slice","fechaFiltroFinal","menuFechaFinal","staticStyle","onAfiladoExistente","verTramite","afiladoExiste","handleSaveEntity","tiposTramite","tipoTramite","rulCorresponsal","afiliado","$set","buscarAfiliado","nombreCompleto","genero","contacto","celular","telefono","afiladoExistente","rulEmail","departamentos","listMunicipio","direccionResidencia","guardarDireccion","tarea","idTramite","idInstanciaTarea","estadoInstanciaTarea","fechaCreacionFormat","fechaVencimientoFormat","fechaFinalizacion","fechaFinalizacionFormat","responsableNombreCompleto","tareas","planes","plan","incapacidadFechaInicio","incapacidadFechaFin","isPac","ips","conCertificado","reportExcepcion","cambiarArchivo","tiposDocumental","tipoDocumental","agregarArchivo","headersFile","entityFile","opcionesTablaArchivo","dataFile","pageText","showCurrentPage","borrarArchivo","clickRowFuncFile","pathFile","recursoPdf","headersRadicado","entityRadicado","dataRadicado","components","FamiLoading","FamiPhone","FamiAddress","FamiTable","FamiViewer","datosBasicos","Object","data","urlCorresponsal","$httpClient","defaults","corresponsal","urlProceso","urlTareasProceso","mensajeTiposDocumental","tipoDocumento","numeroDocumento","correo","municipio","departamento","barrio","fechaCreacion","fechaVencimiento","nombre","contenido","expedida","numeroRadicacion","estado","causalDecision","servicio","ipsNombre","dirIps","telIps","pago","observaciones","fechasVigencia","numOrden","codigoCausal","estadoSeguimiento","numAut","url","typeFile","blob","requiereActualizacion","camposSoporteAutorizacion","municipioActualizacion","rulesSoportesDocumental","mostrarAgregarArchivo","sDate","created","cargarProcesos","cargarTareasPorProceso","assign","cargarMpio","establecerArchivoPreview","faltaSoporteTipoDocumental","form","archivo","filter","push","message","urlDoc","URL","createObjectURL","vm","endPointUrl","generarNombreCompleto","direccion","completaDireccion","predata","tipoIdentificacion","identificacion","determinarActualizacionContacto","find","municipioId","establecerContactoVacio","establecerAfiliadoNoEncontrado","emitirAfiladoExistente","establecerAfiliadoVacio","$emit","existe","obtenerTramite","formularioCorresponsal","formulario","tramite","tareaId","obtenerContacto","datos","obtenerDatosTramite","formBusqueda","validate","incapacidad","fechaInicio","fechaFin","falta","formCargarDocumento","archivosDesdeDataFile","contenidos","datafileCopy","verTareaTramite","entidad","procesoDto","sexo","tienePac","tareaDto","datosTarea","autorizacionesSolicitud","VAutocomplete","VBtn","VCard","VCardText","VCheckbox","VChip","VCol","VContainer","VDatePicker","VDivider","VFileInput","VForm","VListItemTitle","VList","VMenu","VRow","VSpacer","VTextarea","CorresponsalForm","urlDefault","urlFechas","urlTipoYDocumento","urlCrearTramiteCertificado","urlDatosBasicos","urlCrearTramiteAutorizacion","urlBuscarInstanciaTarea","proceso","responsable","cargarListas","limpiarFiltroFechas","limpiarFiltroBusquedaGeneral","limpiarFiltroDocumento","limpiarOtrosFiltros","formTramite","buscarInstanciaTarea","busquedaGeneral","fechaBusqueda","fechaInicial","fechaFinal","validarTipoYDocumento","validarFechasFiltro","_","isEmpty","generarAutorizacion","archivos","formData","append","forEach","generarCertificado","Touch","inset","loading","flat","VInput","String","validationState","hasError","hasColor","switchData","setTextColor","undefined","themeClasses","genSwitch","attrs$","genRipple","left","right","onSwipeRight","genProgress","$slots","progress","VProgressCircular","width","indeterminate","onSwipeLeft","onChange","onKeydown","VCardActions","VSwitch","inheritAttrs","offIcon","onIcon","groupClasses","computedColor","computedIcon","isActive","hasLabel","hasState","isDisabled","isReadonly","computedName","rippleState","for","focused","genRadio","dense","onFocus","onBlur","h","autoGrow","noResize","rowHeight","isNaN","parseFloat","rows","parseInt","noResizeHandle","$nextTick","mounted","setTimeout","calculateInputHeight","minHeight","defaultMenuProps","offsetY","offsetOverflow","transition","allowOverflow","autoSelectFirst","itemText","queryText","hideNoData","menuProps","noFilter","searchInput","lazySearch","selectedIndex","computedItems","selectedValues","selectedItems","item","hasDisplayedItems","hideSelected","filteredItems","some","currentRange","selectedItem","getText","internalSearch","allItems","isAnyValueAllowed","searchIsDirty","isSearching","multiple","menuCanShow","$_menuProps","i","listData","items","document","isMenuActive","oldVal","activateMenu","destroyed","onFilteredItemsChanged","onInternalSearchChanged","updateMenuDimensions","menu","changeSelectedIndex","deleteCurrentItem","curIndex","curItem","getDisabled","lastIndex","nextIndex","nextItem","autocomplete","domProps","slot","hasSlot","isAppendInner","target","onSpaceDown","onTabDown","onUpDown","selectItem","setSelectedItems","setSearch","updateSelf","valueComparator","getValue","hasItem","onCopy","currentItem","currentItemText","ciudad","requerido","openDialogDireccionForm","sizeWidth","dialog","colorToolbar","closePopupDireccion","zona","tiposVia","searchInputTipoVia","isAllowed","listTipoInmuebles","searchInputTipoInmueble","tipoInmueble","complementosDireccion","searchInputComplementoDireccion","complementoDireccion","rulObservacion","colorBtnSave","saveAddressForm","colorBntCancel","VDialog","VIcon","VListItem","VListItemContent","VRadio","VRadioGroup","VToolbar","VToolbarTitle"],"mappings":"mIAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,eAAe,CAACE,MAAM,CAAC,MAAcN,EAAIO,YAAcP,EAAIQ,SAAW,KAAO,IAAK,YAAcR,EAAIS,gBAAmBT,EAAIU,YAAc,+BAAiC,gCAAmC,GAAG,MAAQV,EAAIQ,SAAW,CAACR,EAAIW,MAAMH,SAA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oBACA,wBACA,gCACA,wBACA,UACA,kBAOA,OAKA,oCACA,+DACA,qCAOA,4CACA,+EACA,iDAMA,yCACA,wEACA,sBAIA,aA5BA,SA4BA,GACA,EACA,mDAEA,oBAOA,SACA,UADA,SACA,GACA,qCACA,iDACA,SAEA,oBAUA,wBAhBA,SAgBA,GACA,gBACA,qEACA,gDACA,gBAKA,cAzBA,WA0BA,0BACA,8BACA,yBACA,oCACA,yBACA,+BACA,mCACA,uCACA,+CACA,gCACA,uCACA,yBACA,8BACA,gCACA,oCACA,6BACA,kCACA,2CASA,oBApDA,WAqDA,2CACA,gBAKA,gBA3DA,WA4DA,sCACA,eACA,gCACA,qLACA,sIACA,kKACA,qGACA,+BACA,qLACA,gEAEA,6EAGA,2CAIA,iBA9EA,WA+EA,6CAGA,SAlFA,SAkFA,GACA,0BACA,8BACA,yBACA,oCACA,yBACA,+BACA,mCACA,uCACA,+CACA,gCACA,uCACA,yBACA,8BACA,gCACA,mBACA,kBACA,yBACA,2BACA,gCACA,uCACA,eACA,yBACA,8CACA,WACA,6BACA,IACA,sBACA,OAEA,GADA,6BACA,6BAIA,uCAEA,GALA,4BACA,eAIA,qDACA,uCAGA,uCACA,sBAKA,GAJA,kCACA,6CACA,kCACA,sCACA,2BACA,6BACA,sCACA,iCAEA,+BAEA,yCAEA,8BACA,6BACA,0CACA,yCAEA,+BAEA,sDAGA,SACA,qCAGA,uCACA,yBACA,8BACA,gCAEA,uCCldgZ,I,8RCQ5YC,EAAY,eACd,EACApC,EACAmC,GACA,EACA,KACA,WACA,MAIa,OAAAC,EAAiB,QAyBhC,IAAkBA,EAAW,CAACmT,gBAAA,KAAcC,OAAA,KAAKC,QAAA,KAAM2E,aAAA,OAAa1E,UAAA,OAAUG,OAAA,KAAKC,aAAA,KAAWsM,UAAA,KAAQpM,WAAA,KAASE,QAAA,KAAMmM,QAAA,KAAMC,YAAA,KAAUC,iBAAAnM,EAAA,KAAiBoM,SAAA,KAAOC,cAAA,KAAYnM,OAAA,KAAKC,UAAA,KAAQlU,aAAA,KAAWmU,YAAA,KAAUkM,WAAA,KAASC,cAAA","file":"js/chunk-8a3ae8d6.4c9f2fcd.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-text-field',{attrs:{\"label\":(\"\" + _vm.labelField + (_vm.required ? ' *' : '')),\"placeholder\":_vm.viewPlaceholder ? (_vm.isCellPhone ? 'Escriba el número de celular' : 'Escriba el número de teléfono') : '',\"rules\":_vm.required ? [_vm.rules.required, _vm.allowedNumbers, _vm.minCharacters] : [_vm.allowedNumbers, _vm.minCharacters],\"prepend-inner-icon\":_vm.isCellPhone ? 'mdi-cellphone-iphone' : 'mdi-phone',\"dense\":\"\",\"clearable\":\"\",\"filled\":_vm.filled,\"outlined\":\"\",\"color\":_vm.color,\"disabled\":_vm.disabled},on:{\"input\":_vm.inputChange,\"keypress\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"space\",32,$event.key,[\" \",\"Spacebar\"])){ return null; }return $event.preventDefault()},function($event){return _vm.isNumber($event)}],\"paste\":function($event){return _vm.paste($event)}},model:{value:(_vm.numberPhone),callback:function ($$v) {_vm.numberPhone=$$v},expression:\"numberPhone\"}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\r\n\tComponente que aplica una 'mascara' sobre los campos de numeros de telefonos\r\n\t1 - Numero de celular 123-456-78-90\r\n\t2 - Numero de telefono fijo\r\n\t\t2.1. Con indicativo de ciudad (031) 987-65-43\r\n\t\t2.2. Linea nacional 01-8000-123-456\r\n\t\t2.3. Numero fijo sin indicativo de ciudad 123-45-67\r\n-->\r\n<!-- ############################################## -->\r\n<!-- ############# Sección de HTML ################ -->\r\n<!-- ############################################## -->\r\n<!--\r\n\tSeccion que ayuda a describir graficamente el componente.\r\n\tSolo se tiene un campo text-field donde se pondra el numero de telefono\r\n-->\r\n<template>\r\n\t<v-text-field \r\n\t\t:label=\"`${labelField}${required ? ' *' : ''}`\" \r\n\t\t:placeholder=\"viewPlaceholder ? (isCellPhone ? 'Escriba el número de celular' : 'Escriba el número de teléfono') : ''\" \r\n\t\t:rules=\"required ? [rules.required, allowedNumbers, minCharacters] : [allowedNumbers, minCharacters]\"\r\n\t\t:prepend-inner-icon=\"isCellPhone ? 'mdi-cellphone-iphone' : 'mdi-phone'\"\r\n\t\tv-model=\"numberPhone\"\r\n\t\t@input=\"inputChange\"\r\n\t\t@keypress.space=\"$event.preventDefault()\"\r\n\t\t@paste=\"paste($event)\"\r\n\t\tdense \r\n\t\tclearable\r\n\t\t:filled=\"filled\"\r\n\t\toutlined\r\n\t\t@keypress=\"isNumber($event)\"\r\n\t\t:color=\"color\"\r\n\t\t:disabled=\"disabled\">\r\n\t</v-text-field>\r\n</template>\r\n\r\n<!-- ############################################## -->\r\n<!-- ############# Sección de Script ############## -->\r\n<!-- ############################################## -->\r\n<!--\r\n\tSeccion que ayuda a describir las funcionalidades y datos del componente\r\n-->\r\n<script>\r\n\texport default {\r\n\t\t/** Nombre del componente */\r\n\t\tname: 'FamiPhone',\r\n\r\n\t\t/** Propiedades del componente */\r\n\t\tprops: {\r\n\t\t\t/** Numero de telefono */\r\n\t\t\tnumber: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: '',\r\n\t\t\t},\r\n\t\t\t\r\n\t\t\t/** Propiedad que permite identificar si el numero es de celular o es un telefono fijo */\r\n\t\t\tisCellPhone: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false,\r\n\t\t\t},\r\n\t\t\t\r\n\t\t\t/** Propiedad que permite identificar si el telefono es requerido o no */\r\n\t\t\trequired: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false,\r\n\t\t\t},\r\n\r\n\t\t\t/** Propiedad que permite deshabilitar el componente */\r\n\t\t\tdisabled: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false,\r\n\t\t\t},\r\n\t\t\t\r\n\t\t\t/** Nombre de la etiqueta */\r\n\t\t\tlabelField: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'Número de Teléfono',\r\n\t\t\t},\r\n\r\n\t\t\tcolor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'primary'\r\n\t\t\t},\r\n\r\n\t\t\tviewPlaceholder: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: true\r\n\t\t\t},\r\n\r\n\t\t\tfilled: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\t/** Datos del componente */\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\t// Regla de validacion para los campos requeridos\r\n\t\t\t\trules: {\r\n\t\t\t\t\trequired: value => !!value || 'Campo requerido.',\r\n\t\t\t\t},\r\n\r\n\t\t\t\t// Numero de telefono\r\n\t\t\t\tnumberPhone: '',\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\t/** Propiedades computadas del componente */\r\n\t\tcomputed: {\r\n\t\t\t/** Propiedad computada que permite validar la cantidad de caracteres del numero de telefono */\r\n\t\t\tminCharacters() {\r\n\t\t\t\tif (this.numberPhone && this.isCellPhone) {\r\n\t\t\t\t\treturn this.numberPhone.length != 12 ? `El número debe contener 10 dÃgitos` : true;\r\n\t\t\t\t} else if (this.numberPhone) {\r\n\t\t\t\t\tif (this.numberPhone.indexOf('-') != -1) {\r\n\t\t\t\t\t\treturn (this.numberPhone.length >= 9 && this.numberPhone.length <= 14) ? true: 'El número debe contener entre 7 y 10 dÃgitos';\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\treturn (this.numberPhone.length >= 7 && this.numberPhone.length <= 10) ? true: 'El número debe contener entre 7 y 10 dÃgitos';\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\tallowedNumbers() {\r\n\t\t\t\tif (this.numberPhone) {\r\n\t\t\t\t\tconst n = this.numberPhone.replace(/[-()]/g, '');\r\n\r\n\t\t\t\t\tif ((n[0] == 0 || n[0] == 1) && !this.isCellPhone) {\r\n\t\t\t\t\t\treturn `El número no puede iniciar por ${n[0]}`;\r\n\t\t\t\t\t} else if (this.isCellPhone && n[0] != 3) {\r\n\t\t\t\t\t\treturn 'El número de celular debe iniciar por 3';\r\n\t\t\t\t\t} else if (n.match(/1{6,10}$|2{6,10}$|3{6,10}$|4{6,10}$|5{6,10}$|6{6,10}$|7{6,10}$|8{6,10}$|9{6,10}$|0{6,10}$/)) {\r\n\t\t\t\t\t\treturn `Por favor verifique su número (${n.match(/1{6,10}$|2{6,10}$|3{6,10}$|4{6,10}$|5{6,10}$|6{6,10}$|7{6,10}$|8{6,10}$|9{6,10}$|0{6,10}$/)[0]})`;\r\n\t\t\t\t\t} \r\n\t\t\t\t\treturn true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\t/** Metodo que se ejecuta una vez esta creado el componente */\r\n\t\tcreated() {\r\n\t\t\tif (this.number) {\r\n\t\t\t\tthis.numberPhone = this.refactorNumberPhone(this.number);\r\n\t\t\t} else {\r\n\t\t\t\tthis.numberPhone = '';\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\t/** vistas del componente */\r\n\t\twatch: {\r\n\t\t\t/** \r\n\t\t\t * Se verifica cada cambio en el numberPhone, si se elimina y queda en null se pasa a ''. Cada cambio\r\n\t\t\t * es emitido al padre\r\n\t\t\t */\r\n\t\t\tnumberPhone() {\r\n\t\t\t\tif (this.numberPhone == null) {\r\n\t\t\t\t\tthis.numberPhone = '';\r\n\t\t\t\t}\r\n\t\t\t\tvar clearNumber = Object.assign(this.numberPhone);\r\n\t\t\t\tclearNumber = clearNumber.replace(/[{()}]/g, '');\r\n\t\t\t\tclearNumber = clearNumber.replace(/-/g, '');\r\n\r\n\t\t\t\t/** Se emite un cambio en la variable para permitir la actualizacion en el padre */\r\n\t\t\t\tthis.$emit('update:numberPhone', clearNumber);\r\n\t\t\t},\r\n\r\n\t\t\tnumber(val) {\r\n\t\t\t\tif (val == undefined || val == null) {\r\n\t\t\t\t\tthis.numberPhone = \"\";\r\n\t\t\t\t} else {\r\n\t\t\t\t\tvar valueRefactor = val.replace( /^\\D+/g, '');\r\n\t\t\t\t\tthis.numberPhone = this.refactorNumberPhone(valueRefactor);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\t/** Metodos del componente */\r\n\t\tmethods: {\r\n\r\n\t\t\tpaste(e) {\r\n\t\t\t\tconst n = e.clipboardData.getData('text').replace(/\\D/g, '');\r\n\t\t\t\tthis.numberPhone = n;\r\n\t\t\t\te.preventDefault();\r\n\t\t\t},\r\n\t\t\t\r\n\t\t\tisNumber(e) {\r\n\t\t\t\tlet char = String.fromCharCode(e.keyCode);\r\n\t\t\t\tif(/^[0-9]+$/.test(char)) {\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\te.preventDefault();\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\t/**\r\n\t\t\t * Metodo encargado de aplicar una \"mascara\" sobre el campo telefono\r\n\t\t\t * Dependiendo del tipo de telefono se procede a realizar el cambio automatico\r\n\t\t\t * 1 - Si es celular debera contener 10 caracteres 123-456-78-90\r\n\t\t\t * 2 - Si es un numero de telefono\r\n\t\t\t *\t\t2.1. Numero de 7 digitos 123-45-67\r\n\t\t\t * \t\t2.2. Es un numero de telefono con indicativo nacional (031)123-45-67\r\n\t\t\t * \t\t\r\n\t\t\t */\r\n\t\t\tinputChange() {\r\n\t\t\t\t// Se verifica si el telefono es celular\r\n\t\t\t\tif (this.numberPhone && this.isCellPhone) {\r\n\t\t\t\t\tif (this.numberPhone.length > 1 && this.numberPhone.length <= 4) {\r\n\t\t\t\t\t\tthis.numberPhone = this.numberPhone.replace(/([0-9]{3})([0-9]{1})$/, \"$1-$2\")\r\n\t\t\t\t\t} else if (this.numberPhone && this.numberPhone.length > 7 && this.numberPhone.length <= 10) {\r\n\t\t\t\t\t\tthis.numberPhone = this.numberPhone.replace(/([0-9]{3})-([0-9]{3})([0-9]{2})$/, \"$1-$2-$3\")\r\n\t\t\t\t\t} else if (this.numberPhone && this.numberPhone.length > 10) {\r\n\t\t\t\t\t\tthis.numberPhone = this.numberPhone.replace(/([0-9]{3})-([0-9]{3})-([0-9]{2})([0-9]{2})$/, \"$1-$2-$3$4\")\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (this.numberPhone && this.numberPhone.length <= 14){\r\n\t\t\t\t\tif (this.numberPhone.length > 0 && this.numberPhone.length <= 9){\r\n\t\t\t\t\t\tif (this.numberPhone.length > 1 && this.numberPhone.length <= 4) {\r\n\t\t\t\t\t\t\tthis.numberPhone = this.numberPhone.replace(/([0-9]{3})([0-9]{1})$/, \"$1-$2\");\r\n\t\t\t\t\t\t} else if (this.numberPhone.length >= 7 && this.numberPhone.length <= 9) {\r\n\t\t\t\t\t\t\tthis.numberPhone = this.numberPhone.replace(/([0-9]{3})-([0-9]{2})([0-9]{1})$/, \"$1-$2-$3\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t// Es un numero normal y tiene una longitud mayor (123)456-78-90...\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tconst match = this.numberPhone.match(/([0-9]{3})-([0-9]{2})-([0-9]{3})$/);\r\n\t\t\t\t\t\tif (this.numberPhone.length == 10 && match) {\r\n\t\t\t\t\t\t\tthis.numberPhone = this.numberPhone.replace(/([0-9]{1})([0-9]{2})-([0-9]{1})([0-9]{1})-([0-9]{1})([0-9]{1})([0-9]{1})$/, \"($1)$2$3-$4$5-$6$7\")\r\n\t\t\t\t\t\t} else if (this.numberPhone.length == 13 && this.numberPhone.match(/\\([0-9]\\)([0-9]{3})-([0-9]{2})-([0-9]{3})$/)) {\r\n\t\t\t\t\t\t\tthis.numberPhone = this.numberPhone.replace(/[{()}]/g, '');\r\n\t\t\t\t\t\t\tthis.numberPhone = this.numberPhone.replace(/([0-9]{2})([0-9]{2})-([0-9]{1})([0-9]{1})-([0-9]{1})([0-9]{1})([0-9]{1})$/, \"($1)$2$3-$4$5-$6$7\");\r\n\t\t\t\t\t\t} else if (this.numberPhone.length == 14 && this.numberPhone.match(/\\([0-9]{2}\\)([0-9]{3})-([0-9]{2})-([0-9]{3})$/)) {\r\n\t\t\t\t\t\t\tthis.numberPhone = this.numberPhone.replace(/[{()}]/g, '');\r\n\t\t\t\t\t\t\tthis.numberPhone = this.numberPhone.replace(/([0-9]{3})([0-9]{1})([0-9]{1})-([0-9]{1})([0-9]{1})-([0-9]{1})([0-9]{2})$/, \"($1)$2$3$4-$5$6-$7\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t} \r\n\r\n\t\t\t\t\r\n\t\t\t},\r\n\r\n\t\t\tresetform() {\r\n\t\t\t\tif (typeof this.$refs.form !== \"undefined\") {\r\n\t\t\t\t\tthis.$refs.form.resetValidation();\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\t/** Metodo que se encarga de limpiar la variable que contiene el numero de telefono */\r\n\t\t\tclear() {\r\n\t\t\t\tthis.numberPhone = '';\r\n\t\t\t},\r\n\r\n\t\t\t/** \r\n\t\t\t * Metodo encargado de refactorizar los numeros que son agregados desde el padre \r\n\t\t\t * @param number Numero agregado desde el padre\r\n\t\t\t */\r\n\t\t\trefactorNumberPhone(number) {\r\n\t\t\t\tvar numberCopy = JSON.parse(JSON.stringify(number));\r\n\r\n\t\t\t\tnumberCopy = numberCopy.replace(/\\D/g, '');\r\n\r\n\t\t\t\t// Es un celular\r\n\t\t\t\tif (this.isCellPhone) {\r\n\t\t\t\t\treturn numberCopy.trim().replace(/([0-9]{3})([0-9]{3})([0-9]{2})([0-9]{2})$/, \"$1-$2-$3$4\");\r\n\r\n\t\t\t\t// Es un numero nacional 01-8000-987-654\r\n\t\t\t\t} else if (numberCopy[0] == '0' && numberCopy[1] != 3) {\r\n\t\t\t\t\tnumberCopy = numberCopy.replace(/-/g, '');\r\n\t\t\t\t\treturn numberCopy.replace(/([0-9]{2})([0-9]{4})([0-9]{3})([0-9]{3})$/, \"$1-$2-$3-$4\")\r\n\r\n\t\t\t\t\t// Es un numero con mas de 9 digitos\r\n\t\t\t\t} else if (numberCopy.length == 10){\r\n\t\t\t\t\tif (numberCopy.length == 10) {\r\n\t\t\t\t\t\treturn numberCopy.replace(/([0-9]{3})([0-9]{3})([0-9]{2})([0-9]{2})$/, \"($1)$2-$3-$4\");\r\n\t\t\t\t\t} \r\n\t\t\t\t} else if (numberCopy.length == 7) {\r\n\t\t\t\t\treturn numberCopy.replace(/([0-9]{3})([0-9]{2})([0-9]{2})$/, \"$1-$2-$3\")\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn numberCopy;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\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/vuetify-loader/lib/loader.js??ref--18-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FamiPhone.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/vuetify-loader/lib/loader.js??ref--18-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FamiPhone.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FamiPhone.vue?vue&type=template&id=40fa42c1&\"\nimport script from \"./FamiPhone.vue?vue&type=script&lang=js&\"\nexport * from \"./FamiPhone.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VTextField})\n","// Styles\nimport './VFileInput.sass'\n\n// Extensions\nimport VTextField from '../VTextField'\n\n// Components\nimport { VChip } from '../VChip'\n\n// Types\nimport { PropValidator } from 'vue/types/options'\n\n// Utilities\nimport { deepEqual, humanReadableFileSize, wrapInArray } from '../../util/helpers'\nimport { consoleError } from '../../util/console'\nimport { mergeStyles } from '../../util/mergeData'\n\nexport default VTextField.extend({\n name: 'v-file-input',\n\n model: {\n prop: 'value',\n event: 'change',\n },\n\n props: {\n chips: Boolean,\n clearable: {\n type: Boolean,\n default: true,\n },\n counterSizeString: {\n type: String,\n default: '$vuetify.fileInput.counterSize',\n },\n counterString: {\n type: String,\n default: '$vuetify.fileInput.counter',\n },\n hideInput: Boolean,\n placeholder: String,\n prependIcon: {\n type: String,\n default: '$file',\n },\n readonly: {\n type: Boolean,\n default: false,\n },\n showSize: {\n type: [Boolean, Number],\n default: false,\n validator: (v: boolean | number) => {\n return (\n typeof v === 'boolean' ||\n [1000, 1024].includes(v)\n )\n },\n } as PropValidator<boolean | 1000 | 1024>,\n smallChips: Boolean,\n truncateLength: {\n type: [Number, String],\n default: 22,\n },\n type: {\n type: String,\n default: 'file',\n },\n value: {\n default: undefined,\n validator: val => {\n return wrapInArray(val).every(v => v != null && typeof v === 'object')\n },\n } as PropValidator<File | File[]>,\n },\n\n computed: {\n classes (): object {\n return {\n ...VTextField.options.computed.classes.call(this),\n 'v-file-input': true,\n }\n },\n computedCounterValue (): string {\n const fileCount = (this.isMultiple && this.lazyValue)\n ? this.lazyValue.length\n : (this.lazyValue instanceof File) ? 1 : 0\n\n if (!this.showSize) return this.$vuetify.lang.t(this.counterString, fileCount)\n\n const bytes = this.internalArrayValue.reduce((bytes: number, { size = 0 }: File) => {\n return bytes + size\n }, 0)\n\n return this.$vuetify.lang.t(\n this.counterSizeString,\n fileCount,\n humanReadableFileSize(bytes, this.base === 1024)\n )\n },\n internalArrayValue (): File[] {\n return wrapInArray(this.internalValue)\n },\n internalValue: {\n get (): File[] {\n return this.lazyValue\n },\n set (val: File | File[]) {\n this.lazyValue = val\n this.$emit('change', this.lazyValue)\n },\n },\n isDirty (): boolean {\n return this.internalArrayValue.length > 0\n },\n isLabelActive (): boolean {\n return this.isDirty\n },\n isMultiple (): boolean {\n return this.$attrs.hasOwnProperty('multiple')\n },\n text (): string[] {\n if (!this.isDirty && (this.isFocused || !this.hasLabel)) return [this.placeholder]\n\n return this.internalArrayValue.map((file: File) => {\n const {\n name = '',\n size = 0,\n } = file\n\n const truncatedText = this.truncateText(name)\n\n return !this.showSize\n ? truncatedText\n : `${truncatedText} (${humanReadableFileSize(size, this.base === 1024)})`\n })\n },\n base (): 1000 | 1024 | undefined {\n return typeof this.showSize !== 'boolean' ? this.showSize : undefined\n },\n hasChips (): boolean {\n return this.chips || this.smallChips\n },\n },\n\n watch: {\n readonly: {\n handler (v) {\n if (v === true) consoleError('readonly is not supported on <v-file-input>', this)\n },\n immediate: true,\n },\n value (v) {\n const value = this.isMultiple ? v : v ? [v] : []\n if (!deepEqual(value, this.$refs.input.files)) {\n // When the input value is changed programatically, clear the\n // internal input's value so that the `onInput` handler\n // can be triggered again if the user re-selects the exact\n // same file(s). Ideally, `input.files` should be\n // manipulated directly but that property is readonly.\n this.$refs.input.value = ''\n }\n },\n },\n\n methods: {\n clearableCallback () {\n this.internalValue = this.isMultiple ? [] : null\n this.$refs.input.value = ''\n },\n genChips () {\n if (!this.isDirty) return []\n\n return this.text.map((text, index) => this.$createElement(VChip, {\n props: { small: this.smallChips },\n on: {\n 'click:close': () => {\n const internalValue = this.internalValue\n internalValue.splice(index, 1)\n this.internalValue = internalValue // Trigger the watcher\n },\n },\n }, [text]))\n },\n genControl () {\n const render = VTextField.options.methods.genControl.call(this)\n\n if (this.hideInput) {\n render.data!.style = mergeStyles(\n render.data!.style,\n { display: 'none' }\n )\n }\n\n return render\n },\n genInput () {\n const input = VTextField.options.methods.genInput.call(this)\n\n // We should not be setting value\n // programmatically on the input\n // when it is using type=\"file\"\n delete input.data!.domProps!.value\n\n // This solves an issue in Safari where\n // nothing happens when adding a file\n // do to the input event not firing\n // https://github.com/vuetifyjs/vuetify/issues/7941\n delete input.data!.on!.input\n input.data!.on!.change = this.onInput\n\n return [this.genSelections(), input]\n },\n genPrependSlot () {\n if (!this.prependIcon) return null\n\n const icon = this.genIcon('prepend', () => {\n this.$refs.input.click()\n })\n\n return this.genSlot('prepend', 'outer', [icon])\n },\n genSelectionText (): string[] {\n const length = this.text.length\n\n if (length < 2) return this.text\n if (this.showSize && !this.counter) return [this.computedCounterValue]\n return [this.$vuetify.lang.t(this.counterString, length)]\n },\n genSelections () {\n const children = []\n\n if (this.isDirty && this.$scopedSlots.selection) {\n this.internalArrayValue.forEach((file: File, index: number) => {\n if (!this.$scopedSlots.selection) return\n\n children.push(\n this.$scopedSlots.selection({\n text: this.text[index],\n file,\n index,\n })\n )\n })\n } else {\n children.push(this.hasChips && this.isDirty ? this.genChips() : this.genSelectionText())\n }\n\n return this.$createElement('div', {\n staticClass: 'v-file-input__text',\n class: {\n 'v-file-input__text--placeholder': this.placeholder && !this.isDirty,\n 'v-file-input__text--chips': this.hasChips && !this.$scopedSlots.selection,\n },\n }, children)\n },\n genTextFieldSlot () {\n const node = VTextField.options.methods.genTextFieldSlot.call(this)\n\n node.data!.on = {\n ...(node.data!.on || {}),\n click: () => this.$refs.input.click(),\n }\n\n return node\n },\n onInput (e: Event) {\n const files = [...(e.target as HTMLInputElement).files || []]\n\n this.internalValue = this.isMultiple ? files : files[0]\n\n // Set initialValue here otherwise isFocused\n // watcher in VTextField will emit a change\n // event whenever the component is blurred\n this.initialValue = this.internalValue\n },\n onKeyDown (e: KeyboardEvent) {\n this.$emit('keydown', e)\n },\n truncateText (str: string) {\n if (str.length < Number(this.truncateLength)) return str\n const charsKeepOneSide = Math.floor((Number(this.truncateLength) - 1) / 2)\n return `${str.slice(0, charsKeepOneSide)}…${str.slice(str.length - charsKeepOneSide)}`\n },\n },\n})\n","import VTextField from './VTextField'\n\nexport { VTextField }\nexport default VTextField\n","// Styles\nimport '../../styles/components/_selection-controls.sass'\nimport './VRadioGroup.sass'\n\n// Extensions\nimport VInput from '../VInput'\nimport { BaseItemGroup } from '../VItemGroup/VItemGroup'\n\n// Mixins\nimport Comparable from '../../mixins/comparable'\n\n// Types\nimport mixins from '../../util/mixins'\nimport { PropType } from 'vue'\n\nconst baseMixins = mixins(\n Comparable,\n BaseItemGroup,\n VInput\n)\n\n/* @vue/component */\nexport default baseMixins.extend({\n name: 'v-radio-group',\n\n provide () {\n return {\n radioGroup: this,\n }\n },\n\n props: {\n column: {\n type: Boolean,\n default: true,\n },\n height: {\n type: [Number, String],\n default: 'auto',\n },\n name: String,\n row: Boolean,\n // If no value set on VRadio\n // will match valueComparator\n // force default to null\n value: null as unknown as PropType<any>,\n },\n\n computed: {\n classes (): object {\n return {\n ...VInput.options.computed.classes.call(this),\n 'v-input--selection-controls v-input--radio-group': true,\n 'v-input--radio-group--column': this.column && !this.row,\n 'v-input--radio-group--row': this.row,\n }\n },\n },\n\n methods: {\n genDefaultSlot () {\n return this.$createElement('div', {\n staticClass: 'v-input--radio-group__input',\n attrs: {\n id: this.id,\n role: 'radiogroup',\n 'aria-labelledby': this.computedId,\n },\n }, VInput.options.methods.genDefaultSlot.call(this))\n },\n genInputSlot () {\n const render = VInput.options.methods.genInputSlot.call(this)\n\n delete render.data!.on!.click\n\n return render\n },\n genLabel () {\n const label = VInput.options.methods.genLabel.call(this)\n\n if (!label) return null\n\n label.data!.attrs!.id = this.computedId\n // WAI considers this an orphaned label\n delete label.data!.attrs!.for\n label.tag = 'legend'\n\n return label\n },\n onClick: BaseItemGroup.options.methods.onClick,\n },\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"tramites pa-0 pt-4\",attrs:{\"fluid\":\"\"}},[_c('FamiLoading',{attrs:{\"visible\":_vm.isLoading},on:{\"update:visible\":function($event){_vm.isLoading=$event}}}),_c('FamiTable',{directives:[{name:\"hasRole\",rawName:\"v-hasRole\",value:('9.1.1'),expression:\"'9.1.1'\"}],attrs:{\"itemKey\":\"tareaId\",\"headers\":_vm.headers,\"loading-text\":\"Cargando... Por favor espere\",\"height\":\"calc(100vh - 350px)\",\"max-width-dialog\":\"1300\",\"entity\":_vm.entity,\"dataBd\":_vm.dataFiltro,\"url\":_vm.urlLista,\"singleSelect\":true,\"pop-up-close\":_vm.popup,\"update-table\":_vm.updateTable,\"form-title\":_vm.formTitle,\"permission\":['9.1.2', '9.1.3'],\"search-column\":['estado', 'responsable', 'proceso', 'tarea', 'tramite'],\"footer-dialog\":['c'],\"column-action\":['descargar'],\"toolsTable\":['a', 'm'],\"optionsParams\":_vm.parametrosTabla},on:{\"update:popUpClose\":function($event){_vm.popup=$event},\"update:pop-up-close\":function($event){_vm.popup=$event},\"update:updateTable\":function($event){_vm.updateTable=$event},\"update:update-table\":function($event){_vm.updateTable=$event},\"editItemFunc\":_vm.editItem,\"openFormFunc\":_vm.openFormFunc,\"getRowSelectedFunc\":_vm.onRowSelect},scopedSlots:_vm._u([{key:\"filterForm\",fn:function(){return [_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12 py-0\"}},[_c('v-switch',{staticClass:\"mt-0 mb-n3 pt-0 px-2\",attrs:{\"dense\":\"\"},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_c('strong',{staticClass:\"primary--text\"},[_vm._v(_vm._s(_vm.busquedaAvanzada ? \"Busqueda general\" : \"Busqueda avanzada\"))])]},proxy:true}]),model:{value:(_vm.busquedaAvanzada),callback:function ($$v) {_vm.busquedaAvanzada=$$v},expression:\"busquedaAvanzada\"}})],1)],1),_c('v-card',{staticClass:\"mx-auto mb-1\",attrs:{\"outlined\":\"\"}},[_c('v-container',{staticClass:\"mt-n2 pb-0\",attrs:{\"fluid\":\"\"}},[(!_vm.busquedaAvanzada)?_c('v-row',{staticClass:\"mt-2\",attrs:{\"dense\":\"\"}},[_c('v-col',{attrs:{\"cols\":12,\"md\":4}},[_c('v-text-field',{attrs:{\"dense\":\"\",\"label\":\"Búsqueda General\",\"outlined\":\"\",\"clearable\":\"\",\"color\":\"teal\",\"hide-details\":\"\",\"append-icon\":\"mdi-magnify\"},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.filtrar($event)},\"click:clear\":_vm.limpiarFiltro,\"click:append\":_vm.filtrar},model:{value:(_vm.tablaBusquedaGeneral),callback:function ($$v) {_vm.tablaBusquedaGeneral=$$v},expression:\"tablaBusquedaGeneral\"}})],1)],1):_vm._e(),(_vm.busquedaAvanzada)?_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"px-3\",attrs:{\"cols\":12,\"md\":4}},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{attrs:{\"cols\":12,\"sm\":6,\"md\":12,\"lg\":6}},[_c('v-autocomplete',{attrs:{\"label\":\"Tipo documento\",\"items\":_vm.listas.tiposDocumento,\"return-object\":\"\",\"item-value\":\"id\",\"item-text\":\"nombre\",\"outlined\":\"\",\"dense\":\"\",\"prepend-inner-icon\":\"mdi-account-key\",\"color\":\"primary\",\"clearable\":\"\"},model:{value:(_vm.tipoDoc),callback:function ($$v) {_vm.tipoDoc=$$v},expression:\"tipoDoc\"}})],1),_c('v-col',{attrs:{\"cols\":12,\"sm\":6,\"md\":12,\"lg\":6}},[_c('v-text-field',{attrs:{\"dense\":\"\",\"label\":\"Número Documento\",\"outlined\":\"\",\"clearable\":\"\"},model:{value:(_vm.doc),callback:function ($$v) {_vm.doc=$$v},expression:\"doc\"}})],1)],1)],1),_c('v-col',{staticClass:\"px-3\",attrs:{\"cols\":12,\"md\":8}},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{attrs:{\"cols\":12,\"sm\":6,\"lg\":4}},[_c('v-autocomplete',{attrs:{\"label\":\"Fecha... \",\"items\":_vm.listaFechas,\"item-value\":\"value\",\"item-text\":\"text\",\"prepend-inner-icon\":\"mdi-calendar-month-outline\",\"return-object\":\"\",\"color\":\"primary\",\"dense\":\"\",\"outlined\":\"\",\"clearable\":\"\"},model:{value:(_vm.fechaSeleccionada),callback:function ($$v) {_vm.fechaSeleccionada=$$v},expression:\"fechaSeleccionada\"}})],1),_c('v-col',{attrs:{\"cols\":12,\"sm\":6,\"lg\":4}},[_c('v-menu',{staticClass:\"pr-1\",attrs:{\"close-on-content-click\":true,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"min-width\":\"290px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-text-field',_vm._g({attrs:{\"dense\":\"\",\"label\":_vm.fechaSeleccionada.text + ' inicial',\"prepend-inner-icon\":\"mdi-calendar-month-outline\",\"outlined\":\"\",\"readonly\":\"\"},model:{value:(_vm.fechaFiltroInicial),callback:function ($$v) {_vm.fechaFiltroInicial=$$v},expression:\"fechaFiltroInicial\"}},on))]}}],null,false,820139137),model:{value:(_vm.menuFechaInicial),callback:function ($$v) {_vm.menuFechaInicial=$$v},expression:\"menuFechaInicial\"}},[_c('v-date-picker',{attrs:{\"locale\":\"es-CO\",\"max\":new Date().toISOString().slice(0, 10)},model:{value:(_vm.fechaFiltroInicial),callback:function ($$v) {_vm.fechaFiltroInicial=$$v},expression:\"fechaFiltroInicial\"}})],1)],1),_c('v-col',{attrs:{\"cols\":12,\"sm\":6,\"lg\":4}},[_c('v-menu',{staticClass:\"pl-1\",attrs:{\"close-on-content-click\":true,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"min-width\":\"290px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-text-field',_vm._g({attrs:{\"dense\":\"\",\"label\":_vm.fechaSeleccionada.text + ' final',\"prepend-inner-icon\":\"mdi-calendar-month-outline\",\"outlined\":\"\",\"readonly\":\"\"},model:{value:(_vm.fechaFiltroFinal),callback:function ($$v) {_vm.fechaFiltroFinal=$$v},expression:\"fechaFiltroFinal\"}},on))]}}],null,false,2228765665),model:{value:(_vm.menuFechaFinal),callback:function ($$v) {_vm.menuFechaFinal=$$v},expression:\"menuFechaFinal\"}},[_c('v-date-picker',{attrs:{\"locale\":\"es-CO\"},model:{value:(_vm.fechaFiltroFinal),callback:function ($$v) {_vm.fechaFiltroFinal=$$v},expression:\"fechaFiltroFinal\"}})],1)],1)],1)],1)],1):_vm._e()],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"primary\",\"small\":\"\"},on:{\"click\":_vm.filtrar}},[_vm._v(\"filtrar\")]),_c('v-btn',{attrs:{\"color\":\"primary\",\"small\":\"\"},on:{\"click\":_vm.limpiarFiltro}},[_vm._v(\"Limpiar\")])],1)],1)]},proxy:true},{key:\"dialogForm\",fn:function(){return [_c('FamiLoading',{attrs:{\"visible\":_vm.isLoading},on:{\"update:visible\":function($event){_vm.isLoading=$event}}}),_c('v-container',{staticClass:\"contenedorCorresponsalForm\",staticStyle:{\"overflow-y\":\"auto\"},attrs:{\"fluid\":\"\"}},[_c('CorresponsalForm',{ref:\"formTramite\",attrs:{\"datosBasicos\":_vm.listas,\"pop-up-close\":_vm.popup},on:{\"update:popUpClose\":function($event){_vm.popup=$event},\"update:pop-up-close\":function($event){_vm.popup=$event},\"afiliadoExiste\":_vm.onAfiladoExistente}})],1)]},proxy:true},{key:\"footerToolsDialog\",fn:function(){return [(!_vm.verTramite)?_c('v-btn',{attrs:{\"color\":\"primary\",\"small\":\"\",\"disabled\":!_vm.afiladoExiste},on:{\"click\":_vm.handleSaveEntity}},[_vm._v(\"Finalizar\")]):_vm._e()]},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('v-container',{staticClass:\"corresponsalForm\",attrs:{\"fluid\":\"\"}},[_c('v-card',{staticClass:\"caja px-0 border border-white border-0\",attrs:{\"width\":\"100%\",\"elevation\":\"0\"}},[_c('v-card-text',{staticClass:\"cajaText pa-0\"},[_c('FamiLoading',{attrs:{\"visible\":_vm.isLoading},on:{\"update:visible\":function($event){_vm.isLoading=$event}}}),_c('v-row',[_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-autocomplete',{attrs:{\"return-object\":\"\",\"label\":\"Tipo trámite\",\"items\":_vm.tiposTramite,\"disabled\":_vm.verTramite,\"outlined\":\"\",\"dense\":\"\",\"prepend-inner-icon\":\"mdi-clipboard-flow\",\"item-value\":\"id\",\"item-text\":\"nombre\",\"color\":\"primary\",\"clearable\":\"\"},model:{value:(_vm.tipoTramite),callback:function ($$v) {_vm.tipoTramite=$$v},expression:\"tipoTramite\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-form',{ref:\"formBusqueda\"},[_c('v-row',{staticClass:\"pa-2\"},[_c('div',{staticClass:\"d-flex justify-space-between mt-2\",staticStyle:{\"width\":\"100%\"}},[_c('v-list-item-title',{staticClass:\"overline secondary--text font-weight-bold\"},[_vm._v(\"Afiliado\")]),_c('v-spacer')],1),_c('v-card',{attrs:{\"outlined\":\"\",\"elevation\":\"0\",\"width\":\"100%\"}},[_c('v-row',{staticClass:\"pa-2\"},[_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-autocomplete',{attrs:{\"return-object\":\"\",\"label\":\"Tipo documento\",\"items\":_vm.listas.tiposDocumento,\"outlined\":\"\",\"disabled\":_vm.verTramite,\"rules\":_vm.rulCorresponsal,\"dense\":\"\",\"prepend-inner-icon\":\"mdi-account-key\",\"item-value\":\"id\",\"item-text\":\"nombre\",\"color\":\"primary\",\"clearable\":\"\"},model:{value:(_vm.afiliado.tipoDocumento),callback:function ($$v) {_vm.$set(_vm.afiliado, \"tipoDocumento\", $$v)},expression:\"afiliado.tipoDocumento\"}})],1),_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-text-field',{attrs:{\"dense\":\"\",\"label\":\"Número documento\",\"rules\":_vm.rulCorresponsal,\"outlined\":\"\",\"clearable\":\"\",\"disabled\":_vm.verTramite},on:{\"blur\":_vm.buscarAfiliado},model:{value:(_vm.afiliado.numeroDocumento),callback:function ($$v) {_vm.$set(_vm.afiliado, \"numeroDocumento\", $$v)},expression:\"afiliado.numeroDocumento\"}})],1),(_vm.afiladoExistente)?_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('label',[_vm._v(_vm._s(_vm.afiliado.nombreCompleto))]),_c('v-spacer'),_c('label',[_vm._v(\"Genero : \"+_vm._s(_vm.afiliado.genero))])],1):_vm._e()],1)],1)],1)],1),_c('v-form',{ref:\"formularioCorresponsal\"},[_c('v-row',{staticClass:\"pa-2\"},[_c('div',{staticClass:\"d-flex justify-space-between mt-2\",staticStyle:{\"width\":\"100%\"}},[_c('v-list-item-title',{staticClass:\"overline secondary--text font-weight-bold\"},[_vm._v(\"Contacto\")]),_c('v-spacer')],1),_c('v-card',{attrs:{\"outlined\":\"\",\"elevation\":\"0\",\"width\":\"100%\"}},[_c('v-row',{staticClass:\"pa-2\"},[_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('FamiPhone',{attrs:{\"number\":_vm.contacto.celular,\"isCellPhone\":\"\",\"labelField\":\"Celular\",\"required\":!_vm.contacto.telefono,\"disabled\":!_vm.afiladoExistente || _vm.verTramite},on:{\"update:numberPhone\":function($event){_vm.contacto.celular = $event}}})],1),_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('FamiPhone',{attrs:{\"number\":_vm.contacto.telefono,\"labelField\":\"Teléfono fijo\",\"required\":!_vm.contacto.celular,\"disabled\":!_vm.afiladoExistente || _vm.verTramite},on:{\"update:numberPhone\":function($event){_vm.contacto.telefono = $event}}})],1),_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-text-field',{attrs:{\"disabled\":!_vm.afiladoExistente || _vm.verTramite,\"dense\":\"\",\"label\":\"Correo electrónico\",\"rules\":_vm.rulEmail,\"outlined\":\"\",\"clearable\":\"\"},model:{value:(_vm.contacto.correo),callback:function ($$v) {_vm.$set(_vm.contacto, \"correo\", $$v)},expression:\"contacto.correo\"}})],1),_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-autocomplete',{attrs:{\"disabled\":!_vm.afiladoExistente || _vm.verTramite,\"label\":\"Departamento\",\"items\":_vm.listas.departamentos,\"return-object\":\"\",\"item-value\":\"id\",\"item-text\":\"nombre\",\"rules\":_vm.rulCorresponsal,\"prepend-inner-icon\":\"mdi-view-grid\",\"dense\":\"\",\"outlined\":\"\",\"color\":\"primary\",\"clearable\":\"\"},model:{value:(_vm.contacto.departamento),callback:function ($$v) {_vm.$set(_vm.contacto, \"departamento\", $$v)},expression:\"contacto.departamento\"}})],1),_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-autocomplete',{attrs:{\"disabled\":!_vm.afiladoExistente || _vm.verTramite,\"label\":\"Ciudad y/o Municipio\",\"items\":_vm.listMunicipio,\"return-object\":\"\",\"item-value\":\"id\",\"item-text\":\"nombre\",\"rules\":_vm.rulCorresponsal,\"outlined\":\"\",\"dense\":\"\",\"prepend-inner-icon\":\"mdi-view-grid-plus\",\"color\":\"primary\",\"clearable\":\"\",\"no-data-text\":\"Seleccione un departamento\"},model:{value:(_vm.contacto.municipio),callback:function ($$v) {_vm.$set(_vm.contacto, \"municipio\", $$v)},expression:\"contacto.municipio\"}})],1),_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('FamiAddress',{attrs:{\"requerido\":\"\",\"size-width\":\"450\",\"valueAddress\":_vm.contacto.direccionResidencia,\"label\":\"Dirección\",\"ciudad\":_vm.afiladoExistente ? 'prueba' : null},on:{\"saveAddress\":_vm.guardarDireccion,\"update:valueAddress\":function($event){return _vm.$set(_vm.contacto, \"direccionResidencia\", $event)},\"update:value-address\":function($event){return _vm.$set(_vm.contacto, \"direccionResidencia\", $event)}}})],1)],1)],1),_c('div',{staticClass:\"d-flex justify-space-between mt-2\",staticStyle:{\"width\":\"100%\"}},[_c('v-list-item-title',{staticClass:\"overline secondary--text font-weight-bold\"},[_vm._v(\"Detalle Trámite \"+_vm._s(_vm.verTramite === true ? \" - \" + _vm.tarea.tarea : \"\"))]),_c('v-spacer')],1),_c('v-card',{attrs:{\"outlined\":\"\",\"elevation\":\"0\",\"width\":\"100%\"}},[(_vm.verTramite === true)?_c('v-row',{staticClass:\"pa-2\"},[_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-text-field',{attrs:{\"label\":\"Trámite\",\"dense\":\"\",\"outlined\":\"\",\"disabled\":\"\",\"prepend-inner-icon\":\"mdi-format-align-center\"},model:{value:(_vm.idTramite),callback:function ($$v) {_vm.idTramite=$$v},expression:\"idTramite\"}})],1),_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-text-field',{attrs:{\"label\":\"Tarea\",\"dense\":\"\",\"outlined\":\"\",\"disabled\":\"\",\"prepend-inner-icon\":\"mdi-clipboard-check-outline\"},model:{value:(_vm.idInstanciaTarea),callback:function ($$v) {_vm.idInstanciaTarea=$$v},expression:\"idInstanciaTarea\"}})],1),_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-text-field',{attrs:{\"label\":\"Estado\",\"dense\":\"\",\"outlined\":\"\",\"disabled\":\"\",\"prepend-inner-icon\":\"mdi-check-circle-outline\"},model:{value:(_vm.estadoInstanciaTarea),callback:function ($$v) {_vm.estadoInstanciaTarea=$$v},expression:\"estadoInstanciaTarea\"}})],1),_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-text-field',{attrs:{\"label\":\"Creación\",\"dense\":\"\",\"outlined\":\"\",\"disabled\":\"\",\"prepend-inner-icon\":\"mdi-calendar\"},model:{value:(_vm.fechaCreacionFormat),callback:function ($$v) {_vm.fechaCreacionFormat=$$v},expression:\"fechaCreacionFormat\"}})],1),_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-text-field',{attrs:{\"label\":\"Vencimiento\",\"dense\":\"\",\"outlined\":\"\",\"disabled\":\"\",\"prepend-inner-icon\":\"mdi-calendar-clock\"},model:{value:(_vm.fechaVencimientoFormat),callback:function ($$v) {_vm.fechaVencimientoFormat=$$v},expression:\"fechaVencimientoFormat\"}})],1),(_vm.fechaFinalizacion != null)?_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-text-field',{attrs:{\"label\":\"Finalización\",\"dense\":\"\",\"outlined\":\"\",\"disabled\":\"\",\"prepend-inner-icon\":\"mdi-calendar-check\"},model:{value:(_vm.fechaFinalizacionFormat),callback:function ($$v) {_vm.fechaFinalizacionFormat=$$v},expression:\"fechaFinalizacionFormat\"}})],1):_vm._e(),_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-text-field',{attrs:{\"label\":\"Responsable\",\"dense\":\"\",\"outlined\":\"\",\"disabled\":\"\",\"prepend-inner-icon\":\"mdi-account-outline\"},model:{value:(_vm.responsableNombreCompleto),callback:function ($$v) {_vm.responsableNombreCompleto=$$v},expression:\"responsableNombreCompleto\"}})],1)],1):_vm._e(),_c('v-row',{staticClass:\"pa-2\"},[(_vm.tipoTramite.id === 2)?_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-autocomplete',{attrs:{\"disabled\":_vm.verTramite || !_vm.afiladoExistente,\"label\":\"Certificado\",\"items\":_vm.tareas,\"return-object\":\"\",\"item-value\":\"id\",\"item-text\":\"tarea\",\"rules\":_vm.rulCorresponsal,\"prepend-inner-icon\":\"mdi-file-multiple\",\"dense\":\"\",\"outlined\":\"\",\"color\":\"primary\",\"clearable\":\"\",\"no-data-text\":\"Seleccione Certificado\"},model:{value:(_vm.tarea),callback:function ($$v) {_vm.tarea=$$v},expression:\"tarea\"}})],1):_vm._e(),(_vm.tarea && _vm.tarea.id === 8)?_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-autocomplete',{attrs:{\"disabled\":_vm.verTramite || !_vm.afiladoExistente,\"label\":\"Plan\",\"items\":_vm.planes,\"rules\":_vm.rulCorresponsal,\"prepend-inner-icon\":\"mdi-hospital\",\"dense\":\"\",\"outlined\":\"\",\"color\":\"primary\",\"clearable\":\"\",\"no-data-text\":\"Seleccione un Plan\"},model:{value:(_vm.plan),callback:function ($$v) {_vm.plan=$$v},expression:\"plan\"}})],1):_vm._e(),(_vm.tarea && _vm.tarea.id === 7)?_c('v-col',{attrs:{\"cols\":12,\"sm\":6,\"md\":4}},[_c('v-menu',{staticClass:\"pr-1\",attrs:{\"disabled\":_vm.verTramite || !_vm.afiladoExistente,\"close-on-content-click\":false,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"min-width\":\"290px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-text-field',_vm._g({attrs:{\"dense\":\"\",\"label\":\"Fecha inicial\",\"prepend-inner-icon\":\"mdi-calendar-month-outline\",\"rules\":_vm.rulCorresponsal,\"outlined\":\"\",\"readonly\":\"\"},model:{value:(_vm.incapacidadFechaInicio),callback:function ($$v) {_vm.incapacidadFechaInicio=$$v},expression:\"incapacidadFechaInicio\"}},on))]}}],null,false,1827105000),model:{value:(_vm.menuFechaInicial),callback:function ($$v) {_vm.menuFechaInicial=$$v},expression:\"menuFechaInicial\"}},[_c('v-date-picker',{attrs:{\"locale\":\"es-CO\",\"max\":new Date().toISOString().slice(0, 10)},model:{value:(_vm.incapacidadFechaInicio),callback:function ($$v) {_vm.incapacidadFechaInicio=$$v},expression:\"incapacidadFechaInicio\"}})],1)],1):_vm._e(),(_vm.tarea && _vm.tarea.id === 7)?_c('v-col',{attrs:{\"cols\":12,\"sm\":6,\"md\":4}},[_c('v-menu',{staticClass:\"pl-1\",attrs:{\"disabled\":_vm.verTramite || !_vm.afiladoExistente,\"close-on-content-click\":false,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"min-width\":\"290px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-text-field',_vm._g({attrs:{\"dense\":\"\",\"label\":\"Fecha final\",\"prepend-inner-icon\":\"mdi-calendar-month-outline\",\"rules\":_vm.rulCorresponsal,\"outlined\":\"\",\"readonly\":\"\"},model:{value:(_vm.incapacidadFechaFin),callback:function ($$v) {_vm.incapacidadFechaFin=$$v},expression:\"incapacidadFechaFin\"}},on))]}}],null,false,4151804903),model:{value:(_vm.menuFechaFinal),callback:function ($$v) {_vm.menuFechaFinal=$$v},expression:\"menuFechaFinal\"}},[_c('v-date-picker',{attrs:{\"locale\":\"es-CO\"},model:{value:(_vm.incapacidadFechaFin),callback:function ($$v) {_vm.incapacidadFechaFin=$$v},expression:\"incapacidadFechaFin\"}})],1)],1):_vm._e(),(_vm.tipoTramite.id === 1 && _vm.afiliado.isPac)?_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-text-field',{attrs:{\"placeholder\":\"digite una ips\",\"dense\":\"\",\"outlined\":\"\",\"clearable\":\"\",\"disabled\":_vm.verTramite,\"prepend-inner-icon\":\"mdi-hospital-building\"},model:{value:(_vm.ips),callback:function ($$v) {_vm.ips=$$v},expression:\"ips\"}})],1):_vm._e(),(_vm.tipoTramite.id === 2 && _vm.verTramite === true)?_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-checkbox',{staticClass:\"mt-0\",attrs:{\"readonly\":\"\",\"label\":\"Genero Certificado\",\"color\":\"success\",\"hide-details\":\"\"},model:{value:(_vm.conCertificado),callback:function ($$v) {_vm.conCertificado=$$v},expression:\"conCertificado\"}})],1):_vm._e(),(\n _vm.tipoTramite.id === 2 &&\n _vm.verTramite === true &&\n _vm.reportExcepcion != null\n )?_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('v-textarea',{attrs:{\"outlined\":\"\",\"readonly\":\"\",\"no-resize\":\"\",\"error\":\"\",\"dense\":\"\",\"color\":\"error\",\"label\":\"Errores al general el certificado\",\"rows\":\"3\",\"prepend-icon\":\"mdi-do-not-disturb\"},model:{value:(_vm.reportExcepcion),callback:function ($$v) {_vm.reportExcepcion=$$v},expression:\"reportExcepcion\"}})],1):_vm._e()],1),(_vm.tipoTramite.id === 1)?_c('v-row',{staticClass:\"pa-2 py-0\"},[_c('v-col',{staticClass:\"py-0 px-1\",attrs:{\"cols\":\"12\"}},[_c('v-list-item-title',{staticClass:\"overline secondary--text font-weight-bold pa-1\"},[_vm._v(\"Soportes\")]),_c('v-divider'),_c('v-row',{staticClass:\"ma-0\"},[_c('v-col',{staticClass:\"px-0\",attrs:{\"cols\":\"12\",\"md\":(\"\" + (_vm.verTramite === true ? 12 : 5)),\"lg\":(\"\" + (_vm.verTramite === true ? 12 : 4))}},[_c('v-row',{staticClass:\"ma-0\"},[(!_vm.verTramite)?_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\"}},[_c('v-form',{ref:\"formCargarDocumento\"},[_c('v-row',{staticClass:\"ma-0\"},[_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"12\"}},[_c('v-file-input',{staticClass:\"file pr-2\",attrs:{\"rules\":_vm.rulCorresponsal,\"loading\":_vm.isLoading,\"disabled\":_vm.verTramite,\"placeholder\":\"Adjuntar Archivo\",\"outlined\":\"\",\"dense\":\"\",\"show-size\":\"\",\"accept\":\"image/tiff,image/jpeg,image/jpg,image/png,.pdf,.PDF\",\"prepend-icon\":\"mdi-paperclip\",\"color\":\"secondary\"},on:{\"change\":_vm.cambiarArchivo},scopedSlots:_vm._u([{key:\"selection\",fn:function(ref){\n var text = ref.text;\nreturn [_c('v-chip',{attrs:{\"small\":\"\",\"label\":\"\",\"color\":\"secondary\"}},[_vm._v(\" \"+_vm._s(text)+\" \")])]}}],null,false,987875894),model:{value:(_vm.file),callback:function ($$v) {_vm.file=$$v},expression:\"file\"}})],1),_c('v-col',{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"12\"}},[_c('v-autocomplete',{attrs:{\"label\":\"Tipo Documental\",\"items\":_vm.listas.tiposDocumental,\"return-object\":\"\",\"item-value\":\"codigo\",\"item-text\":\"descripcion\",\"rules\":_vm.rulCorresponsal,\"prepend-inner-icon\":\"mdi-view-grid\",\"dense\":\"\",\"outlined\":\"\",\"color\":\"primary\",\"clearable\":\"\"},model:{value:(_vm.tipoDocumental),callback:function ($$v) {_vm.tipoDocumental=$$v},expression:\"tipoDocumental\"}})],1),(_vm.mostrarAgregarArchivo)?_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"12\"}},[_c('v-btn',{attrs:{\"small\":\"\",\"color\":\"secondary\",\"dark\":\"\"},on:{\"click\":_vm.agregarArchivo}},[_vm._v(\"Cargar documento\")])],1):_vm._e()],1)],1)],1):_vm._e(),_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"12\"}},[_c('FamiTable',{staticClass:\"pa-0\",attrs:{\"headers\":_vm.headersFile,\"entity\":_vm.entityFile,\"tools-table\":_vm.opcionesTablaArchivo,\"data-bd\":_vm.dataFile,\"loading\":false,\"items-per-page\":10,\"footer-props\":{\n pageText: '',\n showCurrentPage: true,\n },\"column-action\":['action'],\"single-select\":\"\",\"dense\":\"\",\"item-key\":\"nombre\",\"height\":\"150\"},on:{\"deleteItemFunc\":_vm.borrarArchivo,\"clickRowFunc\":_vm.clickRowFuncFile}})],1)],1)],1),_c('v-col',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.verTramite),expression:\"!verTramite\"}],staticClass:\"pa-0\",staticStyle:{\"border\":\"thin solid rgba(0, 0, 0, 0.12)\"},attrs:{\"cols\":\"12\",\"md\":\"7\",\"lg\":\"8\"}},[_c('FamiViewer',{attrs:{\"codeFile\":_vm.pathFile,\"recursoExterno\":_vm.recursoPdf,\"maxHeight\":\"400px\"}})],1)],1),(_vm.verTramite)?_c('v-divider'):_vm._e(),(_vm.verTramite)?_c('v-list-item-title',{staticClass:\"overline secondary--text font-weight-bold pa-1\"},[_vm._v(\"Autorizaciones\")]):_vm._e(),(_vm.verTramite)?_c('v-divider'):_vm._e(),(_vm.verTramite)?_c('v-row',{staticClass:\"ma-0\"},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('FamiTable',{staticClass:\"pa-0\",attrs:{\"headers\":_vm.headersRadicado,\"entity\":_vm.entityRadicado,\"tools-table\":[],\"data-bd\":_vm.dataRadicado,\"loading\":false,\"items-per-page\":10,\"footer-props\":{\n pageText: '',\n showCurrentPage: true,\n },\"column-action\":['action'],\"dense\":\"\",\"item-key\":\"nombre\",\"height\":\"250\"}})],1)],1):_vm._e()],1)],1):_vm._e()],1)],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n<!-- ############################################## -->\r\n<!-- ############# Sección de HTML ################ -->\r\n<!-- ############################################## -->\r\n<!-- \r\n\tDefinicion del componente FamiAlert, altamente flexible y personalizado,\r\n\tconstruida sobre los cimientos de la mejora progresiva y reactiva,\r\n\tagrega caracteristicas avanzadas para confirmar acciones irreversibles con el usuario\r\n -->\r\n<template>\r\n <v-container class=\"corresponsalForm\" fluid>\r\n <v-card\r\n width=\"100%\"\r\n class=\"caja px-0 border border-white border-0\"\r\n elevation=\"0\"\r\n >\r\n <v-card-text class=\"cajaText pa-0\">\r\n <!-- Definición de componente de espera -->\r\n <FamiLoading :visible.sync=\"isLoading\"></FamiLoading>\r\n <v-row>\r\n <v-col cols=\"12\" sm=\"6\" md=\"4\" class=\"pb-0\">\r\n <v-autocomplete\r\n return-object\r\n label=\"Tipo trámite\"\r\n v-model=\"tipoTramite\"\r\n :items=\"tiposTramite\"\r\n :disabled=\"verTramite\"\r\n outlined\r\n dense\r\n prepend-inner-icon=\"mdi-clipboard-flow\"\r\n item-value=\"id\"\r\n item-text=\"nombre\"\r\n color=\"primary\"\r\n clearable\r\n ></v-autocomplete>\r\n </v-col>\r\n </v-row>\r\n <v-row>\r\n <v-col cols=\"12\">\r\n <v-form ref=\"formBusqueda\">\r\n <v-row class=\"pa-2\">\r\n <div\r\n class=\"d-flex justify-space-between mt-2\"\r\n style=\"width: 100%\"\r\n >\r\n <v-list-item-title\r\n class=\"overline secondary--text font-weight-bold\"\r\n >Afiliado</v-list-item-title\r\n >\r\n <v-spacer></v-spacer>\r\n </div>\r\n <v-card outlined elevation=\"0\" width=\"100%\">\r\n <v-row class=\"pa-2\">\r\n <v-col cols=\"12\" sm=\"6\" md=\"4\" class=\"pb-0\">\r\n <v-autocomplete\r\n return-object\r\n label=\"Tipo documento\"\r\n v-model=\"afiliado.tipoDocumento\"\r\n :items=\"listas.tiposDocumento\"\r\n outlined\r\n :disabled=\"verTramite\"\r\n :rules=\"rulCorresponsal\"\r\n dense\r\n prepend-inner-icon=\"mdi-account-key\"\r\n item-value=\"id\"\r\n item-text=\"nombre\"\r\n color=\"primary\"\r\n clearable\r\n ></v-autocomplete>\r\n </v-col>\r\n\r\n <v-col cols=\"12\" sm=\"6\" md=\"4\" class=\"pb-0\">\r\n <v-text-field\r\n dense\r\n label=\"Número documento\"\r\n :rules=\"rulCorresponsal\"\r\n v-model=\"afiliado.numeroDocumento\"\r\n @blur=\"buscarAfiliado\"\r\n outlined\r\n clearable\r\n :disabled=\"verTramite\"\r\n ></v-text-field>\r\n </v-col>\r\n\r\n <v-col\r\n cols=\"12\"\r\n sm=\"6\"\r\n md=\"4\"\r\n class=\"pb-0\"\r\n v-if=\"afiladoExistente\"\r\n >\r\n <label>{{ afiliado.nombreCompleto }}</label>\r\n <v-spacer></v-spacer>\r\n <label>Genero : {{ afiliado.genero }}</label>\r\n </v-col>\r\n </v-row>\r\n </v-card>\r\n </v-row>\r\n </v-form>\r\n\r\n <v-form ref=\"formularioCorresponsal\">\r\n <v-row class=\"pa-2\">\r\n <div\r\n class=\"d-flex justify-space-between mt-2\"\r\n style=\"width: 100%\"\r\n >\r\n <v-list-item-title\r\n class=\"overline secondary--text font-weight-bold\"\r\n >Contacto</v-list-item-title\r\n >\r\n <v-spacer></v-spacer>\r\n </div>\r\n <v-card outlined elevation=\"0\" width=\"100%\">\r\n <v-row class=\"pa-2\">\r\n <v-col cols=\"12\" sm=\"6\" md=\"4\" class=\"pb-0\">\r\n <FamiPhone\r\n :number=\"contacto.celular\"\r\n isCellPhone\r\n v-on:update:numberPhone=\"contacto.celular = $event\"\r\n labelField=\"Celular\"\r\n :required=\"!contacto.telefono\"\r\n :disabled=\"!afiladoExistente || verTramite\"\r\n ></FamiPhone>\r\n </v-col>\r\n\r\n <v-col cols=\"12\" sm=\"6\" md=\"4\" class=\"pb-0\">\r\n <FamiPhone\r\n :number=\"contacto.telefono\"\r\n v-on:update:numberPhone=\"contacto.telefono = $event\"\r\n labelField=\"Teléfono fijo\"\r\n :required=\"!contacto.celular\"\r\n :disabled=\"!afiladoExistente || verTramite\"\r\n ></FamiPhone>\r\n </v-col>\r\n\r\n <v-col cols=\"12\" sm=\"6\" md=\"4\" class=\"pb-0\">\r\n <v-text-field\r\n :disabled=\"!afiladoExistente || verTramite\"\r\n dense\r\n label=\"Correo electrónico\"\r\n :rules=\"rulEmail\"\r\n v-model.lazy=\"contacto.correo\"\r\n outlined\r\n clearable\r\n ></v-text-field>\r\n </v-col>\r\n\r\n <v-col cols=\"12\" sm=\"6\" md=\"4\" class=\"pb-0\">\r\n <v-autocomplete\r\n :disabled=\"!afiladoExistente || verTramite\"\r\n label=\"Departamento\"\r\n v-model=\"contacto.departamento\"\r\n :items=\"listas.departamentos\"\r\n return-object\r\n item-value=\"id\"\r\n item-text=\"nombre\"\r\n :rules=\"rulCorresponsal\"\r\n prepend-inner-icon=\"mdi-view-grid\"\r\n dense\r\n outlined\r\n color=\"primary\"\r\n clearable\r\n ></v-autocomplete>\r\n </v-col>\r\n\r\n <v-col cols=\"12\" sm=\"6\" md=\"4\" class=\"pb-0\">\r\n <v-autocomplete\r\n :disabled=\"!afiladoExistente || verTramite\"\r\n label=\"Ciudad y/o Municipio\"\r\n v-model=\"contacto.municipio\"\r\n :items=\"listMunicipio\"\r\n return-object\r\n item-value=\"id\"\r\n item-text=\"nombre\"\r\n :rules=\"rulCorresponsal\"\r\n outlined\r\n dense\r\n prepend-inner-icon=\"mdi-view-grid-plus\"\r\n color=\"primary\"\r\n clearable\r\n no-data-text=\"Seleccione un departamento\"\r\n ></v-autocomplete>\r\n </v-col>\r\n\r\n <v-col cols=\"12\" sm=\"6\" md=\"4\" class=\"pb-0\">\r\n <FamiAddress\r\n requerido\r\n size-width=\"450\"\r\n @saveAddress=\"guardarDireccion\"\r\n v-bind:valueAddress.sync=\"contacto.direccionResidencia\"\r\n label=\"Dirección\"\r\n :ciudad=\"afiladoExistente ? 'prueba' : null\"\r\n ></FamiAddress>\r\n </v-col>\r\n </v-row>\r\n </v-card>\r\n\r\n <div\r\n class=\"d-flex justify-space-between mt-2\"\r\n style=\"width: 100%\"\r\n >\r\n <v-list-item-title\r\n class=\"overline secondary--text font-weight-bold\"\r\n >Detalle Trámite\r\n {{\r\n verTramite === true ? \" - \" + tarea.tarea : \"\"\r\n }}</v-list-item-title\r\n >\r\n <v-spacer></v-spacer>\r\n </div>\r\n <v-card outlined elevation=\"0\" width=\"100%\">\r\n \r\n <v-row class=\"pa-2\" v-if=\"verTramite === true\">\r\n <v-col\r\n cols=\"12\"\r\n sm=\"6\"\r\n md=\"4\"\r\n class=\"pb-0\"\r\n >\r\n <v-text-field\r\n label=\"Trámite\"\r\n dense\r\n v-model=\"idTramite\"\r\n outlined\r\n disabled\r\n prepend-inner-icon=\"mdi-format-align-center\"\r\n ></v-text-field>\r\n </v-col>\r\n\r\n <v-col\r\n cols=\"12\"\r\n sm=\"6\"\r\n md=\"4\"\r\n class=\"pb-0\"\r\n >\r\n <v-text-field\r\n label=\"Tarea\"\r\n dense\r\n v-model=\"idInstanciaTarea\"\r\n outlined\r\n disabled\r\n prepend-inner-icon=\"mdi-clipboard-check-outline\"\r\n ></v-text-field>\r\n </v-col>\r\n\r\n <v-col\r\n cols=\"12\"\r\n sm=\"6\"\r\n md=\"4\"\r\n class=\"pb-0\"\r\n >\r\n <v-text-field\r\n label=\"Estado\"\r\n dense\r\n v-model=\"estadoInstanciaTarea\"\r\n outlined\r\n disabled\r\n prepend-inner-icon=\"mdi-check-circle-outline\"\r\n ></v-text-field>\r\n </v-col>\r\n\r\n <v-col\r\n cols=\"12\"\r\n sm=\"6\"\r\n md=\"4\"\r\n class=\"pb-0\"\r\n >\r\n <v-text-field\r\n label=\"Creación\"\r\n dense\r\n v-model=\"fechaCreacionFormat\"\r\n outlined\r\n disabled\r\n prepend-inner-icon=\"mdi-calendar\"\r\n ></v-text-field>\r\n </v-col>\r\n\r\n <v-col\r\n cols=\"12\"\r\n sm=\"6\"\r\n md=\"4\"\r\n class=\"pb-0\"\r\n >\r\n <v-text-field\r\n label=\"Vencimiento\"\r\n dense\r\n v-model=\"fechaVencimientoFormat\"\r\n outlined\r\n disabled\r\n prepend-inner-icon=\"mdi-calendar-clock\"\r\n ></v-text-field>\r\n </v-col>\r\n\r\n <v-col\r\n cols=\"12\"\r\n sm=\"6\"\r\n md=\"4\"\r\n class=\"pb-0\"\r\n v-if=\"fechaFinalizacion != null\"\r\n >\r\n <v-text-field\r\n label=\"Finalización\"\r\n dense\r\n v-model=\"fechaFinalizacionFormat\"\r\n outlined\r\n disabled\r\n prepend-inner-icon=\"mdi-calendar-check\"\r\n ></v-text-field>\r\n </v-col>\r\n\r\n <v-col\r\n cols=\"12\"\r\n sm=\"6\"\r\n md=\"4\"\r\n class=\"pb-0\"\r\n >\r\n <v-text-field\r\n label=\"Responsable\"\r\n dense\r\n v-model=\"responsableNombreCompleto\"\r\n outlined\r\n disabled\r\n prepend-inner-icon=\"mdi-account-outline\"\r\n ></v-text-field>\r\n </v-col>\r\n </v-row>\r\n \r\n <v-row class=\"pa-2\">\r\n <v-col\r\n cols=\"12\"\r\n sm=\"6\"\r\n md=\"4\"\r\n class=\"pb-0\"\r\n v-if=\"tipoTramite.id === 2\"\r\n >\r\n <v-autocomplete\r\n :disabled=\"verTramite || !afiladoExistente\"\r\n label=\"Certificado\"\r\n v-model=\"tarea\"\r\n :items=\"tareas\"\r\n return-object\r\n item-value=\"id\"\r\n item-text=\"tarea\"\r\n :rules=\"rulCorresponsal\"\r\n prepend-inner-icon=\"mdi-file-multiple\"\r\n dense\r\n outlined\r\n color=\"primary\"\r\n clearable\r\n no-data-text=\"Seleccione Certificado\"\r\n ></v-autocomplete>\r\n </v-col>\r\n\r\n <v-col\r\n cols=\"12\"\r\n sm=\"6\"\r\n md=\"4\"\r\n class=\"pb-0\"\r\n v-if=\"tarea && tarea.id === 8\"\r\n >\r\n <v-autocomplete\r\n :disabled=\"verTramite || !afiladoExistente\"\r\n label=\"Plan\"\r\n v-model=\"plan\"\r\n :items=\"planes\"\r\n :rules=\"rulCorresponsal\"\r\n prepend-inner-icon=\"mdi-hospital\"\r\n dense\r\n outlined\r\n color=\"primary\"\r\n clearable\r\n no-data-text=\"Seleccione un Plan\"\r\n ></v-autocomplete>\r\n </v-col>\r\n\r\n <v-col\r\n :cols=\"12\"\r\n :sm=\"6\"\r\n :md=\"4\"\r\n v-if=\"tarea && tarea.id === 7\"\r\n >\r\n <v-menu\r\n :disabled=\"verTramite || !afiladoExistente\"\r\n v-model=\"menuFechaInicial\"\r\n :close-on-content-click=\"false\"\r\n transition=\"scale-transition\"\r\n offset-y\r\n min-width=\"290px\"\r\n class=\"pr-1\"\r\n >\r\n <template v-slot:activator=\"{ on }\">\r\n <v-text-field\r\n dense\r\n label=\"Fecha inicial\"\r\n prepend-inner-icon=\"mdi-calendar-month-outline\"\r\n v-model=\"incapacidadFechaInicio\"\r\n :rules=\"rulCorresponsal\"\r\n outlined\r\n readonly\r\n v-on=\"on\"\r\n ></v-text-field>\r\n </template>\r\n <v-date-picker\r\n v-model=\"incapacidadFechaInicio\"\r\n locale=\"es-CO\"\r\n :max=\"new Date().toISOString().slice(0, 10)\"\r\n ></v-date-picker>\r\n </v-menu>\r\n </v-col>\r\n\r\n <v-col\r\n :cols=\"12\"\r\n :sm=\"6\"\r\n :md=\"4\"\r\n v-if=\"tarea && tarea.id === 7\"\r\n >\r\n <v-menu\r\n :disabled=\"verTramite || !afiladoExistente\"\r\n v-model=\"menuFechaFinal\"\r\n :close-on-content-click=\"false\"\r\n transition=\"scale-transition\"\r\n offset-y\r\n min-width=\"290px\"\r\n class=\"pl-1\"\r\n >\r\n <template v-slot:activator=\"{ on }\">\r\n <v-text-field\r\n dense\r\n label=\"Fecha final\"\r\n prepend-inner-icon=\"mdi-calendar-month-outline\"\r\n v-model=\"incapacidadFechaFin\"\r\n :rules=\"rulCorresponsal\"\r\n outlined\r\n readonly\r\n v-on=\"on\"\r\n ></v-text-field>\r\n </template>\r\n <v-date-picker\r\n v-model=\"incapacidadFechaFin\"\r\n locale=\"es-CO\"\r\n ></v-date-picker>\r\n </v-menu>\r\n </v-col>\r\n\r\n <v-col\r\n cols=\"12\"\r\n sm=\"6\"\r\n md=\"4\"\r\n class=\"pb-0\"\r\n v-if=\"tipoTramite.id === 1 && afiliado.isPac\"\r\n >\r\n <v-text-field\r\n placeholder=\"digite una ips\"\r\n dense\r\n v-model=\"ips\"\r\n outlined\r\n clearable\r\n :disabled=\"verTramite\"\r\n prepend-inner-icon=\"mdi-hospital-building\"\r\n ></v-text-field>\r\n </v-col>\r\n\r\n <v-col\r\n cols=\"12\"\r\n sm=\"6\"\r\n md=\"4\"\r\n class=\"pb-0\"\r\n v-if=\"tipoTramite.id === 2 && verTramite === true\"\r\n >\r\n <v-checkbox\r\n readonly\r\n v-model=\"conCertificado\"\r\n label=\"Genero Certificado\"\r\n color=\"success\"\r\n hide-details\r\n class=\"mt-0\"\r\n ></v-checkbox>\r\n </v-col>\r\n\r\n <v-col\r\n cols=\"12\"\r\n sm=\"6\"\r\n md=\"4\"\r\n class=\"pb-0\"\r\n v-if=\"\r\n tipoTramite.id === 2 &&\r\n verTramite === true &&\r\n reportExcepcion != null\r\n \"\r\n >\r\n <v-textarea\r\n v-model=\"reportExcepcion\"\r\n outlined\r\n readonly\r\n no-resize\r\n error\r\n dense\r\n class=\"\"\r\n color=\"error\"\r\n label=\"Errores al general el certificado\"\r\n rows=\"3\"\r\n prepend-icon=\"mdi-do-not-disturb\"\r\n ></v-textarea>\r\n </v-col>\r\n </v-row>\r\n\r\n <!-- v-show=\"camposSoporteAutorizacion\"-->\r\n <v-row class=\"pa-2 py-0\" v-if=\"tipoTramite.id === 1\">\r\n <v-col cols=\"12\" class=\"py-0 px-1\">\r\n <v-list-item-title\r\n class=\"overline secondary--text font-weight-bold pa-1\"\r\n >Soportes</v-list-item-title\r\n >\r\n <v-divider></v-divider>\r\n <v-row class=\"ma-0\">\r\n <v-col\r\n cols=\"12\"\r\n :md=\"`${verTramite === true ? 12 : 5}`\"\r\n :lg=\"`${verTramite === true ? 12 : 4}`\"\r\n class=\"px-0\"\r\n >\r\n <v-row class=\"ma-0\">\r\n <v-col cols=\"12\" class=\"pb-0\" v-if=\"!verTramite\">\r\n <v-form ref=\"formCargarDocumento\">\r\n <v-row class=\"ma-0\">\r\n <v-col cols=\"12\" sm=\"6\" md=\"12\" class=\"pb-0\">\r\n <v-file-input\r\n :rules=\"rulCorresponsal\"\r\n :loading=\"isLoading\"\r\n @change=\"cambiarArchivo\"\r\n v-model=\"file\"\r\n :disabled=\"verTramite\"\r\n placeholder=\"Adjuntar Archivo\"\r\n outlined\r\n dense\r\n show-size\r\n class=\"file pr-2\"\r\n accept=\"image/tiff,image/jpeg,image/jpg,image/png,.pdf,.PDF\"\r\n prepend-icon=\"mdi-paperclip\"\r\n color=\"secondary\"\r\n >\r\n <template v-slot:selection=\"{ text }\">\r\n <v-chip small label color=\"secondary\">\r\n {{ text }}\r\n </v-chip>\r\n </template>\r\n </v-file-input>\r\n </v-col>\r\n\r\n <v-col cols=\"12\" sm=\"6\" md=\"12\" class=\"pb-0\">\r\n <v-autocomplete\r\n label=\"Tipo Documental\"\r\n v-model=\"tipoDocumental\"\r\n :items=\"listas.tiposDocumental\"\r\n return-object\r\n item-value=\"codigo\"\r\n item-text=\"descripcion\"\r\n :rules=\"rulCorresponsal\"\r\n prepend-inner-icon=\"mdi-view-grid\"\r\n dense\r\n outlined\r\n color=\"primary\"\r\n clearable\r\n ></v-autocomplete>\r\n </v-col>\r\n\r\n <v-col\r\n cols=\"12\"\r\n sm=\"6\"\r\n md=\"12\"\r\n class=\"text-center\"\r\n v-if=\"mostrarAgregarArchivo\"\r\n >\r\n <v-btn\r\n small\r\n color=\"secondary\"\r\n dark\r\n @click=\"agregarArchivo\"\r\n >Cargar documento</v-btn\r\n >\r\n </v-col>\r\n </v-row>\r\n </v-form>\r\n </v-col>\r\n\r\n <v-col cols=\"12\" class=\"py-0\">\r\n <FamiTable\r\n :headers=\"headersFile\"\r\n :entity=\"entityFile\"\r\n @deleteItemFunc=\"borrarArchivo\"\r\n @clickRowFunc=\"clickRowFuncFile\"\r\n :tools-table=\"opcionesTablaArchivo\"\r\n :data-bd=\"dataFile\"\r\n :loading=\"false\"\r\n :items-per-page=\"10\"\r\n :footer-props=\"{\r\n pageText: '',\r\n showCurrentPage: true,\r\n }\"\r\n :column-action=\"['action']\"\r\n single-select\r\n dense\r\n item-key=\"nombre\"\r\n height=\"150\"\r\n class=\"pa-0\"\r\n >\r\n </FamiTable>\r\n </v-col>\r\n </v-row>\r\n </v-col>\r\n\r\n <v-col\r\n cols=\"12\"\r\n md=\"7\"\r\n lg=\"8\"\r\n class=\"pa-0\"\r\n style=\"border: thin solid rgba(0, 0, 0, 0.12)\"\r\n v-show=\"!verTramite\"\r\n >\r\n <FamiViewer\r\n :codeFile=\"pathFile\"\r\n :recursoExterno=\"recursoPdf\"\r\n maxHeight=\"400px\"\r\n ></FamiViewer>\r\n </v-col>\r\n </v-row>\r\n\r\n <v-divider v-if=\"verTramite\"></v-divider>\r\n <v-list-item-title\r\n class=\"overline secondary--text font-weight-bold pa-1\"\r\n v-if=\"verTramite\"\r\n >Autorizaciones</v-list-item-title\r\n >\r\n <v-divider v-if=\"verTramite\"></v-divider>\r\n <v-row class=\"ma-0\" v-if=\"verTramite\">\r\n <v-col cols=\"12\">\r\n <FamiTable\r\n :headers=\"headersRadicado\"\r\n :entity=\"entityRadicado\"\r\n :tools-table=\"[]\"\r\n :data-bd=\"dataRadicado\"\r\n :loading=\"false\"\r\n :items-per-page=\"10\"\r\n :footer-props=\"{\r\n pageText: '',\r\n showCurrentPage: true,\r\n }\"\r\n :column-action=\"['action']\"\r\n dense\r\n item-key=\"nombre\"\r\n height=\"250\"\r\n class=\"pa-0\"\r\n >\r\n </FamiTable>\r\n </v-col>\r\n </v-row>\r\n </v-col>\r\n </v-row>\r\n </v-card>\r\n </v-row>\r\n </v-form>\r\n </v-col>\r\n </v-row>\r\n </v-card-text>\r\n </v-card>\r\n </v-container>\r\n</template>\r\n\r\n<!-- ############################################## -->\r\n<!-- ############# Seccion de Script ############## -->\r\n<!-- ############################################## -->\r\n\r\n<script>\r\n/**Definicion de componentes o librerias necesarioas que se complementan con la vista */\r\nimport FamiLoading from \"@/components/FamiLoading\";\r\nimport FamiPhone from \"@/components/FamiPhone\";\r\nimport FamiAddress from \"@/components/FamiAddress\";\r\nimport FamiTable from \"@/components/FamiTable\";\r\nimport FamiViewer from \"@/components/FamiViewer\";\r\n\r\nimport { mapMutations } from \"vuex\";\r\n\r\n/**\r\n * Definimos el modulo propio del componente, basado en las directivas de vuejs\r\n */\r\nexport default {\r\n /**Objecto que permite registrar los componentes que hacen parte de la vista */\r\n components: {\r\n /**Inyectamos el componente de espera al realizar acciones en el formulario */\r\n FamiLoading,\r\n /**Inyectamos el componente para telefono */\r\n FamiPhone,\r\n /**Inyectamos el componente para direcciones */\r\n FamiAddress,\r\n /**Inyectamos el componente famitable */\r\n FamiTable,\r\n /** Componente que permite la visualizacion de archivos */\r\n FamiViewer,\r\n },\r\n\r\n props: {\r\n /**propiedad para recibir los datos basicos */\r\n datosBasicos: {\r\n type: Object,\r\n default: () => {},\r\n },\r\n },\r\n\r\n data() {\r\n /**URL´s para los diferentes endPoint */\r\n this.urlCorresponsal = this.$httpClient.defaults.corresponsal;\r\n this.urlProceso = `${this.urlCorresponsal}/msa-corresponsales-atencion/v1/proceso`;\r\n this.urlTareasProceso = `${this.urlCorresponsal}/msa-corresponsales-atencion/v1/tarea`;\r\n /**objeto con listas de datos basicos */\r\n this.listas = {};\r\n /**Tipos de tareas para un proceso */\r\n this.tareas = [];\r\n this.planes = [\"POS\", \"PAC\"];\r\n this.mensajeTiposDocumental =\r\n \"Debe seleccionar los documenos de soporte requeridos.\";\r\n return {\r\n /**loading para el componente */\r\n isLoading: false,\r\n verTramite: false,\r\n /**indicadores para los menus de los componentes de fechas */\r\n menuFechaInicial: false,\r\n menuFechaFinal: false,\r\n /**modelo de un afiliado */\r\n afiliado: {\r\n tipoDocumento: { id: \"CC\" },\r\n numeroDocumento: \"\",\r\n nombreCompleto: \"\",\r\n genero: \"\",\r\n isPac: false,\r\n },\r\n /**modelo de la contactabilidad de un afiliado */\r\n contacto: {\r\n id: \"\",\r\n telefono: \"\",\r\n celular: \"\",\r\n correo: \"\",\r\n municipio: \"\",\r\n departamento: \"\",\r\n barrio: \"\",\r\n direccionResidencia: \"\",\r\n },\r\n /**seleccionables del modulo */\r\n tipoTramite: { id: 2, nombre: \"Certificados\" },\r\n tarea: null,\r\n plan: null,\r\n incapacidadFechaInicio: null,\r\n incapacidadFechaFin: null,\r\n ips: null,\r\n conCertificado: null,\r\n reportExcepcion: null,\r\n tipoDocumental: null,\r\n\r\n estadoInstanciaTarea: null,\r\n fechaCreacion: null,\r\n fechaFinalizacion: null,\r\n fechaVencimiento: null,\r\n idInstanciaTarea: null,\r\n responsableNombreCompleto: null,\r\n idTramite: null,\r\n\r\n dataRadicado: [],\r\n dataFile: [],\r\n headersFile: [\r\n {\r\n text: \"Archivo\",\r\n value: \"nombre\",\r\n },\r\n {\r\n text: \"Tipo Documental\",\r\n value: \"tipoDocumental.descripcion\",\r\n },\r\n ],\r\n entityFile: {\r\n nombre: \"\",\r\n contenido: [],\r\n tipoDocumental: \"\",\r\n },\r\n headersRadicado: [\r\n {\r\n text: \"Expedida\",\r\n value: \"expedida\",\r\n },\r\n {\r\n text: \"Radicado\",\r\n value: \"numeroRadicacion\",\r\n },\r\n {\r\n text: \"Estado\",\r\n value: \"estado\",\r\n },\r\n {\r\n text: \"Causal Decisión\",\r\n value: \"causalDecision\",\r\n },\r\n {\r\n text: \"Servicio\",\r\n value: \"servicio\",\r\n },\r\n {\r\n text: \"IPS\",\r\n value: \"ipsNombre\",\r\n },\r\n {\r\n text: \"Dirección IPS\",\r\n value: \"dirIps\",\r\n },\r\n {\r\n text: \"Telefono IPS\",\r\n value: \"telIps\",\r\n },\r\n {\r\n text: \"Pago\",\r\n value: \"pago\",\r\n },\r\n {\r\n text: \"Observación\",\r\n value: \"observaciones\",\r\n },\r\n {\r\n text: \"Vigencia\",\r\n value: \"fechasVigencia\",\r\n },\r\n {\r\n text: \"N° Orden\",\r\n value: \"numOrden\",\r\n },\r\n ],\r\n entityRadicado: {\r\n expedida: \"\",\r\n numeroRadicacion: \"\",\r\n estado: \"\",\r\n causalDecision: \"\",\r\n servicio: \"\",\r\n ipsNombre: \"\",\r\n dirIps: \"\",\r\n telIps: \"\",\r\n pago: \"\",\r\n observaciones: \"\",\r\n fechasVigencia: \"\",\r\n numOrden: \"\",\r\n codigoCausal: \"\",\r\n estadoSeguimiento: \"\",\r\n numAut: \"\",\r\n },\r\n /**indicador si existe un afiliado */\r\n afiladoExistente: false,\r\n /** archivo a previsualizar */\r\n recursoPdf: {\r\n url: null,\r\n typeFile: null,\r\n blob: null,\r\n },\r\n /**permite actualizar el componente visor de documentos */\r\n pathFile: \"\",\r\n /**indicador si requiere actualizar la contactabilidad */\r\n requiereActualizacion: true,\r\n /**indicador para mostrar campos de archivo de soporte para autorizacion*/\r\n camposSoporteAutorizacion: false,\r\n /**municipio para buscar luego de cargar una contactabilidad */\r\n municipioActualizacion: null,\r\n /**Listas de datos */\r\n listMunicipio: [],\r\n tiposTramite: [],\r\n file: null,\r\n /**Atributo que permite definir reglas de validacion para el campo email */\r\n rulEmail: [\r\n (value) =>\r\n (value ? false : true) ||\r\n /.+@.+\\..+/.test(value) ||\r\n \"El email no es válido\",\r\n ],\r\n /**Atributo que permite definir reglas de validacion para la mayor parte de los campos */\r\n rulCorresponsal: [(value) => !!value || \"El campo es requerido\"],\r\n rulesSoportesDocumental: [this.rulCorresponsal],\r\n };\r\n },\r\n\r\n /** Registro de Metodos que permiten ser almacenados en la cache */\r\n computed: {\r\n mostrarAgregarArchivo() {\r\n if (this.file) {\r\n return true;\r\n }\r\n return false;\r\n },\r\n\r\n opcionesTablaArchivo() {\r\n return this.verTramite === true ? [] : [\"b\"];\r\n },\r\n\r\n fechaCreacionFormat(){\r\n if( this.fechaCreacion != null){\r\n let date = new Date(this.fechaCreacion);\r\n let sDate = date.getFullYear() + '-' + ( date.getMonth() + 1 ) + '-' + date.getDate();\r\n return sDate;\r\n }\r\n return '';\r\n },\r\n\r\n fechaVencimientoFormat(){\r\n if( this.fechaVencimiento != null){\r\n let date = new Date(this.fechaVencimiento);\r\n let sDate = date.getFullYear() + '-' + ( date.getMonth() + 1 ) + '-' + date.getDate();\r\n return sDate;\r\n }\r\n return '';\r\n },\r\n\r\n fechaFinalizacionFormat(){\r\n if( this.fechaFinalizacion != null){\r\n let date = new Date(this.fechaFinalizacion);\r\n let sDate = date.getFullYear() + '-' + ( date.getMonth() + 1 ) + '-' + date.getDate();\r\n return sDate;\r\n }\r\n return '';\r\n },\r\n },\r\n\r\n created() {\r\n this.cargarProcesos();\r\n this.cargarTareasPorProceso();\r\n this.listas = Object.assign({}, this.datosBasicos);\r\n },\r\n\r\n watch: {\r\n \"contacto.departamento\"(val) {\r\n this.contacto.municipio = null;\r\n this.listMunicipio = [];\r\n if (val) {\r\n this.cargarMpio(val);\r\n }\r\n },\r\n\r\n tarea() {\r\n if (!this.verTramite) {\r\n this.plan = null;\r\n }\r\n },\r\n\r\n tipoTramite() {\r\n this.cargarTareasPorProceso();\r\n },\r\n\r\n dataFile() {\r\n this.establecerArchivoPreview(\"\", \"\", null);\r\n },\r\n },\r\n\r\n methods: {\r\n /**Se inyecta metodos que hacen parte de almacen de estados de notificaciones */\r\n ...mapMutations(\"Notifications\", [\"hideNotification\", \"message\"]),\r\n\r\n /**valida si hace falta cargar un soporte de tipo documental */\r\n faltaSoporteTipoDocumental() {\r\n let vm = this;\r\n for (const e of this.listas.tiposDocumental) {\r\n if (e.requerido === 1 || (e.codigo === \"79\" && vm.afiliado.isPac)) {\r\n let dataFileValidate = this.dataFile.filter(\r\n (obj) => obj.tipoDocumental.codigo === e.codigo\r\n );\r\n if (dataFileValidate.length < 1) {\r\n return true;\r\n }\r\n }\r\n }\r\n\r\n return false;\r\n },\r\n\r\n agregarArchivo() {\r\n let form = this.$refs.formCargarDocumento.validate();\r\n if (form) {\r\n var archivo = {};\r\n archivo.nombre = this.file.name;\r\n archivo.contenido = this.file;\r\n archivo.tipoDocumental = this.tipoDocumental;\r\n\r\n this.dataFile = this.dataFile.filter(\r\n (obj) => obj.nombre !== archivo.nombre\r\n );\r\n this.dataFile.push(archivo);\r\n this.file = null;\r\n this.tipoDocumental = null;\r\n } else {\r\n this.message({\r\n message: \"Seleccione todos los datos del documento.\",\r\n type: \"error\",\r\n });\r\n }\r\n },\r\n\r\n borrarArchivo(archivo) {\r\n this.dataFile = this.dataFile.filter(\r\n (obj) => obj.nombre !== archivo.nombre\r\n );\r\n },\r\n\r\n establecerArchivoPreview(url, typeFile, blob ) {\r\n\r\n Object.assign(this.recursoPdf, {\r\n url: url,\r\n typeFile: typeFile,\r\n blob: typeFile != null && typeFile == 'image/tiff' ? blob: null ,\r\n });\r\n this.pathFile = this.pathFile.length > 0 ? \"\" : \" \";\r\n },\r\n\r\n cambiarArchivo() {\r\n if (this.file) {\r\n var urlDoc = URL.createObjectURL(this.file);\r\n this.establecerArchivoPreview(urlDoc, this.file.type, this.file);\r\n this.camposSoporteAutorizacion = true;\r\n } else {\r\n this.establecerArchivoPreview(\"\", \"\", null);\r\n this.camposSoporteAutorizacion = false;\r\n }\r\n },\r\n\r\n clickRowFuncFile(entity) {\r\n if (!this.verTramite) {\r\n var urlDoc = URL.createObjectURL(entity.contenido);\r\n this.establecerArchivoPreview(urlDoc, entity.contenido.type, entity.contenido);\r\n }\r\n },\r\n\r\n /**Carga las tareas de un proceso */\r\n cargarTareasPorProceso() {\r\n this.isLoading = true;\r\n var vm = this;\r\n this.$httpClient\r\n .get(vm.urlTareasProceso, { params: vm.tipoTramite })\r\n .then(function (response) {\r\n vm.tareas = response.data.data;\r\n })\r\n .catch(function () {\r\n this.message({\r\n message: \"Error al traer la informacion del servidor.\",\r\n type: \"error\",\r\n });\r\n })\r\n .then(function () {\r\n vm.isLoading = false;\r\n });\r\n },\r\n\r\n /**carga los diferentes procesos */\r\n cargarProcesos() {\r\n this.isLoading = true;\r\n var vm = this;\r\n this.$httpClient\r\n .get(vm.urlProceso)\r\n .then(function (response) {\r\n vm.tiposTramite = response.data.data;\r\n })\r\n .catch(function () {\r\n this.message({\r\n message: \"Error al traer la informacion del servidor.\",\r\n type: \"error\",\r\n });\r\n })\r\n .then(function () {\r\n vm.isLoading = false;\r\n });\r\n },\r\n\r\n /**carga los municipios de un departamento */\r\n cargarMpio(dpto) {\r\n var endPointUrl = `${this.urlCorresponsal}/msa-corresponsales-atencion/v1/corresponsal/departamento/${dpto.id}`;\r\n this.isLoading = true;\r\n var vm = this;\r\n this.$httpClient\r\n .get(endPointUrl)\r\n .then(function (response) {\r\n vm.listMunicipio = response.data.data;\r\n if (vm.municipioActualizacion != null) {\r\n vm.contacto.municipio = vm.listMunicipio.find(\r\n (val) => val.id === vm.municipioActualizacion\r\n );\r\n vm.municipioActualizacion = null;\r\n }\r\n })\r\n .catch(function () { \r\n vm.listMunicipio = [];\r\n })\r\n .then(function () {\r\n vm.isLoading = false;\r\n });\r\n },\r\n\r\n /**genera el nombre completo de un afiliado */\r\n generarNombreCompleto(nombres, primerApellido, segundoApellido) {\r\n return (\r\n (nombres != null ? nombres : \"\") +\r\n \" \" +\r\n (primerApellido != null ? primerApellido : \"\") +\r\n \" \" +\r\n (segundoApellido != null ? segundoApellido : \"\")\r\n );\r\n },\r\n\r\n /**formatea la direccion del cmponente direccion */\r\n guardarDireccion(direccion) {\r\n this.contacto.direccionResidencia = direccion.completaDireccion;\r\n this.contacto.barrio = direccion.barrio;\r\n },\r\n\r\n /**busca un afiliado */\r\n buscarAfiliado() {\r\n var vm = this;\r\n let form = vm.$refs.formBusqueda.validate();\r\n if (form) {\r\n vm.isLoading = true;\r\n\r\n var predata = {};\r\n predata.tipoDocumento = vm.afiliado.tipoDocumento;\r\n predata.numeroDocumento = vm.afiliado.numeroDocumento;\r\n\r\n var endPointUrl = `${this.urlCorresponsal}/msa-corresponsales-atencion/v1/afiliado/buscar`;\r\n\r\n var data = {};\r\n data.tipoIdentificacion = vm.afiliado.tipoDocumento.id;\r\n data.identificacion = vm.afiliado.numeroDocumento;\r\n\r\n this.$httpClient\r\n .post(endPointUrl, data, {\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n })\r\n .then(function (response) {\r\n if (\r\n response.status === 200 &&\r\n !vm._.isEmpty(response.data) &&\r\n !vm._.isEmpty(response.data.afiliado)\r\n ) {\r\n let afiliado = response.data.afiliado;\r\n vm.afiliado.nombreCompleto = vm.generarNombreCompleto(\r\n afiliado.nombres,\r\n afiliado.apellido1,\r\n afiliado.apellido2\r\n );\r\n vm.afiliado.genero = afiliado.sexo;\r\n vm.afiladoExistente = true;\r\n vm.afiliado.isPac = afiliado.tienePac;\r\n vm.emitirAfiladoExistente(vm.afiladoExistente);\r\n vm.determinarActualizacionContacto(response.data.contacto);\r\n vm.$refs.formularioCorresponsal.validate();\r\n } else if (response.status === 204) {\r\n vm.establecerAfiliadoNoEncontrado();\r\n vm.establecerContactoVacio();\r\n vm.message({\r\n message: \"Afiliado no encontrado\",\r\n type: \"warning\",\r\n });\r\n }\r\n vm.afiliado.tipoDocumento = predata.tipoDocumento;\r\n vm.afiliado.numeroDocumento = predata.numeroDocumento;\r\n })\r\n .catch(function () {\r\n vm.message({\r\n message: \"Ocurrio un error, intenta mas tarde\",\r\n type: \"error\",\r\n });\r\n vm.establecerAfiliadoNoEncontrado();\r\n })\r\n .then(function () {\r\n vm.isLoading = false;\r\n });\r\n } else {\r\n this.message({ message: \"Faltan campos por llenar\", type: \"error\" });\r\n return null;\r\n }\r\n },\r\n\r\n /**determina si un afiliado debe actualizar contacto o no */\r\n determinarActualizacionContacto(contacto) {\r\n if (contacto && contacto.requiereActualizacion === false) {\r\n this.requiereActualizacion = false;\r\n this.contacto.id = contacto.id;\r\n this.contacto.telefono = contacto.telefono;\r\n this.contacto.celular = contacto.celular;\r\n this.contacto.correo = contacto.correo;\r\n this.contacto.departamento = this.listas.departamentos.find(\r\n (val) => val.id === contacto.departamentoId\r\n );\r\n this.municipioActualizacion = contacto.municipioId;\r\n this.contacto.barrio = contacto.barrio;\r\n this.contacto.direccionResidencia = contacto.direccionResidencia;\r\n } else {\r\n this.requiereActualizacion = true;\r\n this.establecerContactoVacio();\r\n this.contacto.id = contacto ? contacto.id : \"\";\r\n }\r\n },\r\n\r\n /**indica en la interfaz que el afiliado no se encontro*/\r\n establecerAfiliadoNoEncontrado() {\r\n this.afiliado.nombreCompleto = \"\";\r\n this.afiliado.genero = \"\";\r\n this.afiladoExistente = false;\r\n this.emitirAfiladoExistente(this.afiladoExistente);\r\n },\r\n\r\n /**establece los campos vacios para cuando un afiliado no se encuentra*/\r\n establecerAfiliadoVacio() {\r\n this.establecerAfiliadoNoEncontrado();\r\n this.afiliado.numeroDocumento = \"\";\r\n this.incapacidadFechaInicio = null;\r\n this.incapacidadFechaFin = null;\r\n this.plan = null;\r\n this.tarea = null;\r\n this.ips = null;\r\n this.file = null;\r\n this.tipoDocumental = null;\r\n this.dataFile = [];\r\n this.establecerContactoVacio();\r\n this.tipoTramite = { id: 2, nombre: \"Certificados\" };\r\n this.conCertificado = null;\r\n this.reportExcepcion = null;\r\n this.dataRadicado = [];\r\n\r\n this.estadoInstanciaTarea = null;\r\n this.fechaCreacion = null;\r\n this.fechaFinalizacion = null;\r\n this.fechaVencimiento = null;\r\n this.idInstanciaTarea = null;\r\n this.responsableNombreCompleto = null;\r\n this.idTramite = null;\r\n this.verTramite = false;\r\n },\r\n\r\n /**emite el evento que deja saber si un afilo existe o no */\r\n emitirAfiladoExistente(existe) {\r\n this.$emit(\"afiliadoExiste\", existe);\r\n },\r\n\r\n /**establece los campos de contactabilidad vacios */\r\n establecerContactoVacio() {\r\n this.contacto.id = \"\";\r\n this.contacto.telefono = \"\";\r\n this.contacto.celular = \"\";\r\n this.contacto.correo = \"\";\r\n this.contacto.departamento = \"\";\r\n this.contacto.municipio = \"\";\r\n this.contacto.barrio = \"\";\r\n this.contacto.direccionResidencia = \"\";\r\n },\r\n\r\n /**obtiene los datos del tramite y contactabilidad */\r\n obtenerTramite() {\r\n if (this.$refs.formularioCorresponsal) {\r\n let formulario = this.$refs.formularioCorresponsal.validate();\r\n\r\n if (formulario) {\r\n let tramite = {};\r\n if (this.tipoTramite.id === 2) {\r\n tramite.tareaId = this.tarea.id;\r\n }\r\n tramite.contacto = this.obtenerContacto();\r\n tramite.datos = this.obtenerDatosTramite();\r\n if (tramite.datos) {\r\n return tramite;\r\n }\r\n return null;\r\n } else {\r\n this.message({ message: \"Faltan campos por llenar.\", type: \"error\" });\r\n return null;\r\n }\r\n } else {\r\n this.$refs.formBusqueda.validate();\r\n this.message({\r\n message: \"Busque un afiliado y diligencie los campos.\",\r\n type: \"error\",\r\n });\r\n return null;\r\n }\r\n },\r\n\r\n /**devuelve los datos del tramite */\r\n obtenerDatosTramite() {\r\n let datos = {};\r\n datos.tipoDoc = this.afiliado.tipoDocumento.id;\r\n datos.doc = this.afiliado.numeroDocumento;\r\n\r\n if (this.tipoTramite.id === 2) {\r\n datos.tramite = \"Certificado\";\r\n datos.plan = this.plan;\r\n datos.incapacidad = {};\r\n datos.fechaInicio = this.incapacidadFechaInicio;\r\n datos.fechaFin = this.incapacidadFechaFin;\r\n } else {\r\n let falta = this.faltaSoporteTipoDocumental();\r\n if (falta) {\r\n this.$refs.formCargarDocumento.validate();\r\n this.message({\r\n message: this.mensajeTiposDocumental,\r\n type: \"error\",\r\n });\r\n return null;\r\n }\r\n datos.tramite = \"Autorización\";\r\n datos.ips = this.ips;\r\n let data = {};\r\n data = this.archivosDesdeDataFile();\r\n datos.dataFile = data.dataFile;\r\n datos.files = data.contenidos;\r\n }\r\n return datos;\r\n },\r\n\r\n archivosDesdeDataFile() {\r\n let data = {};\r\n let contenidos = [];\r\n let datafileCopy = [];\r\n\r\n for (const e of this.dataFile) {\r\n datafileCopy.push({\r\n nombre: e.nombre,\r\n tipoDocumental: e.tipoDocumental,\r\n });\r\n contenidos.push(e.contenido);\r\n }\r\n data.contenidos = contenidos;\r\n data.dataFile = datafileCopy;\r\n return data;\r\n },\r\n\r\n /**obtiene la informacion de contactabilidad */\r\n obtenerContacto() {\r\n let contacto = {};\r\n Object.assign(\r\n contacto,\r\n this._.pick(this.contacto, [\r\n \"id\",\r\n \"telefono\",\r\n \"celular\",\r\n \"correo\",\r\n \"barrio\",\r\n \"direccionResidencia\",\r\n ])\r\n );\r\n contacto.tipoIdentificacion = this.afiliado.tipoDocumento.id;\r\n contacto.identificacion = this.afiliado.numeroDocumento;\r\n contacto.municipioId = this.contacto.municipio.id;\r\n return contacto;\r\n },\r\n\r\n verTareaTramite(entidad) {\r\n this.isLoading = true;\r\n this.verTramite = true;\r\n this.tipoTramite = entidad.procesoDto;\r\n this.afiliado.tipoDocumento = { id: entidad.afiliado.tipoIdentificacion };\r\n this.afiliado.numeroDocumento = entidad.afiliado.identificacion;\r\n this.afiliado.nombreCompleto = this.generarNombreCompleto(\r\n entidad.afiliado.nombres,\r\n entidad.afiliado.apellido1,\r\n entidad.afiliado.apellido2\r\n );\r\n this.afiliado.genero = entidad.afiliado.sexo;\r\n this.afiliado.isPac = entidad.afiliado.tienePac;\r\n this.afiladoExistente = true;\r\n\r\n this.contacto.id = entidad.contacto.id;\r\n this.contacto.barrio = entidad.contacto.barrio;\r\n this.contacto.celular = entidad.contacto.celular;\r\n this.contacto.correo = entidad.contacto.correo;\r\n this.contacto.telefono = entidad.contacto.telefono;\r\n\r\n // this.contacto.municipio = entidad.contacto.municipio;\r\n // this.contacto.departamento = entidad.contacto.departamento;\r\n this.contacto.departamento = this.listas.departamentos.find(\r\n (val) => val.id === entidad.contacto.departamentoId\r\n );\r\n this.municipioActualizacion = entidad.contacto.municipioId;\r\n this.contacto.direccionResidencia = entidad.contacto.direccionResidencia;\r\n\r\n this.tarea = entidad.tareaDto;\r\n\r\n this.incapacidadFechaInicio = entidad.datosTarea.fechaInicio;\r\n this.incapacidadFechaFin = entidad.datosTarea.fechaFin;\r\n this.ips = entidad.datosTarea.ips;\r\n this.plan = this.planes.find((e) => e === entidad.datosTarea.plan);\r\n this.dataFile = entidad.datosTarea.dataFile;\r\n this.dataRadicado = entidad.autorizacionesSolicitud;\r\n\r\n this.conCertificado = entidad.datosTarea.conCertificado === \"true\";\r\n this.reportExcepcion = entidad.datosTarea.reportExcepcion;\r\n\r\n this.idTramite = entidad.idTramite;\r\n this.idInstanciaTarea = entidad.idInstanciaTarea;\r\n this.estadoInstanciaTarea = entidad.estadoInstanciaTarea;\r\n this.fechaCreacion = entidad.fechaCreacion;\r\n this.fechaVencimiento = entidad.fechaVencimiento;\r\n this.fechaFinalizacion = entidad.fechaFinalizacion;\r\n this.responsableNombreCompleto = entidad.responsableNombreCompleto;\r\n\r\n this.isLoading = false;\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n\r\n<!-- ############################################## -->\r\n<!-- ############# Sección de CSS ################# -->\r\n<!-- ############################################## -->\r\n<!-- \r\n\tEspacio que permite definir los estilos del componente\r\n -->\r\n<style scoped>\r\n/deep/ .v-select__selections {\r\n min-height: 32px !important;\r\n padding: 0px !important;\r\n}\r\n\r\n/deep/ .v-chip__content {\r\n font-size: 11px;\r\n}\r\n\r\n/deep/ .v-chip.v-size--x-small {\r\n font-size: 11px;\r\n height: auto;\r\n margin: 4px 4px 0 4px;\r\n}\r\n\r\n/deep/ .table-margin {\r\n margin: -13px 0px -13px 0px;\r\n}\r\n\r\n.validateTree {\r\n border: thin solid var(--v-error-base) !important;\r\n}\r\n#previewFiles {\r\n overflow-y: hidden;\r\n}\r\n</style>","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/vuetify-loader/lib/loader.js??ref--18-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CorresponsalForm.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/vuetify-loader/lib/loader.js??ref--18-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CorresponsalForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CorresponsalForm.vue?vue&type=template&id=1cd5a2ee&scoped=true&\"\nimport script from \"./CorresponsalForm.vue?vue&type=script&lang=js&\"\nexport * from \"./CorresponsalForm.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CorresponsalForm.vue?vue&type=style&index=0&id=1cd5a2ee&scoped=true&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 \"1cd5a2ee\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VFileInput } from 'vuetify/lib/components/VFileInput';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VAutocomplete,VBtn,VCard,VCardText,VCheckbox,VChip,VCol,VContainer,VDatePicker,VDivider,VFileInput,VForm,VListItemTitle,VMenu,VRow,VSpacer,VTextField,VTextarea})\n","<!-- ############################################## -->\r\n<!-- ############# Sección de HTML ################ -->\r\n<!-- ############################################## -->\r\n<!--\r\n\tDefinicion de la vista Covid19, altamente flexible y personalizado,\r\n\tconstruida sobre los cimientos de la mejora progresiva y reactiva,\r\n\tagrega caracteristicas de navegacion totalmente supervisadas por la directiva hasRole, Representacion de formulario y registros de pacientes con sospechas de covid19\r\n -->\r\n<template>\r\n <v-container class=\"tramites pa-0 pt-4\" fluid>\r\n <FamiLoading :visible.sync=\"isLoading\"></FamiLoading>\r\n <FamiTable v-hasRole=\"'9.1.1'\"\r\n itemKey=\"tareaId\"\r\n :headers=\"headers\"\r\n loading-text=\"Cargando... Por favor espere\"\r\n height=\"calc(100vh - 350px)\"\r\n max-width-dialog=\"1300\"\r\n :entity=\"entity\"\r\n :dataBd=\"dataFiltro\"\r\n :url=\"urlLista\"\r\n :singleSelect=\"true\"\r\n v-bind:pop-up-close.sync=\"popup\"\r\n v-bind:update-table.sync=\"updateTable\"\r\n :form-title=\"formTitle\"\r\n @editItemFunc=\"editItem\"\r\n @openFormFunc=\"openFormFunc\"\r\n @getRowSelectedFunc=\"onRowSelect\"\r\n :permission=\"['9.1.2', '9.1.3']\"\r\n :search-column=\"['estado', 'responsable', 'proceso', 'tarea', 'tramite']\"\r\n :footer-dialog=\"['c']\"\r\n :column-action=\"['descargar']\"\r\n :toolsTable=\"['a', 'm']\"\r\n :optionsParams=\"parametrosTabla\"\r\n >\r\n <template v-slot:filterForm>\r\n <v-row>\r\n <v-col cols=\"12 py-0\">\r\n <v-switch\r\n dense\r\n v-model=\"busquedaAvanzada\"\r\n class=\"mt-0 mb-n3 pt-0 px-2\"\r\n >\r\n <template v-slot:label>\r\n <strong class=\"primary--text\">{{\r\n busquedaAvanzada ? \"Busqueda general\" : \"Busqueda avanzada\"\r\n }}</strong>\r\n </template>\r\n </v-switch>\r\n </v-col>\r\n </v-row>\r\n <v-card outlined class=\"mx-auto mb-1\">\r\n <v-container fluid class=\"mt-n2 pb-0\">\r\n <v-row dense class=\"mt-2\" v-if=\"!busquedaAvanzada\">\r\n <v-col :cols=\"12\" :md=\"4\" class>\r\n <v-text-field\r\n dense\r\n label=\"Búsqueda General\"\r\n outlined\r\n clearable\r\n v-model=\"tablaBusquedaGeneral\"\r\n color=\"teal\"\r\n hide-details\r\n @keyup.stop.prevent.enter=\"filtrar\"\r\n @click:clear=\"limpiarFiltro\"\r\n @click:append=\"filtrar\"\r\n append-icon=\"mdi-magnify\"\r\n ></v-text-field>\r\n <!-- -->\r\n </v-col>\r\n </v-row>\r\n\r\n <v-row dense v-if=\"busquedaAvanzada\">\r\n <v-col :cols=\"12\" :md=\"4\" class=\"px-3\">\r\n <v-row dense>\r\n <v-col :cols=\"12\" :sm=\"6\" :md=\"12\" :lg=\"6\">\r\n <v-autocomplete\r\n label=\"Tipo documento\"\r\n :items=\"listas.tiposDocumento\"\r\n return-object\r\n item-value=\"id\"\r\n item-text=\"nombre\"\r\n v-model=\"tipoDoc\"\r\n outlined\r\n dense\r\n prepend-inner-icon=\"mdi-account-key\"\r\n color=\"primary\"\r\n clearable\r\n ></v-autocomplete>\r\n </v-col>\r\n <v-col :cols=\"12\" :sm=\"6\" :md=\"12\" :lg=\"6\">\r\n <v-text-field\r\n dense\r\n label=\"Número Documento\"\r\n outlined\r\n clearable\r\n v-model=\"doc\"\r\n ></v-text-field>\r\n </v-col>\r\n </v-row>\r\n </v-col>\r\n\r\n <v-col :cols=\"12\" :md=\"8\" class=\"px-3\">\r\n <v-row dense>\r\n <v-col :cols=\"12\" :sm=\"6\" :lg=\"4\">\r\n <v-autocomplete\r\n label=\"Fecha... \"\r\n v-model=\"fechaSeleccionada\"\r\n :items=\"listaFechas\"\r\n item-value=\"value\"\r\n item-text=\"text\"\r\n prepend-inner-icon=\"mdi-calendar-month-outline\"\r\n return-object\r\n color=\"primary\"\r\n dense\r\n outlined\r\n clearable\r\n ></v-autocomplete>\r\n </v-col>\r\n\r\n <v-col :cols=\"12\" :sm=\"6\" :lg=\"4\">\r\n <v-menu\r\n v-model=\"menuFechaInicial\"\r\n :close-on-content-click=\"true\"\r\n transition=\"scale-transition\"\r\n offset-y\r\n min-width=\"290px\"\r\n class=\"pr-1\"\r\n >\r\n <template v-slot:activator=\"{ on }\">\r\n <v-text-field\r\n dense\r\n :label=\"fechaSeleccionada.text + ' inicial'\"\r\n prepend-inner-icon=\"mdi-calendar-month-outline\"\r\n v-model=\"fechaFiltroInicial\"\r\n outlined\r\n readonly\r\n v-on=\"on\"\r\n ></v-text-field>\r\n </template>\r\n <v-date-picker\r\n v-model=\"fechaFiltroInicial\"\r\n locale=\"es-CO\"\r\n :max=\"new Date().toISOString().slice(0, 10)\"\r\n ></v-date-picker>\r\n </v-menu>\r\n </v-col>\r\n\r\n <v-col :cols=\"12\" :sm=\"6\" :lg=\"4\">\r\n <v-menu\r\n v-model=\"menuFechaFinal\"\r\n :close-on-content-click=\"true\"\r\n transition=\"scale-transition\"\r\n offset-y\r\n min-width=\"290px\"\r\n class=\"pl-1\"\r\n >\r\n <template v-slot:activator=\"{ on }\">\r\n <v-text-field\r\n dense\r\n :label=\"fechaSeleccionada.text + ' final'\"\r\n prepend-inner-icon=\"mdi-calendar-month-outline\"\r\n v-model=\"fechaFiltroFinal\"\r\n outlined\r\n readonly\r\n v-on=\"on\"\r\n ></v-text-field>\r\n </template>\r\n <v-date-picker\r\n v-model=\"fechaFiltroFinal\"\r\n locale=\"es-CO\"\r\n ></v-date-picker>\r\n </v-menu>\r\n </v-col>\r\n </v-row>\r\n </v-col>\r\n </v-row>\r\n </v-container>\r\n\r\n <v-card-actions>\r\n <v-spacer></v-spacer>\r\n <v-btn color=\"primary\" small @click=\"filtrar\">filtrar</v-btn>\r\n <v-btn color=\"primary\" small @click=\"limpiarFiltro\">Limpiar</v-btn>\r\n </v-card-actions>\r\n </v-card>\r\n </template>\r\n\r\n <!-- Inyectamos formulario mapeado con la entidad-->\r\n <template v-slot:dialogForm>\r\n <FamiLoading :visible.sync=\"isLoading\"></FamiLoading>\r\n <v-container\r\n fluid\r\n class=\"contenedorCorresponsalForm\"\r\n style=\"overflow-y: auto\"\r\n >\r\n <CorresponsalForm\r\n :datosBasicos=\"listas\"\r\n ref=\"formTramite\"\r\n v-bind:pop-up-close.sync=\"popup\"\r\n @afiliadoExiste=\"onAfiladoExistente\"\r\n ></CorresponsalForm>\r\n </v-container>\r\n </template>\r\n <!-- FIN formulario mapeado con la entidad -->\r\n <template v-slot:footerToolsDialog>\r\n <v-btn\r\n v-if=\"!verTramite\"\r\n color=\"primary\"\r\n small\r\n :disabled=\"!afiladoExiste\"\r\n @click=\"handleSaveEntity\"\r\n >Finalizar</v-btn\r\n >\r\n </template>\r\n </FamiTable>\r\n </v-container>\r\n</template>\r\n\r\n<!-- ############################################## -->\r\n<!-- ############# Seccion de Script ############## -->\r\n<!-- ############################################## -->\r\n<!--\r\n\tEspacio que permite la configuracion y definicion de propiedades, datos, metodos entre otros, determina\r\n\tel comportamiento de la vista y su ciclo de vida\r\n -->\r\n<script>\r\n/**Definicion de componentes o librerias necesarioas que se complementan con la vista */\r\nimport FamiLoading from \"@/components/FamiLoading\";\r\nimport FamiTable from \"@/components/FamiTable\";\r\nimport CorresponsalForm from \"@/components/corresponsal/CorresponsalForm\";\r\nimport { mapMutations } from \"vuex\";\r\n\r\n/**\r\n * Definimos el modulo propio de la vista, basado en las directivas de vuejs\r\n */\r\nexport default {\r\n /**Objecto que permite registrar los componentes que hacen parte de la vista */\r\n components: {\r\n /**Inyectamos el componente de espera al realizar acciones en el formulario */\r\n FamiLoading,\r\n\r\n /**Inyectamos el componente famitable */\r\n FamiTable,\r\n\r\n /**Inyectamos el componente de captacion */\r\n CorresponsalForm,\r\n },\r\n\r\n /**\r\n * Objeto con los datos de la vista, forman parte del sistema de reactividad de Vue, las vistas y otros\r\n * componentes reaccionan a los cambios\r\n */\r\n data() {\r\n /**Listas de seleccionables en la vista */\r\n this.listaFechas = [\r\n { text: \"Fecha creacion\", value: \"fechaCreacion\" },\r\n { text: \"Fecha vencimiento\", value: \"fechaVencimiento\" },\r\n { text: \"Fecha finalización\", value: \"fechaFinalizacion\" },\r\n ];\r\n /**URL´s para los diferentes endPoint */\r\n this.urlCorresponsal = this.$httpClient.defaults.corresponsal;\r\n this.urlDefault = `${this.urlCorresponsal}/msa-corresponsales-atencion/v1/instancias-tareas/tramites`;\r\n this.urlFechas = `${this.urlCorresponsal}/msa-corresponsales-atencion/v1/instancias-tareas/fechas`;\r\n this.urlTipoYDocumento = `${this.urlCorresponsal}/msa-corresponsales-atencion/v1/instancias-tareas/tipoYDocumento`;\r\n this.urlCrearTramiteCertificado = `${this.urlCorresponsal}/msa-corresponsales-atencion/v1/instancias-tareas/certificado/crear`;\r\n this.urlDatosBasicos = `${this.urlCorresponsal}/msa-corresponsales-atencion/v1/corresponsal/datos-basicos`;\r\n this.urlCrearTramiteAutorizacion = `${this.urlCorresponsal}/msa-corresponsales-atencion/v1/instancias-tareas/autorizacion/crear`;\r\n this.urlBuscarInstanciaTarea = `${this.urlCorresponsal}/msa-corresponsales-atencion/v1/instancias-tareas/tramite/tarea/`;\r\n return {\r\n /** Negocio */\r\n entity: {\r\n proceso: \"\",\r\n tramite: \"\",\r\n tarea: \"\",\r\n tareaId: \"\",\r\n estado: \"\",\r\n fechaCreacion: \"\",\r\n fechaVencimiento: \"\",\r\n fechaFinalizacion: \"\",\r\n tipoDoc: \"\",\r\n doc: \"\",\r\n responsable: \"\",\r\n },\r\n /**listas de datos basicos */\r\n listas: [],\r\n /** FIN Negocio */\r\n\r\n /** configuracion de componentes */\r\n formTitle: \"Trámite\",\r\n isLoading: false,\r\n updateTable: false,\r\n parametrosTabla: {},\r\n headers: [\r\n {\r\n text: \"Trámite\",\r\n sortable: false,\r\n value: \"tramite\",\r\n },\r\n {\r\n text: \"Tipo trámite\",\r\n sortable: false,\r\n value: \"proceso\",\r\n },\r\n {\r\n text: \"Certificado/Tarea\",\r\n sortable: false,\r\n value: \"tarea\",\r\n },\r\n {\r\n text: \"Estado\",\r\n sortable: false,\r\n value: \"estado\",\r\n },\r\n {\r\n text: \"Responsable\",\r\n sortable: false,\r\n value: \"responsable\",\r\n },\r\n {\r\n text: \"F. creación\",\r\n sortable: false,\r\n value: \"fechaCreacion\",\r\n },\r\n {\r\n text: \"F. vencimiento\",\r\n sortable: false,\r\n value: \"fechaVencimiento\",\r\n },\r\n {\r\n text: \"F. finalización\",\r\n sortable: false,\r\n value: \"fechaFinalizacion\",\r\n },\r\n {\r\n text: \"T. Doc.\",\r\n sortable: false,\r\n value: \"tipoDoc\",\r\n },\r\n {\r\n text: \"Documento\",\r\n sortable: false,\r\n value: \"doc\",\r\n },\r\n ],\r\n popup: false,\r\n dataFiltro: [],\r\n urlLista: this.urlDefault,\r\n busquedaAvanzada: false,\r\n /**seleccionables del componente */\r\n doc: \"\",\r\n tipoDoc: \"\",\r\n fechaSeleccionada: this.listaFechas[0],\r\n fechaFiltroInicial: \"\",\r\n fechaFiltroFinal: \"\",\r\n tablaBusquedaGeneral: \"\",\r\n /**indicadores para los menus de los componentes de fechas */\r\n menuFechaInicial: false,\r\n menuFechaFinal: false,\r\n /**para saber si el afiliado para el trmite existe */\r\n afiladoExiste: false,\r\n verTramite: false,\r\n /** FIN configuracion de componentes */\r\n };\r\n },\r\n\r\n /**\r\n * Metodo que se ejecuta al crear la vista, hace parte del ciclo de vida de vuejs\r\n */\r\n created() {\r\n this.cargarListas();\r\n },\r\n\r\n watch: {\r\n doc() {\r\n this.limpiarFiltroFechas();\r\n this.limpiarFiltroBusquedaGeneral();\r\n },\r\n\r\n tipoDoc() {\r\n this.limpiarFiltroFechas();\r\n this.limpiarFiltroBusquedaGeneral();\r\n },\r\n\r\n fechaSeleccionada() {\r\n this.limpiarFiltroDocumento();\r\n this.limpiarFiltroBusquedaGeneral();\r\n },\r\n\r\n fechaFiltroInicial() {\r\n this.limpiarFiltroDocumento();\r\n this.limpiarFiltroBusquedaGeneral();\r\n },\r\n\r\n fechaFiltroFinal() {\r\n this.limpiarFiltroDocumento();\r\n this.limpiarFiltroBusquedaGeneral();\r\n },\r\n\r\n tablaBusquedaGeneral() {\r\n this.tablaBusquedaGeneral = this.tablaBusquedaGeneral\r\n ? this.tablaBusquedaGeneral.trim()\r\n : \"\";\r\n if (this.tablaBusquedaGeneral.length > 0) {\r\n this.limpiarOtrosFiltros();\r\n }\r\n },\r\n\r\n busquedaAvanzada() {\r\n if (this.busquedaAvanzada) {\r\n this.limpiarFiltroBusquedaGeneral();\r\n } else {\r\n this.limpiarOtrosFiltros();\r\n }\r\n },\r\n\r\n popup() {\r\n if (!this.popup) {\r\n this.$refs.formTramite.establecerAfiliadoVacio();\r\n this.verTramite = false;\r\n }\r\n },\r\n },\r\n\r\n /**\r\n * Objecto que permite registrar las funciones que hacen parte de la capa de negocio de la vista\r\n */\r\n methods: {\r\n /**Se inyecta metodos que hacen parte de almacen de estados de notificaciones */\r\n ...mapMutations(\"Notifications\", [\"hideNotification\", \"message\"]),\r\n\r\n /**recibe el emit del formulario de tramites para saber si existe el afiliado */\r\n onAfiladoExistente(val) {\r\n this.afiladoExiste = val;\r\n },\r\n\r\n /**ejecucion al abrir el popup */\r\n openFormFunc() {},\r\n\r\n /**Metodo que permite cargar la fila que va a editar */\r\n editItem(entity) {\r\n this.entity = Object.assign({}, entity);\r\n this.buscarInstanciaTarea(this.entity.tareaId);\r\n },\r\n\r\n /**Metodo que permite cargar la fila seleccionada */\r\n onRowSelect(value) {\r\n this.entity = Object.assign({}, value);\r\n },\r\n\r\n /** aplica los filtros personalizados de la tabla*/\r\n filtrar() {\r\n var vm = this;\r\n vm.parametrosTabla = new Object();\r\n vm.parametrosTabla.busquedaGeneral = {};\r\n vm.parametrosTabla.filter = {};\r\n vm.parametrosTabla.filter.value = vm.tablaBusquedaGeneral;\r\n\r\n if (vm.tablaBusquedaGeneral.length > 0) {\r\n vm.urlLista = vm.urlDefault;\r\n this.updateTable = !this.updateTable;\r\n } else if (this.validarTipoYDocumento()) {\r\n vm.parametrosTabla.busquedaGeneral.tipoDoc = vm.tipoDoc.id;\r\n vm.parametrosTabla.busquedaGeneral.doc = vm.doc;\r\n vm.urlLista = vm.urlTipoYDocumento;\r\n this.updateTable = !this.updateTable;\r\n } else if (this.validarFechasFiltro()) {\r\n vm.parametrosTabla.busquedaGeneral.fechaBusqueda =\r\n vm.fechaSeleccionada.value;\r\n vm.parametrosTabla.busquedaGeneral.fechaInicial = vm.fechaFiltroInicial;\r\n vm.parametrosTabla.busquedaGeneral.fechaFinal = vm.fechaFiltroFinal;\r\n vm.urlLista = vm.urlFechas;\r\n this.updateTable = !this.updateTable;\r\n } else {\r\n this.message({\r\n message: \"Faltan campos para poder filtrar\",\r\n type: \"error\",\r\n });\r\n }\r\n },\r\n\r\n /**limpia los filtros de fechas */\r\n limpiarFiltroFechas() {\r\n if (this.validarTipoYDocumento()) {\r\n this.fechaFiltroInicial = \"\";\r\n this.fechaFiltroFinal = \"\";\r\n }\r\n },\r\n /**limpia los filtros de tipo y numero de identificacion */\r\n limpiarFiltroDocumento() {\r\n if (this.validarFechasFiltro()) {\r\n this.tipoDoc = \"\";\r\n this.doc = \"\";\r\n }\r\n },\r\n\r\n /**limpia los filtros avanzados */\r\n limpiarOtrosFiltros() {\r\n this.tipoDoc = \"\";\r\n this.doc = \"\";\r\n this.fechaFiltroInicial = \"\";\r\n this.fechaFiltroFinal = \"\";\r\n },\r\n\r\n /**limpia el filtro de busqueda general para la tabla */\r\n limpiarFiltroBusquedaGeneral() {\r\n this.tablaBusquedaGeneral = \"\";\r\n },\r\n\r\n /**valida que se encuentren correctos el tipo y numero de identificacion para el filtro de la tabla */\r\n validarTipoYDocumento() {\r\n return this.doc.length > 0 && !this._.isEmpty(this.tipoDoc);\r\n },\r\n\r\n /**valida que se encuentren las fechas de los filtros */\r\n validarFechasFiltro() {\r\n return (\r\n this.fechaFiltroInicial.length > 0 && this.fechaFiltroFinal.length > 0\r\n );\r\n },\r\n\r\n /**limpia los filtros que se le pasan a la tabla */\r\n limpiarFiltro() {\r\n this.parametrosTabla = new Object();\r\n this.parametrosTabla.filter = {};\r\n this.parametrosTabla.filter.value = \"\";\r\n\r\n this.urlLista = this.urlDefault;\r\n\r\n this.fechaFiltroInicial = \"\";\r\n this.fechaFiltroFinal = \"\";\r\n this.tipoDoc = \"\";\r\n this.doc = \"\";\r\n this.tablaBusquedaGeneral = \"\";\r\n\r\n this.updateTable = !this.updateTable;\r\n },\r\n\r\n /**cargar las listas de datos basicos */\r\n cargarListas() {\r\n this.isLoading = true;\r\n var vm = this;\r\n this.$httpClient\r\n .get(vm.urlDatosBasicos)\r\n .then(function (response) {\r\n vm.listas = response.data.data;\r\n })\r\n .catch(function () {\r\n this.message({\r\n message: \"Error al traer la informacion del servidor.\",\r\n type: \"error\",\r\n });\r\n })\r\n .then(function () {\r\n vm.isLoading = false;\r\n });\r\n },\r\n\r\n /**maneja el guardado del tramite */\r\n async handleSaveEntity() {\r\n let tramite = this.$refs.formTramite.obtenerTramite();\r\n if (tramite) {\r\n if (tramite.datos.tramite === \"Certificado\") {\r\n this.generarCertificado(tramite);\r\n } else if (tramite.datos.tramite === \"Autorización\") {\r\n this.generarAutorizacion(tramite);\r\n }\r\n }\r\n },\r\n\r\n /**manda a llamar una peticion de autorizacion en el backend */\r\n generarAutorizacion(tramite) {\r\n this.isLoading = true;\r\n var vm = this;\r\n\r\n let archivos = [];\r\n Object.assign(archivos, tramite.datos.files);\r\n\r\n let formData = new FormData();\r\n formData.append(\r\n \"tramite\",\r\n new Blob([JSON.stringify(tramite)], { type: \"application/json\" })\r\n );\r\n archivos.forEach((v) => {\r\n formData.append(\"files\", v);\r\n });\r\n\r\n delete tramite.datos.tramite;\r\n delete tramite.datos.files;\r\n\r\n this.$httpClient\r\n .post(vm.urlCrearTramiteAutorizacion, formData, {\r\n headers: { \"Content-Type\": undefined },\r\n })\r\n .then(function (response) {\r\n let radicados = response.data.radicados;\r\n vm.message({\r\n message:\r\n \"Se radicó el trámite con radicados : \" + radicados.toString(),\r\n type: \"info\",\r\n });\r\n vm.popup = false;\r\n })\r\n .catch(function () {\r\n vm.message({\r\n message: \"Se presentó un error al procesar el trámite\",\r\n type: \"error\",\r\n });\r\n })\r\n .then(function () {\r\n vm.isLoading = false;\r\n });\r\n },\r\n\r\n /**manda a llamar un certificado en el backend */\r\n generarCertificado(tramite) {\r\n this.isLoading = true;\r\n var vm = this;\r\n this.$httpClient\r\n .post(vm.urlCrearTramiteCertificado, tramite, {\r\n headers: { \"Content-Type\": \"application/json\" },\r\n responseType: \"blob\",\r\n })\r\n .then(function (response) {\r\n if (\r\n response.status === 200 &&\r\n response.data &&\r\n response.data.type === \"application/pdf\"\r\n ) {\r\n let url = null;\r\n if (!window.navigator.msSaveOrOpenBlob) {\r\n // BLOB NAVIGATOR\r\n url = window.URL.createObjectURL(new Blob([response.data]));\r\n } else {\r\n // BLOB FOR EXPLORER 11\r\n url = window.navigator.msSaveOrOpenBlob(\r\n new Blob([response.data]),\r\n \"download.pdf\"\r\n );\r\n }\r\n window.open(url, \"_blank\");\r\n vm.popup = false;\r\n } else if (response.status === 204) {\r\n vm.message({\r\n message: \"No se encontró el certificado\",\r\n type: \"error\",\r\n });\r\n }\r\n })\r\n .catch(function () {\r\n vm.message({\r\n message: \"Se presentó un error al procesar el trámite\",\r\n type: \"error\",\r\n });\r\n })\r\n .then(function () {\r\n vm.isLoading = false;\r\n });\r\n },\r\n\r\n buscarInstanciaTarea(tareaId) {\r\n this.isLoading = true;\r\n var vm = this;\r\n this.$httpClient\r\n .get(vm.urlBuscarInstanciaTarea + tareaId, {\r\n headers: { \"Content-Type\": \"application/json\" },\r\n })\r\n .then(function (response) {\r\n if (response.status === 200) {\r\n vm.verTramite = true;\r\n vm.$refs.formTramite.verTareaTramite(response.data);\r\n } else if (response.status === 204) {\r\n vm.message({\r\n message: \"No se encontró la tarea\",\r\n type: \"error\",\r\n });\r\n vm.popup = false;\r\n }\r\n })\r\n .catch(function () {\r\n vm.message({\r\n message: \"Se presentó un error al buscar la tarea.\",\r\n type: \"error\",\r\n });\r\n vm.popup = false;\r\n })\r\n .then(function () {\r\n vm.isLoading = false;\r\n });\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<!-- ############################################## -->\r\n<!-- ############# Sección de CSS ################# -->\r\n<!-- ############################################## -->\r\n<!--\r\n\tEspacio que permite definir los estilos de la vista\r\n -->\r\n<style scoped>\r\n</style>","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/vuetify-loader/lib/loader.js??ref--18-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tramites.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/vuetify-loader/lib/loader.js??ref--18-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tramites.vue?vue&type=script&lang=js&\"","// Styles\nimport '../../styles/components/_selection-controls.sass'\nimport './VSwitch.sass'\n\n// Mixins\nimport Selectable from '../../mixins/selectable'\nimport VInput from '../VInput'\n\n// Directives\nimport Touch from '../../directives/touch'\n\n// Components\nimport { VFabTransition } from '../transitions'\nimport VProgressCircular from '../VProgressCircular/VProgressCircular'\n\n// Helpers\nimport { keyCodes } from '../../util/helpers'\n\n// Types\nimport { VNode, VNodeData } from 'vue'\n\n/* @vue/component */\nexport default Selectable.extend({\n name: 'v-switch',\n\n directives: { Touch },\n\n props: {\n inset: Boolean,\n loading: {\n type: [Boolean, String],\n default: false,\n },\n flat: {\n type: Boolean,\n default: false,\n },\n },\n\n computed: {\n classes (): object {\n return {\n ...VInput.options.computed.classes.call(this),\n 'v-input--selection-controls v-input--switch': true,\n 'v-input--switch--flat': this.flat,\n 'v-input--switch--inset': this.inset,\n }\n },\n attrs (): object {\n return {\n 'aria-checked': String(this.isActive),\n 'aria-disabled': String(this.isDisabled),\n role: 'switch',\n }\n },\n // Do not return undefined if disabled,\n // according to spec, should still show\n // a color when disabled and active\n validationState (): string | undefined {\n if (this.hasError && this.shouldValidate) return 'error'\n if (this.hasSuccess) return 'success'\n if (this.hasColor !== null) return this.computedColor\n return undefined\n },\n switchData (): VNodeData {\n return this.setTextColor(this.loading ? undefined : this.validationState, {\n class: this.themeClasses,\n })\n },\n },\n\n methods: {\n genDefaultSlot (): (VNode | null)[] {\n return [\n this.genSwitch(),\n this.genLabel(),\n ]\n },\n genSwitch (): VNode {\n return this.$createElement('div', {\n staticClass: 'v-input--selection-controls__input',\n }, [\n this.genInput('checkbox', {\n ...this.attrs,\n ...this.attrs$,\n }),\n this.genRipple(this.setTextColor(this.validationState, {\n directives: [{\n name: 'touch',\n value: {\n left: this.onSwipeLeft,\n right: this.onSwipeRight,\n },\n }],\n })),\n this.$createElement('div', {\n staticClass: 'v-input--switch__track',\n ...this.switchData,\n }),\n this.$createElement('div', {\n staticClass: 'v-input--switch__thumb',\n ...this.switchData,\n }, [this.genProgress()]),\n ])\n },\n genProgress (): VNode {\n return this.$createElement(VFabTransition, {}, [\n this.loading === false\n ? null\n : this.$slots.progress || this.$createElement(VProgressCircular, {\n props: {\n color: (this.loading === true || this.loading === '')\n ? (this.color || 'primary')\n : this.loading,\n size: 16,\n width: 2,\n indeterminate: true,\n },\n }),\n ])\n },\n onSwipeLeft () {\n if (this.isActive) this.onChange()\n },\n onSwipeRight () {\n if (!this.isActive) this.onChange()\n },\n onKeydown (e: KeyboardEvent) {\n if (\n (e.keyCode === keyCodes.left && this.isActive) ||\n (e.keyCode === keyCodes.right && !this.isActive)\n ) this.onChange()\n },\n },\n})\n","import { render, staticRenderFns } from \"./Tramites.vue?vue&type=template&id=3ef9234c&scoped=true&\"\nimport script from \"./Tramites.vue?vue&type=script&lang=js&\"\nexport * from \"./Tramites.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 \"3ef9234c\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VAutocomplete,VBtn,VCard,VCardActions,VCol,VContainer,VDatePicker,VMenu,VRow,VSpacer,VSwitch,VTextField})\n","// Styles\nimport './VRadio.sass'\n\n// Components\nimport VRadioGroup from './VRadioGroup'\nimport VLabel from '../VLabel'\nimport VIcon from '../VIcon'\nimport VInput from '../VInput'\n\n// Mixins\nimport BindsAttrs from '../../mixins/binds-attrs'\nimport Colorable from '../../mixins/colorable'\nimport { factory as GroupableFactory } from '../../mixins/groupable'\nimport Rippleable from '../../mixins/rippleable'\nimport Themeable from '../../mixins/themeable'\nimport Selectable, { prevent } from '../../mixins/selectable'\n\n// Utilities\nimport { getSlot } from '../../util/helpers'\n\n// Types\nimport { VNode, VNodeData } from 'vue'\nimport mixins from '../../util/mixins'\nimport { mergeListeners } from '../../util/mergeData'\n\nconst baseMixins = mixins(\n BindsAttrs,\n Colorable,\n Rippleable,\n GroupableFactory('radioGroup'),\n Themeable\n)\n\ninterface options extends InstanceType<typeof baseMixins> {\n radioGroup: InstanceType<typeof VRadioGroup>\n}\n\n/* @vue/component */\nexport default baseMixins.extend<options>().extend({\n name: 'v-radio',\n\n inheritAttrs: false,\n\n props: {\n disabled: Boolean,\n id: String,\n label: String,\n name: String,\n offIcon: {\n type: String,\n default: '$radioOff',\n },\n onIcon: {\n type: String,\n default: '$radioOn',\n },\n readonly: Boolean,\n value: {\n default: null,\n },\n },\n\n data: () => ({\n isFocused: false,\n }),\n\n computed: {\n classes (): object {\n return {\n 'v-radio--is-disabled': this.isDisabled,\n 'v-radio--is-focused': this.isFocused,\n ...this.themeClasses,\n ...this.groupClasses,\n }\n },\n computedColor (): string | undefined {\n return Selectable.options.computed.computedColor.call(this)\n },\n computedIcon (): string {\n return this.isActive\n ? this.onIcon\n : this.offIcon\n },\n computedId (): string {\n return VInput.options.computed.computedId.call(this)\n },\n hasLabel: VInput.options.computed.hasLabel,\n hasState (): boolean {\n return (this.radioGroup || {}).hasState\n },\n isDisabled (): boolean {\n return this.disabled || (\n !!this.radioGroup &&\n this.radioGroup.isDisabled\n )\n },\n isReadonly (): boolean {\n return this.readonly || (\n !!this.radioGroup &&\n this.radioGroup.isReadonly\n )\n },\n computedName (): string {\n if (this.name || !this.radioGroup) {\n return this.name\n }\n\n return this.radioGroup.name || `radio-${this.radioGroup._uid}`\n },\n rippleState (): string | undefined {\n return Selectable.options.computed.rippleState.call(this)\n },\n validationState (): string | undefined {\n return (this.radioGroup || {}).validationState || this.computedColor\n },\n },\n\n methods: {\n genInput (args: any) {\n // We can't actually use the mixin directly because\n // it's made for standalone components, but its\n // genInput method is exactly what we need\n return Selectable.options.methods.genInput.call(this, 'radio', args)\n },\n genLabel () {\n if (!this.hasLabel) return null\n\n return this.$createElement(VLabel, {\n on: {\n // Label shouldn't cause the input to focus\n click: prevent,\n },\n attrs: {\n for: this.computedId,\n },\n props: {\n color: this.validationState,\n focused: this.hasState,\n },\n }, getSlot(this, 'label') || this.label)\n },\n genRadio () {\n return this.$createElement('div', {\n staticClass: 'v-input--selection-controls__input',\n }, [\n this.$createElement(VIcon, this.setTextColor(this.validationState, {\n props: {\n dense: this.radioGroup && this.radioGroup.dense,\n },\n }), this.computedIcon),\n this.genInput({\n name: this.computedName,\n value: this.value,\n ...this.attrs$,\n }),\n this.genRipple(this.setTextColor(this.rippleState)),\n ])\n },\n onFocus (e: Event) {\n this.isFocused = true\n this.$emit('focus', e)\n },\n onBlur (e: Event) {\n this.isFocused = false\n this.$emit('blur', e)\n },\n onChange () {\n if (this.isDisabled || this.isReadonly || this.isActive) return\n\n this.toggle()\n },\n onKeydown: () => {}, // Override default with noop\n },\n\n render (h): VNode {\n const data: VNodeData = {\n staticClass: 'v-radio',\n class: this.classes,\n on: mergeListeners({\n click: this.onChange,\n }, this.listeners$),\n }\n\n return h('div', data, [\n this.genRadio(),\n this.genLabel(),\n ])\n },\n})\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../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/vuetify-loader/lib/loader.js??ref--18-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FamiAddress.vue?vue&type=style&index=0&id=471d6283&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../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/vuetify-loader/lib/loader.js??ref--18-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FamiAddress.vue?vue&type=style&index=0&id=471d6283&scoped=true&lang=css&\"","// Styles\nimport './VTextarea.sass'\n\n// Extensions\nimport VTextField from '../VTextField/VTextField'\n\n// Utilities\nimport mixins from '../../util/mixins'\n\n// Types\nimport Vue from 'vue'\n\ninterface options extends Vue {\n $refs: {\n input: HTMLTextAreaElement\n }\n}\n\nconst baseMixins = mixins<options &\n InstanceType<typeof VTextField>\n>(\n VTextField\n)\n\n/* @vue/component */\nexport default baseMixins.extend({\n name: 'v-textarea',\n\n props: {\n autoGrow: Boolean,\n noResize: Boolean,\n rowHeight: {\n type: [Number, String],\n default: 24,\n validator: (v: any) => !isNaN(parseFloat(v)),\n },\n rows: {\n type: [Number, String],\n default: 5,\n validator: (v: any) => !isNaN(parseInt(v, 10)),\n },\n },\n\n computed: {\n classes (): object {\n return {\n 'v-textarea': true,\n 'v-textarea--auto-grow': this.autoGrow,\n 'v-textarea--no-resize': this.noResizeHandle,\n ...VTextField.options.computed.classes.call(this),\n }\n },\n noResizeHandle (): boolean {\n return this.noResize || this.autoGrow\n },\n },\n\n watch: {\n lazyValue () {\n this.autoGrow && this.$nextTick(this.calculateInputHeight)\n },\n rowHeight () {\n this.autoGrow && this.$nextTick(this.calculateInputHeight)\n },\n },\n\n mounted () {\n setTimeout(() => {\n this.autoGrow && this.calculateInputHeight()\n }, 0)\n },\n\n methods: {\n calculateInputHeight () {\n const input = this.$refs.input\n if (!input) return\n\n input.style.height = '0'\n const height = input.scrollHeight\n const minHeight = parseInt(this.rows, 10) * parseFloat(this.rowHeight)\n // This has to be done ASAP, waiting for Vue\n // to update the DOM causes ugly layout jumping\n input.style.height = Math.max(minHeight, height) + 'px'\n },\n genInput () {\n const input = VTextField.options.methods.genInput.call(this)\n\n input.tag = 'textarea'\n delete input.data!.attrs!.type\n input.data!.attrs!.rows = this.rows\n\n return input\n },\n onInput (e: Event) {\n VTextField.options.methods.onInput.call(this, e)\n this.autoGrow && this.calculateInputHeight()\n },\n onKeyDown (e: KeyboardEvent) {\n // Prevents closing of a\n // dialog when pressing\n // enter\n if (this.isFocused && e.keyCode === 13) {\n e.stopPropagation()\n }\n\n this.$emit('keydown', e)\n },\n },\n})\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../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/vuetify-loader/lib/loader.js??ref--18-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CorresponsalForm.vue?vue&type=style&index=0&id=1cd5a2ee&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../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/vuetify-loader/lib/loader.js??ref--18-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CorresponsalForm.vue?vue&type=style&index=0&id=1cd5a2ee&scoped=true&lang=css&\"","// Styles\nimport './VAutocomplete.sass'\n\n// Extensions\nimport VSelect, { defaultMenuProps as VSelectMenuProps } from '../VSelect/VSelect'\nimport VTextField from '../VTextField/VTextField'\n\n// Utilities\nimport mergeData from '../../util/mergeData'\nimport {\n getObjectValueByPath,\n getPropertyFromItem,\n keyCodes,\n} from '../../util/helpers'\n\n// Types\nimport { PropType, VNode } from 'vue'\nimport { PropValidator } from 'vue/types/options'\n\nconst defaultMenuProps = {\n ...VSelectMenuProps,\n offsetY: true,\n offsetOverflow: true,\n transition: false,\n}\n\n/* @vue/component */\nexport default VSelect.extend({\n name: 'v-autocomplete',\n\n props: {\n allowOverflow: {\n type: Boolean,\n default: true,\n },\n autoSelectFirst: {\n type: Boolean,\n default: false,\n },\n filter: {\n type: Function,\n default: (item: any, queryText: string, itemText: string) => {\n return itemText.toLocaleLowerCase().indexOf(queryText.toLocaleLowerCase()) > -1\n },\n } as PropValidator<(item: any, queryText: string, itemText: string) => boolean>,\n hideNoData: Boolean,\n menuProps: {\n type: VSelect.options.props.menuProps.type,\n default: () => defaultMenuProps,\n },\n noFilter: Boolean,\n searchInput: {\n type: String as PropType<string | null>,\n },\n },\n\n data () {\n return {\n lazySearch: this.searchInput,\n }\n },\n\n computed: {\n classes (): object {\n return {\n ...VSelect.options.computed.classes.call(this),\n 'v-autocomplete': true,\n 'v-autocomplete--is-selecting-index': this.selectedIndex > -1,\n }\n },\n computedItems (): object[] {\n return this.filteredItems\n },\n selectedValues (): object[] {\n return this.selectedItems.map(item => this.getValue(item))\n },\n hasDisplayedItems (): boolean {\n return this.hideSelected\n ? this.filteredItems.some(item => !this.hasItem(item))\n : this.filteredItems.length > 0\n },\n currentRange (): number {\n if (this.selectedItem == null) return 0\n\n return String(this.getText(this.selectedItem)).length\n },\n filteredItems (): object[] {\n if (!this.isSearching || this.noFilter || this.internalSearch == null) return this.allItems\n\n return this.allItems.filter(item => {\n const value = getPropertyFromItem(item, this.itemText)\n const text = value != null ? String(value) : ''\n\n return this.filter(item, String(this.internalSearch), text)\n })\n },\n internalSearch: {\n get (): string | null {\n return this.lazySearch\n },\n set (val: any) { // TODO: this should be `string | null` but it breaks lots of other types\n // emit update event only when the new\n // search value is different from previous\n if (this.lazySearch !== val) {\n this.lazySearch = val\n this.$emit('update:search-input', val)\n }\n },\n },\n isAnyValueAllowed (): boolean {\n return false\n },\n isDirty (): boolean {\n return this.searchIsDirty || this.selectedItems.length > 0\n },\n isSearching (): boolean {\n return (\n this.multiple &&\n this.searchIsDirty\n ) || (\n this.searchIsDirty &&\n this.internalSearch !== this.getText(this.selectedItem)\n )\n },\n menuCanShow (): boolean {\n if (!this.isFocused) return false\n\n return this.hasDisplayedItems || !this.hideNoData\n },\n $_menuProps (): object {\n const props = VSelect.options.computed.$_menuProps.call(this);\n (props as any).contentClass = `v-autocomplete__content ${(props as any).contentClass || ''}`.trim()\n return {\n ...defaultMenuProps,\n ...props,\n }\n },\n searchIsDirty (): boolean {\n return this.internalSearch != null &&\n this.internalSearch !== ''\n },\n selectedItem (): any {\n if (this.multiple) return null\n\n return this.selectedItems.find(i => {\n return this.valueComparator(this.getValue(i), this.getValue(this.internalValue))\n })\n },\n listData () {\n const data = VSelect.options.computed.listData.call(this) as any\n\n data.props = {\n ...data.props,\n items: this.virtualizedItems,\n noFilter: (\n this.noFilter ||\n !this.isSearching ||\n !this.filteredItems.length\n ),\n searchInput: this.internalSearch,\n }\n\n return data\n },\n },\n\n watch: {\n filteredItems: 'onFilteredItemsChanged',\n internalValue: 'setSearch',\n isFocused (val) {\n if (val) {\n document.addEventListener('copy', this.onCopy)\n this.$refs.input && this.$refs.input.select()\n } else {\n document.removeEventListener('copy', this.onCopy)\n this.$refs.input && this.$refs.input.blur()\n this.updateSelf()\n }\n },\n isMenuActive (val) {\n if (val || !this.hasSlot) return\n\n this.lazySearch = null\n },\n items (val, oldVal) {\n // If we are focused, the menu\n // is not active, hide no data is enabled,\n // and items change\n // User is probably async loading\n // items, try to activate the menu\n if (\n !(oldVal && oldVal.length) &&\n this.hideNoData &&\n this.isFocused &&\n !this.isMenuActive &&\n val.length\n ) this.activateMenu()\n },\n searchInput (val: string) {\n this.lazySearch = val\n },\n internalSearch: 'onInternalSearchChanged',\n itemText: 'updateSelf',\n },\n\n created () {\n this.setSearch()\n },\n\n destroyed () {\n document.removeEventListener('copy', this.onCopy)\n },\n\n methods: {\n onFilteredItemsChanged (val: never[], oldVal: never[]) {\n // TODO: How is the watcher triggered\n // for duplicate items? no idea\n if (val === oldVal) return\n\n this.setMenuIndex(-1)\n\n this.$nextTick(() => {\n if (\n !this.internalSearch ||\n (val.length !== 1 &&\n !this.autoSelectFirst)\n ) return\n\n this.$refs.menu.getTiles()\n this.setMenuIndex(0)\n })\n },\n onInternalSearchChanged () {\n this.updateMenuDimensions()\n },\n updateMenuDimensions () {\n // Type from menuable is not making it through\n this.isMenuActive && this.$refs.menu && this.$refs.menu.updateDimensions()\n },\n changeSelectedIndex (keyCode: number) {\n // Do not allow changing of selectedIndex\n // when search is dirty\n if (this.searchIsDirty) return\n\n if (this.multiple && keyCode === keyCodes.left) {\n if (this.selectedIndex === -1) {\n this.selectedIndex = this.selectedItems.length - 1\n } else {\n this.selectedIndex--\n }\n } else if (this.multiple && keyCode === keyCodes.right) {\n if (this.selectedIndex >= this.selectedItems.length - 1) {\n this.selectedIndex = -1\n } else {\n this.selectedIndex++\n }\n } else if (keyCode === keyCodes.backspace || keyCode === keyCodes.delete) {\n this.deleteCurrentItem()\n }\n },\n deleteCurrentItem () {\n const curIndex = this.selectedIndex\n const curItem = this.selectedItems[curIndex]\n\n // Do nothing if input or item is disabled\n if (\n !this.isInteractive ||\n this.getDisabled(curItem)\n ) return\n\n const lastIndex = this.selectedItems.length - 1\n\n // Select the last item if\n // there is no selection\n if (\n this.selectedIndex === -1 &&\n lastIndex !== 0\n ) {\n this.selectedIndex = lastIndex\n\n return\n }\n\n const length = this.selectedItems.length\n const nextIndex = curIndex !== length - 1\n ? curIndex\n : curIndex - 1\n const nextItem = this.selectedItems[nextIndex]\n\n if (!nextItem) {\n this.setValue(this.multiple ? [] : null)\n } else {\n this.selectItem(curItem)\n }\n\n this.selectedIndex = nextIndex\n },\n clearableCallback () {\n this.internalSearch = null\n\n VSelect.options.methods.clearableCallback.call(this)\n },\n genInput () {\n const input = VTextField.options.methods.genInput.call(this)\n\n input.data = mergeData(input.data!, {\n attrs: {\n 'aria-activedescendant': getObjectValueByPath(this.$refs.menu, 'activeTile.id'),\n autocomplete: getObjectValueByPath(input.data!, 'attrs.autocomplete', 'off'),\n },\n domProps: { value: this.internalSearch },\n })\n\n return input\n },\n genInputSlot () {\n const slot = VSelect.options.methods.genInputSlot.call(this)\n\n slot.data!.attrs!.role = 'combobox'\n\n return slot\n },\n genSelections (): VNode | never[] {\n return this.hasSlot || this.multiple\n ? VSelect.options.methods.genSelections.call(this)\n : []\n },\n onClick (e: MouseEvent) {\n if (!this.isInteractive) return\n\n this.selectedIndex > -1\n ? (this.selectedIndex = -1)\n : this.onFocus()\n\n if (!this.isAppendInner(e.target)) this.activateMenu()\n },\n onInput (e: Event) {\n if (\n this.selectedIndex > -1 ||\n !e.target\n ) return\n\n const target = e.target as HTMLInputElement\n const value = target.value\n\n // If typing and menu is not currently active\n if (target.value) this.activateMenu()\n\n this.internalSearch = value\n this.badInput = target.validity && target.validity.badInput\n },\n onKeyDown (e: KeyboardEvent) {\n const keyCode = e.keyCode\n\n if (\n e.ctrlKey ||\n ![keyCodes.home, keyCodes.end].includes(keyCode)\n ) {\n VSelect.options.methods.onKeyDown.call(this, e)\n }\n\n // The ordering is important here\n // allows new value to be updated\n // and then moves the index to the\n // proper location\n this.changeSelectedIndex(keyCode)\n },\n onSpaceDown (e: KeyboardEvent) { /* noop */ },\n onTabDown (e: KeyboardEvent) {\n VSelect.options.methods.onTabDown.call(this, e)\n this.updateSelf()\n },\n onUpDown (e: Event) {\n // Prevent screen from scrolling\n e.preventDefault()\n\n // For autocomplete / combobox, cycling\n // interfers with native up/down behavior\n // instead activate the menu\n this.activateMenu()\n },\n selectItem (item: object) {\n VSelect.options.methods.selectItem.call(this, item)\n this.setSearch()\n },\n setSelectedItems () {\n VSelect.options.methods.setSelectedItems.call(this)\n\n // #4273 Don't replace if searching\n // #4403 Don't replace if focused\n if (!this.isFocused) this.setSearch()\n },\n setSearch () {\n // Wait for nextTick so selectedItem\n // has had time to update\n this.$nextTick(() => {\n if (\n !this.multiple ||\n !this.internalSearch ||\n !this.isMenuActive\n ) {\n this.internalSearch = (\n !this.selectedItems.length ||\n this.multiple ||\n this.hasSlot\n )\n ? null\n : this.getText(this.selectedItem)\n }\n })\n },\n updateSelf () {\n if (!this.searchIsDirty &&\n !this.internalValue\n ) return\n\n if (!this.valueComparator(\n this.internalSearch,\n this.getValue(this.internalValue)\n )) {\n this.setSearch()\n }\n },\n hasItem (item: any): boolean {\n return this.selectedValues.indexOf(this.getValue(item)) > -1\n },\n onCopy (event: ClipboardEvent) {\n if (this.selectedIndex === -1) return\n\n const currentItem = this.selectedItems[this.selectedIndex]\n const currentItemText = this.getText(currentItem)\n event.clipboardData?.setData('text/plain', currentItemText)\n event.clipboardData?.setData('text/vnd.vuetify.autocomplete.item+plain', currentItemText)\n event.preventDefault()\n },\n },\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',{staticClass:\"pa-0\",attrs:{\"dense\":\"\",\"elevation\":\"0\"}},[_c('v-text-field',{attrs:{\"label\":_vm.label,\"disabled\":!_vm.ciudad,\"readonly\":\"\",\"prepend-inner-icon\":_vm.icon,\"rules\":[function (v) { return !_vm.requerido || !!v || 'El campo es requerido'; }],\"clearable\":\"\",\"outlined\":\"\",\"dense\":\"\"},on:{\"focus\":function($event){$event.stopPropagation();return _vm.openDialogDireccionForm($event)}},model:{value:(_vm.direccion.completaDireccion),callback:function ($$v) {_vm.$set(_vm.direccion, \"completaDireccion\", $$v)},expression:\"direccion.completaDireccion\"}}),_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":_vm.sizeWidth,\"scrollable\":\"\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('v-card',{staticClass:\"mr-n3\"},[_c('v-toolbar',{attrs:{\"dark\":\"\",\"dense\":\"\",\"color\":_vm.colorToolbar,\"height\":\"38\"}},[_c('v-toolbar-title',{staticClass:\"subtitle-2\"},[_vm._v(\"Editar Dirección\")]),_c('v-spacer'),_c('v-btn',{attrs:{\"x-small\":\"\",\"icon\":\"\"},on:{\"click\":_vm.closePopupDireccion}},[_c('v-icon',[_vm._v(\"mdi-close\")])],1)],1),_c('v-card-text',{staticClass:\"py-0\"},[_c('v-container',{staticClass:\"px-0\",attrs:{\"fluid\":\"\"}},[_c('v-row',[_c('v-card',{staticClass:\"pa-2\",attrs:{\"outlined\":\"\",\"width\":\"100%\"}},[_c('v-list-item',{staticClass:\"pa-0\"},[_c('v-list-item-content',{staticClass:\"pa-0\"},[_c('v-form',{ref:\"direccionForm\"},[_c('v-col',{staticClass:\"pa-1\",attrs:{\"cols\":\"12\"}},[_c('v-row',[_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"12\"}},[_c('v-row',[_c('v-col',{staticClass:\"pt-0 pb-1 pl-4\",attrs:{\"cols\":\"12\"}},[_vm._v(\" Tipo de zona: \")]),_c('v-col',{staticClass:\"pt-0 pb-3\",attrs:{\"cols\":\"12\"}},[_c('v-radio-group',{staticClass:\"py-0 mt-1\",attrs:{\"rules\":[function (v) { return !!v || 'El campo es requerido'; }],\"dense\":\"\",\"row\":\"\"},model:{value:(_vm.direccion.zona),callback:function ($$v) {_vm.$set(_vm.direccion, \"zona\", $$v)},expression:\"direccion.zona\"}},[_c('v-radio',{attrs:{\"label\":\"Urbano\",\"value\":\"Urbano\"}}),_c('v-radio',{attrs:{\"label\":\"Rural\",\"value\":\"Rural\"}}),(_vm.viewSinNomenclatura)?_c('v-radio',{attrs:{\"label\":\"Sin nomenclatura\",\"value\":\"SN\"}}):_vm._e()],1)],1)],1)],1)],1),(_vm.direccion.zona === 'Rural')?[_c('v-row',[_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"12\"}},[_c('v-text-field',{attrs:{\"label\":\"Vereda\",\"placeholder\":\"Escriba el nombre de la Vereda\",\"required\":\"\",\"rules\":[_vm.rules.required],\"clearable\":\"\",\"outlined\":\"\",\"dense\":\"\"},model:{value:(_vm.direccion.vereda),callback:function ($$v) {_vm.$set(_vm.direccion, \"vereda\", $$v)},expression:\"direccion.vereda\"}})],1)],1),_c('v-row',[_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"12\"}},[_c('v-text-field',{attrs:{\"label\":\"Finca\",\"placeholder\":\"Escriba el nombre de la finca\",\"clearable\":\"\",\"outlined\":\"\",\"dense\":\"\"},model:{value:(_vm.direccion.nombreFinca),callback:function ($$v) {_vm.$set(_vm.direccion, \"nombreFinca\", $$v)},expression:\"direccion.nombreFinca\"}})],1)],1)]:_vm._e(),(_vm.direccion.zona === 'Urbano')?[_c('v-row',{attrs:{\"align\":\"center\"}},[_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"12\"}},[_c('v-autocomplete',{attrs:{\"label\":\"Tipo de Via *\",\"placeholder\":\"Seleccione un tipo de via\",\"items\":_vm.tiposVia,\"search-input\":_vm.searchInputTipoVia,\"required\":\"\",\"rules\":[_vm.rules.required],\"clearable\":\"\",\"outlined\":\"\",\"dense\":\"\"},on:{\"update:searchInput\":function($event){_vm.searchInputTipoVia=$event},\"update:search-input\":function($event){_vm.searchInputTipoVia=$event}},model:{value:(_vm.direccion.tipoVia),callback:function ($$v) {_vm.$set(_vm.direccion, \"tipoVia\", $$v)},expression:\"direccion.tipoVia\"}})],1)],1),_c('v-row',[_c('v-col',{staticClass:\"py-0 pr-0\",attrs:{\"cols\":\"4\"}},[_c('v-text-field',{attrs:{\"placeholder\":\"13a\",\"required\":\"\",\"rules\":[_vm.rules.required],\"outlined\":\"\",\"dense\":\"\"},on:{\"keypress\":function($event){return _vm.isAllowed($event)}},model:{value:(_vm.direccion.detallesVia),callback:function ($$v) {_vm.$set(_vm.direccion, \"detallesVia\", $$v)},expression:\"direccion.detallesVia\"}})],1),_c('v-col',{staticClass:\"text-center px-0 pt-3 py-0\",attrs:{\"cols\":\"1\"}},[_vm._v(\" # \")]),_c('v-col',{staticClass:\"pa-0\",attrs:{\"cols\":\"3\"}},[_c('v-text-field',{attrs:{\"placeholder\":\"77a\",\"required\":\"\",\"rules\":[_vm.rules.required],\"outlined\":\"\",\"dense\":\"\"},on:{\"keypress\":function($event){return _vm.isAllowed($event)}},model:{value:(_vm.direccion.numero),callback:function ($$v) {_vm.$set(_vm.direccion, \"numero\", $$v)},expression:\"direccion.numero\"}})],1),_c('v-col',{staticClass:\"text-center px-0 pt-3 py-0\",attrs:{\"cols\":\"1\"}},[_vm._v(\" - \")]),_c('v-col',{staticClass:\"py-0 pl-0\",attrs:{\"cols\":\"3\"}},[_c('v-text-field',{attrs:{\"placeholder\":\"63\",\"required\":\"\",\"rules\":[_vm.rules.required],\"outlined\":\"\",\"dense\":\"\"},on:{\"keypress\":function($event){return _vm.isAllowed($event)}},model:{value:(_vm.direccion.complementoNumero),callback:function ($$v) {_vm.$set(_vm.direccion, \"complementoNumero\", $$v)},expression:\"direccion.complementoNumero\"}})],1)],1),_c('v-row',[_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"12\"}},[_c('v-text-field',{attrs:{\"label\":\"Barrio *\",\"placeholder\":\"Escriba el nombre del barrio\",\"required\":\"\",\"rules\":[_vm.rules.required],\"clearable\":\"\",\"outlined\":\"\",\"dense\":\"\"},on:{\"keypress\":function($event){return _vm.isAllowed($event)}},model:{value:(_vm.direccion.barrio),callback:function ($$v) {_vm.$set(_vm.direccion, \"barrio\", $$v)},expression:\"direccion.barrio\"}})],1),_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"8\"}},[_c('v-autocomplete',{attrs:{\"label\":\"Tipo de inmueble\",\"placeholder\":\"Seleccione el tipo de inmueble\",\"items\":_vm.listTipoInmuebles,\"search-input\":_vm.searchInputTipoInmueble,\"clearable\":\"\",\"outlined\":\"\",\"dense\":\"\"},on:{\"update:searchInput\":function($event){_vm.searchInputTipoInmueble=$event},\"update:search-input\":function($event){_vm.searchInputTipoInmueble=$event}},model:{value:(_vm.direccion.tipoInmueble),callback:function ($$v) {_vm.$set(_vm.direccion, \"tipoInmueble\", $$v)},expression:\"direccion.tipoInmueble\"}})],1),_c('v-col',{staticClass:\"py-0 pl-0\",attrs:{\"cols\":\"4\"}},[_c('v-text-field',{attrs:{\"label\":\"Detalles\",\"placeholder\":\"apto. 1578\",\"disabled\":!_vm.direccion.tipoInmueble,\"outlined\":\"\",\"dense\":\"\"},on:{\"keypress\":function($event){return _vm.isAllowed($event)}},model:{value:(_vm.direccion.detallesInmueble),callback:function ($$v) {_vm.$set(_vm.direccion, \"detallesInmueble\", $$v)},expression:\"direccion.detallesInmueble\"}})],1)],1),_c('v-row',[_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"8\"}},[_c('v-autocomplete',{attrs:{\"label\":\"Bloque o interior\",\"placeholder\":\"Seleccione el complemento\",\"items\":_vm.complementosDireccion,\"search-input\":_vm.searchInputComplementoDireccion,\"clearable\":\"\",\"outlined\":\"\",\"dense\":\"\"},on:{\"update:searchInput\":function($event){_vm.searchInputComplementoDireccion=$event},\"update:search-input\":function($event){_vm.searchInputComplementoDireccion=$event}},model:{value:(_vm.direccion.complementoDireccion),callback:function ($$v) {_vm.$set(_vm.direccion, \"complementoDireccion\", $$v)},expression:\"direccion.complementoDireccion\"}})],1),_c('v-col',{staticClass:\"py-0 pl-0\",attrs:{\"cols\":\"4\"}},[_c('v-text-field',{attrs:{\"label\":\"Detalles\",\"placeholder\":\"1, a...\",\"disabled\":!_vm.direccion.complementoDireccion,\"outlined\":\"\",\"dense\":\"\"},on:{\"keypress\":function($event){return _vm.isAllowed($event)}},model:{value:(_vm.direccion.detallesComplementoDireccion),callback:function ($$v) {_vm.$set(_vm.direccion, \"detallesComplementoDireccion\", $$v)},expression:\"direccion.detallesComplementoDireccion\"}})],1)],1)]:_vm._e(),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-textarea',{attrs:{\"label\":\"Observaciones\",\"rules\":_vm.rulObservacion,\"placeholder\":\"Escriba las observaciones\",\"hide-details\":\"\",\"rows\":\"2\",\"auto-grow\":true,\"no-resize\":false,\"clearable\":\"\",\"outlined\":\"\",\"dense\":\"\"},on:{\"keypress\":function($event){return _vm.isAllowed($event)}},model:{value:(_vm.direccion.observaciones),callback:function ($$v) {_vm.$set(_vm.direccion, \"observaciones\", $$v)},expression:\"direccion.observaciones\"}})],1)],1)],2)],1)],1)],1)],1)],1)],1)],1),_c('v-divider'),_c('v-card-actions',{staticClass:\"pa-2 ma-0\"},[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":_vm.colorBtnSave,\"dark\":\"\",\"small\":\"\"},on:{\"click\":_vm.saveAddressForm}},[_vm._v(\"Guardar\")]),_c('v-btn',{attrs:{\"color\":_vm.colorBntCancel,\"dark\":\"\",\"small\":\"\"},on:{\"click\":_vm.closePopupDireccion}},[_vm._v(\"Cancelar\")])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\r\n\tComponente que permite seleccionar direcciones\r\n-->\r\n<!-- ############################################## -->\r\n<!-- ############# Sección de HTML ################ -->\r\n<!-- ############################################## -->\r\n<!--\r\n\tDefinicion grafica del componente. \r\n\tEl componente contiene solo un campo: direccion.\r\n\tEl campo direccion se completa con la ayuda de un popup que contiene de forma\r\n\tmas especifica cada parte de la direccion (Tipo de avenida, numero...)\r\n-->\r\n<template>\r\n\t<v-card dense class=\"pa-0\" elevation=\"0\">\r\n\t\t\r\n\t\t<v-text-field \r\n\t\t\t:label=\"label\" \r\n\t\t\tv-model=\"direccion.completaDireccion\" \r\n\t\t\t@focus.stop=\"openDialogDireccionForm($event)\" \r\n\t\t\t:disabled=\"!ciudad\" \r\n\t\t\treadonly\r\n\t\t\t:prepend-inner-icon=\"icon\"\r\n\t\t\t:rules=\"[v => !requerido || !!v || 'El campo es requerido']\" \r\n\t\t\tclearable \r\n\t\t\toutlined \r\n\t\t\tdense>\r\n\t\t</v-text-field>\r\n\t\t\r\n\t\t<v-dialog v-model=\"dialog\" persistent :max-width=\"sizeWidth\" scrollable>\r\n\t\t\t<v-card class=\"mr-n3\">\r\n\t\t\t\t<v-toolbar dark dense :color=\"colorToolbar\" height=\"38\"> \r\n\t\t\t\t\t<v-toolbar-title class=\"subtitle-2\">Editar Dirección</v-toolbar-title>\r\n\t\t\t\t\t<v-spacer></v-spacer>\r\n\t\t\t\t\t<v-btn x-small icon @click=\"closePopupDireccion\" >\r\n\t\t\t\t\t\t<v-icon>mdi-close</v-icon>\r\n\t\t\t\t\t</v-btn>\r\n\t\t\t\t</v-toolbar>\r\n\t\t\t\t<v-card-text class=\"py-0\">\r\n\t\t\t\t\t<v-container class=\"px-0\" fluid>\r\n\t\t\t\t\t\t<v-row>\r\n\t\t\t\t\t\t\t<v-card outlined width=\"100%\" class=\"pa-2\">\r\n\t\t\t\t\t\t\t\t<v-list-item class=\"pa-0\">\r\n\t\t\t\t\t\t\t\t\t<v-list-item-content class=\"pa-0\">\r\n\t\t\t\t\t\t\t\t\t\t<v-form ref=\"direccionForm\">\r\n\t\t\t\t\t\t\t\t\t\t\t<v-col cols=\"12\" class=\"pa-1\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t<v-row>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<v-col cols=\"12\" class=\"py-0\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-row>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-col cols=\"12\" class=\"pt-0 pb-1 pl-4\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tTipo de zona:\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</v-col>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-col cols=\"12\" class=\"pt-0 pb-3\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-radio-group class=\"py-0 mt-1\" :rules=\"[v => !!v || 'El campo es requerido']\" dense v-model=\"direccion.zona\" row>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-radio label=\"Urbano\" value=\"Urbano\"></v-radio>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-radio label=\"Rural\" value=\"Rural\"></v-radio>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-radio label=\"Sin nomenclatura\" value=\"SN\" v-if=\"viewSinNomenclatura\"></v-radio>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</v-radio-group>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</v-col>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</v-row>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t</v-col>\r\n\t\t\t\t\t\t\t\t\t\t\t\t</v-row>\r\n\t\t\t\t\t\t\t\t\t\t\t\t<template v-if=\"direccion.zona === 'Rural'\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<v-row>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-col cols=\"12\" class=\"py-0\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-text-field v-model=\"direccion.vereda\" label=\"Vereda\" placeholder=\"Escriba el nombre de la Vereda\" required :rules=\"[rules.required]\" clearable outlined dense></v-text-field>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</v-col>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t</v-row>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<v-row>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-col cols=\"12\" class=\"py-0\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-text-field v-model=\"direccion.nombreFinca\" label=\"Finca\" placeholder=\"Escriba el nombre de la finca\" clearable outlined dense></v-text-field>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</v-col>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t</v-row>\r\n\t\t\t\t\t\t\t\t\t\t\t\t</template>\r\n\t\t\t\t\t\t\t\t\t\t\t\t<template v-if=\"direccion.zona === 'Urbano'\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<v-row align=\"center\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-col cols=\"12\" class=\"py-0\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-autocomplete v-model=\"direccion.tipoVia\" label=\"Tipo de Via *\" placeholder=\"Seleccione un tipo de via\" :items=\"tiposVia\" :search-input.sync=\"searchInputTipoVia\" required :rules=\"[rules.required]\" clearable outlined dense></v-autocomplete>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</v-col>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t</v-row>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<v-row>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-col cols=\"4\" class=\"py-0 pr-0\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-text-field @keypress=\"isAllowed($event)\" v-model=\"direccion.detallesVia\" placeholder=\"13a\" required :rules=\"[rules.required]\" outlined dense></v-text-field>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</v-col>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-col cols=\"1\" class=\"text-center px-0 pt-3 py-0\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t#\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</v-col>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-col cols=\"3\" class=\"pa-0\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-text-field @keypress=\"isAllowed($event)\" v-model=\"direccion.numero\" placeholder=\"77a\" required :rules=\"[rules.required]\" outlined dense></v-text-field>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</v-col>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-col cols=\"1\" class=\"text-center px-0 pt-3 py-0\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t-\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</v-col>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-col cols=\"3\" class=\"py-0 pl-0\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-text-field @keypress=\"isAllowed($event)\" v-model=\"direccion.complementoNumero\" placeholder=\"63\" required :rules=\"[rules.required]\" outlined dense></v-text-field>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</v-col>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t</v-row>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<v-row>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-col cols=\"12\" class=\"py-0\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-text-field @keypress=\"isAllowed($event)\" v-model=\"direccion.barrio\" label=\"Barrio *\" placeholder=\"Escriba el nombre del barrio\" required :rules=\"[rules.required]\" clearable outlined dense></v-text-field>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</v-col>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-col cols=\"8\" class=\"py-0\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-autocomplete v-model=\"direccion.tipoInmueble\" label=\"Tipo de inmueble\" placeholder=\"Seleccione el tipo de inmueble\" :items=\"listTipoInmuebles\" :search-input.sync=\"searchInputTipoInmueble\" clearable outlined dense></v-autocomplete>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</v-col>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-col cols=\"4\" class=\"py-0 pl-0\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-text-field @keypress=\"isAllowed($event)\" v-model=\"direccion.detallesInmueble\" label=\"Detalles\" placeholder=\"apto. 1578\" :disabled=\"!direccion.tipoInmueble\" outlined dense></v-text-field>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</v-col>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t</v-row>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<v-row>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-col cols=\"8\" class=\"py-0\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-autocomplete v-model=\"direccion.complementoDireccion\" label=\"Bloque o interior\" placeholder=\"Seleccione el complemento\" :items=\"complementosDireccion\" :search-input.sync=\"searchInputComplementoDireccion\" clearable outlined dense></v-autocomplete>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</v-col>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-col cols=\"4\" class=\"py-0 pl-0\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-text-field @keypress=\"isAllowed($event)\" v-model=\"direccion.detallesComplementoDireccion\" label=\"Detalles\" placeholder=\"1, a...\" :disabled=\"!direccion.complementoDireccion\" outlined dense></v-text-field>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</v-col>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t</v-row>\r\n\t\t\t\t\t\t\t\t\t\t\t\t</template>\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t<v-row>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<v-col cols=\"12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<v-textarea @keypress=\"isAllowed($event)\" v-model=\"direccion.observaciones\" label=\"Observaciones\" :rules=\"rulObservacion\" placeholder=\"Escriba las observaciones\" hide-details rows=\"2\" :auto-grow=\"true\" :no-resize=\"false\" clearable outlined dense></v-textarea>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t</v-col>\r\n\t\t\t\t\t\t\t\t\t\t\t\t</v-row>\r\n\t\t\t\t\t\t\t\t\t\t\t</v-col>\r\n\t\t\t\t\t\t\t\t\t\t</v-form>\r\n\t\t\t\t\t\t\t\t\t</v-list-item-content>\r\n\t\t\t\t\t\t\t\t</v-list-item>\r\n\t\t\t\t\t\t\t</v-card>\r\n\t\t\t\t\t\t</v-row>\r\n\t\t\t\t\t</v-container>\r\n\t\t\t\t</v-card-text>\r\n\t\t\t\t<v-divider></v-divider>\r\n\t\t\t\t<v-card-actions class=\"pa-2 ma-0\">\r\n\t\t\t\t\t<v-spacer></v-spacer>\r\n\t\t\t\t\t<v-btn :color=\"colorBtnSave\" dark small @click=\"saveAddressForm\">Guardar</v-btn>\r\n\t\t\t\t\t<v-btn :color=\"colorBntCancel\" dark small @click=\"closePopupDireccion\">Cancelar</v-btn>\r\n\t\t\t\t</v-card-actions>\r\n\t\t\t</v-card>\r\n\t\t</v-dialog>\r\n\t</v-card>\r\n</template>\r\n\r\n\r\n<!-- ############################################## -->\r\n<!-- ############# Sección de Script ############## -->\r\n<!-- ############################################## -->\r\n<!--\r\n\tDescripcion logica del componente. Se definen los datos, validaciones y\r\n\teventos del componente\r\n-->\r\n<script>\r\n\texport default {\r\n\t\t\r\n\t\tprops: {\r\n\t\t\t/**\r\n\t\t\t * Identificador de la ciudad\r\n\t\t\t */\r\n\t\t\tciudad: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'prueba',\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * Funcion que se 'instancia' cuando se guarda la direccion\r\n\t\t\t */\r\n\t\t\tsaveAddress: {\r\n\t\t\t\ttype: Function,\r\n\t\t\t\tdefault() {},\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * Ancho que tendra el popup donde se permite completar la direccion\r\n\t\t\t */\r\n\t\t\tsizeWidth: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: \"350px\"\r\n\t\t\t},\r\n\r\n\t\t\tlabel: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'Dirección'\r\n\t\t\t},\r\n\t\t\t\r\n\t\t\tvalueAddress: {\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault: '',\r\n\t\t\t},\r\n\r\n\t\t\trequerido: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\r\n\t\t\tviewSinNomenclatura: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: true\r\n\t\t\t},\r\n\r\n colorToolbar: {\r\n type: String,\r\n default: 'primary'\r\n },\r\n\r\n colorBtnSave: {\r\n type: String,\r\n default: 'primary'\r\n },\r\n \r\n colorBntCancel: {\r\n type: String,\r\n default: 'secondary'\r\n\t\t\t},\r\n\t\t\t\r\n\t\t\tzonaByDefault: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\r\n\t\t\ticon: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t}\r\n\t\t},\r\n\t\t/**\r\n\t\t * Datos del componente\r\n\t\t */\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\t/** Reglas de validacion */\r\n\t\t\t\trules: {\r\n\t\t\t\t\trequired: v => !!v || 'Campo requerido',\r\n\t\t\t\t},\r\n\r\n\t\t\t\trulObservacion: [\r\n\t\t\t\t\tvalue => this.direccion.zona !== 'SN' || !!value || 'El campo requerido'\r\n\t\t\t\t],\r\n\r\n\t\t\t\t/** Variable que controla la visualizacion del popup con las partes de la direccion */\r\n\t\t\t\tdialog: false,\r\n\t\t\t\t/** Lista de tipos de inmuebles */\r\n\t\t\t\tlistTipoInmuebles: ['Apartamento','Casa','Edificio','Hotel','Oficina'],\r\n\t\t\t\t/** Lista de complementos de la direccion */\r\n\t\t\t\tcomplementosDireccion: ['Manzana','Zona','Bloque','Habitación', 'Torre'],\r\n\t\t\t\t/** Lista de tipos de via que puede contener la direccion */\r\n\t\t\t\ttiposVia: ['Anillo','Autopista','Avenida','Avenida Calle','Avenida Carrera','Calle','Carrera','Circular','Diagonal','Transversal','Zona'],\r\n\t\t\t\t/** Busqueda actual del combo TipoVia */\r\n\t\t\t\tsearchInputTipoVia: '',\r\n\t\t\t\t/** Busqueda actual del combo TipoInmueble */\r\n\t\t\t\tsearchInputTipoInmueble: '',\r\n\t\t\t\t/** Busqueda actual del combo complementoDireccion */\r\n\t\t\t\tsearchInputComplementoDireccion: '',\r\n\t\t\t\t/** Objeto que contiene toda la informacion de la direccion */\r\n\t\t\t\tdireccion: {\r\n\t\t\t\t\ttipoVia: '',\r\n\t\t\t\t\tcompletaDireccion: '',\r\n\t\t\t\t\tdetallesVia: '',\r\n\t\t\t\t\tnumero: '',\r\n\t\t\t\t\tcomplementoNumero: '',\r\n\t\t\t\t\tbarrio: '',\r\n\t\t\t\t\ttipoInmueble: '',\r\n\t\t\t\t\tobservaciones: '',\r\n\t\t\t\t\tdetallesInmueble: '',\r\n\t\t\t\t\tcomplementoDireccion: '',\r\n\t\t\t\t\tdetallesComplementoDireccion: '',\r\n\t\t\t\t\tzona: this.zonaByDefault,\r\n\t\t\t\t\tvereda: '',\r\n\t\t\t\t\tnombreFinca: ''\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\t/**\r\n\t\t * Observadores del componente\r\n\t\t */\r\n\t\twatch: {\r\n\t\t\t/**\r\n\t\t\t * Reinicio de la variable detallesInmueble dado que se inhabilita dado que el campo asociado\r\n\t\t\t * se limpia\r\n\t\t\t */\r\n\t\t\t'direccion.tipoInmueble': function() {\r\n\t\t\t\tif (!this.direccion.tipoInmueble || this.direccion.tipoInmueble == '') {\r\n\t\t\t\t\tthis.direccion.detallesInmueble = '';\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * Reinicio de la variable complementoDireccion dado que se inhabilita dado que el campo asociado\r\n\t\t\t * se limpia\r\n\t\t\t */\r\n\t\t\t'direccion.complementoDireccion': function() {\r\n\t\t\t\tif (!this.direccion.complementoDireccion || this.direccion.complementoDireccion == '') {\r\n\t\t\t\t\tthis.direccion.detallesComplementoDireccion = '';\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * Se reinician todas las variables dado que la variable \"princpal\" completaDireccion se limpia\r\n\t\t\t */\r\n\t\t\t'direccion.completaDireccion': function() {\r\n\t\t\t\tif (!this.direccion.completaDireccion || this.direccion.completaDireccion == '') {\r\n\t\t\t\t\tthis.clearAllField();\r\n\t\t\t\t}\t\r\n\t\t\t},\r\n\r\n\t\t\t'valueAddress'(val) {\r\n\t\t\t\tif (val) {\r\n\t\t\t\t\tthis.loadData(val.replace(/[*+?^${}()|[\\]\\\\:]/g, ''));\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.loadData(\"\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\t/**\r\n\t\t * Metodos que ayudan a gestionar el componente\r\n\t\t */\r\n\t\tmethods: {\r\n\t\t\tisAllowed(e) {\r\n\t\t\t\tlet char = String.fromCharCode(e.keyCode);\r\n\t\t\t\tif(/^[0-9]+$/.test(char) || /^[a-zA-Z,.\\s]+$/.test(char)) {\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\te.preventDefault();\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\t/**\r\n\t\t\t * Metodo que se ejecuta para abrir el popup de especificaciones\r\n\t\t\t * de la direccion\r\n\t\t\t * Se reinicia la validacion\r\n\t\t\t * Se abre el popup\r\n\t\t\t */\r\n\t\t\topenDialogDireccionForm(event) {\r\n\t\t\t\tevent.target.blur();\r\n\t\t\t\tthis.$refs.direccionForm ? this.$refs.direccionForm.resetValidation() : false;\r\n\t\t\t\tthis.loadData(this.direccion.completaDireccion);\r\n\t\t\t\tthis.dialog = true;\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * Metodo que permite limpiar todos los campos del popup\r\n\t\t\t */\r\n\t\t\tclearAllField() {\r\n\t\t\t\tthis.direccion.tipoVia = '';\r\n\t\t\t\tthis.direccion.detallesVia = '';\r\n\t\t\t\tthis.direccion.numero = '';\r\n\t\t\t\tthis.direccion.complementoNumero = '';\r\n\t\t\t\tthis.direccion.barrio = '';\r\n\t\t\t\tthis.direccion.tipoInmueble = '';\r\n\t\t\t\tthis.direccion.detallesInmueble = '';\r\n\t\t\t\tthis.direccion.complementoDireccion = '';\r\n\t\t\t\tthis.direccion.detallesComplementoDireccion = '';\r\n\t\t\t\tthis.direccion.observaciones = '';\r\n\t\t\t\tthis.direccion.zona = this.zonaByDefault;\r\n\t\t\t\tthis.direccion.vereda = '';\r\n\t\t\t\tthis.direccion.nombreFinca = '';\r\n\t\t\t\tthis.direccion.observaciones = '';\r\n\t\t\t\tthis.direccion.completaDireccion = '';\r\n\t\t\t\tthis.searchInputTipoVia = null;\r\n\t\t\t\tthis.searchInputTipoInmueble = null;\r\n\t\t\t\tthis.searchInputComplementoDireccion = null;\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * Metodo que se ejecuta para cerrar el popup de direcciones\r\n\t\t\t * se reincia la validacion\r\n\t\t\t * se cierra el popup\r\n\t\t\t * se sincroniza el objeto direccion\r\n\t\t\t */\r\n\t\t\tclosePopupDireccion() {\r\n\t\t\t\tthis.$refs.direccionForm.resetValidation();\r\n\t\t\t\tthis.dialog = false;\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * Metodo que permite guardar en el campo direccion la direccion completada descrita en el popup\r\n\t\t\t */\r\n\t\t\tsaveAddressForm() {\r\n\t\t\t\tif (this.$refs.direccionForm.validate()) {\r\n\t\t\t\t\tthis.dialog = false\r\n\t\t\t\t\tif (this.direccion.zona === 'Urbano') {\r\n\t\t\t\t\t\tthis.direccion.completaDireccion = this.direccion.tipoVia + \" \" + this.direccion.detallesVia + \" # \" + this.direccion.numero + \" - \" + this.direccion.complementoNumero + \", \" + this.direccion.barrio;\r\n\t\t\t\t\t\tthis.direccion.completaDireccion += this.direccion.tipoInmueble ? ', ' + this.direccion.tipoInmueble + ' ' + this.direccion.detallesInmueble : '';\r\n\t\t\t\t\t\tthis.direccion.completaDireccion += this.direccion.complementoDireccion ? ', ' + this.direccion.complementoDireccion + ' ' + this.direccion.detallesComplementoDireccion : '';\r\n\t\t\t\t\t\tthis.direccion.completaDireccion += this.direccion.observaciones ? ', ' + this.direccion.observaciones : '';\r\n\t\t\t\t\t}else if (this.direccion.zona === 'Rural') {\r\n\t\t\t\t\t\tthis.direccion.completaDireccion = `${this.direccion.zona}, ${this.direccion.vereda}, ${this.direccion.nombreFinca}, ${this.direccion.observaciones}`\r\n\t\t\t\t\t\tthis.direccion.barrio = `Vereda: ${this.direccion.vereda}`;\r\n\t\t\t\t\t}else {\r\n\t\t\t\t\t\tthis.direccion.completaDireccion = `SN, ${this.direccion.observaciones}`;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tthis.$emit(\"saveAddress\", this.direccion);\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\tvalidarDireccion() {\r\n\t\t\t\treturn this.$refs.inputDireccion.validate();\r\n\t\t\t},\r\n\r\n\t\t\tloadData(val) {\r\n\t\t\t\tthis.direccion.tipoVia = '';\r\n\t\t\t\tthis.direccion.detallesVia = '';\r\n\t\t\t\tthis.direccion.numero = '';\r\n\t\t\t\tthis.direccion.complementoNumero = '';\r\n\t\t\t\tthis.direccion.barrio = '';\r\n\t\t\t\tthis.direccion.tipoInmueble = '';\r\n\t\t\t\tthis.direccion.detallesInmueble = '';\r\n\t\t\t\tthis.direccion.complementoDireccion = '';\r\n\t\t\t\tthis.direccion.detallesComplementoDireccion = '';\r\n\t\t\t\tthis.direccion.observaciones = '';\r\n\t\t\t\tthis.direccion.zona = this.zonaByDefault;\r\n\t\t\t\tthis.direccion.vereda = '';\r\n\t\t\t\tthis.direccion.nombreFinca = '';\r\n\t\t\t\tthis.direccion.observaciones = '';\r\n\t\t\t\tlet data = val.split(',');\r\n\t\t\t\tif (data[0] === 'Rural') {\r\n\t\t\t\t\tthis.direccion.zona = data[0];\r\n\t\t\t\t\tthis.direccion.vereda = data[1];\r\n\t\t\t\t\tthis.direccion.nombreFinca = data[2];\r\n\t\t\t\t\tthis.direccion.observaciones = data[3];\r\n\t\t\t\t}else if (data[0] === 'SN') {\r\n\t\t\t\t\tthis.direccion.zona = data[0];\r\n\t\t\t\t\tthis.direccion.observaciones = val.substr(3);\r\n\t\t\t\t} else if (val !== '') {\r\n\t\t\t\t\tthis.direccion.zona = 'Urbano';\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tlet address = data[0].split(' ');\r\n\t\t\t\t\t\tlet fullNumber = data[0];\r\n\t\t\t\t\t\tthis.direccion.tipoVia = address[0];\r\n\t\t\t\t\t\tif (this.tiposVia.includes(address[0])) {\r\n\t\t\t\t\t\t\tfullNumber = fullNumber.replace(address[0], '').trim();\r\n\t\t\t\t\t\t\tfullNumber = fullNumber.split(\"#\");\r\n\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\tthrow new Error('Dirección no válida');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (typeof fullNumber[0] === 'undefined' || typeof fullNumber[1] === 'undefined') {\r\n\t\t\t\t\t\t\tthrow new Error('Dirección no válida');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tthis.direccion.detallesVia = fullNumber[0].trim();\r\n\t\t\t\t\t\tlet numeroVivienda = fullNumber[1].split(\"-\");\r\n\t\t\t\t\t\tthis.direccion.numero = numeroVivienda[0].trim();\r\n\t\t\t\t\t\tthis.direccion.complementoNumero = numeroVivienda[1].trim();\r\n\t\t\t\t\t\tthis.direccion.barrio = data[1].trim();\r\n\t\t\t\t\t\tthis.direccion.observaciones = data[5] || '';\r\n\t\t\t\t\t\tif (typeof data[2] !== 'undefined') {\r\n\t\t\t\t\t\t\tlet inmueble = data[2].trim().split(' ');\r\n\t\t\t\t\t\t\tif (this.listTipoInmuebles.includes(inmueble[0])) {\r\n\t\t\t\t\t\t\t\tthis.direccion.tipoInmueble = inmueble[0];\r\n\t\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\t\tthis.direccion.observaciones = inmueble;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tthis.direccion.detallesInmueble = inmueble[1] || '';\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (typeof data[3] !== 'undefined') {\r\n\t\t\t\t\t\t\tlet interior = data[3].trim().split(' ');\r\n\t\t\t\t\t\t\tif (this.complementosDireccion.includes(interior[0])) {\r\n\t\t\t\t\t\t\t\tthis.direccion.complementoDireccion = interior[0];\r\n\t\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\t\tthis.direccion.observaciones = interior;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tthis.direccion.detallesComplementoDireccion = interior[1] || '';\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t} catch(ex) {\r\n\t\t\t\t\t\tthis.direccion.observaciones = val;\r\n\t\t\t\t\t}\r\n\t\t\t\t}else {\r\n\t\t\t\t\tthis.direccion.zona = this.zonaByDefault;\r\n\t\t\t\t\tthis.direccion.vereda = '';\r\n\t\t\t\t\tthis.direccion.nombreFinca = '';\r\n\t\t\t\t\tthis.direccion.observaciones = '';\r\n\t\t\t\t}\r\n\t\t\t\tthis.direccion.completaDireccion = val;\r\n\t\t\t}\r\n\t\t},\r\n\t}\r\n</script>\r\n\r\n\r\n<!-- ############################################## -->\r\n<!-- ############# Sección de CSS ################# -->\r\n<!-- ############################################## -->\r\n<!--\r\n\tEstilos que ayudan en la definicion grafica del componente\r\n\tLa mayoria de estilos son descritos con vuetify en cada componente,\r\n\ten esta seccion solo se agregan estilos que no se lograron obtener con\r\n\teste marco\r\n-->\r\n<style scoped>\r\n\t.row {\r\n\t\tmargin-top: 0;\r\n\t\tmargin-bottom: 0;\r\n\t}\r\n</style>","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/vuetify-loader/lib/loader.js??ref--18-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FamiAddress.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/vuetify-loader/lib/loader.js??ref--18-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FamiAddress.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FamiAddress.vue?vue&type=template&id=471d6283&scoped=true&\"\nimport script from \"./FamiAddress.vue?vue&type=script&lang=js&\"\nexport * from \"./FamiAddress.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FamiAddress.vue?vue&type=style&index=0&id=471d6283&scoped=true&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 \"471d6283\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VRadio } from 'vuetify/lib/components/VRadioGroup';\nimport { VRadioGroup } from 'vuetify/lib/components/VRadioGroup';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\nimport { VToolbarTitle } from 'vuetify/lib/components/VToolbar';\ninstallComponents(component, {VAutocomplete,VBtn,VCard,VCardActions,VCardText,VCol,VContainer,VDialog,VDivider,VForm,VIcon,VListItem,VListItemContent,VRadio,VRadioGroup,VRow,VSpacer,VTextField,VTextarea,VToolbar,VToolbarTitle})\n"],"sourceRoot":""}