{"remainingRequest":"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\\dormitoryManage\\accessRecord.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\dormitoryManage\\accessRecord.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":["//\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//\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 qs from 'qs'\nimport Cookies from 'js-cookie'\nimport mixinViewModule from '@/mixins/view-module'\nimport {\n\tgetDictLabel,\n\tgetDictDataList\n} from '@/utils'\nexport default {\n\tmixins: [mixinViewModule],\n\tdata() {\n\t\treturn {\n\t\t\tmixinViewModuleOptions: {\n\t\t\t\tgetDataListURL: '/system/scfaceverification/page',\n\t\t\t\tgetDataListIsPage: true,\n\t\t\t},\n\t\t\tequipStatusList: getDictDataList('equipment_status'),\n\t\t\tlimit: 6,\n\t\t\ttime: [],\n\t\t\teqList: [],\n\t\t\tdataForm: {\n\t\t\t\taeId: '',\n\t\t\t\tstate: '',\n\t\t\t\trecognitionName: '',\n\t\t\t\tstartDate: '',\n\t\t\t\tendDate: '',\n\t\t\t\ttype: 2, // 1教学楼;2宿舍\n\t\t\t\tno:''\n\t\t\t},\n\t\t}\n\t},\n\twatch: {\n\t\ttime: {\n\t\t\tdeep: true,\n\t\t\thandler(newval) {\n\t\t\t\tif (newval && newval.length) {\n\t\t\t\t\tthis.dataForm.startDate = newval[0];\n\t\t\t\t\tthis.dataForm.endDate = newval[1];\n\t\t\t\t} else {\n\t\t\t\t\tthis.dataForm.startDate = '';\n\t\t\t\t\tthis.dataForm.endDate = '';\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t},\n\tcomputed: {\n\t\tpreviewList() {\n\t\t\treturn this.dataList.map(item => {\n\t\t\t\treturn this.$ImgServerUrl + item.imageUrl\n\t\t\t})\n\t\t},\n\t},\n\tcreated() {\n\t\tthis.getEquipList()\n\n\t},\n\tactivated() {\n\t\t//let params = this.$route.params;\t\n\t},\n\tmethods: {\n\t\tpushFun(){\n\t\t\tlet params = this.$route.params;\n\t\t\t/* // 设备管理-8寸闸机设备\n\t\t\tlet aeId = window.sessionStorage.getItem('access_record_aeid');\n\t\t\t// 首页温度预警跳转(安保人员)\n\t\t\tlet tempName = window.sessionStorage.getItem('tempName');\n\t\t\t// 首页通行人员跳转(宿管人员)\n\t\t\tlet peerName = window.sessionStorage.getItem('peerName');\n\t\t\tif (aeId) {\n\t\t\t\twindow.sessionStorage.removeItem('access_record_aeid');\n\t\t\t\tthis.dataForm.aeId = aeId;\n\t\t\t\tthis.search();\n\t\t\t}\n\t\t\tif (tempName) {\n\t\t\t\twindow.sessionStorage.removeItem('tempName');\n\t\t\t\tthis.dataForm.recognitionName = tempName;\n\t\t\t\tthis.search();\n\t\t\t}\n\t\t\tif (peerName) {\n\t\t\t\twindow.sessionStorage.removeItem('peerName');\n\t\t\t\tthis.dataForm.recognitionName = peerName;\n\t\t\t\tthis.search();\n\t\t\t} */\n\t\t},\n\t\t// 导出\n\t\texportHandle() {\n\t\t\tif (this.dataList.length === 0) {\n\t\t\t\treturn this.$message.info(\"报表暂无数据\")\n\t\t\t}\n\t\t\tvar params = qs.stringify({\n\t\t\t\t'access_token': Cookies.get('access_token'),\n\t\t\t\t...this.dataForm,\n\t\t\t\t...{\n\t\t\t\t\tpage: this.page,\n\t\t\t\t\tlimit: this.limit\n\t\t\t\t}\n\t\t\t})\n\t\t\twindow.location.href = `${window.SITE_CONFIG['apiURL']}/system/scfaceverification/export?${params}`\n\t\t},\n\t\tsearch() {\n\t\t\tthis.page = 1;\n\t\t\tthis.query();\n\t\t},\n\t\tresetSearch() {\n\t\t\tthis.dataForm = {\n\t\t\t\tstate: '',\n\t\t\t\trecognitionName: '',\n\t\t\t\tstartDate: '',\n\t\t\t\tendDate: '',\n\t\t\t\ttype: 1,\n\t\t\t}\n\t\t\tthis.time = [];\n\t\t\tthis.query()\n\t\t},\n\t\tgetEquipList() {\n\t\t\tthis.$http({\n\t\t\t\turl: \"/system/scaidooreight/getAllByType/3\",\n\t\t\t\tmethod: \"get\"\n\t\t\t}).then(({\n\t\t\t\t\t\t data: res\n\t\t\t\t\t }) => {\n\t\t\t\tif (res.code != 0) {\n\t\t\t\t\treturn this.$message(res.msg)\n\t\t\t\t}\n\t\t\t\tthis.eqList = res.data\n\t\t\t})\n\t\t}\n\t}\n}\n",{"version":3,"sources":["accessRecord.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"accessRecord.vue","sourceRoot":"src/views/modules/dormitoryManage","sourcesContent":["\n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t查询\n\t\t\t\t重置\n\t\t\t\t导出\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{scope.row.recordType==1?'刷脸记录':'刷IC卡记录'}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t {{ $getDictLabel(\"accessEquipType\", scope.row.verificationType) }}\n\t\t\t\t\t {{ $getDictLabel(\"accessEquipType\", scope.row.verificationType) }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t=37.3\">{{scope.row.temperature}}\n\t\t\t\t\t\t{{scope.row.temperature}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\n\n\n\n\n"]}]}