forked from zhurui/management
1 line
7.9 KiB
JSON
1 line
7.9 KiB
JSON
|
{"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\\home-cell-components\\admin-passage.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\home-cell-components\\admin-passage.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\nexport default {\n\tdata() {\n\t\treturn {\n\t\t\tdataList: []\n\t\t}\n\t},\n\tcreated() {\n\t\tthis.getDataList()\n\t},\n\tactivated() {\n\t\tconst timer = setInterval(() => {\n\t\t\tthis.getDataList();\n\t\t}, 10 * 1000);\n\t\tthis.$once(\"hook:deactivated\", () => {\n\t\t\tclearInterval(timer)\n\t\t})\n\t\tthis.$once(\"hook:destroyed\", () => {\n\t\t\tclearInterval(timer)\n\t\t})\n\t},\n\tmethods: {\n\t\t//访客信息\n\t\tgetDataList() {\n\t\t\tthis.$http.get('/system/index/twoBuildingPeerRecord')\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.error(res.msg)\n\t\t\t\t\t}\n\t\t\t\t\tthis.dataList = res.data.map(item => {\n\t\t\t\t\t\tif (item.temperature) {\n\t\t\t\t\t\t\tif (item.temperature < 37.3) {\n\t\t\t\t\t\t\t\titem.status = 1\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\titem.status = 0\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\titem.temperature = (item.temperature * 1).toFixed(2)\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn item\n\t\t\t\t\t})\n\n\t\t\t\t})\n\t\t},\n\t\trouteHandle(name) {\n\t\t\tsessionStorage.setItem(\"peerName\", name)\n\t\t\tthis.$router.push({\n\t\t\t\tpath: 'statistics-accessRecord'\n\t\t\t})\n\t\t}\n\t}\n}\n",{"version":3,"sources":["admin-passage.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CA;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","file":"admin-passage.vue","sourceRoot":"src/views/modules/home-cell-components","sourcesContent":["<template>\n\t<div class=\"academic-visitor\">\n\t\t<div class=\"title\">\n\t\t\t科研楼通行记录\n\t\t\t<div class=\"angle-border left-top-border\"></div>\n\t\t\t<div class=\"angle-border right-top-border\"></div>\n\t\t\t<div class=\"angle-border left-bottom-border\"></div>\n\t\t\t<div class=\"angle-border right-bottom-border\"></div>\n\t\t</div>\n\t\t<div>\n\t\t\t<el-table :data=\"dataList\" style=\"width: 100%\" height=\"300\">\n\t\t\t\t<el-table-column label=\"照片\" width=\"100\" align=\"center\">\n\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t<el-image :src=\"$ImgServerUrl+ scope.row.vr_phoneimg\" fit='fill'>\n\t\t\t\t\t\t\t<div slot=\"error\" class=\"image-slot\">\n\t\t\t\t\t\t\t\t<img class=\"student-img\" src=\"../../../assets/img/person.jpg\">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</el-image>\n\t\t\t\t\t</template>\n\t\t\t\t</el-table-column>\n\t\t\t\t<el-table-column label=\"姓名\" show-overflow-tooltip align=\"center\">\n\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t<el-button type=\"text\" size=\"mini\" @click=\"routeHandle(scope.row.recognitionName)\">{{scope.row.recognitionName}}</el-button>\n\t\t\t\t\t</template>\n\t\t\t\t</el-table-column>\n\t\t\t\t<el-table-column prop=\"vr_temp
|