{"version":3,"sources":["webpack:///./src/views/AgendarVisita.vue?c177","webpack:///./src/components/agendarVisita/FormularioAgendarVisita.vue?2a23","webpack:///src/components/agendarVisita/FormularioAgendarVisita.vue","webpack:///./src/components/agendarVisita/FormularioAgendarVisita.vue?4ccd","webpack:///./src/components/agendarVisita/FormularioAgendarVisita.vue","webpack:///src/views/AgendarVisita.vue","webpack:///./src/views/AgendarVisita.vue?5188","webpack:///./src/views/AgendarVisita.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_v","on","enviarForm","visitasCargadas","length","camposTabla","perPage","currentPage","rowClass","scopedSlots","_u","key","fn","row","$event","mandarABorrar","item","id","_e","rows","model","value","callback","$$v","expression","name","staticRenderFns","preventDefault","apply","arguments","form","$set","fechaMinima","validarBottonGuardar","data","usuario","id_licencia","licencia","fecha_planeada","hora_planeada","direccion","mounted","localStorage","computed","mapState","validate","methods","visita","id_usuario","fecha_registro","fecha_plan","hora_visita","estado","resetForm","validarFechayHora","datos","coincide","mostrarError","title","size","buttonSize","okVariant","headerClass","footerClass","centered","then","catch","console","component","components","FormularioAgendarVisita","formatter","label","mapActions","type","cargarVisitasLicencia","encontrarError","okTitle","cancelTitle","hideHeaderClose","eliminar"],"mappings":"sHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACG,MAAM,CAAC,KAAO,KAAK,GAAK,MAAM,CAACH,EAAG,KAAK,CAACJ,EAAIQ,GAAG,aAAaJ,EAAG,MAAMJ,EAAIQ,GAAG,cAAcJ,EAAG,QAAQ,CAACA,EAAG,MAAM,CAACE,YAAY,uBAAuB,CAACF,EAAG,0BAA0B,CAACK,GAAG,CAAC,gBAAkBT,EAAIU,eAAe,MAAM,IAAI,GAAGN,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AA,mEAFA,IAGAzB,KAHA,WAIA,sCAGA2B,yCACA2B,0GADA,IAGAjE,SAHA,SAGAQ,EAAA0D,GACA,gBACA,kBAGAC,sBARA,WAQA,6KAEA,+DAFA,yDAIAC,4BAJA,2DAQA1E,WAhBA,SAgBAqD,GAAA,6KAEA,mBAFA,OAGA,0BAHA,kDAKAqB,4BALA,2DASA7D,cAzBA,SAyBAE,GAAA,WACA,2FACAyC,2BACAC,UACAC,gBACAC,oBACAgB,oBACAC,uBACAf,kBACAgB,mBACAf,cAEAC,MAAA,YACA,GACA,iBAGAC,OAAA,YACAC,mBAIAa,SA/CA,SA+CA/D,GAAA,6KAEA,sBAFA,OAGA,0BAHA,kDAKA2D,4BALA,8DCvJ0S,ICOtS,EAAY,eACd,EACArF,EACAmC,GACA,EACA,KACA,KACA,MAIa,e","file":"js/agendarVisita.a64243e7.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"cajaSuperior\"},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\",\"md\":\"3\"}},[_c('h2',[_vm._v(\"programar\"),_c('br'),_vm._v(\"visita\")])]),_c('b-col',[_c('div',{staticClass:\"contenedorForm pl-5\"},[_c('FormularioAgendarVisita',{on:{\"envioFormulario\":_vm.enviarForm}})],1)])],1)],1),_c('br'),_vm._v(\" \"),_c('br'),(_vm.visitasCargadas.length>0)?_c('b-row',[_c('b-col',[_c('b-table',{attrs:{\"id\":\"visitasLicencia\",\"striped\":\"\",\"responsive\":\"\",\"small\":\"\",\"bordered\":\"\",\"items\":_vm.visitasCargadas,\"fields\":_vm.camposTabla,\"per-page\":_vm.perPage,\"current-page\":_vm.currentPage,\"tbody-tr-class\":_vm.rowClass},scopedSlots:_vm._u([{key:\"cell(eliminar)\",fn:function(row){return [_c('b-button',{staticClass:\"mr-1 text-center\",attrs:{\"size\":\"sm\",\"variant\":\"link\",\"block\":\"\"},on:{\"click\":function($event){return _vm.mandarABorrar(row.item.id)}}},[_c('b-icon',{attrs:{\"icon\":\"x-circle\",\"variant\":\"danger\"}})],1)]}}],null,false,3031429047)})],1)],1):_vm._e(),(_vm.visitasCargadas.length>0)?_c('b-row',[_c('b-col',[_c('b-pagination',{attrs:{\"total-rows\":_vm.rows,\"per-page\":_vm.perPage,\"aria-controls\":\"visitasLicencia\"},model:{value:(_vm.currentPage),callback:function ($$v) {_vm.currentPage=$$v},expression:\"currentPage\"}})],1),_c('b-col',{staticClass:\"text-right\"},[_c('b-button',{attrs:{\"to\":{name: 'consultaLicencias'}}},[_vm._v(\" Volver \")])],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-form',{attrs:{\"validated\":\"\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.enviarForm.apply(null, arguments)}}},[_c('b-form-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('label',{attrs:{\"for\":\"licencia\"}},[_vm._v(\"Licencia No.\")]),_c('b-form-input',{staticClass:\"mb-2 mr-sm-2 mb-sm-0\",attrs:{\"required\":\"required\",\"id\":\"licencia\",\"placeholder\":\"Licencia No.\",\"readonly\":\"\"},model:{value:(_vm.form.licencia),callback:function ($$v) {_vm.$set(_vm.form, \"licencia\", $$v)},expression:\"form.licencia\"}})],1),_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"4\",\"align-self\":\"end\"}},[_c('label',{attrs:{\"for\":\"fechaInicio\"}},[_vm._v(\"Fecha:\")]),_c('b-form-datepicker',{attrs:{\"id\":\"fecha\",\"placeholder\":\"Elige una fecha\",\"locale\":\"es\",\"min\":_vm.form.fechaMinima,\"labelNoDateSelected\":\"No hay fecha\",\"labelHelp\":\"Use las flechas del teclado para navegar entre fechas\"},model:{value:(_vm.form.fecha_planeada),callback:function ($$v) {_vm.$set(_vm.form, \"fecha_planeada\", $$v)},expression:\"form.fecha_planeada\"}})],1),_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"4\",\"align-self\":\"end\"}},[_c('label',{attrs:{\"for\":\"hora\"}},[_vm._v(\"Hora:\")]),_c('b-form-timepicker',{attrs:{\"required\":\"\",\"id\":\"hora\",\"placeholder\":\"A.M.\",\"labelCloseButton\":\"Cerrar\",\"labelNoTimeSelected\":\"No hay hora\",\"locale\":\"es\"},model:{value:(_vm.form.hora_planeada),callback:function ($$v) {_vm.$set(_vm.form, \"hora_planeada\", $$v)},expression:\"form.hora_planeada\"}})],1),_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"4\",\"align-self\":\"end\"}},[_c('b-button',{staticClass:\"vertical-align mt-2\",attrs:{\"type\":\"submit\",\"block\":\"\",\"variant\":\"secondary\",\"disabled\":_vm.validarBottonGuardar}},[_c('b-icon',{attrs:{\"icon\":\"plus-circle\"}}),_vm._v(\" Agregar Visita \")],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n Agregar Visita\n \n \n \n \n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormularioAgendarVisita.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormularioAgendarVisita.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FormularioAgendarVisita.vue?vue&type=template&id=db12d40a&\"\nimport script from \"./FormularioAgendarVisita.vue?vue&type=script&lang=js&\"\nexport * from \"./FormularioAgendarVisita.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
\n
\n \n programar
visita
\n \n\n \n \n \n \n
\n \n \n
\n\n
\n
0\">\n \n \n \n \n \n \n \n \n \n \n\n
0\">\n \n \n \n \n \n Volver\n \n \n \n
\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AgendarVisita.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AgendarVisita.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AgendarVisita.vue?vue&type=template&id=09963f25&\"\nimport script from \"./AgendarVisita.vue?vue&type=script&lang=js&\"\nexport * from \"./AgendarVisita.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"],"sourceRoot":""}