{"version":3,"sources":["webpack:///./node_modules/core-js/modules/_array-methods.js","webpack:///./node_modules/core-js/modules/_strict-method.js","webpack:///./node_modules/core-js/modules/es6.array.sort.js","webpack:///./node_modules/core-js/modules/es6.array.find.js","webpack:///./src/views/admin/KhachDuLich/KhachDuLichModel.js","webpack:///./src/service/ValidService.js","webpack:///./src/views/admin/KhachDuLich/KhachDuLichList.vue","webpack:///src/views/admin/KhachDuLich/KhachDuLichList.vue","webpack:///./src/views/admin/KhachDuLich/KhachDuLichList.vue?a545","webpack:///./src/views/admin/KhachDuLich/KhachDuLichList.vue?f747","webpack:///./src/moduleApi/KhachDuLichApi.js"],"names":["ctx","IObject","toObject","toLength","asc","module","exports","TYPE","$create","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","NO_HOLES","create","$this","callbackfn","that","val","res","O","self","f","length","index","result","undefined","push","fails","method","arg","call","$export","aFunction","$sort","sort","test","P","F","comparefn","this","$find","KEY","forced","Array","find","arguments","model","so_the","ho_ten","email","dien_thoai","gioi_tinh","ngay_sinh","ngay","thang","nam","giay_to","quoc_tich","quoc_tich_id","ten_quoc_tich","dia_chi","province_id","province_name","district_id","district_name","avatar_id","loai_giay_to","so_giay_to","noi_cap","ngay_cap","ngay_het_han","data","lengthMenu","allowPaging","allowSorting","allowSelect","showFormSearch","showUrl","total","page","limit","offset","defaultSort","filters","recordSelected","dataSearch","value","valid","operator","ValidService","required","message","LanguageService","lang","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","render","_vm","_c","_self","staticClass","_v","_s","aLang","c_list","trs_title","attrs","mData","tableRules","ref","nativeOn","$event","preventDefault","trs_fullname","callback","$$v","$set","expression","trs_email","trs_phone","trs_card_number","directives","name","rawName","on","fn_tableSearch","c_search","fn_tableShowFormSearch","c_showHideSearch","staticStyle","prop","order","fn_tableSelectionChange","fn_tableSortChange","_e","scopedSlots","_u","key","fn","scope","fn_handle","$index","row","slice","trs_gender","c_action","c_detail","modifiers","c_select","fn_tableSizeChange","fn_tableCurentChange","fn_tablePrevClick","fn_tableNextClick","staticRenderFns","aRole","MethodService","checkRole","aElement","element","moduleName","copyObject","KhachDuLichModel","dataDefault","roles","DataService","listCongTyLuHanh","methods","fn_initTable","_fn_initTable","_asyncToGenerator","regeneratorRuntime","mark","_callee","dataFilter","wrap","_context","prev","next","$router","replace","query","catch","KhachDuLichApi","list","sent","console","log","changeData","meta","stop","apply","$","each","item","trim","gt","gioiTinh","id","text","Date","toUTCString","type","_this2","params","$confirm","c_deleteConfirm","confirmButtonText","c_agree","cancelButtonText","c_cancel","then","fn_delete","user_disableConfirm","fn_disable","user_openDisableConfirm","_fn_delete","_callee2","_context2","delete","_x","_fn_disable","_callee3","disable","_context3","_x2","_x3","_this","forEach","column","_this3","$refs","validate","_ref","_callee4","m","_context4","filterTable","JSON","stringify","match","substr","stopLadda","abrupt","_x4","fn_tableChangeOffset","Object","assign","$route","fn_formatterDate","cellValue","formatDate","fn_formatterRoles","_this4","i","label","fn_hashUrl","parseInt","indexOf","stringToObject","fn_search","created","mounted","component","moduleApi","dataForm","api","ApiService","update","findById","findByIdAllField","fields"],"mappings":"qGAOA,IAAIA,EAAM,EAAQ,QACdC,EAAU,EAAQ,QAClBC,EAAW,EAAQ,QACnBC,EAAW,EAAQ,QACnBC,EAAM,EAAQ,QAClBC,EAAOC,QAAU,SAAUC,EA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AAIC,EAAM,CACN5T,OAAQkN,EACR0C,KAAM,SACNzK,MAAOwO,GAEX,OAAOE,eAAWD,IAGtBF,EAAUI,OAAS,SAACH,GAChB,IAAIC,EAAM,CACN5T,OAAQkN,EACR0C,KAAM,gBACNzK,MAAOwO,GAEX,OAAOE,eAAWD,IAGtBF,EAAUhF,KAAO,SAACV,GACd,IAAI4F,EAAM,CACN5T,OAAQkN,EACR0C,KAAM,OACNzK,MAAO6I,GAEX,OAAO6F,eAAWD,IAGtBF,EAAU7C,OAAS,SAACrB,GAChB,IAAIoE,EAAM,CACN5T,OAAQkN,EACR0C,KAAM,SACNzK,MAAO,CAAEqK,GAAIA,IAEjB,OAAOqE,eAAWD,IAGtBF,EAAUK,SAAW,SAACvE,GAClB,IAAIoE,EAAM,CACN5T,OAAQkN,EACR0C,KAAM,WACNzK,MAAO,CAAEqK,GAAIA,IAEjB,OAAOqE,eAAWD,IAGtBF,EAAUM,iBAAmB,SAACxE,GAC1B,IAAIoE,EAAM,CACN5T,OAAQkN,EACR0C,KAAM,WACNzK,MAAO,CAAEqK,GAAIA,EAAIyE,OAAQ,8FAE7B,OAAOJ,eAAWD,IAGPF","file":"js/chunk-5bc6941c.a42e8fd7.js","sourcesContent":["// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n  var IS_MAP = TYPE == 1;\n  var IS_FILTER = TYPE == 2;\n  var IS_SOME = TYPE == 3;\n  var IS_EVERY = TYPE == 4;\n  var IS_FIND_INDEX = TYPE == 6;\n  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n  var create = $create || asc;\n  return function ($this, callbackfn, that) {\n    var O = toObject($this);\n    var self = IObject(O);\n    var f = ctx(callbackfn, that, 3);\n    var length = toLength(self.length);\n    var index = 0;\n    var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n    var val, res;\n    for (;length > index; index++) if (NO_HOLES || index in self) {\n      val = self[index];\n      res = f(val, index, O);\n      if (TYPE) {\n        if (IS_MAP) result[index] = res;   // map\n        else if (res) switch (TYPE) {\n          case 3: return true;             // some\n          case 5: return val;              // find\n          case 6: return index;            // findIndex\n          case 2: result.push(val);        // filter\n        } else if (IS_EVERY) return false; // every\n      }\n    }\n    return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n  };\n};\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","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n  find: function find(callbackfn /* , that = undefined */) {\n    return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\nrequire('./_add-to-unscopables')(KEY);\n","import ValidService from \"../../../service/ValidService\";\r\nlet model = {};\r\n\r\n// dữ liệu form\r\nmodel.dataForm = {\r\n    //id: IdRef, optional // MĂ£ người dĂ¹ng\r\n    so_the: null, // string, optional // MĂ£ thẻ\r\n    ho_ten: { // object, optional\r\n        ho_ten: null, // string, optional // Họ tĂªn đầy đủ\r\n    },\r\n    email: null, // string, optional // Email\r\n    dien_thoai: null, // string, optional // Số Ä‘iện thoại\r\n    gioi_tinh: null, // integer, optional // Giá»›i tĂ­nh: 1 - Nữ, 2 - Nam, 3 - ChÆ°a cĂ³ thĂ´ng tin, 4 - KhĂ¡c\r\n    ngay_sinh: { // object, optional // NgĂ y thĂ¡ng năm sinh\r\n        ngay: null, // integer, optional // NgĂ y\r\n        thang: null, // integer, optional // ThĂ¡ng\r\n        nam: null, // integer, optional // Năm\r\n        ngay_sinh: null, // datetime, optional // NgĂ y sinh\r\n    },\r\n    giay_to: [], //array of object, optional // Giấy tờ, vĂ­ dụ: CMT, CCCD, Họ chiếu\r\n    // loai_giay_to: string, optional // Loại giấy tờ\r\n    // so_giay_to: string, optional // Số giấy tờ\r\n    // noi_cap: string, optional // NÆ¡i cấp\r\n    // ngay_cap: datetime, optional // NgĂ y cấp\r\n    // ngay_het_han: datetime, optional // NgĂ y hết hạn\r\n    quoc_tich: { //object, optional // Quốc tịch\r\n        quoc_tich_id: null, // IdRef, optional // MĂ£ quốc tịch\r\n        ten_quoc_tich: null, // string, optional // TĂªn quốc tịch\r\n    },\r\n    dia_chi: { // object, optional // Địa chỉ\r\n        province_id: null, // IdRef, optional // MĂ£ tỉnh/TP\r\n        province_name: null, // string, optional // TĂªn tỉnh/TP\r\n        district_id: null, // IdRef, optional // MĂ£ quận/huyện\r\n        district_name: null, // string, optional // TĂªn quận/huyện\r\n        dia_chi: null, // string, optional // Địa chỉ đầy đủ\r\n    },\r\n    avatar_id: null, // IdRef, optional // MĂ£ ảnh đại diện\r\n\r\n};\r\n\r\n// validation form\r\nmodel.validForm = {\r\n};\r\n\r\n// dữ liệu mẫu cĂ¡c form khĂ¡c\r\nmodel.dataFormOther = {\r\n    giay_to: {\r\n        loai_giay_to: null, //string, required // Loại giấy tờ\r\n        so_giay_to: null, //string, required // Số giấy tờ\r\n        noi_cap: null, //string, optional // NÆ¡i cấp\r\n        ngay_cap: null, //datetime, optional // NgĂ y cấp\r\n        ngay_het_han: null, //datetime, optional // NgĂ y hết hạn\r\n    }\r\n};\r\n\r\n// validation cĂ¡c form khĂ¡c\r\nmodel.validFormOther = {\r\n};\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: [\"ho_ten\", \"ascending\"],\r\n    filters: \"\",\r\n    recordSelected: [],\r\n    dataSearch: {\r\n        value: {\r\n            \"ho_ten.ho_ten\": \"\",\r\n            \"email\": \"\",\r\n            \"dien_thoai\": \"\",\r\n            \"so_the\": \"\"\r\n        },\r\n        valid: {\r\n        },\r\n        operator: {\r\n            \"ho_ten.ho_ten\": \":regex_i:\", //:regex:, $vn_text=ViĂªt nam\r\n            \"email\": \":regex_i:\",\r\n            \"dien_thoai\": \"\",\r\n            \"so_the\": \":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","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)+\" \"+_vm._s(_vm.aLang.trs_title)+\"\\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\":_vm.aLang.trs_fullname,\"prop\":\"\"}},[_c('el-input',{attrs:{\"clearable\":\"\"},model:{value:(_vm.mData.tableRules.dataSearch.value['ho_ten.ho_ten']),callback:function ($$v) {_vm.$set(_vm.mData.tableRules.dataSearch.value, 'ho_ten.ho_ten', $$v)},expression:\"mData.tableRules.dataSearch.value['ho_ten.ho_ten']\"}})],1)],1),_c('b-col',{attrs:{\"md\":\"3\"}},[_c('el-form-item',{attrs:{\"label\":_vm.aLang.trs_email,\"prop\":\"\"}},[_c('el-input',{attrs:{\"clearable\":\"\"},model:{value:(_vm.mData.tableRules.dataSearch.value['email']),callback:function ($$v) {_vm.$set(_vm.mData.tableRules.dataSearch.value, 'email', $$v)},expression:\"mData.tableRules.dataSearch.value['email']\"}})],1)],1),_c('b-col',{attrs:{\"md\":\"3\"}},[_c('el-form-item',{attrs:{\"label\":_vm.aLang.trs_phone,\"prop\":\"\"}},[_c('el-input',{attrs:{\"type\":\"text\",\"clearable\":\"\"},model:{value:(_vm.mData.tableRules.dataSearch.value['dien_thoai']),callback:function ($$v) {_vm.$set(_vm.mData.tableRules.dataSearch.value, 'dien_thoai', $$v)},expression:\"mData.tableRules.dataSearch.value['dien_thoai']\"}})],1)],1),_c('b-col',{attrs:{\"md\":\"3\"}},[_c('el-form-item',{attrs:{\"label\":_vm.aLang.trs_card_number,\"prop\":\"\"}},[_c('el-input',{attrs:{\"type\":\"text\",\"clearable\":\"\"},model:{value:(_vm.mData.tableRules.dataSearch.value['so_the']),callback:function ($$v) {_vm.$set(_vm.mData.tableRules.dataSearch.value, 'so_the', $$v)},expression:\"mData.tableRules.dataSearch.value['so_the']\"}})],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))])],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\":\"ho_ten.ho_ten\",\"sortable\":_vm.mData.tableRules.allowSorting,\"label\":_vm.aLang.trs_fullname,\"min-width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-link',{staticClass:\"cell-child\",attrs:{\"target\":\"_blank\",\"underline\":false},on:{\"click\":function($event){return _vm.fn_handle('detail',scope.$index, scope.row)}}},[_vm._v(_vm._s(scope.row.ho_ten.ho_ten))])]}}])}),_c('el-table-column',{attrs:{\"label\":_vm.aLang.trs_card_number,\"width\":\"150\",\"align\":\"right\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return (scope.row)?[_vm._v(\"\\n            \"+_vm._s(scope.row.so_the && scope.row.so_the.slice(0,2) && scope.row.so_the.length == 11? 'ChÆ°a cĂ³ thĂ´ng tin' : scope.row.so_the)+\"\\n          \")]:undefined}}],null,true)}),_c('el-table-column',{attrs:{\"prop\":\"gioi_tinh\",\"sortable\":_vm.mData.tableRules.allowSorting,\"label\":_vm.aLang.trs_gender,\"width\":\"150\",\"align\":\"center\"}}),_vm._v(\" -->\\n        \"),_c('el-table-column',{attrs:{\"prop\":\"email\",\"sortable\":_vm.mData.tableRules.allowSorting,\"label\":_vm.aLang.trs_email,\"width\":\"120\"}}),_c('el-table-column',{attrs:{\"label\":_vm.aLang.trs_phone,\"width\":\"150\",\"align\":\"right\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return (scope.row)?[_vm._v(\"\\n            \"+_vm._s(scope.row.so_the && scope.row.so_the.slice(0,2) == \"84\" && scope.row.so_the.length == 11 ? \n              scope.row.so_the : \n              (scope.row.dien_thoai ? scope.row.dien_thoai : \"ChÆ°a cĂ³ thĂ´ng tin\"))+\"\\n          \")]:undefined}}],null,true)}),_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\"})])]}}])})],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}} {{aLang.trs_title}}\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=\"aLang.trs_fullname\" prop>\r\n                      <el-input\r\n                        v-model=\"mData.tableRules.dataSearch.value['ho_ten.ho_ten']\"\r\n                        clearable\r\n                      ></el-input>\r\n                    </el-form-item>\r\n                  </b-col>\r\n                  <b-col md=\"3\">\r\n                    <el-form-item :label=\"aLang.trs_email\" prop>\r\n                      <el-input v-model=\"mData.tableRules.dataSearch.value['email']\" clearable></el-input>\r\n                    </el-form-item>\r\n                  </b-col>\r\n                  <b-col md=\"3\">\r\n                    <el-form-item :label=\"aLang.trs_phone\" prop>\r\n                      <el-input\r\n                        type=\"text\"\r\n                        v-model=\"mData.tableRules.dataSearch.value['dien_thoai']\"\r\n                        clearable\r\n                      ></el-input>\r\n                    </el-form-item>\r\n                  </b-col>\r\n                  <b-col md=\"3\">\r\n                    <el-form-item :label=\"aLang.trs_card_number\" prop>\r\n                      <el-input\r\n                        type=\"text\"\r\n                        v-model=\"mData.tableRules.dataSearch.value['so_the']\"\r\n                        clearable              \r\n                      ></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            </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          <el-table-column\r\n            prop=\"ho_ten.ho_ten\"\r\n            :sortable=\"mData.tableRules.allowSorting\"\r\n            :label=\"aLang.trs_fullname\"\r\n            min-width=\"200\"\r\n          >\r\n            <template slot-scope=\"scope\">             \r\n              <el-link\r\n                class=\"cell-child\"\r\n                target=\"_blank\"\r\n                @click=\"fn_handle('detail',scope.$index, scope.row)\"\r\n                :underline=\"false\"\r\n              >{{scope.row.ho_ten.ho_ten}}</el-link>\r\n            </template>\r\n          </el-table-column>\r\n          <!-- <el-table-column\r\n            prop=\"so_the\"\r\n            :sortable=\"mData.tableRules.allowSorting\"\r\n            label=\"Số thẻ\"\r\n            width=\"200\"\r\n            align=\"center\"\r\n          ></el-table-column> -->\r\n          <el-table-column\r\n            :label=\"aLang.trs_card_number\"\r\n            width=\"150\"\r\n            align=\"right\">\r\n            <template slot-scope=\"scope\" v-if=\"scope.row\">\r\n              {{scope.row.so_the && scope.row.so_the.slice(0,2) && scope.row.so_the.length == 11? 'ChÆ°a cĂ³ thĂ´ng tin' : scope.row.so_the}}\r\n            </template>\r\n          </el-table-column>\r\n          <el-table-column\r\n            prop=\"gioi_tinh\"\r\n            :sortable=\"mData.tableRules.allowSorting\"\r\n            :label=\"aLang.trs_gender\"\r\n            width=\"150\"\r\n            align=\"center\"\r\n          ></el-table-column>\r\n\r\n          <!-- <el-table-column\r\n            prop=\"ngay_sinh.ngay_sinh\"\r\n            :sortable=\"mData.tableRules.allowSorting\"\r\n            :label=\"aLang.trs_bod\"\r\n            :formatter=\"fn_formatterDate\"\r\n            align=\"center\"\r\n            width=\"120\"\r\n          >\r\n            <!-- <template slot-scope=\"scope\" v-if=\"scope.row\">\r\n              {{scope.row.ngay_sinh.ngay_sinh ? scope.row.ngay_sinh.ngay_sinh : \"\" }}\r\n            </template>   -->\r\n          </el-table-column> -->\r\n          <el-table-column\r\n            prop=\"email\"\r\n            :sortable=\"mData.tableRules.allowSorting\"\r\n            :label=\"aLang.trs_email\"\r\n            width=\"120\"\r\n          ></el-table-column>\r\n          <!-- <el-table-column\r\n            prop=\"dien_thoai\"\r\n            :sortable=\"mData.tableRules.allowSorting\"\r\n            label=\"Điện Thoại\"\r\n            width=\"120\"\r\n            align=\"right\"\r\n          ></el-table-column>        -->\r\n          <el-table-column\r\n              :label=\"aLang.trs_phone\"\r\n              width=\"150\"\r\n              align=\"right\">\r\n            <template slot-scope=\"scope\" v-if=\"scope.row\">\r\n              {{\r\n                scope.row.so_the && scope.row.so_the.slice(0,2) == \"84\" && scope.row.so_the.length == 11 ? \r\n                scope.row.so_the : \r\n                (scope.row.dien_thoai ? scope.row.dien_thoai : \"ChÆ°a cĂ³ thĂ´ng tin\")}}\r\n            </template>\r\n          </el-table-column>\r\n\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            </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 KhachDuLichModel from \"./KhachDuLichModel\";\r\nimport KhachDuLichApi from \"../../../moduleApi/KhachDuLichApi\";\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: \"KhachDuLich\", //requied\r\n        tableRules:  MethodService.copyObject(KhachDuLichModel.tableRules),\r\n        dataDefault: {\r\n          roles: DataService.roles,\r\n          listCongTyLuHanh: []\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        }).catch(() => {});\r\n      }\r\n\r\n      let res = await KhachDuLichApi.list(dataFilter);\r\n      console.log(\"res.result\",res.result);\r\n      this.mData.tableRules.data = this.changeData(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    changeData(data) {\r\n      $.each(data, (index, item) => {\r\n        if(item.ho_ten && item.ho_ten.ho_ten && item.ho_ten.ho_ten.trim() != \"\"){\r\n          item.ho_ten.ho_ten = item.ho_ten.ho_ten; \r\n        }else{\r\n          item.ho_ten ={\r\n            ho_ten : \"ChÆ°a cĂ³ thĂ´ng tin\" \r\n          } \r\n        }\r\n        if(item.email){\r\n          item.email = item.email;\r\n        }else{\r\n          item.email = \"ChÆ°a cĂ³ thĂ´ng tin\";\r\n        }\r\n\r\n        if (item.gioi_tinh != undefined) {\r\n          let gt = DataService.gioiTinh.find(element => {\r\n            return element.id == item.gioi_tinh;\r\n          });\r\n          if (gt) {\r\n            item.gioi_tinh = gt.text;\r\n          }\r\n        }else{\r\n          item.gioi_tinh = \"ChÆ°a cĂ³ thĂ´ng tin\";\r\n        }\r\n\r\n        if (item.ngay_sinh != undefined) {\r\n          item.ngay_sinh.ngay_sinh = new Date(\r\n            item.ngay_sinh.nam,\r\n            item.ngay_sinh.thang - 1,\r\n            item.ngay_sinh.ngay\r\n          ).toUTCString();          \r\n        }else{\r\n          item.ngay_sinh = {};\r\n          item.ngay_sinh.ngay_sinh = \"ChÆ°a cĂ³ thĂ´ng tin\";\r\n        }\r\n      });\r\n      return data;\r\n    },\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 KhachDuLichApi.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 KhachDuLichApi.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      if(this.mData.tableRules.dataSearch.value['ho_ten.ho_ten']){\r\n        this.mData.tableRules.dataSearch.value['ho_ten.ho_ten'] = this.mData.tableRules.dataSearch.value['ho_ten.ho_ten'].trim();\r\n      }\r\n      if(this.mData.tableRules.dataSearch.value['email']){\r\n        this.mData.tableRules.dataSearch.value['email'] = this.mData.tableRules.dataSearch.value['email'].trim();\r\n      }\r\n      if(this.mData.tableRules.dataSearch.value['dien_thoai']){\r\n        this.mData.tableRules.dataSearch.value['dien_thoai'] = this.mData.tableRules.dataSearch.value['dien_thoai'].trim();\r\n      }\r\n      if(this.mData.tableRules.dataSearch.value['so_the']){\r\n        this.mData.tableRules.dataSearch.value['so_the'] = this.mData.tableRules.dataSearch.value['so_the'].trim();\r\n      }\r\n\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          let m = this.mData.tableRules.filters.match(/dien_thoai(%3D|=)([^&|]*)/g);\r\n          if(\r\n            this.mData.tableRules.dataSearch.value['dien_thoai'] &&\r\n            this.mData.tableRules.dataSearch.value['dien_thoai'].substr(0,1) == \"0\" &&\r\n            this.mData.tableRules.dataSearch.value['dien_thoai'].length == 10\r\n          ){\r\n            if(m){\r\n              this.mData.tableRules.filters = this.mData.tableRules.filters.replace(m[0] , m[0]+\"|dien_thoai=\"+this.mData.tableRules.dataSearch.value['dien_thoai'].replace(/^\\d{1}/,'84'));\r\n            }\r\n          }else if(\r\n            this.mData.tableRules.dataSearch.value['dien_thoai'] &&\r\n            this.mData.tableRules.dataSearch.value['dien_thoai'].substr(0,2) == \"84\" &&\r\n            this.mData.tableRules.dataSearch.value['dien_thoai'].length == 11\r\n          ){\r\n            if(m){\r\n              this.mData.tableRules.filters = this.mData.tableRules.filters.replace(m[0] , m[0]+\"|dien_thoai=\"+this.mData.tableRules.dataSearch.value['dien_thoai'].replace(/^\\d{2}/,'0'));\r\n            }\r\n          }\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_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    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        console.log(\"this.mData.tableRules.filters\",this.mData.tableRules.filters);\r\n        let m = this.mData.tableRules.filters.match(/\\|?dien_thoai=([^&\\|]*)/g);\r\n        if(m){\r\n          this.mData.tableRules.filters = this.mData.tableRules.filters.replace(m[1],'');\r\n        }\r\n        // string to object\r\n        this.mData.tableRules.dataSearch.value = MethodService.stringToObject(\r\n          this.mData.tableRules.filters\r\n        );\r\n        console.log(\"this.mData.tableRules.dataSearch.value\",this.mData.tableRules.dataSearch.value);\r\n        this.fn_search();\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    fn_search(){\r\n      this.mData.tableRules.filters = MethodService.filterTable(JSON.stringify(this.mData.tableRules.dataSearch));\r\n      let m = this.mData.tableRules.filters.match(/dien_thoai(%3D|=)([^&|]*)/g);\r\n      if(\r\n        this.mData.tableRules.dataSearch.value['dien_thoai'].substr(0,1) == \"0\" &&\r\n        this.mData.tableRules.dataSearch.value['dien_thoai'].length == 10\r\n      ){\r\n        if(m){\r\n          this.mData.tableRules.filters = this.mData.tableRules.filters.replace(m[0] , m[0]+\"|dien_thoai=\"+this.mData.tableRules.dataSearch.value['dien_thoai'].replace(/^\\d{1}/,'84'));\r\n        }\r\n      }else if(\r\n        this.mData.tableRules.dataSearch.value['dien_thoai'].substr(0,2) == \"84\" &&\r\n        this.mData.tableRules.dataSearch.value['dien_thoai'].length == 11\r\n      ){\r\n        if(m){\r\n          this.mData.tableRules.filters = this.mData.tableRules.filters.replace(m[0] , m[0]+\"|dien_thoai=\"+this.mData.tableRules.dataSearch.value['dien_thoai'].replace(/^\\d{2}/,'0'));\r\n        }\r\n      }\r\n      this.mData.tableRules.offset = 0;\r\n      this.mData.tableRules.sort = \"\";\r\n      this.fn_initTable();\r\n    }\r\n  },\r\n\r\n  //run after render view\r\n  created() {\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!./KhachDuLichList.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!./KhachDuLichList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./KhachDuLichList.vue?vue&type=template&id=2959a45e\"\nimport script from \"./KhachDuLichList.vue?vue&type=script&lang=js\"\nexport * from \"./KhachDuLichList.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 ApiService from '../service/ApiService';\r\n\r\nlet moduleApi = {};\r\nlet moduleName = \"khach_du_lich\";\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,so_the,ho_ten,email,dien_thoai,gioi_tinh,ngay_sinh,giay_to,quoc_tich,dia_chi,avatar_id\" }\r\n    };\r\n    return ApiService(api);\r\n};\r\n\r\nexport default moduleApi;"],"sourceRoot":""}