{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\access-send-face.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\access-send-face.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.object.keys\";\nimport _defineProperty from \"C:\\\\Users\\\\27446\\\\Desktop\\\\up\\\\front\\\\dkha-web-sz-main\\\\node_modules\\\\@babel\\\\runtime-corejs2/helpers/esm/defineProperty\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport { getDictDataList } from \"@/utils\";\nexport default {\n props: {\n aeids: {\n type: Array,\n default: []\n },\n accessType: {\n type: String,\n default: \"\"\n }\n },\n data: function data() {\n return {\n dialogVisible: false,\n dataForm: {\n type: 1,\n name: '',\n scStuname: '',\n //学生姓名\n scWaname: '',\n //职工信息\n vrName: '' //访客姓名\n\n },\n total: 0,\n pageInfo: {\n page: 1,\n limit: 10\n },\n checkedList: [],\n dataList: [],\n personTypeList: [{\n dictLabel: \"学生\",\n dictValue: 1\n }, {\n dictLabel: \"职工\",\n dictValue: 2\n }, {\n dictLabel: \"访客\",\n dictValue: 3\n }]\n };\n },\n watch: {\n 'dataForm.name': function dataFormName(val) {\n this.dataForm.scStuname = val; //学生姓名\n\n this.dataForm.scWaname = val; //职工信息\n\n this.dataForm.vrName = val; //访客姓名\n }\n },\n computed: {\n httpUrl: function httpUrl() {\n var urlList = [\"/system/scstudents/page\", \"/system/scworkersarchives/page\", \"/system/scvisitorrecord/page\"];\n return urlList[this.dataForm.type - 1];\n },\n previewList: function previewList() {\n return this.dataList.map(function (item) {\n return item.imgUrl;\n });\n },\n userids: function userids() {\n return this.checkedList.map(function (item) {\n return item.id;\n });\n }\n },\n methods: {\n init: function init() {\n this.dialogVisible = true;\n this.dataForm.name = '';\n this.pageInfo.page = 1;\n this.query();\n },\n search: function search() {\n this.pageInfo.page = 1;\n this.query();\n },\n query: function query() {\n var _this = this;\n\n this.$http({\n url: this.httpUrl,\n method: \"get\",\n params: _objectSpread({}, this.dataForm, {}, this.pageInfo)\n }).then(function (_ref) {\n var res = _ref.data;\n\n if (res.code != 0) {\n return _this.$messsage.error(res.msg);\n }\n\n _this.total = res.data.total;\n var baseurl = _this.$ImgServerUrl;\n _this.dataList = res.data.list.map(function (item) {\n return {\n name: item.scStuname || item.scWaname || item.vrName,\n imgUrl: baseurl + (item.scPhotoimg || item.vrPhoneimg),\n id: item.scStdid || item.scWaid || item.vrId\n };\n });\n });\n },\n sendFace: function sendFace() {\n var _this2 = this;\n\n // console.log({\n // \tfiveDoors: this.aeids,\n // \tids: this.userids,\n // })\n // return\n if (this.checkedList.length == 0) {\n return this.$message.warning(\"\\u8BF7\\u52FE\\u9009\\u9700\\u8981\\u53D8\\u66F4\\u5BC6\\u7801\\u7684\\u8BBE\\u5907\");\n }\n\n this.$http(this.accessType === \"eight\" ? {\n url: \"/system/scaidooreight/transfacelisttodoor\",\n method: \"post\",\n timeout: 0,\n data: {\n aeids: this.aeids,\n userids: this.userids,\n usertype: this.dataForm.type\n }\n } : {\n url: \"/system/fvscdevice/saveEqToFace\",\n method: \"post\",\n timeout: 0,\n data: {\n fiveDoors: this.aeids,\n ids: this.userids // userids: this.userids,\n // usertype: this.dataForm.type\n\n }\n }).then(function (_ref2) {\n var res = _ref2.data;\n\n if (res.code != 0) {\n return _this2.$message.error(res.msg);\n }\n\n _this2.$message.warning(\"正在下发中...\"); // this.$message.success('所选人员已下发到指定设备')\n // this.$parent.$parent.query();\n\n });\n },\n handleSelectionChange: function handleSelectionChange(data) {\n this.checkedList = data;\n },\n pageSizeChangeHandle: function pageSizeChangeHandle(size) {\n this.pageInfo.limit = size;\n this.query();\n },\n pageCurrentChangeHandle: function pageCurrentChangeHandle(page) {\n this.pageInfo.page = page;\n this.query();\n }\n }\n};",{"version":3,"sources":["access-send-face.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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