1 line
2.1 KiB
JavaScript
1 line
2.1 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{408:function(t,e,n){var content=n(506);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(30).default)("10870322",content,!0,{sourceMap:!1})},416:function(t,e,n){"use strict";n.r(e);var o={data:function(){return{file:""}},methods:{"validarTamaño":function(){this.file.size>2e7&&(this.toast(),this.file="")},toast:function(){this.$buefy.toast.open({message:"El archivo excede el tamaño permitido",type:"is-danger"})}},watch:{file:function(t,e){this.validarTamaño()}}},c=(n(505),n(8)),component=Object(c.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("h3",{staticClass:"title is-4 mt-6"},[t._v("\n Carta de aceptación (en formato .PDF. No se aceptan fotos).\n ")]),t._v(" "),n("b-field",[n("b-upload",{attrs:{"drag-drop":"",type:"is-black",expanded:"",accept:"application/pdf"},model:{value:t.file,callback:function(e){t.file=e},expression:"file"}},[n("section",{staticClass:"section"},[n("div",{staticClass:"content has-text-centered"},[n("p",[n("b-icon",{attrs:{icon:"upload",size:"is-large"}})],1),t._v(" "),n("p",[t._v("\n "+t._s(t.file.name||"Arrastra aquí tu archivo o da click para buscar")+"\n ")]),t._v(" "),n("p",[t._v("Tamaño máximo para el archivo: 20MB")])])])])],1),t._v(" "),n("b-field",{staticClass:"centro"},[n("b-button",{staticClass:"border-info my-5",attrs:{disabled:""==t.file,type:"is-info",tag:"router-link",to:"/responsable"}},[t._v("Enviar")])],1)],1)}),[],!1,null,null,null);e.default=component.exports},505:function(t,e,n){"use strict";n(408)},506:function(t,e,n){(e=n(29)(!1)).push([t.i,".centro{text-align:center}",""]),t.exports=e},520:function(t,e,n){"use strict";n.r(e);var o={components:{CartaAceptacion:n(416).default}},c=n(8),component=Object(c.a)(o,(function(){var t=this.$createElement,e=this._self._c||t;return e("section",[e("CartaAceptacion")],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{CartaAceptacion:n(416).default})}}]); |