{"version":3,"sources":["webpack:///./node_modules/core-js/modules/_array-methods.js","webpack:///./src/views/admin/NguoiDung/NguoiDungList.vue","webpack:///src/views/admin/NguoiDung/NguoiDungList.vue","webpack:///./src/views/admin/NguoiDung/NguoiDungList.vue?63d7","webpack:///./src/views/admin/NguoiDung/NguoiDungList.vue?4c08","webpack:///./node_modules/core-js/modules/_strict-method.js","webpack:///./node_modules/core-js/modules/es6.array.sort.js","webpack:///./src/moduleApi/HuongDanVienApi.js","webpack:///./src/moduleApi/AccountApi.js","webpack:///./node_modules/core-js/modules/es6.array.find.js","webpack:///./src/service/ValidService.js","webpack:///./src/moduleApi/ProfileApi.js","webpack:///./src/moduleApi/KhachDuLichApi.js","webpack:///./src/views/admin/NguoiDung/NguoiDungModel.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","render","_vm","this","_c","_self","staticClass","_v","_s","aLang","c_list","user_title","attrs","mData","tableRules","showFormSearch","ref","dataSearch","value","valid","nativeOn","$event","preventDefault","user_account_name","model","account","callback","$$v","$set","expression","user_right_to_use","c_select","viewMode","roles","_l","dataDefault","accountRolesSearch","item","key","code","text","directives","name","rawName","on","fn_tableSearch","c_search","fn_tableShowFormSearch","c_showHideSearch","fn_handle","c_create","staticStyle","data","prop","defaultSort","order","fn_tableSelectionChange","fn_tableSortChange","allowSelect","_e","allowSorting","user_lock","scopedSlots","_u","fn","scope","fn_changeDisable","row","id","disabled","tg_card_number","user_name","fn_formatterRoles","c_action","c_detail","modifiers","$index","c_update","fn_checkUpdateInformationRole","fn_checkChangePassRole","fn_checkEditRole","allowPaging","recordSelected","lengthMenu","limit","page","total","fn_tableSizeChange","fn_tableCurentChange","fn_tablePrevClick","fn_tableNextClick","staticRenderFns","aRole","MethodService","checkRole","LanguageService","lang","aElement","element","moduleName","urlImg","ExtensionService","copyObject","NguoiDungModel","trangThai","accountRoles","DataService","listKhachDuLich","listHuongDanVien","listProfile","methods","fn_initTable","_fn_initTable","_asyncToGenerator","regeneratorRuntime","mark","_callee","dataFilter","resFilter","resData","wrap","_context","prev","next","filters","console","log","offset","sort","showUrl","$router","replace","query","catch","AccountApi","list","sent","filter","x","includes","fn_changeData","meta","stop","apply","arguments","_fn_changeData","_callee2","arrAccountId","reqProfileApi","reqKhachDuLichApi","reqHuongDanVienApi","resProfileApi","resKhachDuLichApi","resHuongDanVienApi","_this2","_context2","findListItemDifferent","ProfileApi","join","KhachDuLichApi","HuongDanVienApi","$","each","nguoiGuiKhachDL","find","nguoiGuiHDV","nguoiGui","ho_ten","trim","so_the","abrupt","_x","type","_this3","params","$confirm","c_deleteConfirm","confirmButtonText","c_agree","cancelButtonText","c_cancel","then","fn_delete","_fn_changeDisable","_callee3","_context3","disable","undisable","_x2","_x3","_fn_delete","_callee4","_context4","delete","_x4","_this","forEach","column","_this4","$refs","validate","_ref","_callee5","_context5","filterTable","JSON","stringify","stopLadda","_x5","fn_tableChangeOffset","Object","assign","$route","cellValue","_this5","rolesWithoutUser","el","fn_initDataDefault","_fn_initDataDefault","_callee6","_context6","fn_hashUrl","parseInt","indexOf","stringToObject","user","created","mounted","component","fails","method","arg","call","$export","aFunction","$sort","test","P","F","comparefn","moduleApi","dataForm","api","ApiService","update","findById","findByIdAllField","fields","getListHuongDanVienDaDan","viewAction","location","message","success","error","message_success","user_disableSuccess","user_disableError","user_undisableSuccess","user_undisableError","register","registerSafePlaceUser","generateHashCode","getUserIdOrFetchAcsUser","getAccountByEmail","$find","KEY","forced","Array","ValidService","required","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","findByIdRootScope","password","repassword","profile","vhtt","validForm","dataFormOther","validFormOther","fileUploadOption","AnhDaiDien","accept","dialogImageUrl","dialogVisible","fileList","operator"],"mappings":"qGAOA,IAAIA,EAAM,EAAQ,QACdC,EAAU,EAAQ,QAClBC,EAAW,EAAQ,QACnBC,EAAW,EAAQ,QACnBC,EAAM,EAAQ,QAClBC,EAAOC,QAAU,SAAUC,EAAMC,GAC/B,IAAIC,EAAiB,GAARF,EACTG,EAAoB,GAARH,EACZI,EAAkB,GAARJ,EACVK,EAAmB,GAARL,EACXM,EAAwB,GAARN,EAChBO,EAAmB,GAARP,GAAaM,EACxBE,EAASP,GAAWJ,EACxB,OAAO,SAAUY,EAAOC,EAAYC,GAQlC,IAPA,IAMIC,EAAKC,EANLC,EAAInB,EAASc,GACbM,EAAOrB,EAAQoB,GACfE,EAAIvB,EAAIiB,EAAYC,EAAM,GAC1BM,EAASrB,EAASmB,EAAKE,QACvBC,EAAQ,EACRC,EAASjB,EAASM,EAAOC,EAAOQ,GAAUd,EAAYK,EAAOC,EAAO,QAAKW,EAEvEH,EAASC,EAAOA,IAAS,IAAIX,GAAYW,KAASH,KACtDH,EAAMG,EAAKG,GACXL,EAAMG,EAAEJ,EAAKM,EAAOJ,GAChBd,GACF,GAAIE,EAAQiB,EAAOD,GAASL,OACvB,GAAIA,EAAK,OAAQb,GACpB,KAAK,EAAG,OAAO,EACf,KAAK,EAAG,OAAOY,EACf,KAAK,EAAG,OAAOM,EACf,KAAK,EAAGC,EAAOE,KAAKT,QACf,GAAIP,EAAU,OAAO,EAGhC,OAAOC,GAAiB,EAAIF,GAAWC,EAAWA,EAAWc,K,2CCz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ACJ,OAAaC,SAASD,OAAaI,kBAM3DxP,EAAMoT,cAAgB,GAGtBpT,EAAMqT,eAAiB,GAEvBrT,EAAMsT,iBAAmB,CACrBC,WAAY,CACR3P,MAAO,EACP4P,OAAQ,oBACRC,eAAgB,GAChBC,eAAe,EACfC,SAAU,KAIlB3T,EAAMV,WAAa,CACfsC,KAAM,GACN+B,WAAY,CACR,GACA,GACA,GACA,IACA,KAEJF,aAAa,EACbrB,cAAc,EACdF,aAAa,EACb3C,gBAAgB,EAChBkH,SAAS,EACT3C,MAAO,EACPD,KAAM,EACND,MAAO,GACP2C,OAAQ,EACRC,KAAM,GACN1E,YAAa,CACT,UACA,cAEJsE,QAAS,GACT1C,eAAgB,GAChBjE,WAAY,CACRC,MAAO,CACHO,QAAS,GACTQ,MAAO,IAEXmT,SAAU,CACN3T,QAAS,eAKND","file":"js/chunk-e4fc9388.92810cca.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","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.user_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.user_account_name}},[_c('el-input',{attrs:{\"clearable\":\"\"},model:{value:(_vm.mData.tableRules.dataSearch.value.account),callback:function ($$v) {_vm.$set(_vm.mData.tableRules.dataSearch.value, \"account\", $$v)},expression:\"mData.tableRules.dataSearch.value.account\"}})],1)],1),_c('b-col',{attrs:{\"md\":\"3\"}},[_c('el-form-item',{attrs:{\"label\":_vm.aLang.user_right_to_use}},[_c('el-select',{attrs:{\"placeholder\":_vm.aLang.c_select,\"disabled\":_vm.mData.viewMode == 'detail',\"clearable\":\"\",\"filterable\":\"\"},model:{value:(_vm.mData.tableRules.dataSearch.value.roles),callback:function ($$v) {_vm.$set(_vm.mData.tableRules.dataSearch.value, \"roles\", $$v)},expression:\"mData.tableRules.dataSearch.value.roles\"}},_vm._l((_vm.mData.dataDefault.accountRolesSearch),function(item){return _c('el-option',{key:item.code,attrs:{\"label\":item.text,\"value\":item.code}})}),1)],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))]),_c('el-button',{attrs:{\"type\":\"info\",\"plain\":\"\"},on:{\"click\":function($event){return _vm.fn_handle('create')}}},[_vm._v(_vm._s(_vm.aLang.c_create))])],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\":\"disabled\",\"sortable\":_vm.mData.tableRules.allowSorting,\"label\":_vm.aLang.user_lock,\"width\":\"80\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-checkbox',{on:{\"change\":function($event){return _vm.fn_changeDisable(scope.row.id, scope.row.disabled)}},model:{value:(scope.row.disabled),callback:function ($$v) {_vm.$set(scope.row, \"disabled\", $$v)},expression:\"scope.row.disabled\"}})]}}])}),_c('el-table-column',{attrs:{\"prop\":\"account\",\"sortable\":_vm.mData.tableRules.allowSorting,\"label\":_vm.aLang.user_account_name,\"width\":\"280\"}}),_c('el-table-column',{attrs:{\"prop\":\"so_the\",\"sortable\":_vm.mData.tableRules.allowSorting,\"label\":_vm.aLang.tg_card_number,\"width\":\"280\"}}),_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":_vm.aLang.user_name}}),_c('el-table-column',{attrs:{\"prop\":\"roles\",\"sortable\":_vm.mData.tableRules.allowSorting,\"formatter\":_vm.fn_formatterRoles,\"label\":_vm.aLang.user_right_to_use,\"width\":\"180\"}}),_c('el-table-column',{attrs:{\"label\":_vm.aLang.c_action,\"align\":\"center\",\"width\":\"200px\"},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\"})]),_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\",\"disabled\":_vm.fn_checkUpdateInformationRole(scope.row)},on:{\"click\":function($event){return _vm.fn_handle('update',scope.$index, scope.row)}}},[_c('i',{staticClass:\"icon-pencil icons\"})]),_c('el-button',{directives:[{name:\"b-popover\",rawName:\"v-b-popover.hover.left\",value:('Đổi mật khẩu'),expression:\"'Đổi mật khẩu'\",modifiers:{\"hover\":true,\"left\":true}}],attrs:{\"size\":\"mini\",\"disabled\":_vm.fn_checkChangePassRole(scope.row)},on:{\"click\":function($event){return _vm.fn_handle('changePass',scope.$index, scope.row)}}},[_c('i',{staticClass:\"icon-key icons\"})]),_c('el-button',{directives:[{name:\"b-popover\",rawName:\"v-b-popover.hover.left\",value:('Đổi quyền người dĂ¹ng'),expression:\"'Đổi quyền người dĂ¹ng'\",modifiers:{\"hover\":true,\"left\":true}}],attrs:{\"size\":\"mini\",\"disabled\":_vm.fn_checkEditRole(scope.row)},on:{\"click\":function($event){return _vm.fn_handle('changeRole',scope.$index, scope.row)}}},[_c('i',{staticClass:\"icon-user icons\"})])]}}])})],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.user_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.user_account_name\">\r\n                      <el-input v-model=\"mData.tableRules.dataSearch.value.account\" 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=\"aLang.user_right_to_use\">\r\n                      <el-select\r\n                        v-model=\"mData.tableRules.dataSearch.value.roles\"\r\n                        :placeholder=\"aLang.c_select\"\r\n                        :disabled=\"mData.viewMode == 'detail'\"\r\n                        clearable\r\n                        filterable\r\n                      >\r\n                        <el-option\r\n                          v-for=\"item in mData.dataDefault.accountRolesSearch\"\r\n                          :key=\"item.code\"\r\n                          :label=\"item.text\"\r\n                          :value=\"item.code\"\r\n                        ></el-option>\r\n                      </el-select>\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\" 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=\"disabled\"\r\n            :sortable=\"mData.tableRules.allowSorting\"\r\n            :label=\"aLang.user_lock\"\r\n            width=\"80\"\r\n            align=\"center\"\r\n          >\r\n            <template slot-scope=\"scope\">\r\n              <el-checkbox\r\n                v-model=\"scope.row.disabled\"\r\n                @change=\"fn_changeDisable(scope.row.id, scope.row.disabled)\"\r\n              ></el-checkbox>\r\n            </template>\r\n          </el-table-column>\r\n          <el-table-column\r\n            prop=\"account\"\r\n            :sortable=\"mData.tableRules.allowSorting\"\r\n            :label=\"aLang.user_account_name\"\r\n            width=\"280\"\r\n          ></el-table-column>\r\n          <el-table-column\r\n            prop=\"so_the\"\r\n            :sortable=\"mData.tableRules.allowSorting\"\r\n            :label=\"aLang.tg_card_number\"\r\n            width=\"280\"\r\n          ></el-table-column>\r\n          <el-table-column prop=\"name\" :label=\"aLang.user_name\"></el-table-column>\r\n          <el-table-column\r\n            prop=\"roles\"\r\n            :sortable=\"mData.tableRules.allowSorting\"\r\n            :formatter=\"fn_formatterRoles\"\r\n            :label=\"aLang.user_right_to_use\"\r\n            width=\"180\"\r\n          ></el-table-column>\r\n\r\n          <el-table-column :label=\"aLang.c_action\" align=\"center\" width=\"200px\">\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                :disabled=\"fn_checkUpdateInformationRole(scope.row)\"\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              <el-button\r\n                size=\"mini\"\r\n                @click=\"fn_handle('changePass',scope.$index, scope.row)\"\r\n                v-b-popover.hover.left=\"'Đổi mật khẩu'\"\r\n                :disabled=\"fn_checkChangePassRole(scope.row)\"\r\n              >\r\n                <i class=\"icon-key icons\"></i>\r\n              </el-button>\r\n              <el-button\r\n                size=\"mini\"\r\n                @click=\"fn_handle('changeRole',scope.$index, scope.row)\"\r\n                v-b-popover.hover.left=\"'Đổi quyền người dĂ¹ng'\"\r\n                :disabled=\"fn_checkEditRole(scope.row)\"\r\n              >\r\n                <i class=\"icon-user 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 NguoiDungModel from \"./NguoiDungModel\";\r\nimport AccountApi from \"../../../moduleApi/AccountApi\";\r\nimport ProfileApi from \"../../../moduleApi/ProfileApi\";\r\nimport KhachDuLichApi from '@/moduleApi/KhachDuLichApi';\r\nimport HuongDanVienApi from '@/moduleApi/HuongDanVienApi';\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: \"NguoiDung\", //requied\r\n        urlImg: ExtensionService.urlImg,\r\n        tableRules: MethodService.copyObject(NguoiDungModel.tableRules),\r\n        dataDefault: {\r\n          trangThai: NguoiDungModel.trangThai,\r\n          accountRoles: DataService.accountRoles,\r\n          accountRolesSearch: DataService.accountRolesSearch,\r\n          listKhachDuLich: [],\r\n          listHuongDanVien: [],\r\n          listProfile: [],\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 ? this.mData.tableRules.filters + \"&\" : \"\")+\"roles:nin:SafePlaceManager,Destination,ExportChecklistData\"\r\n      };\r\n      console.log(\"dataFilter\",dataFilter);\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      let res = await AccountApi.list(dataFilter);\r\n      let resFilter = [];\r\n      resFilter = res.result.filter(x => !x.roles.includes(\"SafePlaceManager\"));\r\n      let resData = await this.fn_changeData(resFilter);\r\n\r\n      this.mData.tableRules.data = resData;\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 fn_changeData(resData) {\r\n      let arrAccountId = MethodService.findListItemDifferent(resData, \"id\");\r\n      let reqProfileApi = ProfileApi.list({\r\n        limit: arrAccountId.length,\r\n        filters: \"id:in:\" + arrAccountId.join(\",\")\r\n      });\r\n      let reqKhachDuLichApi = KhachDuLichApi.list({\r\n        limit: arrAccountId.length,\r\n        filters: \"id:in:\" + arrAccountId.join(\",\")\r\n      });\r\n      let reqHuongDanVienApi = HuongDanVienApi.list({\r\n        limit: arrAccountId.length,\r\n        filters: \"id:in:\" + arrAccountId.join(\",\")\r\n      });\r\n      let resProfileApi = await reqProfileApi;\r\n      let resKhachDuLichApi = await reqKhachDuLichApi;\r\n      let resHuongDanVienApi = await reqHuongDanVienApi;\r\n\r\n      this.mData.dataDefault.listProfile = resProfileApi.result;\r\n      this.mData.dataDefault.listKhachDuLich = resKhachDuLichApi.result;\r\n      this.mData.dataDefault.listHuongDanVien = resHuongDanVienApi.result;\r\n      $.each(resData, (index, item) => {\r\n        // let resultProfile = resProfileApi.result.find(element => {\r\n        //   return element.id == item.id;\r\n        // });\r\n        let nguoiGuiKhachDL = this.mData.dataDefault.listKhachDuLich.find(\r\n          element => {\r\n            return element.id == item.id;\r\n          }\r\n        );\r\n        let nguoiGuiHDV = this.mData.dataDefault.listHuongDanVien.find(\r\n          element => {\r\n            return element.id == item.id;\r\n          }\r\n        );\r\n        let nguoiGui = this.mData.dataDefault.listProfile.find(\r\n          element => {\r\n            return element.id == item.id;\r\n          }\r\n        );\r\n        if (nguoiGuiKhachDL) {\r\n          item.name =\r\n            nguoiGuiKhachDL.ho_ten && nguoiGuiKhachDL.ho_ten.ho_ten && nguoiGuiKhachDL.ho_ten.ho_ten.trim() != \"\"\r\n              ? nguoiGuiKhachDL.ho_ten.ho_ten\r\n              : \"ChÆ°a cĂ³ thĂ´ng tin\";\r\n          // item.account = nguoiGuiKhachDL.so_the ? nguoiGuiKhachDL.so_the : \"ChÆ°a cĂ³ thĂ´ng tin\";\r\n          item.so_the = nguoiGuiKhachDL.so_the ? nguoiGuiKhachDL.so_the : \"ChÆ°a cĂ³ thĂ´ng tin\";\r\n        }\r\n        else if(nguoiGuiHDV){\r\n          item.name =\r\n          nguoiGuiHDV.ho_ten && nguoiGuiHDV.ho_ten.ho_ten\r\n            ? nguoiGuiHDV.ho_ten.ho_ten\r\n            : \"\";\r\n        }\r\n        else if(nguoiGui){\r\n          item.name =\r\n          nguoiGui.ho_ten && nguoiGui.ho_ten.ho_ten\r\n            ? nguoiGui.ho_ten.ho_ten\r\n            : \"\";\r\n        }\r\n      });\r\n      return resData;\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 == \"changePass\") {\r\n        this.$router.push({\r\n          name: \"Admin-\" + this.mData.moduleName + \"-update\",\r\n          params: { id: row.id },\r\n          query: {\r\n            viewMode: \"changePass\"\r\n          }\r\n        });\r\n      }\r\n      if (type == \"changeRole\") {\r\n        this.$router.push({\r\n          name: \"Admin-\" + this.mData.moduleName + \"-update\",\r\n          params: { id: row.id },\r\n          query: {\r\n            viewMode: \"changeRole\"\r\n          }\r\n        });\r\n      }\r\n    },\r\n\r\n    async fn_changeDisable(id, trangThai) {\r\n      if (trangThai) {\r\n        await AccountApi.disable(id);\r\n      } else {\r\n        await AccountApi.undisable(id);\r\n      }\r\n      this.fn_initTable();\r\n    },\r\n\r\n    //delete\r\n    async fn_delete(id) {\r\n      await AccountApi.delete(id);\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          if(this.mData.tableRules.dataSearch.value.roles == \"User\" || this.mData.tableRules.dataSearch.value.roles == \"UserG\"){\r\n            this.mData.tableRules.filters = MethodService.filterTable(\r\n              JSON.stringify(this.mData.tableRules.dataSearch)\r\n            ) + \"&account:regex:^\\\\d+$\";\r\n            console.log(\"this.mData.tableRules.filters\",this.mData.tableRules.filters);\r\n            this.mData.tableRules.offset = 0;\r\n            this.mData.tableRules.sort = \"\";\r\n            this.fn_initTable();\r\n          }else{\r\n            this.mData.tableRules.filters = MethodService.filterTable(\r\n              JSON.stringify(this.mData.tableRules.dataSearch)\r\n            );\r\n            this.mData.tableRules.offset = 0;\r\n            this.mData.tableRules.sort = \"\";\r\n            this.fn_initTable();\r\n            console.log(\"this.mData.tableRules.filters\",this.mData.tableRules.filters);\r\n          }\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_formatterRoles(row, column, cellValue, index) {\r\n      var roles = [];\r\n      let rolesWithoutUser = [];\r\n      cellValue.forEach(item => {\r\n        let res = this.mData.dataDefault.accountRoles.find(function(el) {\r\n          return el.code == item;\r\n        });\r\n        if (res) {\r\n          roles.push(res.text);\r\n        }\r\n\r\n        if(roles.length == 2 ){\r\n          rolesWithoutUser = roles.filter(x => (x != 'KhĂ¡ch du lịch'));\r\n        }else{\r\n          rolesWithoutUser = roles;\r\n        }\r\n      });\r\n      return rolesWithoutUser.join(\" ,\");\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    fn_checkEditRole(user) {\r\n      if (user.roles.includes(\"TourGuide\")\r\n          || user.roles.includes(\"TourAgent\")\r\n          || user.roles.includes(\"UserG\")\r\n          ) {\r\n        return true;\r\n      } else if (\r\n        user.roles.length == 1 &&\r\n        (user.roles.includes(\"User\") || user.roles.includes(\"UserG\"))\r\n      ) {\r\n        return true;\r\n      } else {\r\n        return false;\r\n      }\r\n    },\r\n    fn_checkChangePassRole(user) {\r\n      if(user.roles.includes(\"UserG\")){\r\n        return true;\r\n      }\r\n      else if (\r\n        user.roles.length == 1 &&\r\n        user.roles.includes(\"User\")\r\n      ) {\r\n        return true;\r\n      } else {\r\n        return false;\r\n      }\r\n    },\r\n     fn_checkUpdateInformationRole(user) {\r\n      if(user.roles.includes(\"TourGuide\") || user.roles.includes(\"UserG\") || user.roles.includes(\"TourAgent\")){\r\n        return true;\r\n      }\r\n      else if (\r\n        user.roles.length == 1 &&\r\n        (user.roles.includes(\"User\") || user.roles.includes(\"UserG\"))\r\n      ) {\r\n        return true;\r\n      } else {\r\n        return 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!./NguoiDungList.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!./NguoiDungList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./NguoiDungList.vue?vue&type=template&id=2b299aad\"\nimport script from \"./NguoiDungList.vue?vue&type=script&lang=js\"\nexport * from \"./NguoiDungList.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","'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","import ApiService from '../service/ApiService';\r\n\r\nlet moduleApi = {};\r\nlet moduleName = \"huong_dan_vien\";\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\n// moduleApi.listAllField = (dataFilter) => {\r\n//   let api = {\r\n//     module: moduleName,\r\n//     type: \"list\",\r\n//     value: {dataFilter, fields: \"id,ho_ten,email,dien_thoai,gioi_tinh,ngay_sinh,giay_to,quoc_tich,dia_chi,avatar_id,the_hdv,ngoai_ngu,so_truong,thanh_tich,lich_su_hanh_nghe\"}\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,ho_ten,email,dien_thoai,gioi_tinh,ngay_sinh,giay_to,quoc_tich,dia_chi,avatar_id,the_hdv,ngoai_ngu,so_truong,thanh_tich,lich_su_hanh_nghe\" }\r\n  };\r\n  return ApiService(api);\r\n};\r\n\r\nmoduleApi.getListHuongDanVienDaDan = () => {\r\n  let api = {\r\n    module: \"tour\",\r\n    type: \"views\",\r\n    viewAction: \"dashboard_getTourGuideStatistics\",\r\n  };\r\n  return ApiService(api);\r\n};\r\n\r\nmoduleApi.location = (id) => {\r\n  let api = {\r\n    module: \"location\",\r\n    type: \"list\",\r\n    value: {\r\n      filters: \"user_id=\" + id,\r\n    }\r\n  };\r\n  return ApiService(api);\r\n};\r\n\r\nexport default moduleApi;\r\n","import ApiService from '../service/ApiService';\r\nimport LanguageService from '../service/LanguageService';\r\n\r\nlet moduleApi = {};\r\nlet moduleName = \"user\";\r\n\r\nmoduleApi.create = (dataForm) => {\r\n    let api = {\r\n        module: moduleName,\r\n        type: \"create\",\r\n        value: dataForm,\r\n        message: {\r\n            success: \"hidden\",\r\n            error: \"TĂªn tĂ i khoản Ä‘Ă£ được sá»­ dụng!\"\r\n        },\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        // message: {\r\n        //   success: \"hidden\",\r\n        //   error: \"hidden\"\r\n        // },\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\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\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.disable = (id, message_success) => {\r\n    let api = {\r\n        module: moduleName,\r\n        type: \"partialUpdate\",\r\n        message: {\r\n            success: message_success ? message_success : LanguageService.lang.user_disableSuccess,\r\n            error: LanguageService.lang.user_disableError\r\n        },\r\n        value: {\r\n            id: id,\r\n            disabled: true\r\n        }\r\n    };\r\n    return ApiService(api);\r\n};\r\n\r\nmoduleApi.undisable = (id, message_success) => {\r\n    let api = {\r\n        module: moduleName,\r\n        type: \"partialUpdate\",\r\n        message: {\r\n            success: message_success ? message_success : LanguageService.lang.user_undisableSuccess,\r\n            error: LanguageService.lang.user_undisableError\r\n        },\r\n        value: {\r\n            id: id,\r\n            disabled: false\r\n        }\r\n    };\r\n    return ApiService(api);\r\n};\r\n\r\nmoduleApi.register = (dataForm) => {\r\n    let api = {\r\n        module: moduleName,\r\n        type: \"register\",\r\n        value: dataForm,\r\n        message: {\r\n            success: \"Đăng kĂ½ người dĂ¹ng thĂ nh cĂ´ng\",\r\n            error: \"hidden\"\r\n        },\r\n    };\r\n    return ApiService(api);\r\n};\r\n\r\nmoduleApi.registerSafePlaceUser = (dataForm) => {\r\n    let api = {\r\n        module: moduleName,\r\n        type: \"registerSafePlaceUser\",\r\n        value: dataForm,\r\n        message: {\r\n            success: \"Đăng kĂ½ thĂ nh cĂ´ng\",\r\n            error: \"hidden\"\r\n        },\r\n    };\r\n    return ApiService(api);\r\n};\r\nmoduleApi.generateHashCode = (dataForm) => {\r\n    let api = {\r\n        module: moduleName,\r\n        type: \"generateHashCode\",\r\n        value: dataForm,\r\n        message: {\r\n            success: \"hidden\",\r\n            error: \"hidden\"\r\n        },\r\n    };\r\n    return ApiService(api);\r\n};\r\nmoduleApi.getUserIdOrFetchAcsUser = (dataForm) => {\r\n    let api = {\r\n        module: moduleName,\r\n        type: \"getUserIdOrFetchAcsUser\",\r\n        value: dataForm,\r\n        message: {\r\n            success: \"hidden\",\r\n            error: \"MĂ£ thẻ/MĂ£ MS khĂ´ng tồn tại\"\r\n        },\r\n    };\r\n    return ApiService(api);\r\n};\r\n\r\nmoduleApi.getAccountByEmail = (dataForm) => {\r\n    let api = {\r\n        module: moduleName,\r\n        type: \"getAccountByEmail\",\r\n        value: dataForm,\r\n        message: {\r\n            success: \"hidden\",\r\n            error: \"hidden\"\r\n        },\r\n    };\r\n    return ApiService(api);\r\n};\r\n\r\n\r\nexport default moduleApi;","'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 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","import ApiService from '../service/ApiService';\r\n\r\nlet moduleApi = {};\r\nlet moduleName = \"profile\";\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.findById = (id) => {\r\n  let api = {\r\n    module: moduleName,\r\n    type: \"findById\",\r\n    value: {id: id, fields: \"id,ho_ten,email,dien_thoai,gioi_tinh,avatar_id\"}\r\n  };\r\n  return ApiService(api);\r\n};\r\nmoduleApi.findByIdRootScope = (id) => {\r\n  let api = {\r\n    module: moduleName,\r\n    type: \"findById\",\r\n    value: {id: id},\r\n    message: {\r\n      success: \"hidden\",\r\n      error: \"hidden\"\r\n    },\r\n  };\r\n  return ApiService(api);\r\n};\r\n\r\n\r\nexport default moduleApi;\r\n","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;","import ValidService from \"../../../service/ValidService\";\r\nlet model = {};\r\n\r\n// dữ liệu form\r\nmodel.dataForm = {\r\n    account: {\r\n        account: null, //string, required, minLength: 1 // TĂ i khoản\r\n        password: null, //string, optional // Mật khẩu\r\n        repassword: null, //string, optional // Mật khẩu\r\n        //disabled: false, //boolean, required // Cho biết tĂ i khoản cĂ³ bị khĂ³a hay khĂ´ng, nếu bị khĂ³a, tĂ i khoản sẽ khĂ´ng thể đăng nhập được\r\n        roles: [], //array of string, required // Danh sĂ¡ch quyền của người dĂ¹ng.\r\n    },\r\n    profile: {\r\n        \"ho_ten\": {\r\n            \"ten\": null,\r\n            \"ho\": null,\r\n            \"ho_ten\": null,\r\n            \"dinh_dang\": \"hoten\"\r\n        },\r\n        \"email\": null,\r\n        \"dien_thoai\": null,\r\n        \"gioi_tinh\": null,\r\n        \"avatar_id\": null\r\n    },\r\n    vhtt: {\r\n        \"province_id\": undefined, // optional MĂ£ tỉnh\r\n        \"district_id\": undefined, // optional MĂ£ huyện\r\n    }\r\n};\r\n\r\n// validation form\r\nmodel.validForm = {\r\n    account: {\r\n        account: [ValidService.required, ValidService.checkAccount], //string, required, minLength: 1 // TĂ i khoản\r\n        password: [ValidService.required, ValidService.checkLengthMinimum(6)], //string, optional // Mật khẩu\r\n        repassword: [ValidService.required, ValidService.checkLengthMinimum(6)], //string, optional // Mật khẩu\r\n        //disabled: [], //boolean, required // Cho biết tĂ i khoản cĂ³ bị khĂ³a hay khĂ´ng, nếu bị khĂ³a, tĂ i khoản sẽ khĂ´ng thể đăng nhập được\r\n        roles: [ValidService.required],\r\n    },\r\n    profile: {\r\n        \"ho_ten\": {\r\n            \"ho_ten\": [ValidService.required],\r\n        },\r\n        \"email\": [ValidService.checkEmail],\r\n        \"dien_thoai\": [ValidService.checkPhone],\r\n    },\r\n    vhtt: {\r\n        \"province_id\": [ValidService.required,ValidService.requiredChange], // optional MĂ£ tỉnh\r\n        \"district_id\": [ValidService.required,ValidService.requiredChange], // optional MĂ£ huyện\r\n    }\r\n\r\n};\r\n\r\n// dữ liệu mẫu cĂ¡c form khĂ¡c\r\nmodel.dataFormOther = {};\r\n\r\n// validation cĂ¡c form khĂ¡c\r\nmodel.validFormOther = {};\r\n\r\nmodel.fileUploadOption = {\r\n    AnhDaiDien: {\r\n        limit: 1,\r\n        accept: \".jpg, .png, .jpeg\",\r\n        dialogImageUrl: \"\",\r\n        dialogVisible: false,\r\n        fileList: []\r\n    }\r\n}\r\n\r\nmodel.tableRules = {\r\n    data: [],\r\n    lengthMenu: [\r\n        10,\r\n        20,\r\n        50,\r\n        100,\r\n        500\r\n    ],\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: [\r\n        \"account\",\r\n        \"descending\"\r\n    ],\r\n    filters: \"\",\r\n    recordSelected: [],\r\n    dataSearch: {\r\n        value: {\r\n            account: \"\",\r\n            roles: \"\"\r\n        },\r\n        operator: {\r\n            account: \":regex_i:\",\r\n        }\r\n    }\r\n};\r\n\r\nexport default model;\r\n"],"sourceRoot":""}