1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/.cache/vue-loader/f5a8cf0bfa47870655483ec1712...

1 line
9.7 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{"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\\statistics\\accessRecord.vue?vue&type=style&index=0&id=212a1be2&lang=scss&scoped=true&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\statistics\\accessRecord.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\css-loader\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\postcss-loader\\src\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\sass-loader\\lib\\loader.js","mtime":1533139052000},{"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\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\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.el-table {\n\t.student-img {\n\t\tvertical-align: top;\n\t\twidth: 53px;\n\t\theight: 70px;\n\t}\n}\n",{"version":3,"sources":["accessRecord.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwMA;AACA;AACA;AACA;AACA;AACA;AACA","file":"accessRecord.vue","sourceRoot":"src/views/modules/statistics","sourcesContent":["<template>\n\t<el-card shadow=\"never\" class=\"aui-card--fill\">\n\t\t<el-form ref=\"ruleForm\" :model=\"dataForm\" label-width=\"80px\" inline>\n\t\t\t<el-form-item label=\"姓名\" prop=\"recognitionName\">\n\t\t\t\t<el-input v-model=\"dataForm.recognitionName\" placeholder=\"请输入\" clearable></el-input>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item label=\"工号/学号\" prop=\"no\">\n\t\t\t\t<el-input v-model=\"dataForm.no\" placeholder=\"请输入\" clearable></el-input>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item label=\"设备名称\" prop=\"aeId\">\n\t\t\t\t<el-select v-model=\"dataForm.aeId\" placeholder=\"请选择\" clearable filterable>\n\t\t\t\t\t<el-option v-for=\"item in eqList\" :key=\"item.aeId\" :label=\"item.aeDevicename\" :value=\"item.aeId\">\n\t\t\t\t\t</el-option>\n\t\t\t\t</el-select>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item label=\"时间\" prop=\"time\">\n\t\t\t\t<el-date-picker clearable v-model=\"time\" value-format=\"yyyy-MM-dd HH:mm:ss\" type=\"datetimerange\" range-separator=\"至\"\n\t\t\t\t start-placeholder=\"开始日期\" end-placeholder=\"结束日期\"></el-date-picker>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item>\n\t\t\t\t<el-button @click=\"search\">查询</el-button>\n\t\t\t\t<el-button type=\"warning\" @click=\"resetSearch\">重置</el-button>\n\t\t\t\t<el-button type=\"success\" @click=\"exportHandle()\">导出</el-button>\n\t\t\t</el-form-item>\n\t\t</el-form>\n\t\t<el-table :data=\"dataList\">\n\t\t\t<el-table-column type=\"index\" label=\"序号\" width=\"100\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column prop=\"imageUrl\" label=\"照片\" width=\"120\" align=\"center\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<el-image class=\"student-img\" :src=\"$ImgServerUrl+scope.row.imageUrl\" :preview-src-list=\"[$ImgServerUrl + scope.row.imageUrl]\">\n\t\t\t\t\t\t<div slot=\"error\" class=\"image-slot\">\n\t\t\t\t\t\t\t<img class=\"student-img\" src=\"../../../assets/img/person.jpg\">\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</el-image>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column prop=\"recognitionName\" label=\"姓名\" width=\"120\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column prop=\"aeDevicename\" label=\"设备名称\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column prop=\"recordType\" label=\"记录类型\" align=\"center\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<div>\n\t\t\t\t\t\t{{scope.row.recordType==1?'刷脸记录':'刷IC卡记录'}}\n\t\t\t\t\t</div>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column prop=\"verificationType\" label=\"签到类型\" align=\"center\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<span v-if=\"scope.row.verificationType==1\" style=\"color:#67C23A;\" class=\"el-icon-d-arrow-right\"> {{ $getDictLabel(\"accessEquipType\", scope.row.verificationType) }}</span>\n\t\t\t\t\t<span v-else style=\"color:#f56c6c;\" class=\"el-icon-d-arrow-left\"> {{ $getDictLabel(\"accessEquipType\", scope.row.verificationType) }}</span>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t\t<!-- <el-table-column prop=\"icCardNo\" label=\"IC卡号\" align=\"center\"></el-table-column> -->\n\t\t\t<el-table-column prop=\"temperature\" label=\"体温(℃)\" align=\"center\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<span style=\"color:#f56c6c;\" v-if=\"scope.row.temperature>=37.3\">{{scope.row.temperature}}</span>\n\t\t\t\t\t\t<span style=\"color:#67C23A;\" v-else>{{scope.row.temperature}}</span>\n\t\t\t\t\t</div>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column prop=\"createDate\" label=\"签到时间\" align=\"center\"></el-table-column>\n\t\t</el-table>\n\t\t<el-pagination :current-page=\"page\" :page-sizes=\"[6, 20, 50, 100]\" :page-size=\"limit\" :total=\"total\" layout=\"total, sizes, prev, pager, next, jumper\"\n\t\t @size-change=\"pageSizeChangeHandle\" @current-change=\"pageCurrentChangeHandle\">\n\t\t</el-pagination>\n\t</el-card>\n</template>\n\n<script>\n\timport qs from 'qs'\n\timport Cookies from 'js-cookie'\n\timport mixinViewModule from '@/mixins/view-module'\n\timport {\n\t\tgetDictLabel,\n\t\tgetDictDataList\n\t} from '@/utils'\n\texport default {\n\t\tmixins: [mixinViewModule],\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tmixinViewModuleOptions: {\n\t\t\t\t\tgetDataListURL: '/system/scfaceverification/page',\n\t\t\t\t\tgetDataListIsPage: true,\n\t\t\t\t},\n\t\t\t\tequipStatusList: getDictDataList('equipment_status'),\n\t\t\t\tlimit: 6,\n\t\t\t\ttime: [],\n\t\t\t\teqList: [],\n\t\t\t\tdataForm: {\n\t\t\t\t\taeId: '',\n\t\t\t\t\tstate: '',\n\t\t\t\t\trecognitionName: '',\n\t\t\t\t\tstartDate: '',\n\t\t\t\t\tendDate: '',\n\t\t\t\t\ttype: 1, // 1教学楼2宿舍\n\t\t\t\t\tno:''\n\t\t\t\t},\n\t\t\t}\n\t\t},\n\t\twatch: {\n\t\t\ttime: {\n\t\t\t\tdeep: true,\n\t\t\t\thandler(newval) {\n\t\t\t\t\tif (newval && newval.length) {\n\t\t\t\t\t\tthis.dataForm.startDate = newval[0];\n\t\t\t\t\t\tthis.dataForm.endDate = newval[1];\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.dataForm.startDate = '';\n\t\t\t\t\t\tthis.dataForm.endDate = '';\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t},\n\t\tcomputed: {\n\t\t\tpreviewList() {\n\t\t\t\treturn this.dataList.map(item => {\n\t\t\t\t\treturn this.$ImgServerUrl + item.imageUrl\n\t\t\t\t})\n\t\t\t},\n\t\t},\n\t\tcreated() {\n\t\t\tthis.getEquipList()\n\n\t\t},\n\t\tactivated() {\n\t\t\t//let params = this.$route.params;\t\n\t\t},\n\t\tmethods: {\n\t\t\tpushFun(){\n\t\t\t\tlet params = this.$route.params;\n\t\t\t\t/* // 设备管理-8寸闸机设备\n\t\t\t\tlet aeId = window.sessionStorage.getItem('access_record_aeid');\n\t\t\t\t// 首页温度预警跳转(安保人员)\n\t\t\t\tlet tempName = window.sessionStorage.getItem('tempName');\n\t\t\t\t// 首页通行人员跳转(宿管人员)\n\t\t\t\tlet peerName = window.sessionStorage.getItem('peerName');\n\t\t\t\tif (aeId) {\n\t\t\t\t\twindow.sessionStorage.removeItem('access_record_aeid');\n\t\t\t\t\tthis.dataForm.aeId = aeId;\n\t\t\t\t\tthis.search();\n\t\t\t\t}\n\t\t\t\tif (tempName) {\n\t\t\t\t\twindow.sessionStorage.removeItem('tempName');\n\t\t\t\t\tthis.dataForm.recognitionName = tempName;\n\t\t\t\t\tthis.search();\n\t\t\t\t}\n\t\t\t\tif (peerName) {\n\t\t\t\t\twindow.sessionStorage.removeItem('peerName');\n\t\t\t\t\tthis.dataForm.recognitionName = peerName;\n\t\t\t\t\tthis.search();\n\t\t\t\t} */\n\t\t\t},\n\t\t\t// 导出\n\t\t\texportHandle() {\n\t\t\t\tif (this.dataList.length === 0) {\n\t\t\t\t\treturn this.$message.info(\"报表暂无数据\")\n\t\t\t\t}\n\t\t\t\tvar params = qs.stringify({\n\t\t\t\t\t'access_token': Cookies.get('access_token'),\n\t\t\t\t\t...this.dataForm,\n\t\t\t\t\t...{\n\t\t\t\t\t\tpage: this.page,\n\t\t\t\t\t\tlimit: this.limit\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\twindow.location.href = `${window.SITE_CONFIG['apiURL']}/system/scfaceverification/export?${params}`\n\t\t\t},\n\t\t\tsearch() {\n\t\t\t\tthis.page = 1;\n\t\t\t\tthis.query();\n\t\t\t},\n\t\t\tresetSearch() {\n\t\t\t\tthis.dataForm = {\n\t\t\t\t\tstate: '',\n\t\t\t\t\trecognitionName: '',\n\t\t\t\t\tstartDate: '',\n\t\t\t\t\tendDate: '',\n\t\t\t\t\ttype: 1,\n\t\t\t\t}\n\t\t\t\tthis.time = [];\n\t\t\t\tthis.query()\n\t\t\t},\n\t\t\tgetEquipList() {\n\t\t\t\tthis.$http({\n\t\t\t\t\turl: \"/system/scaidooreight/getAll\",\n\t\t\t\t\tmethod: \"get\"\n\t\t\t\t}).then(({\n\t\t\t\t\tdata: res\n\t\t\t\t}) => {\n\t\t\t\t\tif (res.code != 0) {\n\t\t\t\t\t\treturn this.$message(res.msg)\n\t\t\t\t\t}\n\t\t\t\t\tthis.eqList = res.data\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\t}\n</script>\n<style lang=\"scss\" scoped>\n\t.el-table {\n\t\t.student-img {\n\t\t\tvertical-align: top;\n\t\t\twidth: 53px;\n\t\t\theight: 70px;\n\t\t}\n\t}\n</style>\n"]}]}