{"version":3,"sources":["webpack:///./src/moduleApi/NgoaiNguApi.js","webpack:///./node_modules/core-js/modules/_strict-method.js","webpack:///./node_modules/core-js/modules/es6.array.sort.js","webpack:///./src/views/admin/NgoaiNgu/NgoaiNguList.vue","webpack:///src/views/admin/NgoaiNgu/NgoaiNguList.vue","webpack:///./src/views/admin/NgoaiNgu/NgoaiNguList.vue?1403","webpack:///./src/views/admin/NgoaiNgu/NgoaiNguList.vue?ffe2","webpack:///./src/views/admin/NgoaiNgu/NgoaiNguModel.js","webpack:///./src/service/ValidService.js"],"names":["moduleApi","moduleName","create","dataForm","api","module","type","value","ApiService","update","list","dataFilter","delete","id","findById","findByIdAllField","fields","fails","exports","method","arg","call","$export","aFunction","toObject","$sort","sort","test","P","F","undefined","comparefn","this","render","_vm","_c","_self","staticClass","_v","_s","aLang","c_list","attrs","mData","tableRules","showFormSearch","ref","dataSearch","valid","nativeOn","$event","preventDefault","model","code","callback","$$v","$set","expression","directives","name","rawName","on","fn_tableSearch","c_search","fn_tableShowFormSearch","c_showHideSearch","aRole","fn_handle","c_create","_e","staticStyle","data","prop","defaultSort","order","fn_tableSelectionChange","fn_tableSortChange","allowSelect","allowSorting","c_action","scopedSlots","_u","key","fn","scope","c_detail","modifiers","$index","row","c_update","allowPaging","c_select","recordSelected","length","lengthMenu","limit","page","total","fn_tableSizeChange","fn_tableCurentChange","fn_tablePrevClick","fn_tableNextClick","staticRenderFns","MethodService","checkRole","LanguageService","lang","aElement","element","urlImg","ExtensionService","copyObject","NgoaiNguModel","dataDefault","roles","DataService","methods","fn_initTable","_fn_initTable","_asyncToGenerator","regeneratorRuntime","mark","_callee","res","wrap","_context","prev","next","filters","offset","showUrl","$router","replace","query","NgoaiNguApi","sent","result","meta","stop","apply","arguments","changeData","_changeData","_callee2","_context2","_x","_this2","push","params","$confirm","c_deleteConfirm","confirmButtonText","c_agree","cancelButtonText","c_cancel","then","fn_delete","catch","user_disableConfirm","fn_disable","user_openDisableConfirm","_fn_delete","_callee3","_context3","_x2","_fn_disable","_callee4","disable","_context4","_x3","_x4","val","_this","forEach","column","_this3","$refs","validate","_ref","_callee5","_context5","filterTable","JSON","stringify","stopLadda","abrupt","_x5","fn_tableChangeOffset","Object","assign","$route","fn_formatterDate","cellValue","index","formatDate","fn_formatterDatetime","fn_formatterRoles","_this4","item","i","label","slice","fn_initDataDefault","_fn_initDataDefault","_callee6","_context6","fn_hashUrl","parseInt","indexOf","stringToObject","created","mounted","component","vi","en","validForm","ValidService","required","dataFormOther","validFormOther","operator","message","valid_required","trigger","requiredChange","valid_requiredChange","requiredChangeImage","checkAz09","pattern","valid_az09","checkAz09Dot","valid_az09Dot","checkAccount","valid_account","checkPhone","valid_phone","checkLandlinePhone","checkNumber","valid_number","checkNumberFloatNotNegative","valid_floatNegative","checkNumberInteger","valid_integer","checkNumberFloat","valid_float","checkEmail","valid_email","checkSign","valid_sign","checkSpaceString","valid_space","checkScript","valid_script","checkLink","valid_link","checkTextFirst","valid_textFirst","checkDateTime","valid_dateTime","checkDate","valid_date","checkYear","valid_year","checkMonth","valid_month","checkLength","start","end","mess","concat","valid_insert","valid_to","valid_character","valid_insertThan","valid_insertLess","RegExp","checkLengthMinimum","valid_insertMinimum"],"mappings":"kHAAA,gBAEIA,EAAY,GACZC,EAAa,YAEjBD,EAAUE,OAAS,SAACC,GACnB,IAAIC,EAAM,CACPC,OAAQJ,EACRK,KAAM,SACNC,MAAOJ,GAET,OAAOK,eAAWJ,IAGpBJ,EAAUS,OAAS,SAACN,GAClB,IAAIC,EAAM,CACRC,OAAQJ,EACRK,KAAM,gBACNC,MAAOJ,GAET,OAAOK,eAAWJ,IAGpBJ,EAAUU,KAAO,SAACC,GAChB,IAAIP,EAAM,CACRC,OAAQJ,EACRK,KAAM,OACNC,MAAOI,GAET,OAAOH,eAAWJ,IAGpBJ,EAAUY,OAAS,SAACC,GAClB,IAAIT,EAAM,CACRC,OAAQJ,EACRK,KAAM,SACNC,MAAO,CAACM,GAAIA,IAEd,OAAOL,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AOnF,UAAA/C,OAAA,QAAA/D,IAAA8G,UAAA,GAAAA,UAAA,GAAG,OAC1E,MAAO,CACHwF,QAA8B,kBAAbA,EAAwB,IAAI+C,OAAO/C,GAAWA,EAC/DP,QAASA,EACTE,QAASA,IAIFP","file":"js/chunk-71b172c6.3f1cebfb.js","sourcesContent":["import ApiService from '../service/ApiService';\r\n\r\nlet moduleApi = {};\r\nlet moduleName = \"ngoai_ngu\";\r\n\r\nmoduleApi.create = (dataForm) => { \r\n let api = {\r\n module: moduleName,\r\n type: \"create\",\r\n value: dataForm\r\n };\r\n return ApiService(api);\r\n};\r\n\r\nmoduleApi.update = (dataForm) => {\r\n let api = {\r\n module: moduleName,\r\n type: \"partialUpdate\",\r\n value: dataForm\r\n };\r\n return ApiService(api);\r\n};\r\n\r\nmoduleApi.list = (dataFilter) => {\r\n let api = {\r\n module: moduleName,\r\n type: \"list\",\r\n value: dataFilter\r\n };\r\n return ApiService(api);\r\n};\r\n\r\nmoduleApi.delete = (id) => {\r\n let api = {\r\n module: moduleName,\r\n type: \"delete\",\r\n value: {id: id}\r\n };\r\n return ApiService(api);\r\n};\r\n\r\nmoduleApi.findById = (id) => {\r\n let api = {\r\n module: moduleName,\r\n type: \"findById\",\r\n value: {id: id}\r\n };\r\n return ApiService(api);\r\n};\r\n\r\nmoduleApi.findByIdAllField = (id) => {\r\n let api = {\r\n module: moduleName,\r\n type: \"findById\",\r\n value: {id: id, fields: \"id,code,name,index\"} \r\n };\r\n return ApiService(api);\r\n};\r\n\r\nexport default moduleApi;\r\n","'use strict';\nvar fails = require('./_fails');\n\nmodule.exports = function (method, arg) {\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call\n arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);\n });\n};\n","'use strict';\nvar $export = require('./_export');\nvar aFunction = require('./_a-function');\nvar toObject = require('./_to-object');\nvar fails = require('./_fails');\nvar $sort = [].sort;\nvar test = [1, 2, 3];\n\n$export($export.P + $export.F * (fails(function () {\n // IE8-\n test.sort(undefined);\n}) || !fails(function () {\n // V8 bug\n test.sort(null);\n // Old WebKit\n}) || !require('./_strict-method')($sort)), 'Array', {\n // 22.1.3.25 Array.prototype.sort(comparefn)\n sort: function sort(comparefn) {\n return comparefn === undefined\n ? $sort.call(toObject(this))\n : $sort.call(toObject(this), aFunction(comparefn));\n }\n});\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"animated fadeIn\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_vm._v(\"\\n \"+_vm._s(_vm.aLang.c_list)+\" ngoại ngữ\\n \"),_c('div',{staticClass:\"card-header-actions\"})]),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"text-left\"},[_c('b-collapse',{attrs:{\"visible\":_vm.mData.tableRules.showFormSearch,\"id\":\"myFormSearch\"}},[_c('b-card',[_c('el-form',{ref:\"myForm\",attrs:{\"label-position\":\"top\",\"model\":_vm.mData.tableRules.dataSearch.value,\"rules\":_vm.mData.tableRules.dataSearch.valid},nativeOn:{\"submit\":function($event){$event.preventDefault();}}},[_c('b-row',[_c('b-col',{attrs:{\"md\":\"3\"}},[_c('el-form-item',{attrs:{\"label\":\"MĂ£ ngoại ngữ\"}},[_c('el-input',{attrs:{\"clearable\":\"\"},model:{value:(_vm.mData.tableRules.dataSearch.value.code),callback:function ($$v) {_vm.$set(_vm.mData.tableRules.dataSearch.value, \"code\", $$v)},expression:\"mData.tableRules.dataSearch.value.code\"}})],1)],1),_c('b-col',{attrs:{\"md\":\"3\"}},[_c('el-form-item',{attrs:{\"label\":\"TĂªn tiếng Việt\"}},[_c('el-input',{attrs:{\"clearable\":\"\"},model:{value:(_vm.mData.tableRules.dataSearch.value['name.vi']),callback:function ($$v) {_vm.$set(_vm.mData.tableRules.dataSearch.value, 'name.vi', $$v)},expression:\"mData.tableRules.dataSearch.value['name.vi']\"}})],1)],1),_c('b-col',{attrs:{\"md\":\"3\"}},[_c('el-form-item',{attrs:{\"label\":\"TĂªn tiếng Anh\"}},[_c('el-input',{attrs:{\"clearable\":\"\"},model:{value:(_vm.mData.tableRules.dataSearch.value['name.en']),callback:function ($$v) {_vm.$set(_vm.mData.tableRules.dataSearch.value, 'name.en', $$v)},expression:\"mData.tableRules.dataSearch.value['name.en']\"}})],1)],1)],1),_c('el-form-item',{staticClass:\"text-center mb-0\"},[_c('el-button',{directives:[{name:\"ladda\",rawName:\"v-ladda\"}],attrs:{\"type\":\"info\",\"native-type\":\"submit\",\"plain\":\"\"},on:{\"click\":function($event){return _vm.fn_tableSearch()}}},[_vm._v(_vm._s(_vm.aLang.c_search))])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"p-0\",attrs:{\"md\":\"8\"}},[_c('b-col',{attrs:{\"md\":\"4\"}})],1),_c('b-col',{attrs:{\"md\":\"4\"}},[_c('div',{staticClass:\"text-right mb-2\"},[_c('el-button',{attrs:{\"type\":\"info\",\"plain\":\"\"},on:{\"click\":function($event){return _vm.fn_tableShowFormSearch()}}},[_vm._v(_vm._s(_vm.aLang.c_showHideSearch))]),(_vm.aRole('Admin'))?_c('el-button',{attrs:{\"type\":\"info\",\"plain\":\"\"},on:{\"click\":function($event){return _vm.fn_handle('create')}}},[_vm._v(_vm._s(_vm.aLang.c_create))]):_vm._e()],1)])],1),_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.mData.tableRules.data,\"border\":\"\",\"max-height\":\"440\",\"default-sort\":{prop: _vm.mData.tableRules.defaultSort[0], order: _vm.mData.tableRules.defaultSort[1]}},on:{\"selection-change\":_vm.fn_tableSelectionChange,\"sort-change\":_vm.fn_tableSortChange}},[(_vm.mData.tableRules.allowSelect)?_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"40\"}}):_vm._e(),_c('el-table-column',{attrs:{\"prop\":\"code\",\"sortable\":_vm.mData.tableRules.allowSorting,\"label\":\"MĂ£ ngoại ngữ\",\"align\":\"center\",\"width\":\"150\"}}),_c('el-table-column',{attrs:{\"prop\":\"name.vi\",\"sortable\":_vm.mData.tableRules.allowSorting,\"label\":\"TĂªn tiếng Việt\",\"min-width\":\"150\"}}),_c('el-table-column',{attrs:{\"prop\":\"name.en\",\"sortable\":_vm.mData.tableRules.allowSorting,\"label\":\"TĂªn tiếng Anh\",\"min-width\":\"150\"}}),_c('el-table-column',{attrs:{\"label\":_vm.aLang.c_action,\"align\":\"center\",\"width\":\"150px\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{directives:[{name:\"b-popover\",rawName:\"v-b-popover.hover.left\",value:(_vm.aLang.c_detail),expression:\"aLang.c_detail\",modifiers:{\"hover\":true,\"left\":true}}],attrs:{\"size\":\"mini\"},on:{\"click\":function($event){return _vm.fn_handle('detail',scope.$index, scope.row)}}},[_c('i',{staticClass:\"fa fa-eye\"})]),(_vm.aRole('Admin'))?_c('el-button',{directives:[{name:\"b-popover\",rawName:\"v-b-popover.hover.left\",value:(_vm.aLang.c_update),expression:\"aLang.c_update\",modifiers:{\"hover\":true,\"left\":true}}],attrs:{\"size\":\"mini\"},on:{\"click\":function($event){return _vm.fn_handle('update',scope.$index, scope.row)}}},[_c('i',{staticClass:\"icon-pencil icons\"})]):_vm._e()]}}])})],1),(_vm.mData.tableRules.allowPaging)?_c('b-row',{staticClass:\"mt-2\"},[_c('div',{staticClass:\"col-md-4\"},[(_vm.mData.tableRules.allowSelect)?_c('div',[_vm._v(_vm._s(_vm.aLang.c_select)+\": \"+_vm._s(_vm.mData.tableRules.recordSelected.length))]):_vm._e()]),_c('div',{staticClass:\"col-md-8 text-right\"},[_c('el-pagination',{attrs:{\"page-sizes\":_vm.mData.tableRules.lengthMenu,\"page-size\":_vm.mData.tableRules.limit,\"current-page\":_vm.mData.tableRules.page,\"background\":\"\",\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.mData.tableRules.total,\"pager-count\":5},on:{\"size-change\":_vm.fn_tableSizeChange,\"current-change\":_vm.fn_tableCurentChange,\"prev-click\":_vm.fn_tablePrevClick,\"next-click\":_vm.fn_tableNextClick}})],1)]):_vm._e()],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"animated fadeIn\">\r\n <div class=\"card\">\r\n <div class=\"card-header\">\r\n {{aLang.c_list}} ngoại ngữ\r\n <div class=\"card-header-actions\"></div>\r\n </div>\r\n <div class=\"card-body\">\r\n <div class=\"text-left\">\r\n <b-collapse v-bind:visible=\"mData.tableRules.showFormSearch\" id=\"myFormSearch\">\r\n <b-card>\r\n <el-form\r\n ref=\"myForm\"\r\n label-position=\"top\"\r\n @submit.native.prevent\r\n :model=\"mData.tableRules.dataSearch.value\"\r\n :rules=\"mData.tableRules.dataSearch.valid\"\r\n >\r\n <b-row>\r\n <b-col md=\"3\">\r\n <el-form-item label=\"MĂ£ ngoại ngữ\">\r\n <el-input v-model=\"mData.tableRules.dataSearch.value.code\" clearable></el-input>\r\n </el-form-item>\r\n </b-col>\r\n\r\n <b-col md=\"3\">\r\n <el-form-item label=\"TĂªn tiếng Việt\">\r\n <el-input v-model=\"mData.tableRules.dataSearch.value['name.vi']\" clearable></el-input>\r\n </el-form-item>\r\n </b-col>\r\n <b-col md=\"3\">\r\n <el-form-item label=\"TĂªn tiếng Anh\">\r\n <el-input v-model=\"mData.tableRules.dataSearch.value['name.en']\" clearable></el-input>\r\n </el-form-item>\r\n </b-col>\r\n </b-row>\r\n <el-form-item class=\"text-center mb-0\">\r\n <el-button\r\n type=\"info\"\r\n native-type=\"submit\"\r\n v-ladda\r\n plain\r\n @click=\"fn_tableSearch()\"\r\n >{{aLang.c_search}}</el-button>\r\n </el-form-item>\r\n </el-form>\r\n </b-card>\r\n </b-collapse>\r\n </div>\r\n <b-row>\r\n <b-col md=\"8\" class=\"p-0\">\r\n <b-col md=\"4\"></b-col>\r\n </b-col>\r\n <b-col md=\"4\">\r\n <div class=\"text-right mb-2\">\r\n <el-button\r\n @click=\"fn_tableShowFormSearch()\"\r\n type=\"info\"\r\n plain\r\n >{{aLang.c_showHideSearch}}</el-button>\r\n <el-button @click=\"fn_handle('create')\" type=\"info\" v-if=\"aRole('Admin')\" plain>{{aLang.c_create}}</el-button>\r\n </div>\r\n </b-col>\r\n </b-row>\r\n\r\n <el-table\r\n :data=\"mData.tableRules.data\"\r\n border\r\n @selection-change=\"fn_tableSelectionChange\"\r\n @sort-change=\"fn_tableSortChange\"\r\n max-height=\"440\"\r\n style=\"width: 100%\"\r\n :default-sort=\"{prop: mData.tableRules.defaultSort[0], order: mData.tableRules.defaultSort[1]}\"\r\n >\r\n <el-table-column type=\"selection\" width=\"40\" v-if=\"mData.tableRules.allowSelect\"></el-table-column>\r\n\r\n <el-table-column\r\n prop=\"code\"\r\n :sortable=\"mData.tableRules.allowSorting\"\r\n label=\"MĂ£ ngoại ngữ\"\r\n align=\"center\"\r\n width=\"150\"\r\n ></el-table-column>\r\n <el-table-column\r\n prop=\"name.vi\"\r\n :sortable=\"mData.tableRules.allowSorting\"\r\n label=\"TĂªn tiếng Việt\"\r\n min-width=\"150\"\r\n ></el-table-column>\r\n <el-table-column\r\n prop=\"name.en\"\r\n :sortable=\"mData.tableRules.allowSorting\"\r\n label=\"TĂªn tiếng Anh\"\r\n min-width=\"150\"\r\n ></el-table-column>\r\n\r\n <el-table-column :label=\"aLang.c_action\" align=\"center\" width=\"150px\">\r\n <template slot-scope=\"scope\">\r\n <el-button\r\n size=\"mini\"\r\n @click=\"fn_handle('detail',scope.$index, scope.row)\"\r\n v-b-popover.hover.left=\"aLang.c_detail\"\r\n >\r\n <i class=\"fa fa-eye\"></i>\r\n </el-button>\r\n <el-button\r\n size=\"mini\"\r\n @click=\"fn_handle('update',scope.$index, scope.row)\"\r\n v-b-popover.hover.left=\"aLang.c_update\"\r\n v-if=\"aRole('Admin')\"\r\n >\r\n <i class=\"icon-pencil icons\"></i>\r\n </el-button>\r\n <!-- <el-button\r\n size=\"mini\"\r\n @click=\"fn_handle('delete',scope.$index, scope.row)\"\r\n v-b-popover.hover.left=\"aLang.c_delete\"\r\n >\r\n <i class=\"icon-trash icons\"></i>\r\n </el-button>-->\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n\r\n <b-row class=\"mt-2\" v-if=\"mData.tableRules.allowPaging\">\r\n <div class=\"col-md-4\">\r\n <div\r\n v-if=\"mData.tableRules.allowSelect\"\r\n >{{aLang.c_select}}: {{mData.tableRules.recordSelected.length}}</div>\r\n </div>\r\n <div class=\"col-md-8 text-right\">\r\n <el-pagination\r\n @size-change=\"fn_tableSizeChange\"\r\n @current-change=\"fn_tableCurentChange\"\r\n @prev-click=\"fn_tablePrevClick\"\r\n @next-click=\"fn_tableNextClick\"\r\n :page-sizes=\"mData.tableRules.lengthMenu\"\r\n :page-size=\"mData.tableRules.limit\"\r\n :current-page=\"mData.tableRules.page\"\r\n background\r\n layout=\"total, sizes, prev, pager, next, jumper\"\r\n :total=\"mData.tableRules.total\"\r\n :pager-count=\"5\"\r\n ></el-pagination>\r\n </div>\r\n </b-row>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport LanguageService from \"../../../service/LanguageService\";\r\nimport DataService from \"../../../service/DataService\";\r\nimport MethodService from \"../../../service/MethodService\";\r\nimport ExtensionService from \"../../../service/ExtensionService\";\r\nimport NgoaiNguModel from \"./NgoaiNguModel\";\r\nimport NgoaiNguApi from \"../../../moduleApi/NgoaiNguApi\";\r\n\r\nexport default {\r\n data() {\r\n return {\r\n aRole: MethodService.checkRole,\r\n aLang: LanguageService.lang,\r\n aElement: MethodService.element,\r\n mData: {\r\n moduleName: \"NgoaiNgu\", //requied\r\n urlImg: ExtensionService.urlImg,\r\n tableRules: MethodService.copyObject(NgoaiNguModel.tableRules),\r\n dataDefault: {\r\n roles: DataService.roles\r\n }\r\n }\r\n };\r\n },\r\n\r\n methods: {\r\n //get list table\r\n async fn_initTable() {\r\n let dataFilter = {\r\n filters: this.mData.tableRules.filters \r\n };\r\n\r\n if (this.mData.tableRules.allowPaging) {\r\n dataFilter.limit = this.mData.tableRules.limit;\r\n dataFilter.offset = this.mData.tableRules.offset;\r\n }\r\n if (this.mData.tableRules.allowSorting) {\r\n dataFilter.sort = this.mData.tableRules.sort;\r\n }\r\n\r\n if (this.mData.tableRules.showUrl) {\r\n this.$router.replace({\r\n name: \"Admin-\" + this.mData.moduleName + \"-list\",\r\n query: {\r\n limit: this.mData.tableRules.limit,\r\n page: this.mData.tableRules.page,\r\n sort: this.mData.tableRules.sort,\r\n filters: this.mData.tableRules.filters,\r\n showFormSearch: this.mData.tableRules.showFormSearch\r\n }\r\n });\r\n }\r\n\r\n let res = await NgoaiNguApi.list(dataFilter);\r\n this.mData.tableRules.data = res.result;\r\n this.mData.tableRules.total = res.meta.total;\r\n this.mData.tableRules.page = res.meta.offset / res.meta.limit + 1;\r\n if (\r\n this.mData.tableRules.offset == res.meta.total &&\r\n this.mData.tableRules.offset != 0\r\n ) {\r\n this.mData.tableRules.offset = 0;\r\n this.mData.tableRules.page = 1;\r\n this.fn_initTable();\r\n }\r\n },\r\n\r\n //xá» lĂ½ dữ liệu đầu ra\r\n async changeData(data) {},\r\n\r\n //click button\r\n fn_handle(type, scope, row) {\r\n if (type == \"create\") {\r\n this.$router.push({\r\n name: \"Admin-\" + this.mData.moduleName + \"-create\"\r\n });\r\n }\r\n if (type == \"update\") {\r\n this.$router.push({\r\n name: \"Admin-\" + this.mData.moduleName + \"-update\",\r\n params: { id: row.id }\r\n });\r\n }\r\n if (type == \"detail\") {\r\n this.$router.push({\r\n name: \"Admin-\" + this.mData.moduleName + \"-detail\",\r\n params: { id: row.id }\r\n });\r\n }\r\n if (type == \"delete\") {\r\n this.$confirm(LanguageService.lang.c_deleteConfirm, {\r\n confirmButtonText: LanguageService.lang.c_agree,\r\n cancelButtonText: LanguageService.lang.c_cancel,\r\n type: \"warning\"\r\n })\r\n .then(() => {\r\n this.fn_delete(row.id);\r\n })\r\n .catch(() => {});\r\n }\r\n if (type == \"disable\") {\r\n this.$confirm(LanguageService.lang.user_disableConfirm, {\r\n confirmButtonText: LanguageService.lang.c_agree,\r\n cancelButtonText: LanguageService.lang.c_cancel,\r\n type: \"warning\"\r\n })\r\n .then(() => {\r\n this.fn_disable(row.id, true);\r\n })\r\n .catch(() => {});\r\n }\r\n if (type == \"openDisable\") {\r\n this.$confirm(LanguageService.lang.user_openDisableConfirm, {\r\n confirmButtonText: LanguageService.lang.c_agree,\r\n cancelButtonText: LanguageService.lang.c_cancel,\r\n type: \"warning\"\r\n })\r\n .then(() => {\r\n this.fn_disable(row.id, false);\r\n })\r\n .catch(() => {});\r\n }\r\n },\r\n\r\n //delete\r\n async fn_delete(id) {\r\n await NgoaiNguApi.delete(id);\r\n this.fn_initTable();\r\n },\r\n\r\n //khĂ³a tĂ i khoản\r\n async fn_disable(id, disable) {\r\n await NgoaiNguApi.disable(id, disable);\r\n this.fn_initTable();\r\n },\r\n\r\n //event table\r\n\r\n fn_tableSelectionChange(val) {\r\n var _this = this;\r\n this.mData.tableRules.recordSelected = [];\r\n val.forEach(function(element) {\r\n _this.mData.tableRules.recordSelected.push(element.id);\r\n });\r\n },\r\n\r\n fn_tableSortChange(column) {\r\n if (column.order == \"ascending\") {\r\n this.mData.tableRules.sort = column.prop;\r\n } else if (column.order == \"descending\") {\r\n this.mData.tableRules.sort = \"-\" + column.prop;\r\n } else {\r\n this.mData.tableRules.sort = \"\";\r\n }\r\n this.fn_initTable();\r\n },\r\n // search\r\n fn_tableSearch() {\r\n this.$refs[\"myForm\"].validate(async valid => {\r\n if (valid) { \r\n this.mData.tableRules.filters = MethodService.filterTable(JSON.stringify(this.mData.tableRules.dataSearch));\r\n this.mData.tableRules.offset = 0;\r\n this.mData.tableRules.sort = \"\";\r\n this.fn_initTable();\r\n } else {\r\n MethodService.stopLadda();\r\n return false;\r\n }\r\n });\r\n },\r\n\r\n //event table\r\n fn_tableSizeChange(limit) {\r\n this.mData.tableRules.limit = limit;\r\n this.fn_tableChangeOffset(this.mData.tableRules.page);\r\n },\r\n fn_tableCurentChange(page) {\r\n this.fn_tableChangeOffset(page);\r\n },\r\n fn_tablePrevClick(page) {\r\n this.fn_tableChangeOffset(page);\r\n },\r\n fn_tableNextClick(page) {\r\n this.fn_tableChangeOffset(page);\r\n },\r\n\r\n fn_tableChangeOffset(page) {\r\n this.mData.tableRules.page = page;\r\n this.mData.tableRules.offset =\r\n (this.mData.tableRules.page - 1) * this.mData.tableRules.limit;\r\n this.fn_initTable();\r\n },\r\n\r\n fn_tableShowFormSearch() {\r\n this.mData.tableRules.showFormSearch = !this.mData.tableRules\r\n .showFormSearch;\r\n let query = Object.assign({}, this.$route.query);\r\n query.showFormSearch = this.mData.tableRules.showFormSearch;\r\n this.$router.push({\r\n name: \"Admin-\" + this.mData.moduleName + \"-list\",\r\n query: query\r\n });\r\n },\r\n\r\n fn_formatterDate(row, column, cellValue, index) {\r\n return MethodService.formatDate(cellValue, \"date\");\r\n },\r\n\r\n fn_formatterDatetime(row, column, cellValue, index) {\r\n return MethodService.formatDate(cellValue, \"datetime\");\r\n },\r\n\r\n fn_formatterRoles(row, column, cellValue, index) {\r\n var roles = \"\";\r\n cellValue.forEach(item => {\r\n for (let i = 0; i < this.mData.dataDefault.roles.length; i++) {\r\n if (item == this.mData.dataDefault.roles[i].value) {\r\n item = this.mData.dataDefault.roles[i].label;\r\n roles += item + \" ,\";\r\n }\r\n }\r\n });\r\n roles = roles.slice(0, -1);\r\n return roles;\r\n },\r\n\r\n async fn_initDataDefault() {},\r\n\r\n fn_hashUrl() {\r\n if (this.$route.query.limit) {\r\n this.mData.tableRules.limit = parseInt(this.$route.query.limit);\r\n }\r\n if (this.$route.query.page) {\r\n this.mData.tableRules.page = parseInt(this.$route.query.page);\r\n }\r\n if (this.$route.query.limit && this.$route.query.page) {\r\n this.mData.tableRules.offset =\r\n (this.mData.tableRules.page - 1) * this.mData.tableRules.limit;\r\n }\r\n if (this.$route.query.sort) {\r\n this.mData.tableRules.sort = this.$route.query.sort;\r\n this.mData.tableRules.defaultSort[0] = this.mData.tableRules.sort;\r\n if (this.mData.tableRules.sort.indexOf(\"-\") != -1) {\r\n this.mData.tableRules.defaultSort[1] = \"descending\";\r\n } else {\r\n this.mData.tableRules.defaultSort[1] = \"ascending\";\r\n }\r\n }\r\n if (this.$route.query.filters) {\r\n this.mData.tableRules.filters = this.$route.query.filters;\r\n // string to object\r\n this.mData.tableRules.dataSearch.value = MethodService.stringToObject(\r\n this.mData.tableRules.filters\r\n );\r\n }\r\n if (this.$route.query.showFormSearch == \"true\") {\r\n this.mData.tableRules.showFormSearch = true;\r\n }\r\n if (this.$route.query.showFormSearch == \"false\") {\r\n this.mData.tableRules.showFormSearch = false;\r\n }\r\n }\r\n },\r\n\r\n //run after render view\r\n created() {\r\n this.fn_initDataDefault();\r\n this.fn_hashUrl();\r\n },\r\n mounted() {\r\n this.fn_initTable();\r\n }\r\n};\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/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NgoaiNguList.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/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NgoaiNguList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./NgoaiNguList.vue?vue&type=template&id=4c679539\"\nimport script from \"./NgoaiNguList.vue?vue&type=script&lang=js\"\nexport * from \"./NgoaiNguList.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","import ValidService from \"../../../service/ValidService\";\r\nlet model = {};\r\n\r\n// dữ liệu form\r\nmodel.dataForm = {\r\n code: null, // string, optional //MĂ£ ngoại ngữ\r\n name: { //object, optional // TĂªn ngoại ngữ\r\n vi: null, // string, optional // TĂªn tiếng Việt\r\n en: null, // string, optional // TĂªn tiếng Anh\r\n },\r\n index: null //integer, optional // Thứ tá»± sắp xếp \r\n};\r\n\r\n// validation form\r\nmodel.validForm = {\r\n\r\n code: [ValidService.required],\r\n name: { //object, optional // TĂªn ngoại ngữ\r\n vi: [], // string, optional // TĂªn tiếng Việt\r\n en: [], // string, optional // TĂªn tiếng Anh\r\n },\r\n index: []\r\n};\r\n\r\n// dữ liệu mẫu cĂ¡c form khĂ¡c\r\nmodel.dataFormOther = {\r\n};\r\n\r\n// validation cĂ¡c form khĂ¡c\r\nmodel.validFormOther = {\r\n};\r\n\r\nmodel.tableRules = {\r\n data: [],\r\n lengthMenu: [10, 20, 50, 100, 500],\r\n allowPaging: true,\r\n allowSorting: true,\r\n allowSelect: false,\r\n showFormSearch: false,\r\n showUrl: true,\r\n total: 0,\r\n page: 1,\r\n limit: 10,\r\n offset: 0,\r\n sort: \"\",\r\n defaultSort: [\"loai\", \"ascending\"],\r\n filters: \"\",\r\n recordSelected: [],\r\n dataSearch: {\r\n value: {\r\n code: \"\",\r\n \"name.vi\": \"\",\r\n \"name.en\": \"\"\r\n },\r\n valid: {\r\n code: [],\r\n \"name.vi\": [],\r\n \"name.en\": []\r\n },\r\n operator: {\r\n code: \":regex_i:\", //:regex:, $vn_text=ViĂªt nam\r\n \"name.vi\": \":regex_i:\",\r\n \"name.en\": \":regex_i:\"\r\n }\r\n }\r\n};\r\n\r\nexport default model;","import LanguageService from './LanguageService';\r\n\r\nlet ValidService = {};\r\nValidService.required = {\r\n required: true,\r\n message: LanguageService.lang.valid_required,\r\n trigger: \"blur\"\r\n};\r\nValidService.requiredChange = {\r\n required: true,\r\n message: LanguageService.lang.valid_requiredChange,\r\n trigger: \"change\"\r\n};\r\nValidService.requiredChangeImage = {\r\n required: true,\r\n message: \"Vui lĂ²ng chá»n ảnh\",\r\n trigger: \"change\"\r\n};\r\nValidService.checkAz09 = {\r\n pattern: /^[0-9a-zA-Z]+$/g,\r\n message: LanguageService.lang.valid_az09,\r\n trigger: \"blur\"\r\n};\r\nValidService.checkAz09Dot = {\r\n pattern: /^[\\d.\\.]$/g,\r\n message: LanguageService.lang.valid_az09Dot,\r\n trigger: \"blur\"\r\n};\r\nValidService.checkAccount = {\r\n pattern: /^[0-9a-zA-Z.@]+$/g,\r\n message: LanguageService.lang.valid_account,\r\n trigger: \"blur\"\r\n};\r\nValidService.checkPhone = {\r\n pattern: /^(0|\\+?84|0084)\\d{9}$/,\r\n message: LanguageService.lang.valid_phone,\r\n trigger: \"blur\"\r\n};\r\nValidService.checkLandlinePhone = {\r\n pattern: /^0\\d{9,10}$/,\r\n message: LanguageService.lang.valid_phone,\r\n trigger: \"blur\"\r\n};\r\nValidService.checkNumber = {\r\n pattern: /^[0-9]+$/,\r\n message: LanguageService.lang.valid_number,\r\n trigger: \"blur\"\r\n};\r\nValidService.checkNumberFloatNotNegative = {\r\n pattern: /^[\\d.]+$/,\r\n message: LanguageService.lang.valid_floatNegative,\r\n trigger: \"blur\"\r\n};\r\nValidService.checkNumberInteger = {\r\n pattern: /^[-]?[\\d]+$/,\r\n message: LanguageService.lang.valid_integer,\r\n trigger: \"blur\"\r\n};\r\nValidService.checkNumberFloat = {\r\n pattern: /^[-]?[\\d.]+$/,\r\n message: LanguageService.lang.valid_float,\r\n trigger: \"blur\"\r\n};\r\nValidService.checkEmail = {\r\n pattern: /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/,\r\n message: LanguageService.lang.valid_email,\r\n trigger: \"blur\"\r\n};\r\nValidService.checkSign = {\r\n pattern: /^[^Ă€ĂĂ‚ĂƒĂˆĂ‰ĂĂŒĂÒÓÔÕÙĂÄ‚ÄÄ¨Å¨Æ Ă Ă¡Ă¢Ă£Ă¨Ă©ĂªĂ¬ĂĂ²Ă³Ă´ĂµĂ¹ĂºÄƒÄ‘Ä©Å©Æ¡Æ¯Ä‚áº áº¢áº¤áº¦áº¨áºªáº¬áº®áº°áº²áº´áº¶áº¸áººáº¼á»€á»€á»‚Æ°Äƒáº¡áº£áº¥áº§áº©áº«áºáº¯áº±áº³áºµáº·áº¹áº»áº½á»á»á»ƒá»„ỆỈá»á»Œá»á»á»’ỔỖỘá»á»œá»á» ỢỤỦỨỪễệỉịá»á»á»‘ồổỗộớá»á»Ÿá»¡á»£á»¥á»§á»©á»«á»¬á»®á»°á»²á»´ĂỶỸá»á»¯á»±á»³Ă½á»µá»·á»¹]*$/g,\r\n message: LanguageService.lang.valid_sign,\r\n trigger: \"blur\"\r\n};\r\nValidService.checkSpaceString = {\r\n pattern: /\\S/g,\r\n message: LanguageService.lang.valid_space,\r\n trigger: \"blur\"\r\n};\r\nValidService.checkScript = {\r\n pattern: /^[\\u00BF-\\u1FFF\\u2C00-\\uD7FF\\w\\_\\s]*$/g,\r\n message: LanguageService.lang.valid_script,\r\n trigger: \"blur\"\r\n};\r\nValidService.checkLink = {\r\n pattern: /^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$/,\r\n message: LanguageService.lang.valid_link,\r\n trigger: \"blur\"\r\n};\r\nValidService.checkTextFirst = {\r\n pattern: /^[a-zA-Z].*/g,\r\n message: LanguageService.lang.valid_textFirst,\r\n trigger: \"blur\"\r\n};\r\nValidService.checkDateTime = {\r\n pattern: /^([1-9]|([012][0-9])|(3[01]))[/]([0]{0,1}[1-9]|1[012])[/]\\d\\d\\d\\d [012]{0,1}[0-9]:[0-6][0-9]$/g,\r\n message: LanguageService.lang.valid_dateTime,\r\n trigger: \"blur\"\r\n};\r\nValidService.checkDate = {\r\n pattern: /^(?:(?:31(\\/|-|\\.)(?:0?[13578]|1[02]))\\1|(?:(?:29|30)(\\/|-|\\.)(?:0?[1,3-9]|1[0-2])\\2))(?:(?:1[6-9]|[2-9]\\d)?\\d{2})$|^(?:29(\\/|-|\\.)0?2\\3(?:(?:(?:1[6-9]|[2-9]\\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:0?[1-9]|1\\d|2[0-8])(\\/|-|\\.)(?:(?:0?[1-9])|(?:1[0-2]))\\4(?:(?:1[6-9]|[2-9]\\d)?\\d{2})$/g,\r\n message: LanguageService.lang.valid_date,\r\n trigger: \"blur\"\r\n};\r\nValidService.checkYear = {\r\n pattern: /^\\d{4}$/g,\r\n message: LanguageService.lang.valid_year,\r\n trigger: \"blur\"\r\n};\r\nValidService.checkMonth = {\r\n pattern: /^\\d{2}[/]\\d{4}$/g,\r\n message: LanguageService.lang.valid_month,\r\n trigger: \"blur\"\r\n};\r\n\r\nValidService.checkLength = (start, end) => {\r\n var mess = \"\";\r\n var pattern = \"\";\r\n\r\n if (start && end) {\r\n\r\n mess = `${LanguageService.lang.valid_insert} ${start} ${LanguageService.lang.valid_to} ${end} ${LanguageService.lang.valid_character}`;\r\n pattern = `.{${start},${end}}$`;\r\n } else if (start) {\r\n mess = `${LanguageService.lang.valid_insertThan} ${start} ${LanguageService.lang.valid_character}`;\r\n pattern = `.{${start},}$`;\r\n } else if (end) {\r\n mess = `${LanguageService.lang.valid_insertLess} ${end} ${LanguageService.lang.valid_character}`;\r\n pattern = `.{,${end}}$`;\r\n }\r\n return {\r\n pattern: new RegExp(pattern),\r\n message: mess,\r\n trigger: \"blur\"\r\n }\r\n};\r\n\r\nValidService.checkLengthMinimum = (length) => {\r\n let mess = `${LanguageService.lang.valid_insertMinimum} ${length} ${LanguageService.lang.valid_character}`;\r\n let pattern = `.{${length}}$`;\r\n return {\r\n pattern: new RegExp(pattern),\r\n message: mess,\r\n trigger: \"blur\"\r\n }\r\n};\r\n\r\nValidService.pattern = (pattern, message = \"GiĂ¡ trị khĂ´ng hợp lệ!\", trigger = 'blur') => {\r\n return {\r\n pattern: typeof (pattern) === \"string\" ? new RegExp(pattern) : pattern,\r\n message: message,\r\n trigger: trigger\r\n };\r\n};\r\n\r\nexport default ValidService;\r\n"],"sourceRoot":""}