{"version":3,"sources":["webpack:///./src/views/Admin/General/News/Add.vue","webpack:///src/views/Admin/General/News/Add.vue","webpack:///./src/views/Admin/General/News/Add.vue?a092","webpack:///./src/views/Admin/General/News/Add.vue?93b9"],"names":["render","_vm","this","_c","_self","_m","attrs","on","$event","preventDefault","mySubmit","apply","arguments","staticClass","_v","_s","error","name","onPicturefile","img_one","staticStyle","_e","picturefile","directives","rawName","value","from","parentId","expression","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","$set","multiple","changeCate","_l","list_cate","elm","isLogin","indexOf","id","key","domProps","cateId","list_cate_child","submitdate","composing","expirationdate","datecreate","is_view","editorConfig","editorUrl","onNamespaceLoaded","model","content","callback","$$v","name_EN","editorConfig_EN","content_EN","is_load","staticRenderFns","data","window","editorConfigVideo","editorConfigVideo_EN","list_cate_main","list_dertment","created","$session","get","permistions","split","undefined","dateObj","Date","month","getUTCMonth","day","getUTCDate","year","getUTCFullYear","dateObj1","month1","day1","year1","dateObj2","month2","day2","year2","mounted","Role","p1","axios","my_api","headers","my_header","then","res","status","catch","err","console","log","p2","Promise","all","methods","n","CKEDITOR","plugins","addExternal","e","_this","file","files","reader","FileReader","onloadend","result","readAsDataURL","alertError","tt","i","Object","values","length","myForm","document","getElementById","formData","FormData","pair","append","departmentId","post","alert","$router","go","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACF,EAAII,GAAG,GAAGF,EAAG,OAAO,CAACG,MAAM,CAAC,OAAS,OAAO,GAAK,YAAYC,GAAG,CAAC,OAAS,SAASC,GAAgC,OAAxBA,EAAOC,iBAAwBR,EAAIS,SAASC,MAAM,KAAMC,cAAc,CAACT,EAAG,MAAM,CAACU,YAAY,aAAa,CAACZ,EAAII,GAAG,GAAGF,EAAG,MAAM,CAACU,YAAY,eAAe,CAACV,EAAG,MAAM,CAACU,YAAY,4BAA4BP,MAAM,CAA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K,KAAAF,EACA5B,QAAAC,IAAA6B,GACA,QAAAA,EAAA,KACA,IAAAA,EAAA,GACA,KAAA7H,MAAAC,KAAA,qBAEA,KAAAD,MAAAC,KAAA,IAGA,eAAA4H,EAAA,KACA,IAAAA,EAAA,GAAA5H,KACA,KAAAD,MAAAM,YAAA,sBAEA,KAAAN,MAAAM,YAAA,IAGA,WAAAuH,EAAA,KACA,IAAAA,EAAA,GACA,KAAA7H,MAAAkD,QAAA,8BAEA,KAAAlD,MAAAkD,QAAA,IAGA,YAAA2E,EAAA,KACA,IAAAA,EAAA,GACA,KAAA7H,MAAAW,SAAA,6BAEA,KAAAX,MAAAW,SAAA,IAMA,SAAAX,MAAAC,MACA,SAAAD,MAAAkD,SACA,SAAAlD,MAAAM,aACA,SAAAN,MAAAW,UAEA,KAAA0C,SAAA,EACAsE,EAAAG,OAAA,eAAA/E,SACA4E,EAAAG,OAAA,oBAAA1C,KAAA,GAAA2C,cACAJ,EAAAG,OAAA,kBAAA1E,YACAkC,IACA0C,KAAAxE,OAAA+B,OAAA,iCAAAoC,EAAA,CACAnC,QAAAhC,OAAAiC,YAEAC,KAAAC,IACA,KAAAA,EAAAC,QACAqC,MAAA,oBACA,KAAAC,QAAAC,GAAA,KAEAF,MAAA,iDACA,KAAA5E,SAAA,OAIA0C,QAAAC,IAAA,KAAAkB,cAEAe,MAAA,4BChgB0X,I,YCOtXG,EAAY,eACd,EACApJ,EACAsE,GACA,EACA,KACA,KACA,MAIa,aAAA8E,E","file":"js/chunk-2d0baaa7.6e375df1.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_vm._m(0),_c('form',{attrs:{\"method\":\"post\",\"id\":\"sendform\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.mySubmit.apply(null, arguments)}}},[_c('div',{staticClass:\"container\"},[_vm._m(1),_c('div',{staticClass:\"tab-content\"},[_c('div',{staticClass:\"container tab-pane active\",attrs:{\"id\":\"home\"}},[_c('br'),_c('div',{},[_c('div',{staticClass:\"col-sm-12\"},[_c('div',{staticClass:\"card\"},[_vm._m(2),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-sm-10\"},[_c('div',{staticClass:\"form-group\"},[_vm._m(3),_c('input',{staticClass:\"form-control\",attrs:{\"name\":\"name\",\"type\":\"text\"}}),_c('p',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm.error.name))])])]),_c('div',{staticClass:\"col-sm-10\"},[_c('div',{staticClass:\"form-group\"},[_vm._m(4),_c('input',{staticClass:\"form-control main_picture\",attrs:{\"type\":\"file\",\"accept\":\"image/*\",\"name\":\"picturefile\"},on:{\"change\":_vm.onPicturefile}}),(_vm.img_one != '')?_c('div',{staticClass:\"view_picture_one\"},[_c('img',{staticStyle:{\"max-width\":\"400px\"},attrs:{\"src\":_vm.img_one}})]):_vm._e(),_c('p',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm.error.picturefile))])])]),_c('div',{staticClass:\"col-sm-10\"},[_c('div',{staticClass:\"form-group\"},[_vm._m(5),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.from.parentId),expression:\"from.parentId\"}],staticClass:\"form-control\",attrs:{\"name\":\"parentId\"},on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.from, \"parentId\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},_vm.changeCate]}},[_c('option',{attrs:{\"value\":\"\"}},[_vm._v(\"Tùy chọn\")]),_vm._l((_vm.list_cate),function(elm){return [(\n elm.parentId == null &&\n _vm.isLogin.indexOf(elm.id) > -1\n )?_c('option',{key:elm.id,domProps:{\"value\":elm.id}},[_vm._v(\" \"+_vm._s(elm.name)+\" \")]):_vm._e()]})],2),_c('p',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm.error.parentId))])])]),_c('div',{staticClass:\"col-sm-10\"},[_c('div',{staticClass:\"form-group\"},[_c('label',{attrs:{\"for\":\"cateId\"}},[_vm._v(\" Danh mục con\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.from.cateId),expression:\"from.cateId\"}],staticClass:\"form-control\",attrs:{\"name\":\"cateId\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.from, \"cateId\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{attrs:{\"value\":\"\"}},[_vm._v(\"Tùy chọn\")]),_vm._l((_vm.list_cate_child),function(elm){return [(elm.parentId != null)?_c('option',{key:elm.id,domProps:{\"value\":elm.id}},[_vm._v(\" \"+_vm._s(elm.name)+\" \")]):_vm._e()]})],2)])]),_vm._m(6),_vm._m(7),_vm._m(8),_c('div',{staticClass:\"col-sm-5\"},[_c('div',{staticClass:\"form-group\"},[_vm._m(9),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.from.submitdate),expression:\"from.submitdate\"}],staticClass:\"form-control\",attrs:{\"name\":\"submitdate\",\"type\":\"text\",\"placeholder\":\"YYYY-mm-dd\"},domProps:{\"value\":(_vm.from.submitdate)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.from, \"submitdate\", $event.target.value)}}})])]),_c('div',{staticClass:\"col-sm-5\"},[_c('div',{staticClass:\"form-group\"},[_vm._m(10),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.from.expirationdate),expression:\"from.expirationdate\"}],staticClass:\"form-control\",attrs:{\"name\":\"expirationdate\",\"type\":\"text\",\"placeholder\":\"YYYY-mm-dd\"},domProps:{\"value\":(_vm.from.expirationdate)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.from, \"expirationdate\", $event.target.value)}}})])]),_c('div',{staticClass:\"col-sm-5\"},[_c('div',{staticClass:\"form-group\"},[_vm._m(11),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.from.datecreate),expression:\"from.datecreate\"}],staticClass:\"form-control\",attrs:{\"name\":\"datecreate\",\"type\":\"text\",\"placeholder\":\"YYYY-mm-dd\"},domProps:{\"value\":(_vm.from.datecreate)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.from, \"datecreate\", $event.target.value)}}})])]),_vm._m(12),(_vm.is_view)?_c('div',{staticClass:\"col-sm-10\"},[_c('div',{staticClass:\"form-group\"},[_c('label',{attrs:{\"for\":\"content\"}},[_vm._v(\" Nội dung \")]),_c('ckeditor',{attrs:{\"config\":_vm.editorConfig,\"editor-url\":_vm.editorUrl},on:{\"namespaceloaded\":_vm.onNamespaceLoaded},model:{value:(_vm.content),callback:function ($$v) {_vm.content=$$v},expression:\"content\"}})],1)]):_vm._e()])])])])])]),_c('div',{staticClass:\"container tab-pane fade\",attrs:{\"id\":\"menu1\"}},[_c('br'),_c('div',{},[_c('div',{staticClass:\"col-sm-12\"},[_c('div',{staticClass:\"card\"},[_vm._m(13),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-sm-10\"},[_c('div',{staticClass:\"form-group\"},[_vm._m(14),_c('input',{staticClass:\"form-control\",attrs:{\"name\":\"name_EN\",\"type\":\"text\"}}),_c('p',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm.error.name_EN))])])]),_vm._m(15),(_vm.is_view)?_c('div',{staticClass:\"col-sm-10\"},[_c('div',{staticClass:\"form-group\"},[_c('label',{attrs:{\"for\":\"content_EN\"}},[_vm._v(\" Content \")]),_c('ckeditor',{attrs:{\"config\":_vm.editorConfig_EN,\"editor-url\":_vm.editorUrl},on:{\"namespaceloaded\":_vm.onNamespaceLoaded},model:{value:(_vm.content_EN),callback:function ($$v) {_vm.content_EN=$$v},expression:\"content_EN\"}})],1)]):_vm._e()])])])])])]),_c('div',{staticClass:\"card-footer\",staticStyle:{\"width\":\"90%\",\"position\":\"fixed\",\"bottom\":\"0\"}},[(!_vm.is_load)?_c('button',{staticClass:\"btn btn-sm btn-primary\",attrs:{\"type\":\"submit\"}},[_c('i',{staticClass:\"fa fa-save\"}),_vm._v(\" Save \")]):_c('h5',[_vm._v(\"Loading...\")])])])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('ol',{staticClass:\"breadcrumb\"},[_c('li',{staticClass:\"breadcrumb-item\"},[_vm._v(\"Trang chủ\")]),_c('li',{staticClass:\"breadcrumb-item\"},[_c('a',{attrs:{\"href\":\"/admin/news/lists\"}},[_vm._v(\"Quản lý Tin tức \")])]),_c('li',{staticClass:\"breadcrumb-item\"},[_vm._v(\"Thêm mới Tin tức\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('ul',{staticClass:\"nav nav-tabs\",attrs:{\"role\":\"tablist\"}},[_c('li',{staticClass:\"nav-item\"},[_c('a',{staticClass:\"nav-link active\",attrs:{\"data-toggle\":\"tab\",\"href\":\"#home\"}},[_vm._v(\"Tiếng Việt\")])]),_c('li',{staticClass:\"nav-item\"},[_c('a',{staticClass:\"nav-link\",attrs:{\"data-toggle\":\"tab\",\"href\":\"#menu1\"}},[_vm._v(\"English\")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"card-header\"},[_c('strong',[_vm._v(\"Thông tin chung \")]),_c('small',[_vm._v(\"Form\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('label',{attrs:{\"for\":\"name\"}},[_vm._v(\"Tên \"),_c('span',{staticClass:\"text-danger\"},[_vm._v(\"*\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('label',{attrs:{\"for\":\"picturefile\"}},[_vm._v(\"Hình ảnh đại diện\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(\"*\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('label',{attrs:{\"for\":\"parentId\"}},[_vm._v(\" Danh mục cha\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(\"*\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-sm-10\"},[_c('div',{staticClass:\"form-group row\"},[_c('div',{staticClass:\"col-sm-3\"},[_c('label',{attrs:{\"for\":\"name\"}},[_vm._v(\" Trạng thái \")])]),_c('div',{staticClass:\"col-sm-9\"},[_c('select',{staticClass:\"form-control col-sm-3\",attrs:{\"name\":\"Status\"}},[_c('option',{attrs:{\"value\":\"1\",\"selected\":\"\"}},[_vm._v(\"Hiện\")]),_c('option',{attrs:{\"value\":\"2\"}},[_vm._v(\"Ẩn\")])])])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-sm-10\"},[_c('div',{staticClass:\"form-group row\"},[_c('div',{staticClass:\"col-sm-3\"},[_c('label',{attrs:{\"for\":\"name\"}},[_vm._v(\" MENU\")])]),_c('div',{staticClass:\"col-sm-9\"},[_c('select',{staticClass:\"form-control col-sm-3\",attrs:{\"name\":\"isMenu\"}},[_c('option',{attrs:{\"value\":\"1\"}},[_vm._v(\"Hiện\")]),_c('option',{attrs:{\"value\":\"2\",\"selected\":\"\"}},[_vm._v(\"Ẩn\")])])])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-sm-10\"},[_c('div',{staticClass:\"form-group\"},[_c('label',{attrs:{\"for\":\"orderBy\"}},[_vm._v(\"Sắp sếp\")]),_c('input',{staticClass:\"form-control\",attrs:{\"name\":\"orderBy\",\"type\":\"number\"}})])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('label',{attrs:{\"for\":\"orderBy\"}},[_vm._v(\"Từ Ngày \"),_c('small',{staticClass:\"text-primary\"},[_vm._v(\"(Năm - Tháng - Ngày) \")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('label',{attrs:{\"for\":\"orderBy\"}},[_vm._v(\"Đến Ngày \"),_c('small',{staticClass:\"text-primary\"},[_vm._v(\"(Năm - Tháng - Ngày) \")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('label',{attrs:{\"for\":\"orderBy\"}},[_vm._v(\" Ngày cập nhật \"),_c('small',{staticClass:\"text-primary\"},[_vm._v(\"(Năm - Tháng - Ngày) \")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-sm-10\"},[_c('div',{staticClass:\"form-group\"},[_c('label',{attrs:{\"for\":\"description\"}},[_vm._v(\" Mô tả \")]),_c('textarea',{staticClass:\"form-control\",attrs:{\"name\":\"description\"}})])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"card-header\"},[_c('strong',[_vm._v(\"Page \")]),_c('small',[_vm._v(\"Form\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('label',{attrs:{\"for\":\"name\"}},[_vm._v(\"Name \"),_c('span',{staticClass:\"text-danger\"},[_vm._v(\"*\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-sm-10\"},[_c('div',{staticClass:\"form-group\"},[_c('label',{attrs:{\"for\":\"description_en\"}},[_vm._v(\"Description \")]),_c('textarea',{staticClass:\"form-control\",attrs:{\"name\":\"description_en\"}})])])\n}]\n\nexport { render, staticRenderFns }","\n \n \n Trang chủ\n \n Quản lý Tin tức \n \n\n Thêm mới Tin tức\n \n\n \n \n \n \n Tiếng Việt\n \n \n English\n \n \n\n \n \n \n \n \n \n \n \n Thông tin chung \n Form\n \n \n \n \n \n Tên *\n \n {{ error.name }}\n \n \n\n \n \n Hình ảnh đại diện*\n \n\n \n \n \n {{ error.picturefile }}\n \n \n\n \n \n \n Danh mục cha*\n \n Tùy chọn\n \n -1\n \"\n >\n {{ elm.name }}\n \n \n \n\n {{ error.parentId }}\n \n \n\n \n \n \n Danh mục con\n \n Tùy chọn\n \n \n {{ elm.name }}\n \n \n \n \n \n\n \n\n\n \n \n \n Trạng thái \n \n \n \n Hiện\n Ẩn\n \n \n \n \n\n \n \n \n MENU\n \n \n \n Hiện\n Ẩn\n \n \n \n \n\n \n \n Sắp sếp\n \n \n \n\n \n \n Từ Ngày (Năm - Tháng - Ngày) \n \n \n \n\n \n \n Đến Ngày (Năm - Tháng - Ngày) \n \n \n \n\n \n \n Ngày cập nhật (Năm - Tháng - Ngày) \n \n \n \n\n \n \n Mô tả \n\n \n \n \n \n \n Nội dung \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Page \n Form\n \n \n \n \n \n Name *\n \n {{ error.name_EN }}\n \n \n \n \n Description \n\n \n \n \n \n \n Content \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../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!./Add.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../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!./Add.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Add.vue?vue&type=template&id=3576a9e8&\"\nimport script from \"./Add.vue?vue&type=script&lang=js&\"\nexport * from \"./Add.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":""}
{{ error.name }}
{{ error.picturefile }}
{{ error.parentId }}
{{ error.name_EN }}