text: "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[302],{302:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});const o={data:function(){return{inglizcha:null,uzbekcha:null,ruscha:null,results:[]}},methods:{CategorySave:function(){var t=this;axios.post("/api/category/save",{eng:this.inglizcha,uz:this.uzbekcha,ru:this.ruscha}).then((function(a){t.inglizcha="",t.uzbekcha="",t.ruscha=""})).catch((function(t){alert("Qandaydur xatolik")}))}}};const n=(0,e(900).Z)(o,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("form",{staticClass:"container",attrs:{method:"post"},on:{submit:function(a){return a.preventDefault(),t.CategorySave.apply(null,arguments)}}},[e("h1",[t._v("Bo'lim nomi")]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"input-group mb-3"},[e("div",{staticClass:"form-floating col"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.inglizcha,expression:"inglizcha"}],staticClass:"form-control",attrs:{type:"text",placeholder:"Inglizchaa",autofocus:""},domProps:{value:t.inglizcha},on:{input:function(a){a.target.composing||(t.inglizcha=a.target.value)}}}),t._v(" "),e("label",{attrs:{for:"ofam"}},[t._v("Inglizcha nomi")])]),t._v(" "),e("div",{staticClass:"form-floating col"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.uzbekcha,expression:"uzbekcha"}],staticClass:"form-control",attrs:{type:"text",placeholder:"O'zbekcha"},domProps:{value:t.uzbekcha},on:{input:function(a){a.target.composing||(t.uzbekcha=a.target.value)}}}),t._v(" "),e("label",{attrs:{for:"ofam"}},[t._v("O'zbekcha nomi")])]),t._v(" "),e("div",{staticClass:"form-floating col"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ruscha,expression:"ruscha"}],staticClass:"form-control",attrs:{type:"text",placeholder:"Ruscha"},domProps:{value:t.ruscha},on:{input:function(a){a.target.composing||(t.ruscha=a.target.value)}}}),t._v(" "),e("label",{attrs:{for:"ofam"}},[t._v("Ruscha nomi")])])]),t._v(" "),e("button",{staticClass:"btn btn-primary btn-block",attrs:{type:"submit"}},[t._v("\n        Saqlash\n    ")])])}),[],!1,null,null,null).exports}}]);